Research map / Large language models / Agents, code and math
EquiBench: Benchmarking Large Language Models' Reasoning about Program Semantics via Equivalence Checking
Anjiang Wei, Jiannan Cao, Ran Li, Hongyu Chen, Yuhui Zhang, Ziheng Wang, Yuan Liu, Thiago S. F. X. Teixeira, Diyi Yang, Ke Wang, Alex Aiken
Stanford University · Massachusetts Institute of Technology · Google · Nanjing University · Intel
Read the paperPlace an idea next to itCheck your own paper ↗
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.
This paper tried a common change: Chain-of-thought prompting
add chain-of-thought prompting · EquiBench Overall · accuracy: 65.0 -> 62.5 Hurt
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use reasoning models (o4-mini, o3-mini, DeepSeek-R1, o1-mini) rather than non-reasoning models | 19 LLMs · EquiBench Overall | accuracy: 82.3 (o4-mini) vs 65.0 (gpt-4o) | Improved |
| equivalence by dead code elimination (hard category) | 19 LLMs · EquiBench DCE | mean accuracy: mean 49.0 vs 78.1 on OJ_V | Hurt |
| CUDA category (compiler scheduling) | o4-mini · EquiBench CUDA | accuracy: 60.8 (CUDA) vs 82.3 overall | Hurt |
| increase model size within a family | Qwen2.5, Llama-3.1, Mixtral families · EquiBench Overall | accuracy | Improved |
| variable renaming only (OJ_V) vs algorithmic changes | 19 LLMs · EquiBench | mean accuracy: 68.6 (OJ_A) -> 78.1 (OJ_V) | Improved |
| lower syntactic similarity of the program pair | LLMs · EquiBench | accuracy on equivalent pairs | Hurt |
| add 4-shot in-context examples (ablation) | gpt-4o · EquiBench Overall | accuracy: 65.0 -> 66.5 | No clear effect |
| add chain-of-thought prompting (ablation) | gpt-4o · EquiBench Overall | accuracy: 65.0 -> 62.5 | Hurt |
| add chain-of-thought prompting (ablation) | o1-mini · EquiBench Overall | accuracy: 71.5 -> 71.9 | No clear effect |
| add chain-of-thought prompting (ablation) | DeepSeek-V3 · EquiBench Overall | accuracy: 65.0 -> 63.3 | Hurt |
| LoRA fine-tune on 1,200 labeled examples | Qwen2.5-14B-Instruct · EquiBench Overall | accuracy: 59.8 -> 63.2 | Improved |
| fine-tune with SemCoder execution-trace training | DeepSeek-Coder-6.7B · EquiBench Overall | accuracy: 49.9 -> 54.9 | Improved |
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- LLMs are Brittle to Simple Code Transformations: Introducing CETBench – A Benchmark for Code-Equivalence Checking (ACL 2026 · similarity 0.92)
- Evaluating Program Semantics Reasoning with Type Inference in System F (NeurIPS 2025 · similarity 0.91)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.90)
- SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning (NeurIPS 2024 · similarity 0.88)
- Lemur: Integrating Large Language Models in Automated Program Verification (ICLR 2024 · similarity 0.88)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.88)
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.