Preference learning extends the performance of Code LLMs beyond traditional supervised fine-tuning by leveraging relative quality comparisons. In existing approaches, a set of n candidate solutions is evaluated based on test case success rates, with the candidate demonstrating a higher pass rate being labeled as positive and its counterpart with a lower pass rate as negative. However, because this approach aligns entire failing code blocks rather than pinpointing specific errors, it lacks the granularity necessary to capture meaningful error-correction relationships. As a result, the model is unable to learn more informative error-correction patterns. To address these issues, we propose Target-DPO, a new preference alignment framework that mimics human iterative debugging to refine Code LLMs. Target-DPO explicitly locates error regions and aligns the corresponding tokens via a tailored DPO algorithm. To facilitate it, we introduce the CodeFlow dataset, where samples are iteratively refined until passing tests, with modifications capturing error corrections. Extensive experiments show that a diverse suite of Code LLMs equipped with Target-DPO achieves significant performance gains in code generation and improves on challenging tasks like BigCodeBench. In-depth analysis reveals that Target-DPO yields fewer errors. Code, model and datasets are in: https://github.com/JieWu02/Target-DPO.
FocalPO: Enhancing Preference Optimizing by Focusing on Correct Preference Rankings
LMU Munich(慕尼黑大学);Columbia University(哥伦比亚大学);University of Southern California(南加州大学);University of Oxford(牛津大学);Munich Center for Machine Learning(慕尼黑机器学习中心)
针对 DPO 难以纠正错误排序偏好对的问题,本文提出 FocalPO,通过 Focal Loss 式调制因子动态降权错误样本、强化正确样本,并在多个基准和模型上优于 DPO 变体。
From Blind Guess to Informed Judgment: Teaching LLMs to Evaluate Materials by Building Knowledge-Augmented Preference Signals
School of Computer Engineering & Science, Shanghai University(上海大学计算机工程与科学学院);Center of Materials Informatics and Data Science, Materials Genome Institute, Shanghai University(上海大学材料信息与数据科学中心);Key Laboratory of Silicate Cultural Relics Conservation (Shanghai University), Ministry of Education, China(教育部硅酸盐文化 relics 保护重点实验室(上海大学));Shanghai Institute for Advanced Communication and Data Science, Shanghai University(上海大学高级通信与数据科学研究院)
A Prompt-Engineering Approach to Develop Scalable, Flexible, and Real-Time Hybrid Micro-Level Personalization in a General Purpose AI Teaching Assistant
Bayesian Teaching Enables Probabilistic Reasoning in Large Language Models
MIT(麻省理工学院);Meta;Google(谷歌公司);DeepMind University of British Columbia(不列颠哥伦比亚大学深度思维学院);Vector Institute(向量研究所);New York University(纽约大学);Google Research(谷歌研究)
FlipGuard: Defending Preference Alignment against Update Regression with Constrained Optimization
University of Science and Technology of China(中国科学技术大学);State Key Laboratory of Communication Content Cognition(通信内容认知国家重点实验室);Beijing University of Posts and Telecommunications(北京邮电大学)
ExpandR: Teaching Dense Retrievers Beyond Queries with LLM Guidance
Department of Computer Science and Technology, Northeastern University, China(东北大学计算机科学与技术系);Department of Computer Science and Technology, Institute for AI, Tsinghua University, China(清华大学人工智能研究院计算机科学与技术系);Beijing National Research Center for Information Science and Technology, China(北京信息科学与技术国家研究中心)
Acting Less is Reasoning More! Teaching Model to Act Efficiently
The Chinese University of Hong Kong(香港中文大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴娜-香槟分校);Princeton University(普林斯顿大学);Sun Yat-sen University(中山大学);Hong Kong University of Science and Technology(香港科学理工大学)
CAST: Non-Privileged Clipped Asymmetric Self-Teaching with Advantage Flipping for GRPO
School of Software and Microelectronics, Peking University, Beijing(北京大学软件与微电子学院);School of Artificial Intelligence, Peking University, Beijing(北京大学人工智能学院);School of Computer Science, Peking University, Beijing(北京大学计算机科学学院);School of Future Technology, Peking University, Beijing(北京大学未来技术学院)
MIND: From Passive Mimicry to Active Reasoning through Capability-Aware Multi-Perspective CoT Distillation
State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, National Engineering Research Center for Visual Information and Applications, and Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人机混合增强智能国家重点实验室、视觉信息与应用国家工程研究中心、人工智能与机器人研究所);Nankai University(南开大学);The Hong Kong University of Science and Technology(Guangzhou)(香港科技大学(广州));School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件学院)