Research map / Large language models / Language, safety and interpretability
IntentCoding: Amplifying User Intent in Code Generation
Zheng Fang, Yihong Dong, Lili Mou, Dongming Jin, Zhi Jin, Ge Li
Peking University · University of Alberta · Canada CIFAR AI Chair
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.
On benchmark leaderboards
- HumanEval leaderboard pass@1 65.2 · rank 135 of 261 papers
- LiveCodeBench leaderboard pass@1 28.5 · rank 36 of 44 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| amplify user intent via intent-masked contrast with multi-strength ensemble (vs greedy) | CodeLlama-7B · CodeConstraints (Level 4) | accuracy: 31.0 -> 53.0 | Improved |
| amplify user intent (vs greedy) | DeepSeek-Coder-6.7B · IFEvalCode | instruction accuracy: 17.1 -> 28.6 | Improved |
| amplify user intent (vs greedy) | Qwen2.5-Coder-7B · HumanEval | pass@1: 60.4 -> 65.2 | Improved |
| use IntentCoding instead of tuned Selective Prompt Anchoring | Qwen2.5-Coder-7B · CodeConstraints (Level 4) | accuracy: 69.0 (SPA) vs 65.0 | Hurt |
| use IntentCoding instead of tuned SPA | CodeLlama-7B, DeepSeek-Coder-6.7B · HumanEval, LiveCodeBench | pass@1: CodeLlama 37.2 -> 40.2; DeepSeek 15.6 -> 17.8 (SPA -> IntentCoding) | Improved |
| use IntentCoding with beam search instead of standard beam search | Qwen2.5-Coder-7B · HumanEval | pass@1: 70.1 (beam) vs 65.2 | Hurt |
| beam size one (intent-amplified greedy) (ablation) | Qwen2.5-Coder-7B · CodeConstraints | accuracy: 46% -> 63% | Improved |
| increase beam size in standard beam search (ablation) | baseline beam search · CodeConstraints | accuracy: modest or degraded | No clear effect |
| replace fixed alpha with the ensemble of alpha values (ablation) | IntentCoding · CodeConstraints | accuracy | Improved |
| apply IntentCoding to instruction-tuned models | CodeLlama-IT / DeepSeek-Coder-IT / Qwen2.5-Coder-IT · CodeConstraints | accuracy: 31.0 -> 53.0; 52.0 -> 69.0; 56.0 -> 63.0 | Improved |
| apply IntentCoding to DeepSeek-Coder-33B | DeepSeek-Coder 33B · CodeConstraints | accuracy: 40.0 -> 41.0 | No clear effect |
| apply IntentCoding to Qwen2.5-Coder-3B | Qwen2.5-Coder 3B · CodeConstraints | accuracy: 19.0 -> 34.0 | Improved |
Open problems this paper states
- “Needs token-level logits at decoding, so it is hard to deploy on closed-source APIs and experiments focus on open-source LLMs.” → The method needs logits or internal states, so closed-source APIs are out. (an open problem in parallel and early-exit decoding)
Open problems in parallel and early-exit decoding
Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?
- Tested on one or two model families, mostly 7B or 13B and smaller. · 12 papers state it
- Speedups are measured at batch size one, and batching is left unstudied. · 9 papers state it
- Thresholds and mixing weights are tuned per model and task. · 8 papers state it
Closest papers by meaning
- From Discrimination to Generation: Low-Resource Intent Detection with Language Model Instruction Tuning (ACL 2024 · similarity 0.88)
- Selective Prompt Anchoring for Code Generation (ICML 2025 · similarity 0.87)
- SelfCodeAlign: Self-Alignment for Code Generation (NeurIPS 2024 · similarity 0.86)
- ChatGPT-Generated Code Assignment Detection Using Perplexity of Large Language Models (Student Abstract) (AAAI 2024 · similarity 0.86)
- Copilot Arena: A Platform for Code LLM Evaluation in the Wild (ICML 2025 · similarity 0.85)
- AlchemistCoder: Harmonizing and Eliciting Code Capability by Hindsight Tuning on Multi-source Data (NeurIPS 2024 · 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.