paper

Discrepancy for Random Linear Codes

arXiv:2606.24471

Abstract

We prove that random linear codes have nearly optimal discrepancy properties in a broad range of regimes. Our main results are two general theorems: one controlling all translates of a fixed test, and another controlling large families of Fourier-pseudorandom tests. Two motivating applications follow. First, random linear codes match unstructured random codes for list-decoding from errors above capacity. If is a random linear code of rate , where is a radius- Hamming ball, then with high probability simultaneously for all radius- Hamming balls . This extends the classical result that such codes have covering radius at most whp (Blinovsky, 1987). Second, over prime fields, random linear codes match unstructured random codes for zero-error list-recovery above capacity. For prime and , a random linear code of rate satisfies, with high probability, simultaneously for all rectangles with . As a consequence, there are abundant -party linear ramp secret sharing schemes over with privacy threshold about and reconstruction threshold about , resilient to balanced local leakage; prior existence results required thresholds above even in this case. The translate result, hence the list-decoding application, holds over arbitrary finite fields, even growing with . The list-recovery and leakage applications hold over prime fields under moderate growth, e.g. . The proofs use a refined second-moment analysis tracking intersection sizes as random generators are added to .