Evolving Towards Better Codes: LLM-Guided Search for High-Distance Binary Linear Codes
Organizations: EPFL
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, , , , , , and , six of which have concise quasi-cyclic descriptions. With standard code modification techniques, they improve 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.
Figures & tables
| cell | LB | GV | random best | random median | gen 0 | lane | s |
|---|---|---|---|---|---|---|---|
| 14 | 11 | 10 | construction_core | 214 | |||
| 16 | 11 | 10 | qc_core | 321 | |||
| 13 | 10 | 9 | qc_core | 413 | |||
| 17 | 13 | 12 | qc_core | 307 |
| Code | Previous bound | Gain |
|---|---|---|
| 64 | ||
| 67 | ||
| 66 | ||
| 68 | ||
| 69 | ||
| 71 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| 172 | 20 | 66 | 67 | 272 |
| 173 | 20 | 67 | 68 | 1156 |
| 171 | 21 | 64 | 65 | 2040 |
| 172 | 21 | 64 | 66 | 2720 |
| 173 | 21 | 64 | 66 | 680 |
| 174 | 21 | 65 | 66 | 680 |