Fast Learning Requires Good Memory: A Time-Space Lower Bound for Parity Learning
Not on the map. Why?
Abstract (arXiv)
We prove that any algorithm for learning parities requires either a memory of quadratic size or an exponential number of samples. This proves a recent conjecture of Steinhardt, Valiant and Wager and shows that for some learning problems a large storage space is crucial. More formally, in the problem of parity learning, an unknown string x ∈ 0,1n was chosen uniformly at random. A learner tries to learn x from a stream of samples (a1, b1), (a2, b2) ldots, where each~at is uniformly distributed over 0,1n and bt is the inner product of at and x, modulo~2. We show that any algorithm for parity learning, that uses less than fracn225 bits of memory, requires an exponential number of samples. Previously, there was no non-trivial lower bound on the number of samples needed, for any learning problem, even if the allowed memory size is O(n) (where n is the space needed to store one sample). We also give an application of our result in the field of bounded-storage cryptography. We show an encryption scheme that requires a private key of length n, as well as time complexity of n per encryption/decription of each bit, and is provenly and unconditionally secure as long as the attacker uses less than fracn225 memory bits and the scheme is used at most an exponential number of times. Previous works on bounded-storage cryptography assumed that the memory size used by the attacker is at most linear in the time needed for encryption/decription.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 Feb 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 8; 2023: 10; 2024: 4; 2025: 3; 2026: 4.
32 papers.
Sort:
By area:
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 104
- 2023Auto-Regressive Next-Token Predictors are Universal Learnerscited by 65
- 2021Exponential separations between learning with and without quantum memorycited by 50
- 2023A survey on the complexity of learning quantum statescited by 31
- 2022Memory Bounds for the Experts Problemcited by 20
- 2022Memory Bounds for Continual Learningcited by 18
- 2022Online Prediction in Sub-linear Spacecited by 16
- 2023Near Optimal Memory-Regret Tradeoff for Online Learningcited by 15
- 2022Efficient Convex Optimization Requires Superlinear Memorycited by 14
- 2022Strong Memory Lower Bounds for Learning Natural Modelscited by 10
- 2023On Differential Privacy and Adaptive Data Analysis with Bounded Spacecited by 9
- 2021Bounded Memory Active Learning through Enriched Queriescited by 8
20 more
- 2021Memory-Sample Lower Bounds for Learning Parity with Noisecited by 8
- 2025Hardness of Learning Fixed Parities with Neural Networkscited by 7
- 2024The I/O Complexity of Attention, or How Optimal is Flash Attention?cited by 6
- 2023Quadratic Memory is Necessary for Optimal Query Complexity in Convex Optimization: Center-of-Mass is Pareto-Optimalcited by 5
- 2023Tight Memory-Regret Lower Bounds for Streaming Banditscited by 4
- 2023Memory-Query Tradeoffs for Randomized Convex Optimizationcited by 4
- 2024Entanglement-induced provable and robust quantum learning advantagescited by 4
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Trainingcited by 4
- 2022Estimation of Entropy in Constant Space with Improved Sample Complexitycited by 3
- 2022Impartial Games: A Challenge for Reinforcement Learningcited by 3
- 2023Tight Time-Space Lower Bounds for Constant-Pass Learningcited by 2
- 2025A Simple, Optimal and Efficient Algorithm for Online Exp-Concave Optimizationcited by 2
- 2026On Language Generation in the Limit with Bounded Memorycited by 2
- 2023Exploring Parity Challenges in Reinforcement Learning through Curriculum Learning with Noisy Labelscited by 1
- 2023Statistical Inference with Limited Memory: A Surveycited by 1
- 2024Gradient Descent is Pareto-Optimal in the Oracle Complexity and Memory Tradeoff for Feasibility Problemscited by 1
- 2026Few Batches or Little Memory, But Not Both: Simultaneous Space and Adaptivity Constraints in Stochastic Banditscited by 1
- 2022Learning what to remembercited by 0
- 2026Better Bounds for the Distributed Experts Problemcited by 0
- 2026Genetic Algorithms with Optimization Guided Operatorscited by 0
- 2026Genetic Algorithms with Optimization Guided Operators10 Jun 2026
- 2026On Language Generation in the Limit with Bounded Memory28 May 2026
- 2026Few Batches or Little Memory, But Not Both: Simultaneous Space and Adaptivity Constraints in Stochastic Bandits14 Mar 2026
- 2026Better Bounds for the Distributed Experts Problem10 Mar 2026
- 2025A Simple, Optimal and Efficient Algorithm for Online Exp-Concave Optimization29 Dec 2025
- 2025Provable Benefit of Curriculum in Transformer Tree-Reasoning Post-Training10 Nov 2025
- 2025Hardness of Learning Fixed Parities with Neural Networks1 Jan 2025
- 2024Entanglement-induced provable and robust quantum learning advantages4 Oct 2024
- 2024Gradient Descent is Pareto-Optimal in the Oracle Complexity and Memory Tradeoff for Feasibility Problems10 Apr 2024
- 2024The I/O Complexity of Attention, or How Optimal is Flash Attention?12 Feb 2024
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks6 Feb 2024
- 2023Statistical Inference with Limited Memory: A Survey23 Dec 2023
20 more
- 2023Exploring Parity Challenges in Reinforcement Learning through Curriculum Learning with Noisy Labels8 Dec 2023
- 2023Tight Time-Space Lower Bounds for Constant-Pass Learning12 Oct 2023
- 2023Auto-Regressive Next-Token Predictors are Universal Learners13 Sep 2023
- 2023Memory-Query Tradeoffs for Randomized Convex Optimization21 Jun 2023
- 2023Tight Memory-Regret Lower Bounds for Streaming Bandits13 Jun 2023
- 2023A survey on the complexity of learning quantum states31 May 2023
- 2023Near Optimal Memory-Regret Tradeoff for Online Learning3 Mar 2023
- 2023On Differential Privacy and Adaptive Data Analysis with Bounded Space11 Feb 2023
- 2023Quadratic Memory is Necessary for Optimal Query Complexity in Convex Optimization: Center-of-Mass is Pareto-Optimal9 Feb 2023
- 2022Online Prediction in Sub-linear Space16 Jul 2022
- 2022Strong Memory Lower Bounds for Learning Natural Models9 Jun 2022
- 2022Impartial Games: A Challenge for Reinforcement Learning25 May 2022
- 2022Estimation of Entropy in Constant Space with Improved Sample Complexity19 May 2022
- 2022Memory Bounds for Continual Learning22 Apr 2022
- 2022Memory Bounds for the Experts Problem21 Apr 2022
- 2022Efficient Convex Optimization Requires Superlinear Memory29 Mar 2022
- 2022Learning what to remember11 Jan 2022
- 2021Exponential separations between learning with and without quantum memory10 Nov 2021
- 2021Memory-Sample Lower Bounds for Learning Parity with Noise5 Jul 2021
- 2021Bounded Memory Active Learning through Enriched Queries9 Feb 2021
- 2021Exponential separations between learning with and without quantum memorycited by 50
- 2023A survey on the complexity of learning quantum statescited by 31
- 2022Memory Bounds for the Experts Problemcited by 20
- 2022Memory Bounds for Continual Learningcited by 18
- 2022Online Prediction in Sub-linear Spacecited by 16
- 2023Near Optimal Memory-Regret Tradeoff for Online Learningcited by 15
- 2022Efficient Convex Optimization Requires Superlinear Memorycited by 14
- 2022Strong Memory Lower Bounds for Learning Natural Modelscited by 10
- 2023On Differential Privacy and Adaptive Data Analysis with Bounded Spacecited by 9
- 2021Bounded Memory Active Learning through Enriched Queriescited by 8
- 2021Memory-Sample Lower Bounds for Learning Parity with Noisecited by 8
- 2025Hardness of Learning Fixed Parities with Neural Networkscited by 7
12 most cited of 29 All 29 (JSON)
- 2026Genetic Algorithms with Optimization Guided Operators10 Jun 2026
- 2026On Language Generation in the Limit with Bounded Memory28 May 2026
- 2026Few Batches or Little Memory, But Not Both: Simultaneous Space and Adaptivity Constraints in Stochastic Bandits14 Mar 2026
- 2026Better Bounds for the Distributed Experts Problem10 Mar 2026
- 2025A Simple, Optimal and Efficient Algorithm for Online Exp-Concave Optimization29 Dec 2025
- 2025Hardness of Learning Fixed Parities with Neural Networks1 Jan 2025
- 2024Entanglement-induced provable and robust quantum learning advantages4 Oct 2024
- 2024Gradient Descent is Pareto-Optimal in the Oracle Complexity and Memory Tradeoff for Feasibility Problems10 Apr 2024
- 2024The I/O Complexity of Attention, or How Optimal is Flash Attention?12 Feb 2024
- 2023Statistical Inference with Limited Memory: A Survey23 Dec 2023
- 2023Exploring Parity Challenges in Reinforcement Learning through Curriculum Learning with Noisy Labels8 Dec 2023
- 2023Tight Time-Space Lower Bounds for Constant-Pass Learning12 Oct 2023
12 newest of 29 All 29 (JSON)