English

Unbounded Error Correcting Codes

Data Structures and Algorithms 2025-04-09 v2 Information Theory Combinatorics math.IT

Abstract

Traditional error-correcting codes (ECCs) assume a fixed message length, but many scenarios involve ongoing or indefinite transmissions where the message length is not known in advance. For example, when streaming a video, the user should be able to fix a fraction of errors that occurred before any point in time. We introduce unbounded error-correcting codes (unbounded codes), a natural generalization of ECCs that supports arbitrarily long messages without a predetermined length. An unbounded code with rate RR and distance ε\varepsilon ensures that for every sufficiently large kk, the message prefix of length RkRk can be recovered from the code prefix of length kk even if an adversary corrupts up to an ε\varepsilon fraction of the symbols in this code prefix. We study unbounded codes over binary alphabets in the regime of small error fraction ε\varepsilon, establishing nearly tight upper and lower bounds on their optimal rate. Our main results show that: (1) The optimal rate of unbounded codes satisfies R<1Ω(ε)R<1-\Omega(\sqrt{\varepsilon}) and R>1O(εloglog(1/ε))R>1-O(\sqrt{\varepsilon \log \log(1/\varepsilon)}). (2) Surprisingly, our construction is inherently non-linear, as we prove that linear unbounded codes achieve a strictly worse rate of R=1Θ(εlog(1/ε))R=1-\Theta(\sqrt{\varepsilon \log(1/\varepsilon)}). (3) In the setting of random noise, unbounded codes achieve the same optimal rate as standard ECCs, R=1Θ(εlog(1/ε))R=1-\Theta(\varepsilon \log(1/\varepsilon)). These results demonstrate fundamental differences between standard and unbounded codes.

Keywords

Cite

@article{arxiv.2411.04803,
  title  = {Unbounded Error Correcting Codes},
  author = {Klim Efremenko and Or Zamir},
  journal= {arXiv preprint arXiv:2411.04803},
  year   = {2025}
}