Discovering algorithms with computational language processing
We present a framework automating algorithm discovery by bootstrapping their natural conceptualization as sequences of operations, represented as tokens. These computational tokens are chained using a grammar, enabling the formation of increasingly sophisticated procedures. Our ensemble Monte Carlo tree search guided by reinforcement learning explores token chaining and drives the creation of new tokens via byte-pair encoding. This methodology rediscovers, improves, and generates new algorithms that substantially outperform existing methods for strongly nondeterministic polynomial-time–hard combinatorial optimization problems and foundational quantum computing approaches such as Grover’s and the quantum approximate optimization algorithm. Operating at the computational rather than code-generation level, our framework produces algorithms that can be tailored specifically to problem instances, not merely classes.
Authors
- Houman Owhadi (ORCID: https://orcid.org/0000-0002-5677-1600)
- Tuhin Sahai (ORCID: https://orcid.org/0000-0003-1896-8768)
- Abeynaya Gnanasekaran (ORCID: https://orcid.org/0000-0001-7088-9261)
- Théo Bourdais (ORCID: https://orcid.org/0009-0007-9439-2349)
Institutions
- California Institute of Technology (US)
- SRI International (US)
- Menlo School (US)
Publication Details
- Journal
- Science Advances
- Published
- 2026-09-09
- DOI
- https://doi.org/10.1126/sciadv.aea4216
- Primary Topic
- Quantum Computing Algorithms and Architecture
- Type
- article
- Field-Weighted Citation Impact
- 0.00