Research map / Large language models / Agents, code and math
LLMs are Brittle to Simple Code Transformations: Introducing CETBench – A Benchmark for Code-Equivalence Checking
Neeva Oza, Ishaan Govil, Parul Gupta, Dinesh Khandelwal, Dinesh Garg, Parag Singla
Indian Institute of Technology Delhi · IBM
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 · CETBench perturbed · average accuracy: 56.6 -> 62.1 Improved
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 |
|---|---|---|---|
| apply random code perturbations to the pair | Qwen2.5-Coder-7B-Instruct · CETBench | average accuracy: 80.6 -> 69.2 | Hurt |
| apply random code perturbations to the pair | Mistral-7B-Instruct-v0.3 · CETBench | average accuracy: 76.3 -> 56.6 | Hurt |
| apply random code perturbations to the pair | Deepseek-coder-6.7b-instruct · CETBench | average accuracy: 50.6 -> 23.6 | Hurt |
| apply random code perturbations to the pair | GPT-4o · CETBench | average accuracy: 84.9 -> 86.4 | No clear effect |
| apply perturbations to identical code pairs (id, semantic-non-preserving) | Qwen2.5-Coder-7B-Instruct · CETBench id/np | accuracy: 100.0 -> 30.5 | Hurt |
| add chain-of-thought prompting (ablation) | Mistral-7B-Instruct-v0.3 · CETBench perturbed | average accuracy: 56.6 -> 62.1 | Improved |
| add chain-of-thought prompting (ablation) | Deepseek-coder-6.7b-instruct · CETBench perturbed | average accuracy: 23.6 -> 56.3 | Improved |
| add chain-of-thought prompting (ablation) | GPT-4o · CETBench perturbed | average accuracy: 86.4 -> 78.3 | Hurt |
| exclude variable-renaming perturbation from the test set (ablation) | GPT-4o · CETBench perturbed | average accuracy: 86.4 -> 84.7 | Hurt |
| fine-tune on 50:50 clean and perturbed pairs | Qwen2.5-Coder-7B-Instruct · CETBench perturbed | average accuracy: 69.2 -> 84.2 | Improved |
| fine-tune on 50:50 clean and perturbed pairs | Deepseek-coder-6.7b-instruct · CETBench perturbed | average accuracy: 23.6 -> 84.8 | Improved |
| compare cross-lingual Java-Python pairs with monolingual | Qwen2.5-Coder-7B-Instruct · unperturbed pairs | average accuracy: 80.6 -> 73.7 | Hurt |
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
- Verified Code Transpilation with LLMs (NeurIPS 2024 · similarity 0.89)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.89)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.88)
- Lemur: Integrating Large Language Models in Automated Program Verification (ICLR 2024 · similarity 0.87)
- Evaluating Program Semantics Reasoning with Type Inference in System F (NeurIPS 2025 · similarity 0.87)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.87)
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.