Lune

NeurIPS2021Top-tier venue

An Exponential Improvement on the Memorization Capacity of Deep Threshold Networks

Shashank Rajput, Kartik Sreenivasan, Dimitris S. Papailiopoulos, Amin Karbasi

Abstract

It is well known that modern deep neural networks are powerful enough to memorize datasets even when the labels have been randomized. Recently, Vershynin (2020) settled a long standing question by Baum (1988), proving that deep threshold networks can memorize nn points in dd dimensions using O~(e1/δ2+n)\widetilde{\mathcal{O}}(e^{1/\delta^2}+\sqrt{n}) neurons and O~(e1/δ2(d+n)+n)\widetilde{\mathcal{O}}(e^{1/\delta^2}(d+\sqrt{n})+n) weights, where δ\delta is the minimum distance between the points. In this work, we improve the dependence on δ\delta from exponential to almost linear, proving that O~(1δ+n)\widetilde{\mathcal{O}}(\frac{1}{\delta}+\sqrt{n}) neurons and O~(dδ+n)\widetilde{\mathcal{O}}(\frac{d}{\delta}+n) weights are sufficient. Our construction uses Gaussian random weights only in the first layer, while all the subsequent layers use binary or integer weights. We also prove new lower bounds by connecting memorization in neural networks to the purely geometric problem of separating nn points on a sphere using hyperplanes.

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.

8 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

  • Memorization Capacity of Multi-Head Attention in Transformers cites On the Optimal Memorization Power of ReLU Neural Networks
  • Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators? cites Memorization Capacity of Multi-Head Attention in Transformers
  • Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators? cites On the Optimal Memorization Power of ReLU Neural Networks
  • Why Robust Generalization in Deep Learning is Difficult: Perspective of Expressive Power cites On the Optimal Memorization Power of ReLU Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. On the Optimal Memorization Power of ReLU Neural NetworksGal Vardi, Gilad Yehudai, Ohad ShamirICLR 2022 · 42 citations
  2. Why Robust Generalization in Deep Learning is Difficult: Perspective of Expressive PowerBinghui Li, Jikai Jin, Han Zhong, John E. Hopcroft et al.NeurIPS 2022 · 37 citations
  3. Memorization Capacity of Multi-Head Attention in TransformersSadegh Mahdavi, Renjie Liao, Christos ThrampoulidisICLR 2024 · 34 citations
  4. Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?Tokio Kajitsuka, Issei SatoICLR 2024 · 31 citations
  5. Size and depth of monotone neural networks: interpolation and approximationDan Mikulincer, Daniel ReichmanNeurIPS 2022 · 14 citations

Builds on1

  1. Bad Global Minima Exist and SGD Can Reach ThemShengchao Liu, Dimitris S. Papailiopoulos, Dimitris AchlioptasNeurIPS 2020 · 89 citations

Related papers

  1. Network size and size of the weights in memorization with two-layers neural networksSébastien Bubeck, Ronen Eldan, Yin Tat Lee, Dan MikulincerNeurIPS 2020 · 28 citations
  2. Neural Networks Learning and Memorization with (almost) no Over-ParameterizationAmit DanielyNeurIPS 2020 · 38 citations
  3. Optimal robust Memorization with ReLU Neural NetworksLijia Yu, Xiao-Shan Gao, Lijun ZhangICLR 2024 · 4 citations
  4. A Law of Data Reconstruction for Random Features (And Beyond)Leonardo Iurada, Simone Bombari, Tatiana Tommasi, Marco MondelliICLR 2026 · 3 citations
  5. Generalizablity of Memorization Neural NetworkLijia Yu, Xiao-Shan Gao, Lijun Zhang, Yibo MiaoNeurIPS 2024 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines