Multiple Subspace Alignment Improves Domain Adaptation

Kowshik Thopalli, Rushil Anirudh, Jayaraman J. Thiagarajan, Pavan K. Turaga

TL;DR

This paper introduces a novel unsupervised domain adaptation (DA) method that represents datasets as a union of multiple low-dimensional subspaces rather than a single one. By aligning these subspaces using the natural geometry of the Grassmann manifold, the authors achieve state-of-the-art performance on standard visual recognition benchmarks, proving that increased representational capacity leads to better domain alignment.

What Problem Does This Paper Address?

Machine learning models often fail when deployed in environments that differ from their training data—a phenomenon known as domain shift. For example, a classifier trained on high-quality DSLR images might struggle to identify the same objects in grainy mobile phone photos.

Unsupervised Domain Adaptation (DA) seeks to bridge this gap by aligning a labeled "source" domain with an unlabeled "target" domain. Traditional subspace-based methods attempt to find a single low-dimensional "plane" (subspace) that describes the data. However, real-world datasets are complex; forcing an entire category of images into one single subspace is often too restrictive, leading to poor alignment and loss of discriminative detail.

Methods

The authors propose a two-step framework: Multi-Subspace Modeling and Manifold Alignment.

  1. Fitting Multiple Subspaces (Algorithm 1): Instead of one PCA projection, the authors use a greedy approach. They fit a $k$-dimensional subspace to the data, identify the samples with high reconstruction errors (the "outliers" that didn't fit well), and then fit a second subspace to those outliers. This repeats until most of the data is well-represented.
  2. Alignment on the Grassmann Manifold (Algorithm 2): A Grassmann manifold is essentially a mathematical space where every point represents a linear subspace.
  3. The algorithm computes the "distance" between every source subspace and every target subspace.
  4. It uses a greedy matching strategy to pair them up.
  5. Once paired, it calculates a linear transformation matrix ($A$) to align the source basis vectors with the target basis vectors.
  6. Classification: After alignment, the source data is projected into the "target-aligned" space. A simple Nearest Neighbor (NN) classifier is then used to predict labels for the target data.

Datasets

The researchers evaluated their approach on the Office-Caltech10 dataset, a staple in DA research. It contains images from four distinct domains:

  • Amazon (A): Images from online merchant listings.
  • Webcam (W): Low-resolution images from a webcam.
  • DSLR (D): High-resolution images from a digital SLR camera.
  • Caltech (C): Images from the Caltech-256 dataset.

They tested two types of data representations:

  • SURF features: Traditional hand-crafted visual descriptors.
  • Decaf features: Deep learning features extracted from the 6th layer of a pre-trained AlexNet.

Key Insights and Ideas

  • Representational Capacity Matters: The "aha moment" here is that a union of subspaces captures the underlying structure of complex data much better than a single global subspace. This extra "resolution" in the model allows for more precise alignment between domains.
  • Decoupling Learning and Alignment: Unlike modern adversarial methods (like DANN) that learn features and alignment simultaneously, this method decouples them. This makes the approach much more stable and applicable even when the available dataset is small.
  • Geometric Precision: By treating subspaces as points on a Grassmann manifold, the authors can use well-defined geodesic distances to find the best matches between domains, rather than relying on heuristic similarities.

Key Results

The proposed method consistently outperformed several established baselines, including Geodesic Flow Kernel (GFK) and standard Subspace Alignment (SA).

  • SURF Features: The proposed method achieved an average accuracy of 51.24% across 12 domain-transfer tasks, significantly higher than the next best baseline (PT at 47.12%).
  • Decaf (Deep) Features: Even when starting with powerful deep features, the method improved results, reaching an average accuracy of 82.98% (compared to 80.12% with no adaptation).
  • Complexity vs. Performance: The authors noted that using 3 to 4 subspaces per dataset was typically the "sweet spot" for maximizing performance.

Limitations and Future Work

  • Scalability: The greedy matching step involves calculating distances between all pairs of subspaces. As the number of subspaces or the size of the dataset grows, this could become a computational bottleneck. The authors suggest "stochastic optimal transport" as a potential future fix for this.
  • Hyperparameter Sensitivity: The method relies on three main hyperparameters: the subspace dimension ($k$) and the error thresholds ($\tau^s, \tau^t$). In this paper, these were tuned via grid search, which might be difficult in a truly "blind" real-world scenario where no target labels exist for validation.
  • Simple Classifier: The use of a Nearest Neighbor classifier is effective for proof-of-concept but might be outperformed by integrating this alignment strategy directly into a deep neural network's loss function.

Summary updated

BibTeX
@inproceedings{thopalli2019multiple,
  author = {Kowshik Thopalli and Rushil Anirudh and Jayaraman J. Thiagarajan and Pavan K. Turaga},
  title = {{Multiple Subspace Alignment Improves Domain Adaptation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2019},
  doi = {10.1109/icassp.2019.8682420},
}
Figure