Large Memory Layers with Product Keys
Open accessAbstract
This paper introduces a structured memory which can be easily integrated into a neural network. The memory is very large by design and significantly increases the capacity of the architecture, by up to a billion parameters with a negligible computational overhead. Its design and access pattern is based on product keys, which enable fast and exact nearest neighbor search. The ability to increase the number of parameters while keeping the same computational budget lets the overall system strike a better trade-off between prediction accuracy and computation efficiency both at training and test time. This memory layer allows us to tackle very large scale language modeling tasks. In our experiments we consider a dataset with up to 30 billion words, and we plug our memory layer in a state-of-the-art transformer-based architecture. In particular, we found that a memory augmented model with only 12 layers outperforms a baseline transformer model with 24 layers, while being twice faster at inference time. We release our code for reproducibility purposes.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Using a shared pool of memory parameters across all memory layers keeps the parameter count the same and maximizes parameter sharing.
“In contrast to previous work (Lample et al., 2019), we use a shared pool of memory parameters across all memory layers, thus keeping parameter count the same and maximizing parameter sharing.”
From Memory Layers at Scale (2024) · cites this paper as Lample et al., 2019
The Training details (p. 6) describe placing multiple memories at different transformer layers, so the citation identifies relevant previous work. The paper says memory heads share values within a memory (Multi-head memory attention, p. 5), but our copy does not establish whether parameters are shared across memory layers. The claimed contrast in cross-layer sharing is therefore not fully supported; keeping the parameter count the same is the citing authors’ description of their own method. (LLM, conf=0.78)
Experimental — accuracy not yet measuredProduct-key networks were introduced to make memory lookup more efficient and scalable.
“Product-key networks (Lample et al., 2019) were introduced to make the memory lookup more efficient and scalable.”
From Memory Layers at Scale (2024) · cites this paper as Lample et al., 2019
Product keys enable efficient top-k lookup on the full key set by first searching smaller half-key sets, saving compute and memory.
“The top-k lookup on the full set of keys can be efficiently done by searching the much smaller set of half-keys first, saving compute and memory.”
From Memory Layers at Scale (2024) · cites this paper as Lample et al., 2019
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
The publisher hasn’t deposited this paper’s reference list.
Research works printed but not linked: 44
- [1][1] Artem Babenko and Victor Lempitsky. The inverted multi-index. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2014. -
- [2][2] Alexei Baevski and Michael Auli. Adaptive input representations for neural language modeling. In International Conference on Representation Learning, 2019. -
- [3][3] Yoshua Bengio, Nicholas L´ eonard, and Aaron C. Courville. Estimating or propagating gradients through stochastic neurons for conditional computation. CoRR, abs/1308.3432, 2013. - · arXiv
- [4][4] Ciprian Chelba, Tomas Mikolov, Mike Schuster, Qi Ge, Thorsten Brants, Phillipp Koehn, and Tony Robinson. One billion word benchmark for measuring progress in statistical language modeling. Conference of the International Speech Communication Association, 2014. -
- [6][6] Kyunghyun Cho and Yoshua Bengio. Exponentially increasing the capacity-to-computation ratio for conditional computation in deep learning. CoRR, abs/1406.7362, 2014. - · arXiv
- [7][7] Matthieu Courbariaux and Yoshua Bengio. Binarynet: Training deep neural networks with weights and activations constrained to +1 or -1. CoRR, 2016. -
- [8][8] Matthieu Courbariaux, Yoshua Bengio, and Jean-Pierre David. Binaryconnect: Training deep neural networks with binary weights during propagations. Advances in Neural Information Processing Systems, 2015. -
- [9][9] Zihang Dai, Zhilin Yang, Yiming Yang, William W Cohen, Jaime Carbonell, Quoc V Le, and Ruslan Salakhutdinov. Transformer-xl: Attentive language models beyond a fixed-length context. In Conference of the Association for Computational Linguistics, 2019. -
- [10][10] Ludovic Denoyer and Patrick Gallinari. Deep sequential neural network. CoRR, abs/1410.0510, 2014. - · arXiv
- [12][12] D. Eigen, I. Sutskever, and M. Ranzato. Learning factored representations in a deep mixture of experts. In Workshop at the International Conference on Learning Representations, 2014. -
- [13][13] Thomas Gerald, Nicolas Baskiotis, and Ludovic Denoyer. Binary stochastic representations for large multi-class classification. In International Conference on Neural Information Processing, 2017. -
- [14][14] Edouard Grave, Moustapha M Cisse, and Armand Joulin. Unbounded cache model for online language modeling with open vocabulary. In Advances in Neural Information Processing Systems, 2017. -
- [15][15] Edouard Grave, Armand Joulin, and Nicolas Usunier. Improving neural language models with a continuous cache. In International Conference on Representation Learning, 2017. -
- [16][16] Alex Graves, Abdel-rahman Mohamed, and Geoffrey Hinton. Speech recognition with deep recurrent neural networks. In International Conference on Acoustics, Speech, and Signal Processing, 2013. -
- [17][17] Alex Graves, Greg Wayne, and Ivo Danihelka. Neural turing machines. CoRR, abs/1410.5401, 2014. - · arXiv
- [18][18] Sam Gross, Marc'Aurelio Ranzato, and Arthur Szlam. Hard mixtures of experts for large scale weakly supervised vision. In Conference on Computer Vision and Pattern Recognition, 2017. -
- [19][19] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Conference on Computer Vision and Pattern Recognition, 2016. -
- [20][20] Yanping Huang, Yonglong Cheng, Dehao Chen, HyoukJoong Lee, Jiquan Ngiam, Quoc V. Le, and Zhifeng Chen. Gpipe: Efficient training of giant neural networks using pipeline parallelism. CoRR, abs/1811.06965, 2018. - · arXiv
- [21][21] Herv´ e J´ egou, Matthijs Douze, and Cordelia Schmid. Product Quantization for Nearest Neighbor Search. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2011. -
- [22][22] Jeff Johnson, Matthijs Douze, and Herv´ e J´ egou. Billion-scale similarity search with gpus. IEEE Transactions on Big Data, 2017. -
- [23][23] Armand Joulin and Tomas Mikolov. Inferring algorithmic patterns with stack-augmented recurrent nets. In Advances in Neural Information Processing Systems, 2015. -
- [24][24] Koray Kavukcuoglu, Marc'Aurelio Ranzato, and Yann LeCun. Fast inference in sparse coding algorithms with applications to object recognition. CoRR, abs/1010.3467, 2010. URL http: //arxiv.org/abs/1010.3467 . - · arXiv
- [25][25] Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Representation Learning, 2015. -
- [26][26] Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, et al. Moses: Open source toolkit for statistical machine translation. In Conference of the Association for Computational Linguistics, 2007. -
- [27][27] Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In Advances in Neural Information Processing Systems, 2012. -
- [28][28] Guillaume Lample and Alexis Conneau. Cross-lingual language model pretraining. In Advances in Neural Information Processing Systems, 2019. -
- [29][29] Dhruv Mahajan, Ross B. Girshick, Vignesh Ramanathan, Kaiming He, Manohar Paluri, Yixuan Li, Ashwin Bharambe, and Laurens van der Maaten. Exploring the limits of weakly supervised pretraining. In European Conference on Computer Vision, 2018. -
- [30][30] Alireza Makhzani and Brendan Frey. K-sparse autoencoders. In International Conference on Representation Learning, 2014. -
- [31][31] Alireza Makhzani and Brendan J Frey. Winner-take-all autoencoders. In Advances in Neural Information Processing Systems, 2015. -
- [32][32] Marius Muja and David G. Lowe. Scalable nearest neighbor algorithms for high dimensional data. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2014. -
- [33][33] Behnam Neyshabur, Zhiyuan Li, Srinadh Bhojanapalli, Yann LeCun, and Nathan Srebro. Towards understanding the role of over-parametrization in generalization of neural networks. In International Conference on Representation Learning, 2019. -
- [35][35] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In Neurips Autodiff Workshop, 2017. -
- [37][37] Jack Rae, Jonathan J Hunt, Ivo Danihelka, Timothy Harley, Andrew W Senior, Gregory Wayne, Alex Graves, and Timothy Lillicrap. Scaling memory-augmented neural networks with sparse reads and writes. In Advances in Neural Information Processing Systems, 2016. -
- [38][38] Mohammad Rastegari, Vicente Ordonez, Joseph Redmon, and Ali Farhadi. Xnor-net: Imagenet classification using binary convolutional neural networks. In European Conference on Computer Vision, 2016. -
- [39][39] Rico Sennrich, Barry Haddow, and Alexandra Birch. Neural machine translation of rare words with subword units. In Conference of the Association for Computational Linguistics, 2015. -
- [40][40] Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc V. Le, Geoffrey E. Hinton, and Jeff Dean. Outrageously large neural networks: The sparsely-gated mixture-ofexperts layer. In International Conference on Representation Learning, 2017. -
- [41][41] Stefano Spigler, Mario Geiger, St´ ephane d'Ascoli, Levent Sagun, Giulio Biroli, and Matthieu Wyart. A jamming transition from under- to over-parametrization affects loss landscape and generalization. CoRR, abs/1810.09665, 2018. - · arXiv
- [42][42] Sainbayar Sukhbaatar, arthur szlam, Jason Weston, and Rob Fergus. End-to-end memory networks. In Advances in Neural Information Processing Systems, 2015. -
- [43][43] Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems, 2014. -
- [44][44] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Systems, 2017. -
- [45][45] Sudheendra Vijayanarasimhan, Jonathon Shlens, Rajat Monga, and Jay Yagnik. Deep networks with large output spaces. In Workshop at the International Conference on Learning Representations, 2015. -
- [46][46] Alex Wang, Amapreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. Glue: A multi-task benchmark and analysis platform for natural language understanding. In International Conference on Representation Learning, 2018. -
- [47][47] Jason Weston, Sumit Chopra, and Antoine Bordes. Memory networks. In International Conference on Representation Learning, 2015. -
- [48][48] Jason Weston, Antoine Bordes, Sumit Chopra, and Tomas Mikolov. Towards ai-complete question answering: A set of prerequisite toy tasks. In International Conference on Representation Learning, 2016.
Cited by
Sorted by citations
A Survey of Large Language Models
Zhao, W. X., Zhou, K., Li, J., Tang, T., Dong, Z., Hou, Y., Zhang, B., Min, Y., Zhang, J., Liu, P., et al. (2026) · Frontiers of Computer Science · doi:10.1007/s11704-026-60308-3 · Cited by 2,093 · see citing works
Reformer: The Efficient Transformer
Kitaev, N., Kaiser, Ł., & Levskaya, A. (2020) · arXiv · doi:10.48550/arxiv.2001.04451 · Cited by 1,435 · see citing works
Lin, T., Wang, Y., Liu, X., & Qiu, X. (2022) · AI Open · doi:10.1016/j.aiopen.2022.10.001 · Cited by 1,422 · see citing works
Efficient transformers: A survey
Tay, Y., Dehghani, M., Bahri, D., & Metzler, D. (2023) · ACM Computing Surveys · doi:10.1145/3530811 · Cited by 1,267 · see citing works
Pre-trained models: Past, present and future
Han, X., Zhang, Z., Ding, N., Gu, Y., Liu, X., Huo, Y., Qiu, J., Yao, Y., Zhang, A., Zhang, L., et al. (2021) · AI Open · doi:10.1016/j.aiopen.2021.08.002 · Cited by 994 · see citing works
CTRL: A Conditional Transformer Language Model for Controllable Generation
Keskar, N. S., McCann, B., Varshney, L. R., Xiong, C., & Socher, R. (2019) · arXiv · doi:10.48550/arxiv.1909.05858 · Cited by 751 · see citing works
Generating Radiology Reports via Memory-driven Transformer
Chen, Z., Song, Y., Chang, T.-H., & Wan, X. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.112 · Cited by 693 · see citing works
Hoefler, T., Alistarh, D., Ben-Nun, T., Dryden, N., & Peste, A. (2021) · ETH Zurich · doi:10.3929/ethz-b-000519202 · Cited by 423 · see citing works
Nyströmformer: A Nyström-based Algorithm for Approximating Self-Attention
Xiong, Y., Zeng, Z., Chakraborty, R., Tan, M., Fung, G., Li, Y., & Singh, V. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i16.17664 · Cited by 376 · see citing works
Compressive Transformers for Long-Range Sequence Modelling
Rae, J. W., Potapenko, A., Jayakumar, S. M., & Lillicrap, T. P. (2019) · arXiv · doi:10.48550/arxiv.1911.05507 · Cited by 205 · see citing works
Ham, T. J., Lee, Y., Seo, S. H., Kim, S., Choi, H., Jung, S. J., & Lee, J. W. (2021) · 2021 ACM/IEEE 48th Annual International Symposium on Computer Architecture (ISCA) · doi:10.1109/isca52012.2021.00060 · Cited by 192 · see citing works
Underwater Image Enhancement via Adaptive Group Attention-Based Multiscale Cascade Transformer
Huang, Z., Li, J., Hua, Z., & Fan, L. (2022) · IEEE Transactions on Instrumentation and Measurement · doi:10.1109/tim.2022.3189630 · Cited by 137 · see citing works
Entities as Experts: Sparse Memory Access with Entity Supervision
Févry, T., Soares, L. B., FitzGerald, N., Choi, E., & Kwiatkowski, T. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.400 · Cited by 138 · see citing works
Do Transformer Modifications Transfer Across Implementations and Applications?
Narang, S., Chung, H. W., Tay, Y., Fedus, L., Févry, T., Matena, M. S., Malkan, K., Fiedel, N., Shazeer, N., Lan, Z., et al. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.465 · Cited by 79 · see citing works
Multiple Trajectory Prediction of Moving Agents With Memory Augmented Networks
Marchetti, F., Becattini, F., Seidenari, L., & Bimbo, A. D. (2020) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2020.3008558 · Cited by 74 · see citing works
Learning Knowledge Bases with Parameters for Task-Oriented Dialogue Systems
Madotto, A., Cahyawijaya, S., Winata, G. I., Xu, Y., Liu, Z., Lin, Z., & Fung, P. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.215 · Cited by 63 · see citing works
Long-Term Video Question Answering via Multimodal Hierarchical Memory Attentive Networks
Yu, T., Yu, J., Zhou, Y., Huang, Q., & Tian, Q. C. (2020) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2020.2995959 · Cited by 62 · see citing works
TWilBert: Pre-trained deep bidirectional transformers for Spanish Twitter
González, J. Á., Hurtado, L.-F., & Plà, F. (2020) · Neurocomputing · doi:10.1016/j.neucom.2020.09.078 · Cited by 61 · see citing works
Pruning Self-Attentions Into Convolutional Layers in Single Path
He, H., Cai, J., Liu, J., Pan, Z., Zhang, J., Tao, D., & Zhuang, B. (2024) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2024.3355890 · Cited by 59 · see citing works
Memory Guided Transformer With Spatio-Semantic Visual Extractor for Medical Report Generation
Divya, P., Yenduri, S., Vishnu, C., Mohan, C. K., & Chen, Y. (2024) · IEEE Journal of Biomedical and Health Informatics · doi:10.1109/jbhi.2024.3371894 · Cited by 61 · see citing works
Xu, J., Tan, X., Luo, R., Song, K., Li, J., Qin, T., & Liu, T. (2021) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3447548.3467262 · Cited by 53 · see citing works
Sparsity in transformers: A systematic literature review
Farina, M., Ahmad, U., Taha, A. T. M., Younes, H., Mesbah, Y., Yu, X., & Pedrycz, W. (2024) · Neurocomputing · doi:10.1016/j.neucom.2024.127468 · Cited by 55 · see citing works
Memory-Based Graph NetworksPreprint
Khasahmadi, A. H., Hassani, K., Moradi, P., Lee, L., & Morris, Q. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2002.09518 · Cited by 53 · see citing works
The Efficiency MisnomerPreprint
Dehghani, M., Arnab, A., Beyer, L., Vaswani, A., & Tay, Y. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.12894 · Cited by 58 · see citing works
Augmenting Transformers with KNN-Based Composite Memory for Dialog
Fan, A., Gardent, C., Braud, C., & Bordes, A. (2021) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00356 · Cited by 58 · see citing works
Yang, R., Timofte, R., Zheng, M., Xing, Q., Qiao, M., Xu, M., Jiang, L. W., Liu, H., Chen, Y., Ben, Y., et al. (2022) · IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw56347.2022.00129 · Cited by 31 · see citing works
Zero-shot Entity Linking with Efficient Long Range Sequence Modeling
Yao, Z., Cao, L., & Pan, H. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.228 · Cited by 18 · see citing works
Augmenting Transformers with KNN-Based Composite Memory for DialoguePreprint
Fan, A., Gardent, C., Braud, C., & Bordes, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2004.12744 · Cited by 18 · see citing works
Automatic medical report generation based on deep learning: A state of the art survey
Liu, X., Xin, J., Shen, Q., Huang, Z., & Wang, Z. (2025) · Computerized Medical Imaging and Graphics · doi:10.1016/j.compmedimag.2024.102486 · Cited by 19 · see citing works
SMYRF: Efficient Attention using Asymmetric ClusteringPreprint
Daras, G., Kitaev, N., Odena, A., & Dimakis, A. G. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2010.05315 · Cited by 18 · see citing works
Not All Memories are Created Equal: Learning to Forget by ExpiringPreprint
Sukhbaatar, S., Ju, D., Poff, S., Roller, S., Szlam, A. D., Weston, J., & Fan, A. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2105.06548 · Cited by 17 · see citing works
SpotFast Networks with Memory Augmented Lateral Transformers for Lipreading
Wiriyathammabhum, P. (2020) · Communications in computer and information science · doi:10.1007/978-3-030-63820-7_63 · Cited by 15 · see citing works
NLP-Fast: A Fast, Scalable, and Flexible System to Accelerate Large-Scale Heterogeneous NLP Models
Kim, J., Hur, S., Lee, E., Lee, S., & Kim, J. (2021) · International Conference on Parallel Architectures and Compilation Techniques (PACT) · doi:10.1109/pact52795.2021.00013 · Cited by 15 · see citing works
Controlling Computation versus Quality for Neural Sequence ModelsPreprint
Bapna, A., Arivazhagan, N., & Fırat, O. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2002.07106 · Cited by 18 · see citing works
KINet: Incorporating Relevant Facts Into Knowledge-Grounded Dialog Generation
Bai, J., Yang, Z., Yang, J., Guo, H., & Li, Z. (2023) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2023.3240654 · Cited by 13 · see citing works
Efficient Transformers in Reinforcement Learning using Actor-Learner DistillationPreprint
Parisotto, E., & Salakhutdinov, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2104.01655 · Cited by 16 · see citing works
Transformers for Limit Order BooksPreprint
Wallbridge, J. (2020) · RePEc: Research Papers in Economics · doi:10.48550/arxiv.2003.00130 · Cited by 25 · see citing works
PIC: Permutation Invariant Convolution for Recognizing Long-range ActivitiesPreprint
Hussein, N., Gavves, E., & Smeulders, A. W. M. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2003.08275 · Cited by 12 · see citing works
Vector Quantized Contrastive Predictive Coding for Template-based Music GenerationPreprint
Hadjeres, G., & Crestel, L. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2004.10120 · Cited by 15 · see citing works
Class token and knowledge distillation for multi-head self-attention speaker verification systems
Mingote, V., Miguel, A., Ortega, A., & Lleida, E. (2022) · Digital Signal Processing · doi:10.1016/j.dsp.2022.103859 · Cited by 12 · see citing works
Memory Layers with Multi-Head Attention Mechanisms for Text-Dependent Speaker Verification
Mingote, V., Miguel, A., Ortega, A., & Lleida, E. (2021) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp39728.2021.9414859 · Cited by 10 · see citing works
MSMMIL: Multi-scan Mamba-based Multiple Instance Learning for whole slide image classification
Zhong, H., Ding, M., Zhao, C., Zhang, Y., Wang, T., & Lei, B. (2025) · Knowledge-Based Systems · doi:10.1016/j.knosys.2025.113871 · Cited by 9 · see citing works
Improving Pre-trained Language Models
Paaß, G., & Giesselbach, S. (2023) · Artificial intelligence: foundations, theory, and algorithms/Artificial intelligence: Foundations, theory, and algorithms · doi:10.1007/978-3-031-23190-2_3 · Cited by 9 · see citing works
Memory transformer with hierarchical attention for long document processing
Adel, A. A., & Burtsev, M. (2021) · International Conference on Engineering and Telecommunication (EnT) · doi:10.1109/ent50460.2021.9681776 · Cited by 8 · see citing works
The Unreasonable Effectiveness of Pattern Generation
Sojka, P., & Sojka, O. (2019) · Zpravodaj Československého sdružení uživatelů TeXu · doi:10.5300/2019-1-4/73 · Cited by 6 · see citing works
A Data Source for Reasoning Embodied Agents
Lanchantin, J., Sukhbaatar, S., Synnaeve, G., Sun, Y., Srinet, K., & Szlam, A. D. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i7.26017 · Cited by 6 · see citing works
Symbiotic Fusion of Evolving Anatomical Landscapes for Intelligent Diagnostic Narratives
Du, H., Zhuang, Y., & Xu, J. (2024) · IEEE International Conference on Bioinformatics and Biomedicine (BIBM) · doi:10.1109/bibm62325.2024.10822272 · Cited by 5 · see citing works
On-The-Fly Information Retrieval Augmentation for Language Models
Wang, H., & McAllester, D. (2020) · doi:10.18653/v1/2020.nuse-1.14 · Cited by 4 · see citing works
Attending to Long-Distance Document Context for Sequence Labeling
Jörke, M., Gillick, J., Sims, M., & Bamman, D. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.330 · Cited by 4 · see citing works
How Much Self-Attention Do We Needƒ Trading Attention for Feed-Forward Layers
Irie, K., Gerstenberger, A., Schlüter, R., & Ney, H. (2020) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp40776.2020.9054324 · Cited by 5 · see citing works
Hierarchical Topic-Aware Contextualized Transformers
Lu, R., Chen, B., Guo, D., Wang, D., & Zhou, M. (2023) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2023.3339344 · Cited by 3 · see citing works
WaLDORf: Wasteless Language-model Distillation On Reading-comprehensionPreprint
Tian, J. Y., Kreuzer, A. P., Chen, P.-H., & Will, H.-M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.06638 · Cited by 3 · see citing works
Multi-scale Transformer Language ModelsPreprint
Subramanian, S., Collobert, R., Ranzato, M., & Boureau, Y.-L. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2005.00581 · Cited by 6 · see citing works
Self-citationVAR: An Efficient Silent Video to Speech System with Subtitle Generation using Visual Audio Recall
Shanmugam, D. D., Syed, S. F., Dinesh, S., & Chitrakala, S. (2023) · International Conference on Inventive Research in Computing Applications (ICIRCA) · doi:10.1109/icirca57980.2023.10220944 · Cited by 2 · see citing works
Buddiga, P. (2024) · Global Conference on Communications and Information Technologies (GCCIT) · doi:10.1109/gccit63234.2024.10862867 · Cited by 2 · see citing works
Current Limitations of Language Models: What You Need is RetrievalPreprint
Komatsuzaki, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2009.06857 · Cited by 4 · see citing works
NWT: Towards natural audio-to-video generation with representation learningPreprint
Mama, R., Tyndel, M. S., Kadhim, H., Clifford, C., & Thurairatnam, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.04283 · Cited by 2 · see citing works
Berges, V.-P., Oğuz, B., Haziza, D., Yih, W.-T., Zettlemoyer, L., & Ghosh, G. (2024) · arXiv · doi:10.48550/arxiv.2412.09764 · Cited by 1 · see citing works
“Product-key networks (Lample et al., 2019) were introduced to make the memory lookup more efficient and scalable.”
InfluentialAdvancements in Image-to-Image Generation: A Comparative Study of Stable Diffusion Model 2
Dubey, A., & Ojha, M. K. (2024) · International Conference on Advances in Computing, Communication and Networking (ICAC2N) · doi:10.1109/icac2n63387.2024.10895355 · Cited by 1 · see citing works
Large Product Key Memory for Pretrained Language Models
Kim, G., & Jung, T. H. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.362 · Cited by 1 · see citing works
Transformer With Linear-Window Attention for Feature Matching
Shen, Z., Kong, B., & Dong, X. (2023) · IEEE Access · doi:10.1109/access.2023.3328855 · Cited by 1 · see citing works
Do Transformers Need Deep Long-Range MemoryPreprint
Rae, J. W., & Razavi, A. S. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2007.03356 · Cited by 1 · see citing works
Knowledge Efficient Deep Learning for Natural Language ProcessingPreprint
Wang, H. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2008.12878 · Cited by 3 · see citing works
Beyond Nyströmformer -- Approximation of self-attention by Spectral ShiftingPreprint
Verma, M. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2103.05638 · Cited by 1 · see citing works
Continual Learning via Sparse Memory Finetuning
Lin, J., Zettlemoyer, L., Ghosh, G., Yih, W.-T., Markosyan, A., Berges, V.-P., & Oğuz, B. (2025) · arXiv · doi:10.48550/arxiv.2510.15103
“To perform memory lookups efficiently, memory layers use product keys (Lample et al., 2019) to decompose the keys into two halves, enabling efficient lookup across a large number of indices.”
IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inference
Yang, X., Gu, H., Xu, B., Li, L., Liu, B., Liu, J., Zhu, Q., Guo, Y., & Han, S. (2026) · arXiv · doi:10.48550/arxiv.2605.25475
“…(Behrouz et al., 2024) maintain an online-updated memory state to accumulate information beyond the attention window, and Product Key Memory (PKM) (Lample et al., 2019) and its fast-weight variants (e.g., FwPKM) (Zhao & Jones, 2026) provide large-capacity associative memories with learned…”
CNN with large memory layersPreprint
Karimov, R., Malkov, Y., Iskakov, K., & Lempitsky, V. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2101.11685
Differentiable Random Access Memory using LatticesPreprint
Goucher, A. P., & Troll, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.03474
Funkciju formēšana dziļajā mašīnmācīšanā
Urtāns, Ē. (2021) · RTU Press eBooks · doi:10.7250/9789934226847
Optimized parallel causal product for linear transformer
Liu, S. (2023) · International Conference on Artificial Intelligence, Automation and High Performance Computing (AIAHPC) · doi:10.1117/12.2684707
A Sparse Sinkhorn Transformer for Multi-Behaviour Recommendation
Mukande, T., Ali, E., Caputo, A., Dong, R., & O'Connor, N. E. (2023) · IEEE International Conference on e-Business Engineering (ICEBE) · doi:10.1109/icebe59045.2023.00019
CQS-Attention: Scaling Up the Standard Attention Computation for Infinitely Long Sequences
Bian, Y., & Somani, A. K. (2025) · IEEE Access · doi:10.1109/access.2025.3544550
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-T., Rocktäschel, T., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.11401 · Cited by 3,101 · see citing works
Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity
Fedus, W., Zoph, B., & Shazeer, N. (2021) · arXiv · doi:10.48550/arxiv.2101.03961 · Cited by 1,005 · see citing works
REALM: Retrieval-Augmented Language Model Pre-Training
Guu, K., Lee, K., Tung, Z., Pasupat, P., & Chang, M.-W. (2020) · arXiv · doi:10.48550/arxiv.2002.08909 · Cited by 574 · see citing works
BASE Layers: Simplifying Training of Large, Sparse Models
Lewis, M., Bhosale, S., Dettmers, T., Goyal, N., & Zettlemoyer, L. (2021) · arXiv · doi:10.48550/arxiv.2103.16716 · Cited by 88 · see citing works
- Authors
- Lample, G., Sablayrolles, A., Ranzato, M., Denoyer, L., & Jégou, H.
- Affiliations
- Sorbonne Université (FR)
- Meta (United States) (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2019
- Volume
- 32
- Pages
- 8548-8559
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 1907.05242
- OpenAlex
- W2970401203
- Cited by
- 72
- References
- 0
- Citations by year
- 2025: 3 · 2024: 6 · 2023: 8 · 2022: 5 · 2021: 20 · 2020: 26 · 2019: 4
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- HAL (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Keywords
- memory-augmented neural networks, structured memory, product key, nearest neighbor search, transformer models, memory layer, inference efficiency, parameter efficiency
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review