English

Decoding Balanced Linear Codes With Preprocessing

Computational Complexity 2025-10-17 v1 Information Theory math.IT

Abstract

Prange's information set algorithm is a decoding algorithm for arbitrary linear codes. It decodes corrupted codewords of any F2\mathbb{F}_2-linear code CC of message length nn up to relative error rate O(logn/n)O(\log n / n) in poly(n)\mathsf{poly}(n) time. We show that the error rate can be improved to O((logn)2/n)O((\log n)^2 / n), provided: (1) the decoder has access to a polynomial-length advice string that depends on CC only, and (2) CC is nΩ(1)n^{-\Omega(1)}-balanced. As a consequence we improve the error tolerance in decoding random linear codes if inefficient preprocessing of the code is allowed. This reveals potential vulnerabilities in cryptographic applications of Learning Noisy Parities with low noise rate. Our main technical result is that the Hamming weight of HwHw, where HH is a random sample of *short dual* codewords, measures the proximity of a word ww to the code in the regime of interest. Given such HH as advice, our algorithm corrects errors by locally minimizing this measure. We show that for most codes, the error rate tolerated by our decoder is asymptotically optimal among all algorithms whose decision is based on thresholding HwHw for an arbitrary polynomial-size advice matrix HH.

Keywords

Cite

@article{arxiv.2510.14347,
  title  = {Decoding Balanced Linear Codes With Preprocessing},
  author = {Andrej Bogdanov and Rohit Chatterjee and Yunqi Li and Prashant Nalini Vasudevan},
  journal= {arXiv preprint arXiv:2510.14347},
  year   = {2025}
}