DyTox: Transformers for Continual Learning with DYnamic TOken eXpansion
Arthur Douillard, Alexandre Ramé, Guillaume Couairon, Matthieu Cord
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 149 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases 引用了 Going deeper with Image Transformers
- Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts Adapters 引用了 Preventing Zero-Shot Transfer Degradation in Continual Learning of Vision-Language Models
- Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts Adapters 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Perceiver IO: A General Architecture for Structured Inputs & Outputs 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Perceiver IO: A General Architecture for Structured Inputs & Outputs 引用了 Going deeper with Image Transformers
- Going deeper with Image Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Memory Efficient Continual Learning with Transformers 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 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 引用了 ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biases
- S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental Learning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- What matters when building vision-language models? 引用了 Going deeper with Image Transformers
引用它的顶会 Paper149
- What matters when building vision-language models?Hugo Laurençon, Léo Tronchon, Matthieu Cord, Victor SanhNeurIPS 2024 · 401 次引用
- S-Prompts Learning with Pre-trained Transformers: An Occam's Razor for Domain Incremental LearningYabin Wang, Zhiwu Huang, Xiaopeng HongNeurIPS 2022 · 397 次引用
- Preventing Zero-Shot Transfer Degradation in Continual Learning of Vision-Language ModelsZangwei Zheng, Mingyuan Ma, Kai Wang, Ziheng Qin 等ICCV 2023 · 133 次引用
- Boosting Continual Learning of Vision-Language Models via Mixture-of-Experts AdaptersJiazuo Yu, Yunzhi Zhuge, Lu Zhang, Ping Hu 等CVPR 2024 · 80 次引用
- Memory Efficient Continual Learning with TransformersBeyza Ermis, Giovanni Zappella, Martin Wistuba, Aditya Rawal 等NeurIPS 2022 · 75 次引用
它引用的 Paper12
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Going deeper with Image TransformersHugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve 等ICCV 2021 · 1,279 次引用
- ConViT: Improving Vision Transformers with Soft Convolutional Inductive BiasesStéphane d'Ascoli, Hugo Touvron, Matthew L. Leavitt, Ari S. Morcos 等ICML 2021 · 1,021 次引用
- Perceiver IO: A General Architecture for Structured Inputs & OutputsAndrew Jaegle, Sebastian Borgeaud, Jean-Baptiste Alayrac, Carl Doersch 等ICLR 2022 · 797 次引用
相关 Paper
- Task-Attentive Transformer Architecture for Continual Learning of Vision-and-Language Tasks Using Knowledge DistillationYuliang Cai, Jesse Thomason, Mohammad RostamiEMNLP Findings 2023 · 10 次引用
- Exemplar-Free Continual Transformer with ConvolutionsAnurag Roy, Vinay Kumar Verma, Sravan Voonna, Kripabandhu Ghosh 等ICCV 2023 · 13 次引用
- DKT: Diverse Knowledge Transfer Transformer for Class Incremental LearningXinyuan Gao, Yuhang He, Songlin Dong, Jie Cheng 等CVPR 2023
- Discrete Key-Value BottleneckFrederik Träuble, Anirudh Goyal, Nasim Rahaman, Michael Curtis Mozer 等ICML 2023 · 25 次引用
- Contextual Transformation Networks for Online Continual LearningQuang Pham, Chenghao Liu, Doyen Sahoo, Steven C. H. HoiICLR 2021 · 60 次引用
