Metraipolis › archive › dc_399db5610d69
Towards Certificate-Driven Software Porting: A Self-Improving Agentic Harness for Scientific Program Optimization — arXiv:2609.34069
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.34069
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T20:57:19.911Z
- SHA-256 of the archived text
ff35d44766d2bc0f61efca0540a3c2e3313dbb93f80fb2138089a70af4eec951- Stable URL of this page
https://metraipolis.com/documento/dc_399db5610d69
How to cite
Towards Certificate-Driven Software Porting: A Self-Improving Agentic Harness for Scientific Program Optimization — arXiv:2609.34069 — arXiv (en), https://arxiv.org/abs/2609.34069 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_399db5610d69 (Metraipolis archive dc_399db5610d69, sha256 ff35d44766d2bc0f61efca0540a3c2e3313dbb93f80fb2138089a70af4eec951)
BibTeX
@misc{dc399db5610d69,
title = {Towards Certificate-Driven Software Porting: A Self-Improving Agentic Harness for Scientific Program Optimization — arXiv:2609.34069},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.34069},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_399db5610d69; sha256 ff35d44766d2bc0f61efca0540a3c2e3313dbb93f80fb2138089a70af4eec951},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.34069. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
The upgrade and rewriting of large scientific codebases has traditionally been a major challenge. While evolutionary search with large language models (LLMs) can port and accelerate legacy code, repair feedback in prompts alone does not prevent subsequent candidates from repeating the same errors. We introduce Certificate-Driven Evolutionary Search (CDES), which extends evolutionary search with enforceable restrictions derived from failed candidates, recorded as certificates of assumptions, checker evidence, and justified restrictions. Its control logic enforces these restrictions through rejection, backtracking, and targeted repair while preserving compatible edits. We apply CDES to CPU-to-GPU translation of two particle-simulation functions from the Geant4 toolkit, evaluated with a harness that goes beyond unit tests to combine formal checks, numerical comparisons, physics checks, and GPU safety tests. Generated implementations achieve 13.78x and 23.54x function-level speedups over CPU code, including data conversion and transfers; for one function, GPU throughput exceeds an expert implementation by 14.9%, reaching 16.1% when complementary components are combined. In an ablation over execution settings, certificate feedback increases the fraction of candidates passing required correctness checks from 55% to 90%. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Programming Languages (cs.PL); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.34069 — 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:01.412Z 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).