Abstract
The transfer learning and domain adaptation problems originate from a distribution mismatch between the source and target data distribution. The causes of such mismatch are traditionally considered different. Thus, transfer learning and domain adaptation algorithms are designed to address different issues, and cannot be used in both settings unless substantially modified. Still, one might argue that these problems are just different declinations of learning to learn, i.e. the ability to leverage over prior knowledge when attempting to solve a new task. We propose a learning to learn framework able to leverage over source data regardless of the origin of the distribution mismatch. We consider prior models as experts, and use their output confidence value as features. We use them to build the new target model, combined with the features from the target data through a high-level cue integration scheme. This results in a class of algorithms usable in a plug-and-play fashion over any learning to learn scenario, from binary and multi-class transfer learning to single and multiple source domain adaptation settings. Experiments on several public datasets show that our approach consistently achieves the state of the art.
Introduction
In classical machine learning, a fundamental assumption is that training and test data are drawn from the same probability distribution. However, in real-world applications—ranging from robotics to mobile vision—this assumption rarely holds. This "distribution mismatch" typically manifests in two ways: Domain Adaptation (DA), where the task remains the same but the data appearance changes (e.g., DSLR photos vs. webcam images), and Transfer Learning (TL), where the data may look similar but the categories or labels differ (e.g., using knowledge of "cars" to learn "motorcycles").
Traditionally, the research community has treated DA and TL as distinct silos, developing specialized algorithms for each. In this paper, Patricia and Caputo argue that these are simply two sides of the same coin: Learning to Learn (L2L). They propose a unified framework that allows a system to leverage prior knowledge regardless of why the data distribution has shifted.
The H-L2L Framework
The core contribution is the High Level - Learning2Learn (H-L2L) framework. Rather than attempting to mathematically align complex, low-level raw feature spaces—a common and often computationally expensive approach in Domain Adaptation—the authors shift the problem to a high-level cue integration scheme.
How it Works
- Source Models as Experts: Existing models trained on source data are treated as "black-box" experts.
- Confidence as Features: When a new target image is processed, it is fed into these source experts. Their output confidence scores are treated as high-level semantic features.
- Two-Stage Learning:
- Stage 1: Independent classifiers are trained on the target data and the source expert outputs.
- Stage 2: The system learns a joint weight ($\beta$) that determines the optimal balance between trusting the new target features and the various source experts.
The authors implemented two versions of this framework: H-L2L(SVM-DAS), which uses a Support Vector Machine-based discriminative accumulation scheme, and H-L2L(LP-$\beta$), which utilizes a boosting-based approach (Linear Programming) to learn mixing weights.
Unifying Domain Adaptation and Transfer Learning
The strength of H-L2L lies in its agnosticism. It does not require prior knowledge of the nature of the distribution mismatch. Whether the shift is due to a change in sensor (DA) or a change in category (TL), the framework treats the source knowledge as a useful cue for the target task.
In Case 1 (DA), the source models provide direct knowledge about the same categories. In Case 2 (TL), the source models provide semantic analogies; for instance, a "bicycle" model might provide high confidence scores for a "motorbike," signaling that the visual features of bicycles are relevant for identifying motorbikes.
Experimental Evaluation
The framework was tested across several standard benchmarks to demonstrate its versatility:
- Office & Office-Caltech: Standard benchmarks for Domain Adaptation involving Amazon, DSLR, and Webcam domains. H-L2L(LP-$\beta$) achieved state-of-the-art results, notably improving accuracy by over 24% when adapting from Caltech to DSLR.
- Caltech-256: Used for binary transfer learning. H-L2L(SVM-DAS) significantly outperformed previous methods like Multi-KT, particularly when only a few source models were available.
- Animals with Attributes (AwA): Used for multi-class transfer learning. The framework proved it could scale effectively, matching the performance of complex Multi-Kernel Learning (MKL) approaches while remaining more flexible.
Key Insights and Conclusion
One of the most compelling findings is that negative knowledge is useful. Even if a source model is unrelated to the target task, its confidence that an image is not a certain category helps the target model narrow down the correct classification.
By treating prior models as semantic experts, H-L2L provides a simple yet powerful "plug-and-play" solution for the Learning to Learn problem. While specific algorithmic choices (like SVM vs. Boosting) may perform differently depending on data balance, the underlying framework consistently matches or exceeds specialized state-of-the-art methods across both Domain Adaptation and Transfer Learning scenarios.
Summary updated