mlsanityData to 7 Oct 2026

CNN with large memory layers

arXiv 2101.11685 ↗First posted 27 Jan 2021cs.CV cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

This work is centred around the recently proposed product key memory structure citelargememory, implemented for a number of computer vision applications. The memory structure can be regarded as a simple computation primitive suitable to be augmented to nearly all neural network architectures. The memory block allows implementing sparse access to memory with square root complexity scaling with respect to the memory capacity. The latter scaling is possible due to the incorporation of Cartesian product space decomposition of the key space for the nearest neighbour search. We have tested the memory layer on the classification, image reconstruction and relocalization problems and found that for some of those, the memory layers can provide significant speed/accuracy improvement with the high utilization of the key-value elements, while others require more careful fine-tuning and suffer from dying keys. To tackle the later problem we have introduced a simple technique of memory re-initialization which helps us to eliminate unused key-value pairs from the memory and engage them in training again. We have conducted various experiments and got improvements in speed and accuracy for classification and PoseNet relocalization models. We showed that the re-initialization has a huge impact on a toy example of randomly labeled data and observed some gains in performance on the image classification task. We have also demonstrated the generalization property perseverance of the large memory layers on the relocalization problem, while observing the spatial correlations between the images and the selected memory cells.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 63 of its 87 references that are in the map. First posted on arXiv 27 Jan 2021.

Builds on

63 of 87 references.

References · 63

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2020Language Models are Few-Shot Learnerscited by 32,199
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  7. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  8. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  10. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  11. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  12. 2017Squeeze-and-Excitation Networkscited by 4,763
38 more
  1. 2017Neural Discrete Representation Learningcited by 4,650
  2. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  3. 2014Going Deeper with Convolutionscited by 4,231
  4. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  5. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  6. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  7. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  8. 2015Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networkscited by 2,048
  9. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  10. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  11. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  12. 2018Learning Implicit Fields for Generative Shape Modelingcited by 1,060
  13. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
  14. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  15. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  16. 2016Wide & Deep Learning for Recommender Systemscited by 745
  17. 2013Speech Recognition with Deep Recurrent Neural Networkscited by 666
  18. 2014Neural Turing Machinescited by 630
  19. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
  20. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
  21. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  22. 2015A Neural Algorithm of Artistic Stylecited by 480
  23. 2019Attention Augmented Convolutional Networkscited by 363
  24. 2017SkipNet: Learning Dynamic Routing in Convolutional Networkscited by 328
  25. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  26. 2017Geometric Loss Functions for Camera Pose Regression with Deep Learningcited by 224
  27. 2019Neural Oblivious Decision Ensembles for Deep Learning on Tabular Datacited by 200
  28. 2017Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Ratescited by 196
  29. 2015Conditional Computation in Neural Networks for faster modelscited by 166
  30. 2017Neural Episodic Controlcited by 148
  31. 2018Towards Understanding the Role of Over-Parametrization in Generalization of Neural Networkscited by 140
  32. 2019Large Memory Layers with Product Keyscited by 120
  33. 2020Conditional Channel Gated Networks for Task-Aware Continual Learningcited by 115
  34. 2015Practical and Optimal LSH for Angular Distancecited by 105
  35. 2020Audio-driven Talking Face Video Generation with Learning-based Personalized Head Posecited by 92
  36. 2018Small ReLU networks are powerful memorizers: a tight analysis of memorization capacitycited by 76
  37. 2019Global Sparse Momentum SGD for Pruning Very Deep Neural Networkscited by 70
  38. 2018A jamming transition from under- to over-parametrization affects loss landscape and generalizationcited by 65

50 most cited of 63 All 63 (JSON)

Built on by

Not cited yet.