eTag: Class-Incremental Learning via Embedding Distillation and Task-Oriented Generation

Libo Huang, Yan Zeng, Chuanguang Yang, Zhulin An, Boyu Diao, Yongjun Xu

Abstract

Class-Incremental Learning (CIL) faces the dual challenge of catastrophic forgetting and data privacy. The eTag framework addresses these by combining block-wise embedding distillation to preserve deep architectural knowledge and task-oriented feature generation to simulate past task distributions without storing raw data. Experimental results on CIFAR-100 and ImageNet-100 demonstrate that eTag significantly outperforms existing data-free CIL methods, achieving state-of-the-art accuracy by effectively balancing model plasticity and stability.

Introduction

Deep learning models typically suffer from catastrophic forgetting: when trained on new tasks, they abruptly lose the ability to perform previous ones. In Class-Incremental Learning (CIL), the goal is to learn new classes sequentially without forgetting old ones. Existing solutions often rely on storing a subset of real images (exemplar-based), which raises significant privacy concerns, or storing rigid feature prototypes that fail to adapt as the model evolves.

The authors propose eTag, a data-free CIL method that is both privacy-preserving and flexible. By distilling internal embeddings and using a task-oriented generator, eTag maintains high performance without the need for sensitive user data.

The eTag Framework

The eTag framework introduces two primary innovations to mitigate forgetting while allowing the model to adapt to new information. It evolves from simpler generative replay methods like Deep Generative Replay (DGR) and basic Task-oriented Generation (Tag) by incorporating deep embedding distillation.

Overview of the eTag framework compared to DGR and Tag, including preliminary accuracy results showing eTag's superior performance over incremental tasks.

1. Embedding Distillation (The "e")

Standard Knowledge Distillation (KD) typically forces a new model to mimic only the final output layer of a previous iteration. eTag goes deeper by employing block-wise distillation. This process distills intermediate embeddings from the network's internal blocks, preserving the "how" of feature extraction rather than just the final prediction. To make these features more robust, a self-supervised rotation-prediction task is used, forcing the feature extractor to learn structural, discriminative information.

2. Task-Oriented Generation (The "Tag")

Instead of replaying old images, eTag uses a lightweight Variational Autoencoder (VAE) to generate synthetic features. Unlike standard generative replay that focuses on pixel-perfect reconstruction, the "Task-Oriented" approach uses the trained classifier to guide the generator. This ensures that the generated features are specifically optimized to help the classifier distinguish between old and new classes.

Detailed architecture and information flow of the task-oriented generation process, illustrating the interaction between the feature extractor ($F_t$), generator ($G_t$), and classifier ($C_t$).

Experimental Evaluation

The authors evaluated eTag on two major computer vision benchmarks: CIFAR-100 and ImageNet-100. The results consistently show that eTag sets a new state-of-the-art (SOTA) for data-free CIL:

  • CIFAR-100: In a 10-task incremental setup, eTag achieved 65.50% accuracy, significantly outperforming the previous SOTA method, GFR (59.85%).
  • ImageNet-100: On a more challenging 25-task setup, eTag improved average incremental accuracy by 7.17% over GFR.
  • Stability: The "Forgetting Measure" was consistently lower for eTag, proving that the combination of embedding distillation and task-oriented generation effectively anchors old knowledge.

Key Insights and Conclusion

A central finding of this work is that a generator does not need to produce realistic images to prevent forgetting; it only needs to produce features that are sufficiently discriminative for the classifier. By distilling knowledge from intermediate layers, eTag retains complex internal representations that final-layer distillation misses.

While eTag significantly narrows the gap between data-free methods and joint training (where all data is available at once), future work will focus on improving training efficiency and scaling the framework to larger architectures like Vision Transformers.

Summary updated

BibTeX
@inproceedings{huang2024etag,
  author = {Libo Huang and Yan Zeng and Chuanguang Yang and Zhulin An and Boyu Diao and Yongjun Xu},
  title = {{eTag: Class-Incremental Learning via Embedding Distillation and Task-Oriented Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i11.29153},
}
Figure