[Paper Review] MetaFun: Meta-Learning with Iterative Functional Updates
MetaFun proposes a meta-learning framework that uses iterative functional updates to encode context data into an infinite-dimensional functional representation, improving generalization in few-shot learning. By learning a neural update rule resembling functional gradient descent, it achieves state-of-the-art performance on miniImageNet and tieredImageNet without relying on MAML-style optimization.
We develop a functional encoder-decoder approach to supervised meta-learning, where labeled data is encoded into an infinite-dimensional functional representation rather than a finite-dimensional one. Furthermore, rather than directly producing the representation, we learn a neural update rule resembling functional gradient descent which iteratively improves the representation. The final representation is used to condition the decoder to make predictions on unlabeled data. Our approach is the first to demonstrates the success of encoder-decoder style meta-learning methods like conditional neural processes on large-scale few-shot classification benchmarks such as miniImageNet and tieredImageNet, where it achieves state-of-the-art performance.
Motivation & Objective
- To address the limitations of fixed-dimensional, vectorial task representations in encoder-decoder meta-learning models.
- To improve generalization in few-shot learning by modeling interactions between context and target points through functional representations.
- To explore iterative functional updates as a more effective inductive bias than direct encoding for task representation.
- To demonstrate state-of-the-art performance on large-scale few-shot classification benchmarks using a functional encoder-decoder approach.
- To investigate the impact of different components—local update functions, functional pooling, and number of iterations—on model performance.
Proposed method
- The model encodes context data into a functional representation using a learnable local update function that computes differences between predicted and true labels on context inputs.
- Functional pooling aggregates local updates into a global functional update using attention or deep kernel mechanisms, enabling generalization across the input domain.
- The functional representation is iteratively refined via repeated application of the update rule with a learnable learning rate α, mimicking functional gradient descent.
- A decoder network produces predictions on unlabeled target points conditioned on the final functional representation.
- The entire system is trained end-to-end using a meta-learning objective that minimizes prediction error on target data across tasks.
- The method supports both regression and classification by adapting the loss function and decoder head accordingly.
Experimental results
Research questions
- RQ1Can a functional representation that grows in effective dimensionality with context size outperform fixed-dimensional vector representations in few-shot meta-learning?
- RQ2Does learning iterative functional updates improve generalization compared to single-pass encoding in meta-learning?
- RQ3How do different choices of local update functions (neural network vs. gradient-based) affect performance on few-shot classification tasks?
- RQ4What is the impact of functional pooling mechanisms (e.g., attention vs. deep kernel) on model performance across different few-shot settings?
- RQ5How does the number of iterative update steps influence the final accuracy and convergence of the model?
Key findings
- MetaFun achieves state-of-the-art performance on miniImageNet with 67.72% accuracy at 1-shot and 82.81% at 5-shot, outperforming prior encoder-decoder methods.
- The model reaches 83.28% accuracy on tieredImageNet at 5-shot using deep kernel-based functional pooling and neural network local updates.
- Using multiple iterations (T ≥ 2) significantly improves performance over single-iteration inference, with diminishing returns beyond T=4.
- Neural network parameterized local update functions consistently outperform gradient-based local updates, despite the latter's inductive bias.
- Deep kernel-based functional pooling outperforms dot-product attention on 5-shot tasks, while attention performs better on 1-shot tasks.
- A simple SE kernel baseline performs worse than deep kernels, indicating that parameterized kernel functions are essential for capturing complex interactions in few-shot data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.