Domain Adaptive Classification

Fatemeh Mirrashed, Mohammad RastegariICCV 2013

Abstract

We propose an unsupervised domain adaptation method that exploits intrinsic compact structures of categories across different domains using binary attributes. Our method directly optimizes for classification in the target domain. The key insight is finding attributes that are discriminative across categories and predictable across domains. We achieve a performance that significantly exceeds the state-of-the-art results on standard benchmarks. In fact, in many cases, our method reaches the same-domain performance, the upper bound, in unsupervised domain adaptation scenarios.

Introduction

Standard machine learning models assume that training data (source) and testing data (target) come from the same distribution. In the real world, this is rarely true. A classifier trained on high-resolution studio photos (Amazon) often fails when applied to low-resolution webcam images due to changes in lighting, background, and resolution—a phenomenon known as domain shift.

Existing unsupervised domain adaptation (UDA) methods often try to find a shared subspace between domains or pick "landmark" samples. However, these methods often ignore class-specific information or discard useful data. This paper tackles the challenge of learning a transformation that is simultaneously discriminative (separates categories well) and predictable (remains stable even when the input data "jitters" due to domain shift).

Methodology

The core of the approach is the creation of a new feature space composed of binary attributes. This space is designed to be both discriminative for classification and robust across domains.

Predictability via Max-Margin

A "predictable" attribute is defined as one where small variations in the original feature space do not change the resulting binary bit. Geometrically, this involves finding hyperplanes that pass through "empty" space between clusters of data. By enforcing a large margin around these hyperplanes in the target domain, the resulting binary codes become robust to the noise introduced by domain shifts.

Visualization of predictable hyperplanes (orange) vs orthogonal ones (green). The orange lines maximize the margin in low-density regions, ensuring robustness.

Joint Optimization and Iterative Learning

The method directly optimizes for classification in the target domain by combining two max-margin SVM-like classifiers interconnected by an attribute mapping matrix ($A$). Since target labels are unknown, the process starts by using a source-trained classifier to initialize labels for the target data. It then iteratively learns the best binary attribute space, updates the classifier based on these new attributes, and refines the target labels until convergence.

Experimental Results

The proposed method was evaluated on major benchmarks including the Office-Caltech dataset, sentiment analysis datasets, and cross-dataset bias tests (Pascal, SUN09, etc.). The results are striking, particularly in how often the method hits the "upper bound"—the accuracy achieved when training and testing on the same domain.

Performance comparison on sentiment analysis benchmarks. Our method significantly outperforms existing unsupervised domain adaptation techniques.

In the Amazon → Webcam object recognition task, the method achieved 52.54% accuracy, significantly higher than the previous state-of-the-art (Landmark) at 46.1%. For sentiment analysis, the method showed a 25% average improvement over the baseline (no adaptation) and a 19% improvement over previous state-of-the-art methods. In many cases, it reached within 1-2% of same-domain performance.

Conclusion

By using binary attributes as a regularizer, the model captures the intrinsic compact structure of categories rather than high-dimensional noise. Predictability serves as a proxy for domain invariance, ensuring that features remain reliable despite shifts in data distribution. While the method faces challenges with very small target domain sample sizes, it sets a new standard for unsupervised domain adaptation by treating it as a direct classification problem.

Summary updated

BibTeX
@inproceedings{mirrashed2013domain,
  author = {Fatemeh Mirrashed and Mohammad Rastegari},
  title = {{Domain Adaptive Classification}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  url = {https://openreview.net/forum?id=B1EazbG_br},
}
Figure