Translated Learning: Transfer Learning across Different Feature Spaces

Wenyuan Dai, Yuqiang Chen, Gui-Rong Xue, Qiang Yang, Yong YuNeurIPS 2008

The Challenge of Data Scarcity Across Modalities

Traditional machine learning is notoriously hungry for labeled data. While we have amassed massive amounts of labeled text on the web—thanks to collaborative projects like the Open Directory Project—labeled data for other modalities, such as specific image categories or low-resource languages, remains scarce and expensive to produce.

Existing strategies like semi-supervised or standard transfer learning typically assume that the training and test data live in the same feature space (e.g., transferring knowledge from one set of English documents to another). Multi-view learning addresses cases where an instance has two "views" (like an image and its corresponding caption), but it strictly requires those pairs to be explicitly linked.

This paper tackles a much harder scenario: What if your training data is entirely text, your test data is entirely images, and you lack a direct one-to-one mapping between the specific instances in your training and test sets? "Translated Learning" is introduced as a novel transfer learning framework that allows a model to learn from labeled data in one feature space (like text) and apply that knowledge to an entirely different feature space (like images).

The Translated Learning Framework (TLRisk)

To solve this, the authors introduce TLRisk (Translated Learning via Risk Minimization). The core innovation is building a "translator" bridge using feature-level co-occurrence data, treating the relationship between class labels and target features as a chain of probabilities.

Textual features representing the source space
  1. The Markov Chain Bridge: The process is modeled as a probabilistic path: $Class \to Source\ Features \to Target\ Features \to Target\ Instances$.
  2. The Translator ($\phi$): This is the framework's "secret sauce." Instead of relying on paired instances, TLRisk uses a feature-level translator. For example, to link text to images, the system might use search engine results or social tags to find how often a word (source feature) co-occurs with a visual "codeword" (target feature).
  3. Risk Minimization: Classification is formulated as an optimization problem. The model estimates the "risk" of assigning a label to a target instance by measuring the dissimilarity (using metrics like KL-divergence or Cosine similarity) between the model derived from the source data and the features of the target instance.
  4. Integration: The final algorithm elegantly combines a small amount of labeled target data with a massive amount of "translated" source data, utilizing a trade-off parameter ($\lambda$) to balance the two signals.
Image features representing the target space

Experimental Validation

The paper evaluates the TLRisk framework on two distinct, challenging tasks:

  • Text-Aided Image Classification: Using Caltech-256 for images and the Open Directory Project (ODP) for text, the authors generated 12 binary classification tasks (e.g., "horse vs. coin"). Co-occurrence data to build the translator was gathered from a commercial image search engine.
  • Cross-Language Classification: English documents (source) were used to help classify German documents (target), both sourced from ODP. The "translator" in this scenario was a simple English-German dictionary from the Internet Dictionary Project (IDP).

Key Results

  • Outperforming Baselines: In the image classification tasks, TLRisk significantly outperformed "Image Only" models (trained exclusively on the small target set) and "Search+Image" baseline models.
  • Approaching Upper Bounds: Remarkably, in many cases, TLRisk performed nearly as well as a theoretical "Lowerbound" model—a model trained on a massive amount of labeled target data that wouldn't actually be available in a real-world, data-scarce scenario.
  • Cross-Language Success: For the English-to-German text tasks, TLRisk consistently reduced error rates across all five datasets compared to using German labels alone. In one specific task, the error rate dropped impressively from 0.246 to 0.191.

Key Insights and Limitations

The success of Translated Learning highlights the power of feature-level vs. instance-level mapping. You don't need to see the exact same object in two different ways to learn the relationship. If the model knows the word "elephant" often appears with "grey" and "trunk," and the image features detect visual representations of "grey" and "trunk," it can bridge the gap without ever seeing a labeled image of an elephant. Furthermore, the translator doesn't have to be perfect; even noisy co-occurrence data provides a sufficient bridge. This makes the model incredibly robust to target data sparsity.

However, the framework does have limitations:

  • Requirement for Co-occurrence: The method relies entirely on the availability of some form of co-occurrence data (tags, search results, or dictionaries). If no such "bridge" exists, translation is impossible.
  • Shared Label Space: The paper assumes that the source and target domains share the exact same set of categories. It does not address cases where category definitions might shift or misalign between domains.
  • Computational Complexity: While implementable via dynamic programming, the algorithm's complexity scales with the size of the feature spaces, which could become a bottleneck for very high-dimensional data.

Summary updated

BibTeX
@inproceedings{dai2008translated,
  author = {Wenyuan Dai and Yuqiang Chen and Gui-Rong Xue and Qiang Yang and Yong Yu},
  title = {{Translated Learning: Transfer Learning across Different Feature Spaces}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2008},
  url = {https://openreview.net/forum?id=H1WqiLbubS},
}
Figure