Meta-Task: A Method-Agnostic Framework for Learning to Regularize in Few-Shot Learning
Mohammad Rostami, Atik Faysal, Huaxia Wang, Avimanyu Sahoo
TL;DR
Meta-Task presents a method-agnostic regularization framework for few-shot learning by treating regularization as a learnable auxiliary task. It introduces a Task-Decoder autoencoder that refines embeddings through input reconstruction, integrated into existing FSL models with a joint objective $J(\theta)=\sum J_{\mathcal{T}}(\theta)+\lambda\sum J_{\mathcal{M}}(\theta,\phi)$. Empirically, the approach yields faster convergence, higher accuracy, and better generalization across MiniImageNet, TieredImageNet, and FC100 when paired with Prototypical Networks, MAML, MetaOptNet, and $P > M > F$, with modest hyperparameter tuning. This framework has practical impact for resource-constrained scenarios, enabling robust few-shot learning without extensive pretraining or manual loss engineering.
Abstract
Overfitting is a significant challenge in Few-Shot Learning (FSL), where models trained on small, variable datasets tend to memorize rather than generalize to unseen tasks. Regularization is crucial in FSL to prevent overfitting and enhance generalization performance. To address this issue, we introduce Meta-Task, a novel, method-agnostic framework that leverages both labeled and unlabeled data to enhance generalization through auxiliary tasks for regularization. Specifically, Meta-Task introduces a Task-Decoder, which is a simple example of the broader framework that refines hidden representations by reconstructing input images from embeddings, effectively mitigating overfitting. Our framework's method-agnostic design ensures its broad applicability across various FSL settings. We validate Meta-Task's effectiveness on standard benchmarks, including Mini-ImageNet, Tiered-ImageNet, and FC100, where it consistently improves existing state-of-the-art meta-learning techniques, demonstrating superior performance, faster convergence, reduced generalization error, and lower variance-all without extensive hyperparameter tuning. These results underline Meta-Task's practical applicability and efficiency in real-world, resource-constrained scenarios.
