English

Algorithms for Sparse LPN and LSPN Against Low-noise

Cryptography and Security 2025-06-03 v8

Abstract

We consider sparse variants of the classical Learning Parities with random Noise (LPN) problem. Our main contribution is a new algorithmic framework that provides learning algorithms against low-noise for both Learning Sparse Parities (LSPN) problem and sparse LPN problem. Different from previous approaches for LSPN and sparse LPN, this framework has a simple structure and runs in polynomial space. Let nn be the dimension, kk denote the sparsity, and η\eta be the noise rate. As a fundamental problem in computational learning theory, Learning Sparse Parities with Noise (LSPN) assumes the hidden parity is kk-sparse. While a simple enumeration algorithm takes (nk)=O(n/k)k{n \choose k}=O(n/k)^k time, previously known results stills need (nk/2)=Ω(n/k)k/2{n \choose k/2} = \Omega(n/k)^{k/2} time for any noise rate η\eta. Our framework provides a LSPN algorithm runs in time O(ηn/k)kO(\eta \cdot n/k)^k for any noise rate η\eta, which improves the state-of-the-art of LSPN whenever η(k/n,k/n)\eta \in ( k/n,\sqrt{k/n}). The sparse LPN problem is closely related to the classical problem of refuting random kk-CSP and has been widely used in cryptography as the hardness assumption. Different from the standard LPN, it samples random kk-sparse vectors. Because the number of kk-sparse vectors is (nk)<nk{n \choose k}<n^k, sparse LPN has learning algorithms in polynomial time when m>nk/2m>n^{k/2}. However, much less is known about learning algorithms for constant kk like 3 and m<nk/2m<n^{k/2} samples, except the Gaussian elimination algorithm of time eηne^{\eta n}. Our framework provides a learning algorithm in eO(ηnδ+12)e^{O(\eta \cdot n^{\frac{\delta+1}{2}})} time given δ(0,1)\delta \in (0,1) and mn1+(1δ)k12m \approx n^{1+(1-\delta)\cdot \frac{k-1}{2}} samples. This improves previous learning algorithms. For example, in the classical setting of k=3k=3 and m=n1.4m=n^{1.4}, our algorithm would be faster than than previous approaches for any η<n0.7\eta<n^{-0.7}.

Keywords

Cite

@article{arxiv.2407.19215,
  title  = {Algorithms for Sparse LPN and LSPN Against Low-noise},
  author = {Xue Chen and Wenxuan Shu and Zhaienhe Zhou},
  journal= {arXiv preprint arXiv:2407.19215},
  year   = {2025}
}
R2 v1 2026-06-28T17:55:26.413Z