基于最小编辑的LLM推理指令遵循训练框架
Training LLMs to Follow Reasoning Instructions with Minimal Edits
研究提出edit-based training框架,通过编辑器定位模型采样轨迹中首个失败点并给出最小替换片段,仅对这些编辑片段进行监督。在ReasonIF基准上用Qwen3-32B实例化,相比全轨迹模仿和轨迹级强化学习基线,该方法显著提升推理指令遵循度,同时基本保留模型在非目标任务上的能力。
arXiv:2611.26342v1 Announce Type: new Abstract: Large language models increasingly rely on extended reasoning traces, yet the training signals used to shape this behavior remain coarse. Supervised fine-tuning on full trajectories forces the model to imitate an entire demonstration, overconstraining its output distribution, while trajectory-level reinforcement learning provides only weak credit assignment, rewarding or penalizing whole completions without identifying where they succeed or fail. We propose edit-based training, a general framework for learning from a model's own trajectories via localized textual corrections. Given a sampled completion, an editor identifies the first point of failure under a specified criterion and proposes a minimal replacement span. The model is then supervised only on these edited spans. By design, this concentrates supervision where the model's reasoning first breaks down and aims to preserve its existing reasoning patterns elsewhere. The method applies both offline and online, with the latter continually adapting supervision to the model's evolving failure modes. We instantiate this approach on reasoning instruction following with Qwen3-32B on the ReasonIF benchmark. Compared to full-trajectory imitation and trajectory-level reinforcement learning baselines, edit-based training substantially improves compliance with the reasoning instruction while largely preserving the model's skills on untargeted tasks. These results suggest that localized correction is an effective complement to these approaches for shaping how LLMs reason.
来源:arXiv (AI + Vision + Imaging) · arxiv.org