Introduction
The Learning Parities with Noise (LPN) problem is a fundamental building block in modern cryptography. In its standard formulation, an adversary is tasked with recovering a secret $n$-bit string $sk \in \{0, 1\}^n$ given a series of noisy linear equations. Specifically, the adversary receives samples of the form $(u, \langle u, sk \rangle + e)$, where $u \in \{0, 1\}^n$ is a uniformly random vector and $e \in \{0, 1\}$ is an error bit sampled from a Bernoulli distribution with parameter $\eta < 1/2$.
A critical assumption in the security proofs of LPN-based primitives is that the error bits $e_i$ are independent and identically distributed (i.i.d.). However, in practical implementations—such as those on hardware devices or physical sensors—noise is rarely perfectly independent. It may exhibit "bursty" behavior or be influenced by the device's internal state. This raises a vital question: Is LPN robust to dependencies in the noise?
The Threat of Dependent Noise
The concern is not merely theoretical. The Arora-Ge linearization attack [AG11] demonstrates that if the noise follows a specific, highly structured dependent distribution, the LPN problem can become significantly easier, potentially solvable in polynomial time. This vulnerability suggests that any deviation from perfect independence could compromise the security of LPN-based systems.
In this work, we provide a partial converse to the Arora-Ge attack. We show that LPN remains computationally hard even when the noise is "weakly dependent." This result provides a theoretical safety net, ensuring that LPN-based cryptography is resilient against noise sources that are not perfectly i.i.d. but still possess sufficient entropy.
Modeling Weak Dependency: Santha-Vazirani Sources
To formalize "weak dependency," we utilize the concept of Santha-Vazirani (SV) sources. A sequence of bits is an SV source with parameter $\delta$ if, for every bit in the sequence, the probability of that bit being 0 or 1 is at least $1/2 - \delta$, even when conditioned on all previous bits.
Essentially, an SV source represents a "messy" noise process where each bit is somewhat random but may be biased by its predecessors. Our main result (Theorem 1.4) proves that learning a secret from batches of samples where the noise is drawn from an SV source is polynomial-time reducible to the standard LPN problem.
The EntangleLPN Algorithm
The core of our proof is a reduction algorithm called EntangleLPN. The goal is to take samples from a standard LPN distribution (with independent noise) and transform them into samples that appear to come from a "Batch LPN" distribution with a specific dependent noise distribution $p$.
The Affine Noise Trick
A naive approach might involve simply adding noise to the output bits to simulate dependencies. However, this "smearing" increases the total noise level, potentially making the problem trivial or unsolvable. Instead, we employ a more sophisticated "affine noise" technique.
We observe that to simulate complex dependencies, one must be able to "inject" terms related to the secret key into the noise. We achieve this by modifying the query vector $u$. By shifting $u$ by some vector $\beta$, the resulting sample becomes: $$(u + \beta, \langle u + \beta, sk \rangle + e) = (u + \beta, \langle u, sk \rangle + \langle \beta, sk \rangle + e)$$ This effectively transforms the noise term from $e$ to $e + \langle \beta, sk \rangle$. By carefully choosing $\beta$ and combining multiple samples, we can represent any near-uniform dependent distribution as a random affine combination of the secret key and the original independent noise bits.
Matrix Analysis
To prove that this transformation is always possible for SV sources, we analyze the "least singular value" of a matrix composed of parity functions. This mathematical bound ensures that our EntangleLPN algorithm can always find the necessary query shifts to simulate the target dependent distribution efficiently.
Implications and Applications
Beyond its implications for cryptographic robustness, this result serves as a key technical component in a broader cryptographic separation. In [GMR24], we used this robustness guarantee to establish a fundamental gap between the complexity of Reinforcement Learning (RL) and Supervised Learning (SL), demonstrating that certain RL tasks are inherently harder than their SL counterparts due to the structured nature of environmental feedback.
Limitations and Future Work
While our results provide a significant step forward, several challenges remain:
- Noise Thresholds: Our current proof requires the dependency parameter $\delta$ to be relatively small (specifically $\delta < 2^{-(k+3)}$ for batch size $k$). We suspect LPN remains hard for larger $\delta$, but new analytical tools are needed to prove this.
- Scaling with Batch Size: The complexity of our reduction grows exponentially with the batch size $k$ ($2^k$). Extending this to large batches or more complex noise distributions is an open problem.
- Extension to LWE: A natural progression is to investigate whether similar robustness properties hold for Learning With Errors (LWE), the lattice-based analog of LPN that is central to post-quantum cryptography.
Conclusion
By proving that LPN is robust to weakly dependent noise, we bridge the gap between idealized cryptographic assumptions and the realities of physical implementations. Our work suggests that as long as noise sources maintain a baseline level of entropy, the underlying hardness of the parity problem remains intact.
References * [AG11] Sanjeev Arora and Rong Ge. "New Algorithms for Learning in Presence of Noise." ICALP 2011. * [GMR24] Noah Golowich, Ankur Moitra, and Dhruv Rohatgi. "On Learning Parities with Dependent Noise." 2024.
Summary updated