[Paper Review] Meta-learning algorithms for Few-Shot Computer Vision
This paper presents a benchmark of meta-learning algorithms for few-shot image classification and introduces YOLOMAML, a novel meta-learning approach for few-shot object detection. Despite extensive hyperparameter tuning, YOLOMAML failed to converge effectively, with F1-scores below 0.001, suggesting challenges in objectness confidence prediction that hinder performance.
Few-Shot Learning is the challenge of training a model with only a small amount of data. Many solutions to this problem use meta-learning algorithms, i.e. algorithms that learn to learn. By sampling few-shot tasks from a larger dataset, we can teach these algorithms to solve new, unseen tasks. This document reports my work on meta-learning algorithms for Few-Shot Computer Vision. This work was done during my internship at Sicara, a French company building image recognition solutions for businesses. It contains: 1. an extensive review of the state-of-the-art in few-shot computer vision; 2. a benchmark of meta-learning algorithms for few-shot image classification; 3. the introduction to a novel meta-learning algorithm for few-shot object detection, which is still in development.
Motivation & Objective
- To evaluate and benchmark state-of-the-art meta-learning algorithms for few-shot image classification across multiple datasets and settings.
- To investigate the feasibility of adapting meta-learning to few-shot object detection, a less explored but critical problem in computer vision.
- To identify and diagnose training failures in a novel meta-learning model for object detection, specifically YOLOMAML.
- To propose future directions for few-shot object detection, including dataset construction and model generalization to varying numbers of classes.
Proposed method
- Benchmarked four meta-learning algorithms—MAML, ProtoNets, Meta-SSL, and a Siamese network—on few-shot image classification tasks using standard benchmarks like mini-ImageNet.
- Implemented YOLOMAML by adapting the MAML framework to YOLOv3 for few-shot object detection, using episodic training with support and query sets.
- Trained YOLOMAML over 10,000 epochs with two support set updates per episode, optimizing a composite loss combining bounding box, classification, and objectness confidence terms.
- Analyzed loss components separately: bounding box, classification, and objectness confidence (for both positive and negative anchors) to isolate training issues.
- Compared YOLOMAML’s loss dynamics with a standard YOLOv3 baseline trained without meta-learning to isolate failure modes.
- Used exponential moving averages to visualize loss trends and detect stagnation patterns in training components.
Experimental results
Research questions
- RQ1How do different meta-learning algorithms perform across various few-shot image classification benchmarks?
- RQ2What are the key challenges in adapting meta-learning to few-shot object detection compared to classification?
- RQ3Why does YOLOMAML fail to achieve meaningful detection performance despite training convergence in loss?
- RQ4Which component of the YOLO loss function is primarily responsible for the failure of YOLOMAML during inference?
- RQ5How can future meta-learning models for few-shot object detection be designed to support zero-shot generalization to new numbers of classes?
Key findings
- The benchmark confirmed strong performance of meta-learning models like ProtoNets and MAML on few-shot image classification, particularly on mini-ImageNet.
- YOLOMAML showed rapid convergence in total loss, but inference performance remained ineffective, with F1-scores below 0.001 across all evaluations.
- The objectness confidence loss for boxes with ground truth objects in YOLOMAML rose to a critical level and then stagnated, indicating a core training instability.
- In contrast, standard YOLOv3 training showed consistent loss reduction across all components, including objectness confidence, indicating the failure was specific to the meta-learning adaptation.
- The loss analysis revealed that bounding box and classification losses in YOLOMAML remained largely unchanged during training, suggesting poor gradient flow to these components.
- The study concluded that the primary bottleneck in YOLOMAML is the prediction of objectness confidence, though other issues may emerge upon resolution.
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.