Discovering Algorithms with Computational Language Processing

Theo Bourdais, Abeynaya Gnanasekaran, Houman Owhadi, Tuhin Sahai
7/3/2025
cs.AIcs.DScs.LG

No official code found. Best implementation: TheoBourdais/ComputationalLanguageProcessing (0 stars, CC-BY-4.0, last commit 2025-12-15).

Abstract

Algorithms are the engine for reproducible problem-solving. We present a framework automating algorithm discovery by conceptualizing them 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 (MCTS) guided by reinforcement learning (RL) explores token chaining and drives the creation of new tokens. This methodology rediscovers, improves, and generates new algorithms that substantially outperform existing methods for strongly NP-hard combinatorial optimization problems and foundational quantum computing approaches such as Grover's and 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.

View on arXivView PDF

Code Implementations(1)

CC-BY-4.0

Official repository for the paper: Discovering Algorithms with Computational Language Processing

00C, JavaNov 14, 202510 months agoCC-BY-4.0

Similar Papers

Cite this paper

@article{bourdais2025discovering,
  title  = {Discovering Algorithms with Computational Language Processing},
  author = {Theo Bourdais and Abeynaya Gnanasekaran and Houman Owhadi and Tuhin Sahai},
  year   = {2025},
  eprint = {2507.03190},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.03190v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.03190.svg)](https://codeofpaper.com/paper/2507.03190)

Discussion