Abstract
Machine learning methods typically require extensive labeled datasets to achieve high performance. Few-shot learning (FSL) addresses this limitation by enabling models to learn from a restricted number of training examples. This paper proposes the Model Composition Prior (MCP), a meta-learning framework that decomposes the model prior into interpretable components based on the first-order optimality conditions of the objective function. By estimating shared and task-specific components—including bias, class means, and feature precision—MCP enhances explainability and performance across diverse tasks. Evaluations on synthetic data, MiniImageNet, and the CUB dataset demonstrate MCP's ability to recover task relationships and outperform existing few-shot learning baselines.
Introduction
The data-hungry nature of deep learning poses a significant barrier in domains where labeled data is scarce. While humans can generalize from a single observation, standard models often overfit when presented with few examples. Few-shot learning (FSL) seeks to bridge this gap by leveraging "priors"—knowledge gained from seen classes—to adapt quickly to unseen categories.
Existing FSL approaches generally fall into two categories: initialization-based methods (e.g., MAML) and metric-based methods (e.g., Prototypical Networks). However, these methods often treat the classifier as a black box or fail to account for complex feature correlations. This study introduces Model Composition Prior (MCP), which explicitly models the mathematical structure of an optimal classifier to improve both performance and transparency.
Methodology: Model Composition Prior (MCP)
The MCP framework is derived from the first-order optimality conditions of a Least Squares Support Vector Machine (LSSVM). The authors demonstrate that an optimal classifier can be decomposed into three primary structural components:
- Bias Estimation: A global feature offset estimated via a Long Short-Term Memory (LSTM) network that processes the entire support set.
- Class Mean Estimation: The representative centers for each category. A Bidirectional LSTM (BiLSTM) is used to refine these centers by considering the inter-class relationships within a specific task.
- Precision Matrix (P): This component models feature correlations. While the standard MCP uses a shared precision matrix, MCP+ employs a weighted combination of basis matrices to adapt to task-specific nuances.
To maintain the integrity of these components, the authors utilize Global and Local Consistency Regularizers, ensuring that meta-learned priors remain aligned with the statistical properties of the sampled data. Efficiency is maintained through a Taylor expansion approximation of the precision matrix inverse, reducing computational overhead during training.
Experimental Results
The effectiveness of MCP was validated across three distinct scenarios:
- Synthetic Data: The model successfully recovered ground-truth feature correlation structures even under significant noise, validating its structural learning capabilities.
- MiniImageNet: MCP achieved state-of-the-art results with 51.24% accuracy in 1-shot and 67.37% in 5-shot settings, surpassing baselines like MAML and ProtoNet.
- CUB-200-2011: In this fine-grained bird classification task, the adaptive MCP+ reached 55.85% accuracy (1-shot 5-way), significantly outperforming standard Prototypical Networks (~48.9%). This result underscores the importance of modeling task-specific feature correlations in expert-level classification.
Discussion and Conclusion
MCP offers a "white-box" alternative to traditional meta-learners, providing insights into how the model adjusts its bias and perceives feature correlations. By explicitly decomposing the classifier, the framework achieves superior generalization on both general and fine-grained datasets.
Future work includes extending the model composition approach to multi-modal learning and exploring alternative loss functions beyond the squared loss used in LSSVM. Despite its dependence on the quality of the initial feature embedding, MCP represents a significant step toward more interpretable and efficient few-shot learning.
Summary updated