Skip to main content
QUICK REVIEW

[Paper Review] Incremental Few-Shot Learning with Attention Attractor Networks

Mengye Ren, Renjie Liao|arXiv (Cornell University)|Oct 16, 2018
Domain Adaptation and Few-Shot LearningComputer Science42 references30 citations
TL;DR

This paper proposes an Attention Attractor Network for incremental few-shot learning, where a model learns new classes with few examples while retaining performance on base classes. Using recurrent back-propagation to optimize a regularizer that attends to base-class features, the method achieves state-of-the-art performance on mini-ImageNet and tiered-ImageNet by effectively mitigating catastrophic forgetting without retraining on original data.

ABSTRACT

Machine learning classifiers are often trained to recognize a set of pre-defined classes. However, in many applications, it is often desirable to have the flexibility of learning additional concepts, with limited data and without re-training on the full training set. This paper addresses this problem, incremental few-shot learning, where a regular classification network has already been trained to recognize a set of base classes, and several extra novel classes are being considered, each with only a few labeled examples. After learning the novel classes, the model is then evaluated on the overall classification performance on both base and novel classes. To this end, we propose a meta-learning model, the Attention Attractor Network, which regularizes the learning of novel classes. In each episode, we train a set of new weights to recognize novel classes until they converge, and we show that the technique of recurrent back-propagation can back-propagate through the optimization process and facilitate the learning of these parameters. We demonstrate that the learned attractor network can help recognize novel classes while remembering old classes without the need to review the original training set, outperforming various baselines.

Motivation & Objective

  • To address the challenge of learning new classes with few examples while preserving performance on previously learned base classes.
  • To develop a meta-learning framework that regularizes episodic training for novel classes using a memory of base-class features.
  • To enable effective continual learning without access to the original training data or full retraining.
  • To improve generalization and reduce forgetting in incremental few-shot learning scenarios.

Proposed method

  • Proposes an Attention Attractor Network that generates a regularization term by attending to base-class features during episodic training.
  • Uses recurrent back-propagation through time (RBP) to back-propagate gradients through the entire episodic optimization process, enabling end-to-end meta-learning.
  • Employs a differentiable iterative solver to train episodic classifiers until convergence, with regularization from the attention attractor.
  • Learns a dynamic regularizer that pulls the fast weights of the episodic classifier toward base-class representations, reducing forgetting.
  • Utilizes a meta-learner to minimize expected query loss across episodes, with the attractor network predicting the regularization strength.
  • Applies the method in a few-shot learning setting using support and query sets, where support sets contain only novel classes and query sets contain both base and novel classes.

Experimental results

Research questions

  • RQ1Can a meta-learned regularizer based on attention to base-class features reduce catastrophic forgetting in incremental few-shot learning?
  • RQ2Does recurrent back-propagation through the episodic optimization process enable better regularization than truncated BPTT or one-step updates?
  • RQ3How does the performance of the proposed method compare to baselines with fixed weight decay or static attractors on standard few-shot benchmarks?
  • RQ4Can the attention attractor model generalize across varying numbers of base classes and maintain robustness in continual learning simulations?

Key findings

  • The proposed Attention Attractor Network outperforms baselines with fixed weight decay and static attractors on both mini-ImageNet and tiered-ImageNet, demonstrating superior generalization and forgetting mitigation.
  • Recurrent back-propagation (RBP) enables effective meta-learning of the attractor regularizer, outperforming truncated BPTT, which fails to generalize when episodic training is run to convergence at test time.
  • On mini-ImageNet, the model achieves state-of-the-art performance in 1-shot and 5-shot 64+5-way few-shot learning, with consistent improvements over prior methods.
  • The ablation study shows that learned attractors significantly reduce performance degradation on base classes compared to manual weight decay, especially in joint prediction of base and novel classes.
  • Visualization confirms that the attractor network pulls episodic classifier prototypes toward base-class representations, providing a dynamic memory mechanism that stabilizes learning.
  • Increasing the number of base classes from 50 to 150 improves overall accuracy due to better backbone representations, though performance drops at 200 classes due to task complexity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.