mlsanityData to 7 Oct 2026

Discrete Key-Value Bottleneck

arXiv 2207.11240 ↗First posted 22 Jul 2022cs.LG cs.AIcited by 18

Not on the map. Why?

Abstract (arXiv)

Deep neural networks perform well on classification tasks where data streams are i.i.d. and labeled data is abundant. Challenges emerge with non-stationary training data streams such as continual learning. One powerful approach that has addressed this challenge involves pre-training of large encoders on volumes of readily available data, followed by task-specific tuning. Given a new task, however, updating the weights of these encoders is challenging as a large number of weights needs to be fine-tuned, and as a result, they forget information about the previous tasks. In the present work, we propose a model architecture to address this issue, building upon a discrete bottleneck containing pairs of separate and learnable key-value codes. Our paradigm will be to encode; process the representation via a discrete bottleneck; and decode. Here, the input is fed to the pre-trained encoder, the output of the encoder is used to select the nearest keys, and the corresponding values are fed to the decoder to solve the current task. The model can only fetch and re-use a sparse number of these key-value pairs during inference, enabling localized and context-dependent model updates. We theoretically investigate the ability of the discrete key-value bottleneck to minimize the effect of learning under distribution shifts and show that it reduces the complexity of the hypothesis class. We empirically verify the proposed method under challenging class-incremental learning scenarios and show that the proposed model - without any task boundaries - reduces catastrophic forgetting across a wide variety of pre-trained models, outperforming relevant baselines on this task.

Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 68 of its 96 references that are in the map. First posted on arXiv 22 Jul 2022.

Builds on

68 of 96 references.

References · 68

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2017Proximal Policy Optimization Algorithmscited by 14,441
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  7. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  8. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  9. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  10. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  11. 2017Neural Discrete Representation Learningcited by 4,650
  12. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
38 more
  1. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  2. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
  3. 2016Learning without Forgettingcited by 2,465
  4. 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
  5. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  6. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  7. 2019Invariant Risk Minimizationcited by 1,832
  8. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  9. 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
  10. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  11. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
  12. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  13. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  14. 2014How transferable are features in deep neural networks?cited by 1,216
  15. 2017Continual Learning with Deep Generative Replaycited by 1,152
  16. 2021Learning to Prompt for Continual Learningcited by 938
  17. 2021SoundStream: An End-to-End Neural Audio Codeccited by 756
  18. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  19. 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
  20. 2018Overcoming catastrophic forgetting with hard attention to the taskcited by 672
  21. 2021Vector-quantized Image Modeling with Improved VQGANcited by 656
  22. 2019Three scenarios for continual learningcited by 610
  23. 2021Gradient Projection Memory for Continual Learningcited by 338
  24. 2021Big Self-Supervised Models Advance Medical Image Classificationcited by 320
  25. 2021ERNIE 3.0: Large-scale Knowledge Enhanced Pre-training for Language Understanding and Generationcited by 258
  26. 2019Recurrent Independent Mechanismscited by 219
  27. 2022Patches Are All You Need?cited by 201
  28. 2018Continual Learning of Context-dependent Processing in Neural Networkscited by 178
  29. 2022Understanding The Robustness in Vision Transformerscited by 144
  30. 2019Online Meta-Learningcited by 137
  31. 2019Large Memory Layers with Product Keyscited by 120
  32. 2020CausalWorld: A Robotic Manipulation Benchmark for Causal Structure and Transfer Learningcited by 109
  33. 2017Learning Independent Causal Mechanismscited by 104
  34. 2020On Disentangled Representations Learned From Correlated Datacited by 94
  35. 2021Achieving Forgetting Prevention and Knowledge Transfer in Continual Learningcited by 91
  36. 2019Unsupervised Deep Learning by Neighbourhood Discoverycited by 78
  37. 2021Neural Production Systems: Learning Rule-Governed Visual Dynamicscited by 75
  38. 2021Manipulating SGD with Data Ordering Attackscited by 73

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 9; 2024: 5; 2025: 1.

18 papers.

Sort:

By area: