Reproduce “Discovering Practical Algorithms for Least Squares using Language Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Marco Pirazzini, Robert Tjarko Lange

AutoDiscoLS evolves a least-squares solver for a specified workload and accuracy target. An LLM edits programs, while a verifier rejects candidates that miss the tolerance and measures runtime for those that pass. On held-out SUSY problems with one million rows and 2,000 features, it runs in 20.7 seconds, versus 41.4 for LSQRsparse at ε = 10⁻⁴; both pass, but LSQRsparse has lower error.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.