Research map / Large language models / Agents, code and math
DSEffi-Bench: Demystifying Large Language Models' Capability in Efficient Data Science Code Generation
Zhihao Gong, Junzhe Yu, Dong Huang, Zeyu Sun, Jie M. Zhang, Dan Hao
Key Lab of HCST · Peking University · PKU Shenzhen Graduate School · National University of Singapore · Chinese Academy of Sciences · King's College London
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 taxonomy-derived library-specific optimization guide (EL w/ Rx) to Effi-Learner (ablation) | DeepSeek-V4-Flash · DSEffi-Bench | B|P: 72.0 -> 77.9 | Improved |
| add taxonomy-derived library-specific optimization guide (EL w/ Rx) to Effi-Learner (ablation) | Kimi-K2.5 · DSEffi-Bench | B|P: 85.5 -> 88.3 | Improved |
| add Effi-Learner profile-guided reprompting (ablation) | DeepSeek-V4-Flash · DSEffi-Bench | B|P: 65.0 -> 72.0 | Improved |
| add Effi-Learner profile-guided reprompting (ablation) | Kimi-K2.5 · DSEffi-Bench | B|P: 73.6 -> 85.5 | Improved |
| add Effi-Learner reprompting (ablation) | DeepSeek-V4-Flash · DSEffi-Bench | Pass: 57.7 -> 57.3 | No clear effect |
| add taxonomy prescription to EL (ablation) | DeepSeek-V4-Flash · DSEffi-Bench | Regression rate: 3.8 -> 6.1 | Hurt |
| route tasks to top-3 library-specific open models (Lib-Routing) instead of single closed model | Lib-Routing · DSEffi-Bench temporal test | B|P: 68.9 -> 74.1 vs Claude-Opus-4.6; 73.0 vs GPT-5.4 | Improved |
| route tasks to library experts vs Best@3 of GPT-5.4 | Lib-Routing · DSEffi-Bench temporal test | B|P: 80.3 -> 74.1 | Hurt |
| use code-specialized open models instead of open general models | Open Coder tier · DSEffi-Bench | B|P: 50.2 vs 64.3 average | Hurt |
| use log-space instead of linear normalization for Beyond (ablation) | Beyond metric · DSEffi-Bench | share of correct solutions scoring above 0.95: 46.6% above 0.95 under linear | Improved |
Open problems this paper states
- “Covers only Python-based data science coding, not R or MATLAB.” → Evaluated on Python or one other language only. (an open problem in execution-based code verification)
- “Source Stack Overflow posts may have been seen by evaluated models in training and may contain AI-generated answers.” → Benchmark problems may already be in the training data of the models. (an open problem in execution-based code verification)
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
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.91)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.90)
- Mercury: A Code Efficiency Benchmark for Code Large Language Models (NeurIPS 2024 · similarity 0.89)
- DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination (ICML 2025 · similarity 0.88)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.87)
- EffiBench: Benchmarking the Efficiency of Automatically Generated Code (NeurIPS 2024 · 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.