Subsidiary Prototype Alignment for Universal Domain Adaptation

Jogendra Nath Kundu, Suvaansh Bhambri, Akshay R. Kulkarni, Hiran Sarkar, Varun Jampani, Venkatesh Babu R.

Introduction

Universal Domain Adaptation (UniDA) is often hindered by "negative transfer," where a model mistakenly aligns classes that exist in only one domain. This paper introduces Subsidiary Prototype Alignment (SPA), which avoids this by aligning "visual primitives" (low-level features like wheels or edges) at a mid-level layer rather than full objects at the final layer. By combining a Bag-of-visual-Words approach with a clever self-supervised pretext task, the authors achieve state-of-the-art results across major object recognition benchmarks.

The Challenge of Negative Transfer

In traditional Unsupervised Domain Adaptation (UDA), we assume the source and target datasets share the exact same set of classes (Closed-Set DA). However, real-world scenarios are rarely that clean. Universal Domain Adaptation (UniDA) tackles the "category shift" problem: the source and target might share some classes, but each might also have "private" classes unknown to the other.

The core challenge is negative transfer. If you try to force-align a source-private class (e.g., a "truck") with a target-private class (e.g., an "excavator"), the model’s feature space becomes garbled, degrading performance on the shared classes. Most existing methods try to filter out these "unknown" samples at the final layer, but by then, the features are often already too specialized and misaligned.

Proposed Methodology: Subsidiary Prototype Alignment (SPA)

The authors propose a framework built on three main pillars:

  1. Mid-Level Adaptation: They identify a fundamental tradeoff: deep layers are great at being "domain-invariant" but carry a high risk of negative transfer because they are too class-specific. Shallow layers have low negative-transfer risk but aren't very domain-invariant. They find the optimal balance at a mid-level layer (e.g., the Res3 block in a ResNet).
  2. Bag-of-visual-Words (BoW) Architecture: To represent features at this mid-level, they use a BoW-inspired approach. They insert a $1 \times 1$ convolutional layer where the weights act as a "vocabulary" of word-prototypes (visual primitives). Every image is then represented as a word-histogram—a distribution of how much each visual primitive contributes to the image.
  3. Self-Supervised Pretext Task: To ensure these word-prototypes are meaningful and sparse, they introduce a novel task. They take crops from $N$ different images and shuffle them into a single grid. The model must predict the number of distinct images ($N$) used to create the grid.

The Logic: More distinct objects in a grid lead to a more diverse (higher entropy) word-histogram. By training the model to distinguish between these entropy levels, they force the "word-prototypes" to become distinct and well-aligned across domains.

The SPA framework illustrating the BoW-inspired prototype alignment and the dual objectives.

Key Insights

  • The NTR vs. DIS Tradeoff: The empirical discovery that Negative-Transfer-Risk (NTR) and Domain-Invariance-Score (DIS) are at odds across network depth provides a theoretical justification for why adapting at the very last layer is often suboptimal for UniDA.
  • Primitives are Universal: While a "tractor" and an "excavator" are different categories, they share visual primitives like "metallic chassis" or "heavy-duty wheels." By aligning these primitives (the "words") rather than the whole categories, the model can find common ground between domains without being confused by category-level differences.
  • Entropy as a Label: Using the number of instances in a shuffled grid as a proxy for histogram entropy is a highly creative way to provide supervision in an unlabeled target domain.

Experimental Setup and Results

The authors evaluated SPA on three standard, increasingly difficult benchmarks: Office-31, Office-Home, and DomainNet. They tested their method in both Universal DA and Open-Set DA (where only the target has private classes) settings.

  • Performance Boost: Added on top of existing state-of-the-art methods like OVANet and DCC, SPA improved the H-score (a metric balancing accuracy on known vs. unknown classes) by 4.7% over the previous best method on the difficult Office-Home benchmark.
  • Efficiency: SPA-enabled models converged significantly faster, reaching peak performance in roughly 100 iterations compared to the ~300 iterations required by baselines.
  • Robustness: The method showed low sensitivity to the "degree of openness" (how many unknown classes are present), consistently outperforming others regardless of how many private classes were in the mix.

Limitations and Future Work

  • Grid-Size Sensitivity: The pretext task relies on a "grid-size" parameter. If the grid is too fine (e.g., 8x8), the shuffling destroys too much spatial context, making adaptation difficult. The authors found 2x2 or 4x4 to be the sweet spot.
  • Primitive Overlap: The BoW approach assumes that private classes share some visual primitives with shared classes. If a private class is visually alien compared to everything else in the dataset, the "word-histogram" might not be as effective.
  • Future Directions: The authors suggest that this mid-level alignment strategy could be extended beyond object recognition to more complex tasks like semantic segmentation in "universal" settings.

Summary updated

BibTeX
@inproceedings{kundu2022subsidiary,
  author = {Jogendra Nath Kundu and Suvaansh Bhambri and Akshay R. Kulkarni and Hiran Sarkar and Varun Jampani and Venkatesh Babu R.},
  title = {{Subsidiary Prototype Alignment for Universal Domain Adaptation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=ue2Kf7msxix},
}
Figure