Research map / Large language models / Reasoning and chain of thought
DuET: Dual Execution for Test Output Prediction with Generated Code and Pseudocode
Hojae Han, Jaejin Kim, Seung-won Hwang, Yu Jin Kim, Moontae Lee
Electronics and Telecommunications Research Institute · Seoul National University · LG AI Research
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add LLM-based pseudocode execution to direct code execution (dual execution) | TestChain + FMV (GPT-4-Turbo) · LiveCodeBench test output prediction | Pass@1: 75.45248869 -> 81.07088989 | Improved |
| add direct code execution to LLM-based pseudocode execution (ablation) | LLM-based pseudocode execution (Llama-3.1-8B-Instruct) · LiveCodeBench Jan-Apr 2024 | Pass@1: 34.38596491 -> 53.28947368 | Improved |
| add direct code execution to LLM-based pseudocode execution (ablation) | LLM-based pseudocode execution (Mistral-Large) · LiveCodeBench Jan-Apr 2024 | Pass@1: 46.31578947 -> 67.10526316 | Improved |
| use TestChain instead of no grounding | Mistral-Large · LiveCodeBench Jan-Apr 2024 | Pass@1: 59.21052632 -> 55.70175439 | Hurt |
| add pseudocode grounding with direct code execution in place of code-only LLM execution (ablation) | dual execution (GPT-4-Turbo) · LiveCodeBench test output prediction | Pass@1: 77.37556561085974 -> 80.76923076923077 | Improved |
| use direct instead of LLM-based execution for code grounding (ablation) | code grounding (GPT-4-Turbo) · LiveCodeBench test output prediction | Pass@1: 72.24736048265461 -> 75.4524886877828 | Improved |
| use pseudocode instead of code for LLM-based execution (ablation) | LLM-based execution (GPT-4-Turbo) · LiveCodeBench test output prediction | Pass@1: 72.24736048265461 -> 74.05731523378581 | Improved |
| filter candidates with TestChain predicted outputs instead of CodeT | Llama-3.1-8B-Instruct · LiveCodeBench-Easy | Pass@1: 54.2 -> 48.6 | Hurt |
| use DuET for candidate filtering instead of CodeT | Llama-3.1-8B-Instruct · LiveCodeBench-Easy | Pass@1: 54.2 -> 57.4 | Improved |
| add path-weighted functional majority voting boost | DuET · LiveCodeBench | Pass@1 | Improved |
| use DuET for filtering instead of no filtering | QwQ-32B · BigCodeBench-Hard | Pass@1: 24.04 -> 25.34 | Improved |
| use CodeT for filtering instead of no filtering | QwQ-32B · BigCodeBench-Hard | Pass@1: 24.04 -> 22.61 | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- CodeT — CodeT: Code Generation with Generated Tests (ICLR 2023) · better on 2 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in test-time compute scaling
When does spending more compute at inference pay off, and how should it be spent?
- The gain depends on a verifier that is itself unreliable. · 36 papers state it
- Tested on math and code with checkable answers. · 28 papers state it
- Search and voting act on final answers, not steps. · 10 papers state it
Closest papers by meaning
- LeDex: Training LLMs to Better Self-Debug and Explain Code (NeurIPS 2024 · similarity 0.87)
- Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling (NeurIPS 2026 · similarity 0.86)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.85)
- Rethinking Verification for LLM Code Generation: From Generation to Testing (NeurIPS 2025 · similarity 0.85)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.85)
- TestGenEval: A Real World Unit Test Generation and Test Completion Benchmark (ICLR 2025 · similarity 0.85)
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.