Skip to main content
QUICK REVIEW

[Paper Review] Efficient Lifelong Learning with A-GEM

Arslan Chaudhry, Marc’Aurelio Ranzato|arXiv (Cornell University)|Dec 2, 2018
Advanced Data Compression TechniquesComputer Science576 citations
TL;DR

A-GEM is an efficient lifelong learning method that extends GEM with an averaged gradient constraint to achieve similar performance to GEM but with much lower computational and memory cost, evaluated under a single-pass streaming protocol and enhanced by task descriptors.

ABSTRACT

In lifelong learning, the learner is presented with a sequence of tasks, incrementally building a data-driven prior which may be leveraged to speed up learning of a new task. In this work, we investigate the efficiency of current lifelong approaches, in terms of sample complexity, computational and memory cost. Towards this end, we first introduce a new and a more realistic evaluation protocol, whereby learners observe each example only once and hyper-parameter selection is done on a small and disjoint set of tasks, which is not used for the actual learning experience and evaluation. Second, we introduce a new metric measuring how quickly a learner acquires a new skill. Third, we propose an improved version of GEM (Lopez-Paz & Ranzato, 2017), dubbed Averaged GEM (A-GEM), which enjoys the same or even better performance as GEM, while being almost as computationally and memory efficient as EWC (Kirkpatrick et al., 2016) and other regularization-based methods. Finally, we show that all algorithms including A-GEM can learn even more quickly if they are provided with task descriptors specifying the classification tasks under consideration. Our experiments on several standard lifelong learning benchmarks demonstrate that A-GEM has the best trade-off between accuracy and efficiency.

Motivation & Objective

  • Motivate a realistic lifelong learning setting where data arrive in a stream and hyper-parameters are tuned without revisiting past data excessively.
  • Propose a more efficient alternative to Gradient Episodic Memory (GEM) called Averaged GEM (A-GEM) to reduce compute and memory while maintaining performance.
  • Introduce a new learning protocol and a learning-speed metric (Learning Curve Area, LCA) to evaluate how quickly models acquire new tasks.
  • Investigate the use of compositional task descriptors to improve forward transfer and few-shot learning in lifelong learning.
  • Empirically compare A-GEM against baselines on standard lifelong learning benchmarks and analyze the impact of task descriptors.

Proposed method

  • Propose a new single-pass learning protocol with a disjoint CV task set for hyper-parameter selection and an EV task set for final evaluation.
  • Adapt GEM by replacing multiple per-task constraints with a single averaged memory gradient constraint to form A-GEM.
  • Derive a closed-form gradient projection rule: if the current gradient g violates the reference direction g_ref, project as ˜g = g - (g^T g_ref / g_ref^T g_ref) g_ref.
  • Introduce a joint embedding model that uses compositional task descriptors to learn task-embeddings and enable forward transfer across tasks.
  • Provide cross-entropy loss for the joint embedding: l_k(θ, ω) = (1/N) Σ_i -log p(y_i^k | x_i^k, t^k; θ, ω) with p(c|x_i^k, t^k; θ, ω) defined by the embedded features and task descriptors.
  • Explain computational benefits: A-GEM avoids storing and solving large QPs like GEM by using a single gradient constraint and a reference gradient computed from episodic memory.

Experimental results

Research questions

  • RQ1Can A-GEM achieve comparable accuracy to GEM while significantly reducing time and memory overhead in a single-pass lifelong learning setting?
  • RQ2How does the use of compositional task descriptors affect forward transfer and few-shot learning performance in lifelong learning?
  • RQ3Does introducing a new speed-based metric (Learning Curve Area) provide a meaningful measure of rapid skill acquisition across tasks?
  • RQ4How do different evaluation protocols impact the observed efficiency and effectiveness of lifelong learning methods?

Key findings

  • A-GEM provides the best trade-off between average accuracy and efficiency across multiple benchmarks, being substantially faster and more memory-efficient than GEM while matching or exceeding performance.
  • Compared to regularization-based methods, A-GEM achieves higher average accuracy in the single-pass setting.
  • Joint embedding models with compositional task descriptors improve forward transfer and accelerate learning across tasks for A-GEM and other baselines.
  • Task descriptors yield improved zero-shot and few-shot performance, with joint embeddings showing ongoing improvement in zero-shot learning over time.
  • Progressive networks and GEM show competitive accuracy in some datasets, but Progressive Networks incur much higher memory usage and can fail on larger task streams.

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.