Sign inGet started
Paper · arXiv

Narcissus: Program Synthesis Using Context-Aware LLM Approximations

Large language models (LLMs) excel at programming, but not when the task fixes the target language: prompted with a grammar rare in their training data, their programs usually break the grammar or fail the given specification. Enumerative synthesizers search the space of syntactically correct programs systematically guided by LLMs; the state of the art guides them by approximating LLM proposals into rule frequencies, which loses where each construct belongs and prunes every rule the proposals miss, exactly when the proposals are wrong. We present Narcissus, a synthesizer that keeps the proposals as syntax trees and scores each expansion of a candidate program in its context: does a propos...

AuthorsTilman Hinnerichs, Sebastijan Dumancic, Neil Yorke-Smith
Primary categorycs.AI
Published26 August 2026
Last updated at source26 August 2026
cs.AIcs.LGcs.PLcs.SE
Embed this entry
<iframe src="https://silytics.si/embed/item/c092a09c-3d5b-4185-9173-e3c6eec66b7a" 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 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.