Abstract
Meta-learning, or "learning to learn," aims to enable models to adapt to new tasks with minimal data. A significant challenge in this field is the high-dimensional nature of neural network parameter spaces, which often leads to overfitting during few-shot adaptation. This paper introduces the Decoder Choice Network (DCN), a framework that performs optimization within a low-dimensional latent space. By utilizing a task-dependent set of decoders and a novel Group Linear Transformation (GLT), DCN achieves state-of-the-art performance on few-shot benchmarks while maintaining high parameter efficiency.
Introduction
Few-shot learning requires models to generalize from only one or five examples per class. Traditional gradient-based meta-learning methods, such as MAML, update the entire model parameter set, which can be computationally expensive and prone to poor convergence. While Latent Embedding Optimization (LEO) attempted to mitigate this by performing gradient descent in a latent space, it faced a "decoder bottleneck": the network required to map latent codes back to high-dimensional weights becomes prohibitively large for deep architectures. Consequently, many prior works were forced to limit adaptation to the final classification layer.
The Decoder Choice Network Framework
The DCN addresses the decoder bottleneck through two primary architectural innovations: task-dependent mapping and efficient weight generation.
Task-Dependent Parameter Mapping
Instead of a single static decoder, the DCN employs a Choice Network that analyzes task-specific features to dynamically weight a set of diverse decoders. This mechanism ensures that the mapping from the latent space to the parameter space is conditioned on the specific nuances of the task at hand.
As shown in the architecture, the choice network $\mathcal{C}$ (often implemented as a Capsule Network) processes training pairs $(x_i^{tr}, y_i^{tr})$ to produce weights for the decoders $d_1, \dots, d_S$. These weighted decoders then integrate the latent code $z$ to generate the model parameters $\hat{\theta}_i$. This allows the model to navigate the parameter space more effectively by selecting the most relevant transformation for the current task.
Group Linear Transformation (GLT)
To enable the adaptation of hidden layers without an explosion in parameter count, the authors introduced the Group Linear Transformation (GLT). Standard linear layers have a complexity of $O(N^2)$, which is unsustainable when generating weights for large hidden layers. GLT divides input and weight matrices into groups and reuses weights across these groups.
This structural constraint reduces complexity significantly, allowing the DCN to generate weights for internal representations rather than just the output layer. This increased expressive power is a key driver of the model's performance.
Experimental Evaluation
The DCN was evaluated across three distinct domains: sinusoid curve fitting (regression), Omniglot (character recognition), and miniImageNet (natural image classification).
Key Results
- Sinusoid Regression: DCN achieved a mean-squared error nearly 10x lower than MAML in 5-shot tasks, demonstrating superior adaptation in continuous spaces.
- Omniglot: The model set new benchmarks, reaching 99.92% accuracy on 5-way 1-shot tasks.
- miniImageNet: Utilizing a snapshot ensembling technique (DCN-E), the model achieved 58.94% (1-shot) and 77.13% (5-shot) accuracy. Notably, DCN achieved these results using only ~4 million parameters, whereas competing models like LEO required over 80 million parameters.
Conclusion
The Decoder Choice Network demonstrates that structured, task-dependent parameter generation is more effective than simply increasing model size. By performing optimization in a latent space and utilizing GLT for efficiency, DCN provides a robust framework for few-shot learning. Future work may extend this approach to reinforcement learning, where rapid adaptation to environmental shifts is a critical requirement.
Summary updated