Unsupervised domain adaption dictionary learning for visual recognition

Zhun Zhong, Zongmin Li, Runlin Li, Xiaoxia Sun

Abstract

This paper presents a novel unsupervised domain adaptation (UDA) framework that leverages dictionary learning to align disparate data distributions. By identifying "nearest neighbor" feature pairs across source and target domains and enforcing identical sparse representations, the method creates a shared conceptual space. This allows classifiers trained on labeled source data to generalize effectively to unlabeled target data, overcoming the common challenge of domain shift in visual recognition tasks.

Introduction

A fundamental assumption in traditional machine learning is that training and testing data share the same distribution. However, in real-world applications, this assumption often fails due to "domain shift." For instance, a model trained on high-quality studio product images (source domain) may perform poorly when applied to low-resolution webcam photos (target domain).

While semi-supervised adaptation utilizes a small amount of labeled target data, this research focuses on the more challenging unsupervised scenario: adapting a model using only labeled source data and unlabeled target data. The goal is to bridge the gap between these domains so that a single classifier can accurately recognize objects across different visual environments.

Methodology

The proposed framework is built upon Dictionary Learning (DL), where images are represented as sparse combinations of basic building blocks, or "atoms," from a learned dictionary. The authors introduce a joint optimization process to align the source and target domains.

The Three-Step Optimization Process

  1. Coupling Features: The algorithm first calculates a transformation matrix based on the Gaussian distance between local features. This identifies "nearest neighbor" pairs—source features that are most similar to target features in the original raw feature space.
  2. Enforcing Identical Representations: A key constraint is introduced: if a source and target feature are identified as a "couple," they must share the same sparse representation in the newly learned space. This ensures that similar visual concepts are encoded identically regardless of their domain of origin.
  3. Joint Dictionary Learning: The model simultaneously learns a source dictionary ($D_s$) and a target dictionary ($D_t$). By minimizing reconstruction errors for both domains while enforcing the identical representation rule, the model forces the two domains into a shared feature space.
The proposed training and testing pipeline for unsupervised domain adaptation.

This complex cross-domain objective is mathematically formulated to be solvable using the K-SVD algorithm, a standard and efficient method for dictionary learning, ensuring both stability and speed.

Experimental Setup

The approach was evaluated using the Office-Caltech 10 benchmark, which includes four distinct datasets: Amazon (merchant photos), Webcam (low-res), DSLR (high-res), and Caltech-256. The experiments focused on 10 common object categories (e.g., backpacks, laptops) using SURF descriptors as the underlying local features.

Results and Discussion

The method demonstrated superior performance across various cross-domain tasks. By using the raw feature space as a bridge, the authors successfully extracted structural information from unlabeled data without requiring human intervention.

Key Performance Metrics

In unsupervised settings, the proposed method consistently outperformed baseline Bag-of-Words (BoW) models and established techniques such as Geodesic Flow Kernel (GFK) and Sampling Geodesic Flow (SGF).

Comparison of recognition rates across different domain shifts, showing the proposed method (purple) consistently outperforming baselines.

As shown in the results, the "purple bars" representing the proposed method indicate significant gains across different domain gaps. This consistency proves the robustness of the dictionary-coupling approach. Furthermore, because the final classification relies on a linear SVM applied to sparse codes, the system remains computationally efficient during the inference stage.

Conclusion and Future Work

This research provides an elegant mathematical solution to unsupervised domain adaptation by reframing it as a joint reconstruction problem. While highly effective, the reliance on "nearest neighbors" in raw feature space may be a limitation if the domain shift is extreme (e.g., comparing line drawings to photographs). Additionally, while SURF features were used here, future iterations could apply this dictionary learning logic to high-level features extracted from deep convolutional neural networks to further enhance performance on massive, complex datasets.

Summary updated

BibTeX
@inproceedings{zhong2018unsupervised,
  author = {Zhun Zhong and Zongmin Li and Runlin Li and Xiaoxia Sun},
  title = {{Unsupervised domain adaption dictionary learning for visual recognition}},
  booktitle = {PAKDD (Workshops)},
  year = {2018},
  url = {https://openreview.net/forum?id=B0eEHqG7Hl5},
}
Figure