English

LLM-Guided Search for Deletion-Correcting Codes

Artificial Intelligence 2025-04-02 v1 Information Theory Neural and Evolutionary Computing math.IT

Abstract

Finding deletion-correcting codes of maximum size has been an open problem for over 70 years, even for a single deletion. In this paper, we propose a novel approach for constructing deletion-correcting codes. A code is a set of sequences satisfying certain constraints, and we construct it by greedily adding the highest-priority sequence according to a priority function. To find good priority functions, we leverage FunSearch, a large language model (LLM)-guided evolutionary search proposed by Romera et al., 2024. FunSearch iteratively generates, evaluates, and refines priority functions to construct large deletion-correcting codes. For a single deletion, our evolutionary search finds functions that construct codes which match known maximum sizes, reach the size of the largest (conjectured optimal) Varshamov-Tenengolts codes where the maximum is unknown, and independently rediscover them in equivalent form. For two deletions, we find functions that construct codes with new best-known sizes for code lengths n=12,13 n = 12, 13 , and 16 16 , establishing improved lower bounds. These results demonstrate the potential of LLM-guided search for information theory and code design and represent the first application of such methods for constructing error-correcting codes.

Keywords

Cite

@article{arxiv.2504.00613,
  title  = {LLM-Guided Search for Deletion-Correcting Codes},
  author = {Franziska Weindel and Reinhard Heckel},
  journal= {arXiv preprint arXiv:2504.00613},
  year   = {2025}
}
R2 v1 2026-06-28T22:42:07.938Z