Lune

CVPR2022Top-tier venue

DyTox: Transformers for Continual Learning with DYnamic TOken eXpansion

Arthur Douillard, Alexandre Ramé, Guillaume Couairon, Matthieu Cord

Abstract

Deep network architectures struggle to continually learn new tasks without forgetting the previous tasks. A recent trend indicates that dynamic architectures based on an ex-pansion of the parameters can reduce catastrophic forget-ting efficiently in continual learning. However, existing approaches often require a task identifier at test-time, need complex tuning to balance the growing number of parameters, and barely share any information across tasks. As a result, they struggle to scale to a large number of tasks without significant overhead. In this paper, we propose a transformer architecture based on a dedicated encoder/decoder framework. Critically, the encoder and decoder are shared among all tasks. Through a dynamic expansion of special tokens, we specialize each forward of our decoder network on a task distribution. Our strategy scales to a large number of tasks while having neg-ligible memory and time overheads due to strict control of the expansion of the parameters. Moreover, this efficient strategy doesn't need any hyperparameter tuning to control the network's expansion. Our model reaches excellent results on CIFAR100 and state-of-the-art performances on the large-scale ImageNet100 and ImageNet100 while having fewer parameters than concurrent dynamic frameworks. <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> Code is released at https://github.com/arthurdouillard/dytox.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

149 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases cites Going deeper with Image Transformers
  • Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts Adapters cites Preventing Zero-Shot Transfer Degradation in Continual Learning of Vision-Language Models
  • Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts Adapters cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Perceiver IO: A General Architecture for Structured Inputs & Outputs cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Perceiver IO: A General Architecture for Structured Inputs & Outputs cites Going deeper with Image Transformers
  • Going deeper with Image Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Memory Efficient Continual Learning with Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental Learning cites ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases
  • S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • What matters when building vision-language models? cites Going deeper with Image Transformers
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers149

  1. What matters when building vision-language models?Hugo Laurençon, Léo Tronchon, Matthieu Cord, Victor SanhNeurIPS 2024 · 401 citations
  2. S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental LearningYabin Wang, Zhiwu Huang, Xiaopeng HongNeurIPS 2022 · 397 citations
  3. Preventing Zero-Shot Transfer Degradation in Continual Learning of Vision-Language ModelsZangwei Zheng, Mingyuan Ma, Kai Wang, Ziheng Qin et al.ICCV 2023 · 133 citations
  4. Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts AdaptersJiazuo Yu, Yunzhi Zhuge, Lu Zhang, Ping Hu et al.CVPR 2024 · 80 citations
  5. Memory Efficient Continual Learning with TransformersBeyza Ermis, Giovanni Zappella, Martin Wistuba, Aditya Rawal et al.NeurIPS 2022 · 75 citations

Builds on12

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Going deeper with Image TransformersHugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve et al.ICCV 2021 · 1,279 citations
  4. ConViT: Improving Vision Transformers with Soft Convolutional Inductive BiasesStéphane d'Ascoli, Hugo Touvron, Matthew L. Leavitt, Ari S. Morcos et al.ICML 2021 · 1,021 citations
  5. Perceiver IO: A General Architecture for Structured Inputs & OutputsAndrew Jaegle, Sebastian Borgeaud, Jean-Baptiste Alayrac, Carl Doersch et al.ICLR 2022 · 797 citations

Related papers

  1. Task-Attentive Transformer Architecture for Continual Learning of Vision-and-Language Tasks Using Knowledge DistillationYuliang Cai, Jesse Thomason, Mohammad RostamiEMNLP Findings 2023 · 10 citations
  2. Exemplar-Free Continual Transformer with ConvolutionsAnurag Roy, Vinay Kumar Verma, Sravan Voonna, Kripabandhu Ghosh et al.ICCV 2023 · 13 citations
  3. DKT: Diverse Knowledge Transfer Transformer for Class Incremental LearningXinyuan Gao, Yuhang He, Songlin Dong, Jie Cheng et al.CVPR 2023
  4. Discrete Key-Value BottleneckFrederik Träuble, Anirudh Goyal, Nasim Rahaman, Michael Curtis Mozer et al.ICML 2023 · 25 citations
  5. Contextual Transformation Networks for Online Continual LearningQuang Pham, Chenghao Liu, Doyen Sahoo, Steven C. H. HoiICLR 2021 · 60 citations
Dusk over the sea between two cliffs drawn in fine vertical lines