scimeatlas

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

EMNLP 2025Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach54 citations (OpenAlex)

Stanford University · Massachusetts Institute of Technology · Google · Nanjing University · Intel

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

13measured effects
5improved
2no clear effect
6hurt

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

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 changedWhereMeasuredEffect
use reasoning models (o4-mini, o3-mini, DeepSeek-R1, o1-mini) rather than non-reasoning models19 LLMs · EquiBench Overallaccuracy: 82.3 (o4-mini) vs 65.0 (gpt-4o)Improved
equivalence by dead code elimination (hard category)19 LLMs · EquiBench DCEmean accuracy: mean 49.0 vs 78.1 on OJ_VHurt
CUDA category (compiler scheduling)o4-mini · EquiBench CUDAaccuracy: 60.8 (CUDA) vs 82.3 overallHurt
increase model size within a familyQwen2.5, Llama-3.1, Mixtral families · EquiBench OverallaccuracyImproved
variable renaming only (OJ_V) vs algorithmic changes19 LLMs · EquiBenchmean accuracy: 68.6 (OJ_A) -> 78.1 (OJ_V)Improved
lower syntactic similarity of the program pairLLMs · EquiBenchaccuracy on equivalent pairsHurt
add 4-shot in-context examples (ablation)gpt-4o · EquiBench Overallaccuracy: 65.0 -> 66.5No clear effect
add chain-of-thought prompting (ablation)gpt-4o · EquiBench Overallaccuracy: 65.0 -> 62.5Hurt
add chain-of-thought prompting (ablation)o1-mini · EquiBench Overallaccuracy: 71.5 -> 71.9No clear effect
add chain-of-thought prompting (ablation)DeepSeek-V3 · EquiBench Overallaccuracy: 65.0 -> 63.3Hurt
LoRA fine-tune on 1,200 labeled examplesQwen2.5-14B-Instruct · EquiBench Overallaccuracy: 59.8 -> 63.2Improved
fine-tune with SemCoder execution-trace trainingDeepSeek-Coder-6.7B · EquiBench Overallaccuracy: 49.9 -> 54.9Improved

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

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