Incoherence as Oracle-less Measure of Error in LLM-Based Code Generation

June 26, 2025 Β· Declared Dead Β· πŸ› 40th Annual AAAI Conference on Artificial Intelligence (AAAI), 2026

πŸ‘» CAUSE OF DEATH: Ghosted
No code link whatsoever

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Thomas Valentin, Ardi Madadi, Gaetano Sapia, Marcel BΓΆhme arXiv ID 2507.00057 Category cs.PL: Programming Languages Cross-listed cs.AI, cs.LG, cs.SE Citations 2 Venue 40th Annual AAAI Conference on Artificial Intelligence (AAAI), 2026 Last Checked 4 months ago
Abstract
Generating code from a natural language programming task is one of the most successful applications of Large Language Models (LLMs). Yet, the generated program may be buggy. Without an oracle, such as an existing, correct implementation or a formal specification, can we somehow estimate how likely the generated program is correct? In this paper, we propose a measure of incorrectness, called *incoherence*, that can be estimated efficiently in the absence of an oracle and allows us to establish a lower bound on the error, i.e., the probability that the LLM-generated program for that specification is incorrect. In our experiments, our incoherence-based methodology can automatically identify about two-thirds of incorrect programs without reports of false positives for the average task. In fact, *an oracle-based evaluation of LLMs can be reliably replaced by an incoherence-based evaluation*. In particular, we find a very strong agreement between the ranking of LLMs by the number of programs deemed correct via an oracle (pass@1) and the ranking of LLMs by the number of programs deemed correct via incoherence.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Programming Languages

Died the same way β€” πŸ‘» Ghosted