Research map / Large language models / Agents, code and math
Revisiting the Impact of Pursuing Modularity for Code Generation
Deokyeong Kang, Ki Jung Seo, Taeuk Kim
Hanyang University
Read the paperPlace an idea next to itCheck your own paper ↗
8measured effects
1improved
3no clear effect
4hurt
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 |
|---|---|---|---|
| use GPT-3.5-Turbo-transformed modular demonstrations (TMC) instead of singular code (SC) | Code Llama 7B and DeepSeekCoder 6.7B · APPS average, 2-shot ICL | pass@1: Code Llama 7B 3.32 -> 4.45; DeepSeekCoder 10.74 -> 13.49 | Improved |
| remove modularity manually (TMC -> TSC) (ablation) | Code Llama 7B and DeepSeekCoder 6.7B · APPS average, 2-shot ICL | pass@1: 4.45 -> 4.20; 13.49 -> 12.55 | No clear effect |
| use modular (MC) instead of singular (SC) demonstrations | Code Llama, DeepSeekCoder (APPS) · APPS average, 2-shot ICL | pass@1: 3.32 -> 2.43; 10.74 -> 9.39 | Hurt |
| use modular (MC) instead of singular (SC) demonstrations | Code Llama, DeepSeekCoder, GPT-4o-mini · CodeContests, 2-shot ICL | pass@1: e.g. 7.15 -> 5.3 (DeepSeekCoder 6.7B) | Hurt |
| remove modularity manually (TMC -> TSC) (ablation) | Code Llama 34B, DeepSeekCoder, GPT-4o-mini · CodeContests, 2-shot ICL | pass@1: Code Llama 34B 3.39 -> 5.61; DeepSeekCoder 33B 9.38 -> 8.78 | No clear effect |
| fine-tune on modular code (MC) instead of singular code (SC) | Code Llama 7B and DeepSeekCoder 6.7B · CodeContests, fine-tuned | pass@1: 4.42 -> 3.88; 8.73 -> 6.06 | Hurt |
| use higher-MoS demonstrations | Code Llama 7B and DeepSeekCoder 6.7B · CodeContests, one-shot ICL | pass@1 correlation: Pearson -0.34 and -0.21 | Hurt |
| compare perplexity of modular vs singular code | Code Llama and DeepSeekCoder · CodeContests (about 10,000 problems) | perplexity: e.g. 2.2 vs 2.4 (Code Llama 7B) | No clear effect |
Closest papers by meaning
- CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modules (ICLR 2024 · similarity 0.90)
- Copilot Arena: A Platform for Code LLM Evaluation in the Wild (ICML 2025 · similarity 0.87)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.87)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.87)
- ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environments (ICLR 2025 · similarity 0.86)
- Training Language Models to Generate Quality Code with Program Analysis Feedback (NeurIPS 2025 · similarity 0.86)
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.
