[Paper Review] Expert Training: Task Hardness Aware Meta-Learning for Few-Shot Classification
This paper proposes Expert Training, a task hardness-aware meta-learning framework that improves few-shot image classification by sequentially training on easy tasks before hard ones. By integrating a task hardness aware module (THAM) that estimates category distinguishability using metrics like HSIC and Euclidean distance, the method enhances meta-learner generalization, achieving state-of-the-art performance on miniImageNet and tieredImageNetSketch, especially in 5-way-1-shot settings.
Deep neural networks are highly effective when a large number of labeled samples are available but fail with few-shot classification tasks. Recently, meta-learning methods have received much attention, which train a meta-learner on massive additional tasks to gain the knowledge to instruct the few-shot classification. Usually, the training tasks are randomly sampled and performed indiscriminately, often making the meta-learner stuck into a bad local optimum. Some works in the optimization of deep neural networks have shown that a better arrangement of training data can make the classifier converge faster and perform better. Inspired by this idea, we propose an easy-to-hard expert meta-training strategy to arrange the training tasks properly, where easy tasks are preferred in the first phase, then, hard tasks are emphasized in the second phase. A task hardness aware module is designed and integrated into the training procedure to estimate the hardness of a task based on the distinguishability of its categories. In addition, we explore multiple hardness measurements including the semantic relation, the pairwise Euclidean distance, the Hausdorff distance, and the Hilbert-Schmidt independence criterion. Experimental results on the miniImageNet and tieredImageNetSketch datasets show that the meta-learners can obtain better results with our expert training strategy.
Motivation & Objective
- To address the limitation of standard meta-learning, where randomly sampled tasks are treated equally, leading to poor convergence and suboptimal performance.
- To improve meta-learner generalization by introducing a curriculum learning strategy that prioritizes easy tasks before hard ones.
- To design a task hardness aware module (THAM) that estimates task difficulty based on category distinguishability in few-shot episodes.
- To evaluate the effectiveness of multiple hardness measurement methods—semantic relations, pairwise Euclidean distance, Hausdorff distance, and HSIC—on meta-learning performance.
- To demonstrate that reordering training tasks by estimated hardness leads to better generalization on novel, unseen few-shot tasks.
Proposed method
- The method introduces a two-phase training strategy: first, a primary learning phase on easy tasks to build basic classification ability; second, an advanced phase focusing on hard tasks to refine the meta-learner.
- A task hardness aware module (THAM) is integrated into the meta-training pipeline to estimate task difficulty using category-level distinguishability metrics.
- THAM is implemented in two forms: semantic THAM (Se-THAM) based on class semantics and computable THAM (Co-THAM) using differentiable distance metrics like HSIC and Euclidean distance.
- The hardness scores are used to reweight the meta-loss during training, prioritizing hard tasks in the second phase and ensuring curriculum learning is dynamically applied.
- The framework is applied to MAML and Relation Net, and further enhanced with a pre-trained ResNet-12 backbone in MTL settings for state-of-the-art results.
- Training uses episode-based meta-learning with support/query splits, and the meta-learner is updated via query loss backpropagation, now conditioned on estimated task hardness.
Experimental results
Research questions
- RQ1Can a curriculum learning strategy that sequences training tasks from easy to hard improve meta-learner performance in few-shot image classification?
- RQ2How can task hardness be effectively estimated in a way that reflects the true difficulty of distinguishing categories in a few-shot episode?
- RQ3Does using different hardness measurement methods—such as semantic similarity, Euclidean distance, Hausdorff distance, and HSIC—lead to measurable performance differences in meta-learner training?
- RQ4Can expert training with hardness-aware curriculum learning generalize better than standard meta-learning and hard-task-only training strategies?
- RQ5How does the performance of expert training vary across different task hardness levels during testing, especially on semantically easy and hard tasks?
Key findings
- Expert Training with Co-THAM-HSIC achieved 49.54% accuracy on 5-way-1-shot miniImageNet, outperforming standard MAML (48.70%) and MAML-HT (49.10%).
- On 5-way-5-shot tasks, the method achieved 66.10% accuracy, a significant improvement over the baseline MAML (63.11%) and MAML-HT (64.10%).
- On tieredImageNetSketch, the method achieved 84.70% accuracy on semantically easy tasks and 63.02% on hard tasks, outperforming Meta-SGD by 6.31% and 4.43% respectively.
- The MTL-ResNet-ET-Co-THAM-HSIC model achieved 62.01% on 5-way-1-shot and 75.27% on 5-way-5-shot tasks, setting a new state of the art on miniImageNet.
- Results showed that larger batch sizes improved performance, indicating that the method benefits from more training tasks per meta-update, suggesting scalability potential.
- The Co-THAM variant consistently outperformed Se-THAM, indicating that differentiable, end-to-end hardness estimation integrates more effectively with meta-learner optimization.
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.