English

Optimal redundancy of function-correcting codes

Information Theory 2025-02-25 v1 Combinatorics math.IT

Abstract

Function-correcting codes, introduced by Lenz, Bitar, Wachter-Zeh, and Yaakobi, protect specific function values of a message rather than the entire message. A central challenge is determining the optimal redundancy -- the minimum additional information required to recover function values amid errors. This redundancy depends on both the number of correctable errors tt and the structure of message vectors yielding identical function values. While prior works established bounds, key questions remain, such as the optimal redundancy for functions like Hamming weight and Hamming weight distribution, along with efficient code constructions. In this paper, we make the following contributions: (1) For the Hamming weight function, we improve the lower bound on optimal redundancy from 10(t1)3\frac{10(t-1)}{3} to 4t436t+2+24t - \frac{4}{3}\sqrt{6t+2} + 2. On the other hand, we provide a systematical approach to constructing explicit FCCs via a novel connection with Gray codes, which also improve the previous upper bound from 4t212log2t/(2t)\frac{4t-2}{1 - 2\sqrt{\log{2t}/(2t)}} to 4tlogt4t - \log{t}. Consequently, we almost determine the optimal redundancy for Hamming weight function. (2) The Hamming weight distribution function is defined by the value of Hamming weight divided by a given positive integer TT. Previous work established that the optimal redundancy is 2t2t when T>2tT > 2t, while the case T2tT \le 2t remained unclear. We show that the optimal redundancy remains 2t2t when Tt+1T \ge t+1. However, in the surprising regime where T=o(t)T = o(t), we achieve near-optimal redundancy of 4to(t)4t - o(t). Our results reveal a significant distinction in behavior of redundancy for distinct choices of TT.

Keywords

Cite

@article{arxiv.2502.16983,
  title  = {Optimal redundancy of function-correcting codes},
  author = {Gennian Ge and Zixiang Xu and Xiande Zhang and Yijun Zhang},
  journal= {arXiv preprint arXiv:2502.16983},
  year   = {2025}
}

Comments

17 pages

R2 v1 2026-06-28T21:55:14.065Z