Sign inGet started
Paper · arXiv

HERO: Harnessing Evidence for Test-time Refinement and Prompt Optimization in Program Generation

Harness optimization improves LLMs by refining reusable prompts and scaffolding, yet requires further adaptation for program generation tasks such as text-to-SQL and text-to-Python. Existing methods often rely on LLM reflectors to propose harness updates, which can fix observed failures but also disrupt previously correct behavior. Text-to-code tasks offer a natural way to mitigate this issue: we can execute generated outputs, allowing us to evaluate and verify the effects of proposed updates directly. Building on this signal, we introduce \textsc{HERO} (\textbf{H}arnessing \textbf{E}vidence for \textbf{R}efinement and \textbf{O}ptimization), which combines offline and test-time harness o...

AuthorsMingyu Lu, Timothy Ossowski, Tristan Naumann et al.
Primary categorycs.CL
Published13 October 2026
Last updated at source13 October 2026
cs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/5196f00c-a65d-4cef-90a5-8aac90d20865" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 15 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.