Learning Classifiers for Target Domain with Limited or No Labels

Pengkai Zhu, Hanxiao Wang, Venkatesh Saligrama

This paper, presented at ICML 2019 by researchers from Boston University, introduces a unified framework for tackling three of the most challenging "small data" regimes in computer vision: Zero-Shot Learning (ZSL), Few-Shot Learning (FSL), and Domain Adaptation (DA).

TL;DR

The authors propose Low-Dimensional Visual Attribute (LDVA) encoding, a method that decomposes images into a collection of prototypical "part-types." By representing images as low-dimensional probability vectors of these parts, the model creates a robust, compositional bridge that allows classifiers to generalize to unseen classes or new environments with minimal to no new labels.

LDVA Encoding Process

What Problem Does This Paper Address?

Standard Deep Neural Networks (DNNs) are notoriously "data-hungry," requiring thousands of labeled examples to learn a new concept. However, in real-world applications, we often face scenarios where:

  1. Labels are non-existent: We need to recognize a "Zebra" having only seen "Horses" and a text description of stripes (Zero-Shot).
  2. Labels are scarce: We only have 1 or 5 examples of a new object (Few-Shot).
  3. The environment changes: A model trained on clean digits (MNIST) must work on noisy street-view numbers (SVHN) (Domain Adaptation).

The core challenge is the "Semantic Gap" and "Domain Shift." High-dimensional features extracted by standard CNNs often capture uninteresting background noise or lighting conditions that don't generalize. This paper seeks a representation that is "human-like"—focusing on the presence and composition of parts (e.g., "yellow beak," "pointy ears") rather than raw pixel patterns.

Methods

The authors introduce a novel architecture consisting of three main components designed to extract and utilize these part-based representations.

Unified Framework Architecture
  1. Part-Feature Extractor: Using a Multi-Attention CNN (MACNN), the model automatically discovers $M$ distinct attention regions in an image (e.g., the head, wing, or feet of a bird) and extracts feature vectors for each.
  2. Part-Probability Encoder (The Core Innovation): Instead of passing high-dimensional features directly to a classifier, the model projects each part-feature onto a learned dictionary of $K$ "prototypical atoms." This results in the LDVA encoding: a low-dimensional probability vector representing which "prototype" a specific part most resembles.
  3. Task-Specific Predictors:
    • For ZSL, the LDVA is mapped to human-provided semantic attributes.
  4. For FSL, a simple nearest-neighbor classifier is used on the LDVA space.
  5. For DA, the model uses an auto-encoder loss to ensure the LDVA representations are consistent across both the source and target domains.

The system is trained end-to-end, but at test time, the high-dimensional encoder is frozen. Only the lightweight, low-dimensional predictor is adapted, which prevents overfitting on small datasets.

Key Insights and Ideas

  • Compositionality is Key: The authors argue that while an object might be "new," its parts are usually familiar. A "Griffin" is new, but an "eagle head" and "lion body" are not. LDVA captures this by learning universal part-prototypes.
  • Dimensionality as a Filter: By forcing the representation into a low-dimensional probability space, the model effectively filters out high-dimensional noise (like background clutter) that usually causes models to fail when moving from one domain to another.
  • Unified Framework: Unlike many papers that propose niche solutions for ZSL or FSL, this approach treats them as variations of the same problem: learning a robust intermediate representation that simplifies the final classification task.

Key Results

The model was evaluated across several standard benchmarks, achieving state-of-the-art (SOTA) results across the board:

  • Few-Shot Learning: On miniImageNet, the model achieved 78.7% accuracy for 5-shot learning, surpassing previous SOTA methods like Relation Nets and MAML.
  • Zero-Shot Learning: On the CUB bird dataset, the model (with Calibrated Stacking) reached a harmonic mean of 66.0%, a significant jump over the previous best of ~56%.
  • Domain Adaptation: In the difficult SVHN $\to$ MNIST task, the joint LDVA model reached 95.2% accuracy, outperforming the next best competitor (UNIT) by 4.7%.

Limitations and Future Work

  • Part Consistency: The method relies on the MACNN's ability to consistently find the same "parts" across different images. If an object is heavily occluded or seen from an extreme angle where parts aren't visible, the encoding may struggle.
  • Hyperparameter Sensitivity: The number of parts ($M$) and prototypes ($K$) are fixed. While the paper uses $M=4$ and $K=16$, these might need significant tuning for more complex, non-object-centric datasets.
  • Future Directions: The authors suggest extending this part-based mixture representation to more complex tasks like anomaly detection and general object detection in the wild.

Summary updated

BibTeX
@inproceedings{zhu2019learning,
  author = {Pengkai Zhu and Hanxiao Wang and Venkatesh Saligrama},
  title = {{Learning Classifiers for Target Domain with Limited or No Labels}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=SyVYbsb_bS},
}

Loading related content...

Figure