# How can we automatically generate correct programs from ambiguous or incomplete specifications?

Category: [LLM Memory, Reasoning and Alignment](../qcat/8.md) › [Generative Model Generalization and Evaluation](../qgroup/12.md) · 3 papers · No answer written yet (the 300 most-asked questions have one)

[Open on the map](../questions.html#q876)

## Approaches the papers take

- Evolutionary search with LLM-guided mutation
- Syntax-guided reinforcement learning with grammar constraints
- Error classification and discriminator-based iterative refinement

## The 3 papers that ask this question

- [From I/O to Code with Discovery Agent](../p/154711.md)
- [Synsema: Syntax-Guided Learning of Semantically Valid Programs](../p/153941.md)
- [Simple Test-Time Refinement for Plot-to-Code Generation via Visual-Code Diagnostics](../p/149228.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=q/876)
