scimeatlas

Research map / Large language models / Alignment and preferences

Code-SPA: Style Preference Alignment to Large Language Models for Effective and Robust Code Debugging

Tengfei Wen, Xuanang Chen, Ben He, Le Sun

ACL 2025Large language models › Alignment and preferencesapproach: Steering and correcting LLM behavioropen problems in this approach0 citations (OpenAlex)

Chinese Academy of Sciences · University of Chinese Academy of Sciences

Read the paperPlace an idea next to itCheck your own paper ↗

15measured effects
7improved
1no clear effect
7hurt

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 changedWhereMeasuredEffect
add Code-SPA style alignmentDeepSeek-Coder-6.7B-Instruct debugging · HumanEval+ (NOISE-3)Pass@1: 63.4 -> 72.6 (vs Vanilla)Improved
add Code-SPA style alignmentQwen2.5-7B-Instruct debugging · MBPP+ (NOISE-3)Pass@1: 58.7 -> 68.8Improved
add Code-SPA on noise-free codeDeepSeek-Coder-6.7B-Instruct · MBPP+ ORIGINALPass@1: 63.2 -> 65.3 (vs Self-Debug UT+Expl.)Improved
remove reference code (model generates style itself) (ablation)Code-SPA · MBPP+Pass@1: 68.8 -> 63.2Hurt
remove code style class (ablation)Code-SPA · MBPP+Pass@1: 68.8 -> 66.7Hurt
remove CST-based processing (ablation)Code-SPA · MBPP+Pass@1: 68.8 -> 66.4Hurt
remove alignment of buggy code (ablation)Code-SPA · MBPP+Pass@1: 68.8 -> 63.2Hurt
replace reference-guided alignment with internal alignment (ablation)Code-SPA · MBPP+Pass@1: 68.8 -> 63.2Hurt
use reference code directly as solution (resampling) (ablation)Code-SPA · MBPP+Pass@1: 68.8 -> 67.5Hurt
format code with PEP8 (autopep8) instead of Code-SPADeepSeek-Coder-6.7B-Instruct · MBPP+ (NOISE-3)Pass@1: 61.6 -> 61.6No clear effect
format code with PEP8 (autopep8)Llama 3-8B-Instruct · HumanEval+ (NOISE-3)Pass@1: 57.9 -> 56.7Hurt
add Code-SPA under single noise typesDeepSeek-Coder-6.7B-Instruct · MBPP+ single noisePass@1: e.g. REDSTMTS 59.5 -> 64.8 (vs Self-Debug UT+Expl.)Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in steering and correcting LLM behavior

Do alignment and steering methods keep working across cultures, languages, model sizes and turns, and at what cost?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy