Metraipolis › archive › dc_0e1c4a093261
Goal-Persistent Coding Agents as Scientific Performance Engineers: A Fixed-Radius Nearest-Neighbor Case Study — arXiv:2609.31980
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.31980
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T20:55:01.280Z
- SHA-256 of the archived text
95c6c4e4a81f5a7edb967e162c374b5a7fe5f55bd72186d13ff1d682e6eb0bc1- Stable URL of this page
https://metraipolis.com/documento/dc_0e1c4a093261
How to cite
Goal-Persistent Coding Agents as Scientific Performance Engineers: A Fixed-Radius Nearest-Neighbor Case Study — arXiv:2609.31980 — arXiv (en), https://arxiv.org/abs/2609.31980 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0e1c4a093261 (Metraipolis archive dc_0e1c4a093261, sha256 95c6c4e4a81f5a7edb967e162c374b5a7fe5f55bd72186d13ff1d682e6eb0bc1)
BibTeX
@misc{dc0e1c4a093261,
title = {Goal-Persistent Coding Agents as Scientific Performance Engineers: A Fixed-Radius Nearest-Neighbor Case Study — arXiv:2609.31980},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.31980},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0e1c4a093261; sha256 95c6c4e4a81f5a7edb967e162c374b5a7fe5f55bd72186d13ff1d682e6eb0bc1},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.31980. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Coding agents can pursue persistent objectives across many tool-use turns, but evidence that general-purpose agents can conduct rigorous scientific performance engineering remains limited. We present a repository-scale case study in which off-the-shelf Codex and Claude Code agents optimize fixed-radius nearest-neighbor (FRNN) search for particle tracking. Starting from a PyTorch-dependent CUDA implementation, the agents follow an executable goal that specifies exact-correctness tests, profiling requirements, and acceptance criteria without prescribing code transformations. In the primary sequential trajectory, they autonomously remove the PyTorch dependency and conduct hypothesis-driven optimization experiments. The resulting standalone C++/CUDA library exactly reproduces the targeted reference result. Its synchronous NumPy interface achieved 1.6-fold speedup over the original GPU-resident PyTorch interface, despite including host transfers. Similar speedups were observed across different GPU architectures and software stacks. An independent optimization rerun followed a different sequence of hypotheses and reached even better performance on the target workload. These results show that goal-persistent coding agents can act as experimental performance engineers, and that executable scientific contracts are needed both to guide and to validate their optimization. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Performance (cs.PF); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.31980 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T20:29:00.684Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).