Research map / Large language models / Agents, code and math
DCE-LLM: Dead Code Elimination with Large Language Models
Minyu Chen, Guoqiang Li, Ling-I Wu, Ruibang Liu
Shanghai Jiao Tong University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
9improved
1no clear effect
1hurt
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 pivot model filtering before the LLM (ablation) | DCE-LLM · AIDCE unused code | F1 (%): 64.69 -> 94.02 | Improved |
| add pivot model filtering before the LLM (ablation) | DCE-LLM · AIDCE unreachable code | F1 (%): 91.28 -> 96.65 | Improved |
| add the LLM after the pivot model (ablation) | DCE-LLM · AIDCE classification | F1 (%): unused 93.45 -> 94.02; unreachable 96.60 -> 96.65 | No clear effect |
| add supervised fine-tuning on AIDCE data to the LLM (ablation) | DCE-LLM · AIDCE unused code | F1 (%): 64.59 -> 94.02 | Improved |
| add supervised fine-tuning on AIDCE data to the LLM (ablation) | DCE-LLM · AIDCE unreachable code | F1 (%): 66.99 -> 96.65 | Improved |
| add dead code attribution hints (ablation) | DCE-LLM · AIDCE unused code | F1 (%): 90.27 -> 94.02 | Improved |
| add dead code attribution hints (ablation) | DCE-LLM · AIDCE unreachable code | F1 (%): 93.52 -> 96.65 | Improved |
| use DCE-LLM instead of GPT-4o | DCE-LLM · AIDCE unused code | F1 (%): 40.98 -> 94.02 | Improved |
| use DCE-LLM instead of IDEs | DCE-LLM · AIDCE unreachable code | F1 (%): 9.48 -> 96.65 | Improved |
| add 3-shot examples to GPT-4o | GPT-4o · AIDCE unreachable code | F1 (%): 64.00 -> 45.01 | Hurt |
| apply DCE-LLM to unseen language Golang instead of GPT-4o | DCE-LLM · Golang unreachable code | F1 (%): 81.87 -> 90.91 | Improved |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.87)
- Can LLMs Obfuscate Code? A Systematic Analysis of Large Language Models into Assembly Code Obfuscation (AAAI 2025 · similarity 0.86)
- Security Attacks on LLM-based Code Completion Tools (AAAI 2025 · similarity 0.85)
- CodeHalu: Investigating Code Hallucinations in LLMs via Execution-based Verification (AAAI 2025 · similarity 0.85)
- Evaluation of Large Language Models on Code Obfuscation (Student Abstract) (AAAI 2024 · similarity 0.85)
- CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code Completion (NeurIPS 2026 · 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.