Consistent MetaReg: Alleviating Intra-task Discrepancy for Better Meta-knowledge

Pinzhuo Tian, Lei Qi, Shaokang Dong, Yinghuan Shi, Yang Gao

Abstract

Consistent Meta-regularization (CM) is a novel regularization technique designed to address the "intra-task discrepancy" in few-shot learning—the distribution mismatch between the small support set and the representative query set within a single task. By enforcing parameter consistency between models learned from support data and those learned from query data, CM enables meta-learners to extract more robust and generalizable meta-knowledge. Empirical evaluations across standard benchmarks, including miniImageNet, tieredImageNet, and Office31, demonstrate that CM consistently improves the performance of various gradient-based meta-learning frameworks, achieving state-of-the-art results.

Introduction

In few-shot learning, models must adapt to new concepts using only a handful of examples, known as the support set. Most meta-learning algorithms, such as Model-Agnostic Meta-Learning (MAML), aim to learn a global initialization (meta-knowledge) that facilitates rapid adaptation. However, a significant challenge arises from the fact that the tiny support set often fails to represent the true data distribution of the task. This creates an intra-task discrepancy between the support set and the query set (the data used to evaluate adaptation).

Existing methods typically ignore this gap, leading meta-learners to acquire "inferior" meta-knowledge that overfits the specific quirks of small support sets. If this discrepancy is not accounted for during meta-training, the resulting model generalizes poorly to truly unseen data.

Methodology

The authors propose Consistent Meta-regularization (CM), a plug-and-play module for gradient-based meta-learning (GBML) frameworks. The core principle is to ensure consistency between the task-specific parameters derived from the support set and those that would be ideal for the query set.

Conceptual overview of intra-task discrepancy and how the proposed method enforces consistency between support and query learners.

For every task during meta-training, the process involves:

  1. Support Training: A base-learner ($M^{tr}$) is trained using the support set.
  2. Query Training: In a novel "reverse" step, the query set is used as training data to derive a second base-learner ($M^{ts}$).
  3. Regularization: A penalty term, based on the Frobenius norm of the difference between the parameters of $M^{tr}$ and $M^{ts}$, is added to the meta-loss function.

By minimizing this difference, the meta-learner is forced to find an initialization where the model trained on limited support data aligns closely with a model trained on more representative query data.

Experiments and Results

The method was evaluated on three major benchmarks: miniImageNet, tieredImageNet, and Office31. Office31 was specifically chosen for its high intra-task discrepancy, providing a rigorous test for the CM module.

CM was integrated into three prominent models: MAML, R2-D2, and MetaOptNet (referred to as OptNet in some tables). The results show consistent performance gains across all settings.

Performance comparison showing that adding the CM module consistently improves accuracy across different base models and datasets.

Key Findings:

  • Performance Boost: On miniImageNet, CM improved the mean accuracy of MetaOptNet by approximately 1.1% and R2-D2 by 2.66%.
  • High-Discrepancy Success: On the Office31 dataset, where the gap between support and query is most significant, MetaOptNet saw improvements of up to 3.37%.
  • Learning Efficiency: Models utilizing CM were found to converge faster and maintain higher accuracy throughout the training process compared to their vanilla counterparts.

Discussion and Key Insights

  • Utilizing the Query Set: Traditionally, the query set is only used for the final loss calculation. This research demonstrates that the query set contains valuable information about "ideal" task parameters that can directly guide support-set training.
  • Theoretical Foundation: Using online convex optimization, the authors proved that CM allows meta-learning algorithms to reach a lower regret bound, theoretically ensuring closer proximity to optimal performance.
  • Hyperparameter Robustness: Experiments on Office31 indicated that the model is relatively insensitive to the specific weight of the regularization parameter, maintaining high performance across a variety of values.

Conclusion

Consistent Meta-regularization effectively bridges the gap between support and query sets, mitigating the negative effects of intra-task discrepancy. While the current theoretical grounding relies on convexity assumptions, the empirical success across diverse benchmarks suggests broad applicability. Future work will focus on extending theoretical analysis to non-convex deep learning settings and exploring applications in natural language processing and reinforcement learning.

Summary updated

BibTeX
@inproceedings{tian2020consistent,
  author = {Pinzhuo Tian and Lei Qi and Shaokang Dong and Yinghuan Shi and Yang Gao},
  title = {{Consistent MetaReg: Alleviating Intra-task Discrepancy for Better Meta-knowledge}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/377},
}
Figure