Evolving Towards Better Codes: LLM-Guided Search for High-Distance Binary Linear Codes
Amal Seddas, Vladyslav Shashkov, Maryna Viazovska, Emmanuel Abbe
Key points
From the paper's conclusion- Applying evolutionary program search driven by large language models (LLMs) to improve the best-known bounds for binary linear codes, we introduced LinCodeEvolve, which evolves code-construction programs against an exact minimum-distance evaluator.
- LinCodeEvolve discovers seven record-breaking codes, $[172,21,66]$, $[173,20,68]$, $[176,21,68]$, $[181,21,70]$, $[184,21,72]$, $[189,22,72]$ and $[200,21,77]$, six of which have concise quasi-cyclic descriptions, improving $22$ entries of the tables with standard code modification techniques, and every code is verified by exhaustive enumeration.
- These results suggest that LLM-guided search can help find improved codes and complement existing methods in coding theory.
Abstract
Evolutionary program search driven by large language models (LLMs) has produced record-breaking constructions for open problems in combinatorics and beyond. We apply this approach to the longstanding problem of improving the best-known bounds for binary linear codes. Building on the EvoTune evolutionary framework and the ShinkaEvolve codebase, we introduce LinCodeEvolve, which evolves code-construction programs against an exact minimum-distance evaluator. A strategy loop combines diversity-driven search and expert supervision: when progress plateaus, new strategies are used to redirect the search. LinCodeEvolve discovers seven record-breaking codes, $[172,21,66]$, $[173,20,68]$, $[176,21,68]$, $[181,21,70]$, $[184,21,72]$, $[189,22,72]$ and $[200,21,77]$, six of which have concise quasi-cyclic descriptions. With standard code modification techniques, they improve $22$ entries of the tables. Every code is verified by exhaustive enumeration. These results suggest that LLM-guided search can help find improved codes and complement existing methods in coding theory.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Applying evolutionary program search driven by large language models (LLMs) to improve the best-known bounds for binary linear codes, we introduced LinCodeEvolve, which evolves code-construction programs against an exact minimum-distance evaluator.
- LinCodeEvolve discovers seven record-breaking codes, $[172,21,66]$, $[173,20,68]$, $[176,21,68]$, $[181,21,70]$, $[184,21,72]$, $[189,22,72]$ and $[200,21,77]$, six of which have concise quasi-cyclic descriptions, improving $22$ entries of the tables with standard code modification techniques, and every code is verified by exhaustive enumeration.
- These results suggest that LLM-guided search can help find improved codes and complement existing methods in coding theory.
Readers' thoughts
No reader thoughts yet.
Related papers
- Coding Agents for Coding TheoryarXiv · 2026
- Researcher-in-the-Loop Evolutionary Discovery of Entanglement-Assisted Quantum Code FamiliesarXiv · 2026
- GFlowQEC: Generative Flow Networks that Learn to Sample Quantum LDPC CodesarXiv · 2026
- Random encoders and expurgation improve 1,873 entries of the Grassl qubit code tablesarXiv · 2026
- ZeroCode: On-demand Error-Correcting Code Construction from the Zero Matrix via Reinforcement LearningarXiv · 2026
- LLM-Guided Program Evolution for Circle Packing: Breaking 10 Packomania Records for $28arXiv · 2026