EMNLP 2026Findings

CoEffi: Enhance Efficient Code Generation via Dynamic Collaborative Decoding

作者: Jiahui Lin, Jingrui Zhang, Zixuan Zhang, Meilin Li, Man Fu, Siyao Yu, Weifeng Sun, Meng Yan

摘要

Code LLMs exhibit remarkable capabilities in automated code generation, but the generated code often suffers from low computational efficiency. Existing solutions have two limitations: (1) direct fine-tuning lacks transferability across model scales; (2) The efficiency optimization method for iterative generation-evaluation loops incurs high overhead. We propose CoEffi, which adopts inference-side intervention that directly operates on the decoding process without modifying base model parameters, enabling real-time efficiency improvement across different model scales while avoiding iterative reevaluation. CoEffi uses a small efficiency expert model for proposal and the base model to evaluate its acceptability, additionally introducing a region-aware dynamic acceptance threshold mechanism that maintains a sliding window to record historical acceptance rates and adjusts the dynamic threshold accordingly. We extensively evaluate CoEffi on four mainstream code LLM families and three efficiency benchmarks. Compared with vanilla instruction-tuned models, CoEffi improves average Beyond@1 by 9.12%–38.62% across the evaluated model families. It also improves Pass@1 on Mercury and ENAMEL, while EffiBench exhibits model-dependent correctness gains and regressions. A family specific trained expert can be reused across compatible base model scales within the same model family.

PDF打开原文
用 AI 找相似论文

可以直接复制这句话问 AI

用 Paperlist 找和「CoEffi: Enhance Efficient Code Generation via Dynamic Collaborative Decoding」相似的论文(id: 241302,EMNLP 2026)
set up https://paperlist.ai/SKILL.md

接入 MCP命令行 CLI