Regularising Knowledge Transfer by Meta Functional Learning

Pan Li, Yanwei Fu, Shaogang Gong

Abstract

Few-shot learning (FSL) is often hindered by overfitting, as models struggle to generalize from a handful of examples. Traditional approaches focus on learning robust features or optimal initializations. This paper introduces Meta Functional Learning (MFL), a novel paradigm that transfers the process of regularization. MFL meta-learns a "functional"—a mapping that transforms a weak classifier trained on few samples into a stronger one that approximates many-shot performance. By capturing task-agnostic patterns of hypothesis refinement, MFL effectively guides learning in data-scarce scenarios. Experimental results on benchmarks like miniImageNet and CUB demonstrate that MFL, particularly with iterative updates (MFL-IU), significantly outperforms existing methods and exhibits superior cross-domain robustness.

1. Introduction

Deep learning models typically require vast amounts of labeled data to perform well. In the regime of Few-Shot Learning (FSL), where only 1–5 examples per class are available, the primary challenge is overfitting. Even with high-quality pre-trained feature extractors, a classifier fit to a tiny support set often fails to capture the true underlying data distribution.

While existing FSL methods often prioritize representation learning, they frequently overlook the hypothesis-fitting process itself. The authors of this work argue that while data distributions vary across domains, the geometric transformations required to move from an "infant" (few-shot) hypothesis to a "mature" (many-shot) hypothesis are often consistent and task-agnostic. MFL aims to capture this latent knowledge to regularize new tasks effectively.

2. Meta Functional Learning Framework

The MFL framework operates in four distinct stages to learn and apply regularization knowledge across tasks.

Overview of the Meta Functional Learning (MFL) framework, including representor training, functional episode sampling, and meta-learning with iterative updates.
  1. Representor Training: A standard feature extractor is first trained on a large, labeled source dataset to provide a base for feature representation.
  2. Sampling Functional Episodes: To train the meta-model, the authors create "functional episodes" from the source data. For each class, they derive a "few-shot" classifier ($f_\phi$) using minimal samples and a "many-shot" version ($f_{\tilde{\phi}}$) using the full set. Class prototypes ($f_p$) are also computed to provide context.
  3. Meta Functional Learning (MFL): A meta-model, the functional $T$, is trained to map the tuple $(f_\phi, f_p)$ to the target $f_{\tilde{\phi}}$. In essence, $T$ learns to "correct" the weights of a weak classifier based on learned regularization principles.
  4. Iterative Update (MFL-IU): Recognizing that regularization is often a progressive process, the authors propose an iterative version. Here, the classifier weights are refined through a sequence of residual blocks, moving them incrementally closer to the ideal many-shot parameters.

At inference, a simple Logistic Regression (LR) model is trained on the available few-shot samples. Its weights are then passed through the learned functional $T$ to produce a regularized, high-performing classifier.

3. Experimental Evaluation

The proposed method was evaluated on several standard FSL benchmarks, including miniImageNet, CIFAR-FS, and the fine-grained CUB dataset. A cross-domain task (miniImageNet $\rightarrow$ CUB) was also conducted to test generalization.

3.1 Key Results

  • State-of-the-Art Performance: The iterative MFL-IU3 model consistently surpassed established baselines. For instance, on the 5-way 1-shot miniImageNet task, it achieved 51.17% accuracy, notably higher than MAML's 48.29%.
  • Cross-Domain Generalization: In the challenging transition from general objects (miniImageNet) to specific bird species (CUB), MFL-IU3 outperformed the baseline by nearly 9% in the 5-shot setting. This suggests that the learned functional captures universal learning principles rather than dataset-specific features.
Comparison of decision boundaries for the Continuity distribution. MFL-IU3 (c1) produces a distribution much closer to the ground-truth (a1) than Vanilla Logistic Regression (b1).

As shown in the visualization above, MFL-IU3 significantly improves the alignment of the learned distribution with the ground truth compared to standard Logistic Regression. By applying learned regularization, the model avoids the erratic decision boundaries typical of overfitted few-shot models.

4. Conclusion

Meta Functional Learning shifts the focus of FSL from "what to represent" to "how to regularize." By treating regularization as transferable knowledge, MFL provides a robust, task-agnostic mechanism for improving few-shot classification. The use of class prototypes as context and the iterative refinement strategy are key to its success. Future research could explore extending this framework to more complex, non-linear classification heads beyond Logistic Regression.

Summary updated

BibTeX
@inproceedings{li2021regularising,
  author = {Pan Li and Yanwei Fu and Shaogang Gong},
  title = {{Regularising Knowledge Transfer by Meta Functional Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/370},
}
Figure