scimeatlas

Research map / Large language models / Language, safety and interpretability

Functional Entropy: Predicting Functional Correctness in LLM-Generated Code with Uncertainty Quantification

Dylan Bouchard, Mohit Singh Chauhan, Zeya Ahmad, Ho-Kyeong Ra

EMNLP 2026Large language models › Language, safety and interpretabilityapproach: Statistical frameworks for LLM evaluationopen problems in this approach2 citations (OpenAlex)

CVS Health

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
3improved
5no clear effect
3hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace NLI-based semantic equivalence with LLM-based functional equivalence in clustering (entropy, sets)sampling-based UQ for code · LiveCodeBench, MultiPL-E, LiveSQLBenchAUROC: NLI 0.47-0.58 (SQL), 0.48-0.56 (Java), 0.50-0.53 (Python) -> functional 0.62-0.70 on JavaImproved
use functional equivalence rate instead of NLI non-contradiction probabilityequivalence-rate scoring · 3 code benchmarks, 15 model-benchmark pairsAUROC: exceeds it on 12 of 15 combinations; up to +0.16 on PythonImproved
use functional equivalence rate instead of NLI non-contradiction on SQLequivalence-rate scoring · LiveSQLBenchAUROC: 0.67-0.79 vs. comparableNo clear effect
use functional equivalence methods vs all other UQ methodsUQ for code correctness · 15 model-benchmark combinationsAUROC: top AUROC in 11 of 15Improved
reduce sampled responses from m=10 to m=5 (ablation)functional equivalence methods · code benchmarksAUROC: within 0.01-0.02 of m=10No clear effect
swap judge Gemini-2.5-Flash for Gemini-2.5-Flash-Lite (ablation)functional equivalence methods · code benchmarksAUROC: within 0.02No clear effect
swap judge Gemini-2.5-Flash for GPT-4o-mini (ablation)functional equivalence methods · code benchmarksAUROC: up to -0.07Hurt
shuffle order of sampled responses before greedy clustering (ablation)functional entropy · code benchmarksAUROC: 2-4 percentage point range over 10 runsNo clear effect
add token-probability weighting of cluster probabilities (WB-NFN)functional negentropy · code benchmarksAUROCNo clear effect
use sequence probability on Gemini-2.5-Pro Pythontoken-probability scoring · LiveCodeBench (Python)AUROC: 0.580 (vs. 0.766 min token negentropy)Hurt
apply token-probability methods to SQL instead of Pythonseq. prob. and prob. margin · LiveSQLBenchAUROC: 0.52-0.55 on Gemini-2.5-Pro/FlashHurt

Open problems this paper states

Open problems in statistical frameworks for LLM evaluation

Do uncertainty and evaluation methods for LLMs still hold for open-ended generation, closed models and larger models?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy