mlsanityData to 7 Oct 2026

ExeCRE: Execution-Consistency Guided Reliability Estimation for Self-Correcting Code Generation

arXiv 2608.04439 ↗First posted 5 Aug 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have made notable progress in code generation, but they still struggle on challenging tasks that require sophisticated algorithms or complex implementations. Recent methods increasingly use code execution as feedback, especially in self-correction pipelines that construct verification signals from generated code. However, these pipelines often depend on supervision signals whose reliability is unknown, which can introduce misleading feedback, unnecessary revisions, and incorrect final answers. To address this issue, we propose ExeCRE, an Execution-Consistency guided code Reliability Estimation framework. Instead of judging candidate code by tests or LLM feedback, ExeCRE estimates code reliability by statistically analyzing consistency patterns in execution outputs over a large number of randomly generated inputs. It collects execution outputs over generated inputs, projects them into consistency signals, and applies the Dawid-Skene model to infer latent code reliability. We integrate ExeCRE into self-correction for code generation. Experiments show that ExeCRE consistently improves both effectiveness and stability, while substantially reducing misleading correction signals. Under GPT-5.2 on LiveCodeBench, the average number of misleading feedback cases on already correct code drops from 113.2 with a representative self-correction baseline to 14.0 with ExeCRE. As an additional study, we apply the same reliability estimation strategy to code-based mathematical reasoning and observe similar benefits. These results suggest that ExeCRE enables more reliable use of generated code in execution-based pipelines.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 52 references that are in the map. First posted on arXiv 5 Aug 2026.

Builds on

29 of 52 references.

References · 29

  1. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  2. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  7. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  9. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  10. 2021Measuring Coding Challenge Competence With APPScited by 879
  11. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  12. 2022CodeT: Code Generation with Generated Testscited by 369
17 more
  1. 2023Self-collaboration Code Generation via ChatGPTcited by 255
  2. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
  3. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
  4. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 120
  5. 2023Examining Inter-Consistency of Large Language Models Collaboration: An In-depth Analysis via Debatecited by 94
  6. 2022Coder Reviewer Reranking for Code Generationcited by 83
  7. 2022Recitation-Augmented Language Modelscited by 65
  8. 2023ALGO: Synthesizing Algorithmic Programs with LLM-Generated Oracle Verifierscited by 41
  9. 2024CYCLE: Learning to Self-Refine the Code Generationcited by 39
  10. 2024CodeTree: Agent-guided Tree Search for Code Generation with Large Language Modelscited by 32
  11. 2021Learning from Crowds with Crowd-Kitcited by 23
  12. 2025Revisit Self-Debugging with Self-Generated Tests for Code Generationcited by 21
  13. 2024ROCODE: Integrating Backtracking Mechanism and Program Analysis in Large Language Models for Code Generationcited by 12
  14. 2024B4: Towards Optimal Assessment of Plausible Code Solutions with Plausible Testscited by 9
  15. 2025Incoherence as Oracle-less Measure of Error in LLM-Based Code Generationcited by 6
  16. 2025Code Execution as Grounded Supervision for LLM Reasoningcited by 5
  17. 2025Tratto: A Neuro-Symbolic Approach to Deriving Axiomatic Test Oraclescited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Code Is More Than Text: Uncertainty Estimation for Code Generation
  2. 2023Enhancing Large Language Models in Coding Through Multi-Perspective Self-Consistency
  3. 2023Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChain
  4. 2026CoRE: A Fine-Grained Code Reasoning Benchmark Beyond Output Prediction
  5. 2026Ensemble-Based Uncertainty Estimation for Code Correctness Estimation ↗
  6. 2026Consistency Meets Verification: Enhancing Test Generation Quality in Large Language Models Without Ground-Truth Solutions
  7. 2026An Execution-Verified Multi-Language Benchmark for Code Semantic Reasoning
  8. 2026ExecuGraph: A Multi-Agent, Execution-Grounded Framework for Reliable Backend Code Synthesis with Large Language Models