[Paper Review] Few-shot Learning with Meta Metric Learners
This paper proposes a meta metric learner for few-shot learning that combines an LSTM-based meta-learner with task-specific metric classifiers to handle unbalanced classes and diverse label numbers across tasks. By learning task-specific metrics via meta-learned optimization parameters, the model outperforms prior methods in both standard 'k-shot N-way' and realistic multi-domain few-shot settings with flexible label counts.
Few-shot Learning aims to learn classifiers for new classes with only a few training examples per class. Existing meta-learning or metric-learning based few-shot learning approaches are limited in handling diverse domains with various number of labels. The meta-learning approaches train a meta learner to predict weights of homogeneous-structured task-specific networks, requiring a uniform number of classes across tasks. The metric-learning approaches learn one task-invariant metric for all the tasks, and they fail if the tasks diverge. We propose to deal with these limitations with meta metric learning. Our meta metric learning approach consists of task-specific learners, that exploit metric learning to handle flexible labels, and a meta learner, that discovers good parameters and gradient decent to specify the metrics in task-specific learners. Thus the proposed model is able to handle unbalanced classes as well as to generate task-specific metrics. We test our approach in the `$k$-shot $N$-way' few-shot learning setting used in previous work and new realistic few-shot setting with diverse multi-domain tasks and flexible label numbers. Experiments show that our approach attains superior performances in both settings.
Motivation & Objective
- Address the limitation of existing few-shot learning methods that assume uniform 'N-way' class counts across tasks.
- Overcome the inflexibility of task-invariant metrics in metric-learning approaches when tasks diverge in domain or label structure.
- Enable meta-learning to generalize across heterogeneous task-specific networks with varying numbers of labels.
- Improve few-shot learning performance in realistic, multi-domain settings with variable label counts and unbalanced class distributions.
- Demonstrate the effectiveness of meta-learned optimization parameters for guiding gradient descent in matching networks.
Proposed method
- Use an LSTM-based meta-learner to predict parameters and optimization dynamics for task-specific metric learners.
- Employ Matching Networks as base learners, with metrics parameterized by predictions from the meta-learner.
- Train the meta-learner on a distribution of tasks with varying numbers of classes and label distributions.
- Allow the meta-learner to guide gradient descent in the base learner, enabling task-specific metric adaptation.
- Use a two-stage training process: meta-learner learns from diverse tasks, then base learners adapt per task using meta-predicted parameters.
- Integrate FCE (Feature-Conditioned Embedding) to enhance representation learning in the base classifier.
Experimental results
Research questions
- RQ1Can a meta-learner effectively guide task-specific metric learning when tasks have varying numbers of labels?
- RQ2Does learning task-specific metrics improve few-shot generalization compared to task-invariant metrics?
- RQ3How does the proposed method perform in realistic few-shot settings with multi-domain, unbalanced tasks?
- RQ4Can meta-learned optimization parameters improve performance in few-shot learning with limited data?
- RQ5How does the model compare to existing meta-learning and metric-learning baselines in both standard and realistic few-shot benchmarks?
Key findings
- The meta metric learner achieved 60.82% accuracy on the FCE-based setting in the multi-domain few-shot benchmark, outperforming prior methods.
- In the single-task SCS setting with a 3 vs. 5 class split, the model reached 59.02% accuracy at 4-shot, significantly outperforming meta-learner LSTM and matching network baselines.
- On Omniglot, the meta metric learner achieved 98.47% accuracy at 4-shot with FCE, surpassing the next best method by over 1%.
- The model demonstrated robustness in unbalanced settings, with performance gains in challenging 3 vs. 5 splits where other models failed or underperformed.
- The use of FCE improved performance on SCS but had a smaller effect on Omniglot, suggesting domain-dependent benefits.
- The model achieved state-of-the-art performance in both standard 'k-shot N-way' and realistic multi-domain few-shot learning settings.
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.