路径锁定专家:通过架构层面分离实现混合思维中的推理模式分离
Path-Lock Expert: Separating Reasoning Mode in Hybrid Thinking via Architecture-Level Separation
AI总结:
本文提出Path-Lock Expert,通过架构层面分离推理与非推理模式,减少推理泄漏,提升非推理模式的准确性和简洁性。
摘要:
混合思维语言模型暴露了显式推理和非推理模式,但现有设计未能清晰分离二者。即使在非推理模式下,模型仍常生成长且自我反思的响应,导致推理泄漏。现有工作通过更好的数据筛选和多阶段训练减少此问题,但泄漏依旧存在,因为两种模式仍编码在同一前馈参数中。我们提出Path-Lock Expert (PLE),通过将解码器每层中的单个MLP替换为两个语义锁定的专家,一个用于推理,一个用于非推理,同时保持注意力、嵌入、归一化和语言模型头部共享。一个确定性的控制令牌路由器选择整个序列中的一个专家路径,因此推理保持密集模型的每token计算模式,且每个专家在监督微调期间接收纯模式更新。在数学和科学推理基准上,PLE保持强推理性能,同时产生显著更强的非推理模式,更准确、更简洁且远少有推理泄漏。例如,在Qwen3-4B上,PLE将AIME24的非推理反思token从2.54降至0.39,非推理准确率从20.67%提升至40.00%,同时保持推理模式性能。这些结果表明,可控的混合思维本质上是架构问题,分离模式特定的前馈路径是简单有效的解决方案。
英文摘要:
Hybrid-thinking language models expose explicit /think and /no_think modes, but current designs do not separate them cleanly. Even in /no_think mode, models often emit long and self-reflective responses, causing reasoning leakage. Existing work reduces this issue through better data curation and multi-stage training, yet leakage remains because both modes are still encoded in the same feed-forward parameters. We propose Path-Lock Expert (PLE), an architecture-level solution that replaces the single MLP in each decoder layer with two semantically locked experts, one for /think and one for /no_think, while keeping attention, embeddings, normalization, and the language-model head shared. A deterministic control-token router selects exactly one expert path for the entire sequence, so inference preserves the dense model's per-token computation pattern and each expert receives mode-pure updates during supervised fine-tuning. Across math and science reasoning benchmarks, PLE maintains strong /think performance while producing a substantially stronger mode separation, a /no_think mode with higher accuracy and far less reasoning leakage. On Qwen3-4B, for example, compared to the SFT-only baseline on AIME24, PLE generates 17x fewer reflective tokens (6.01 vs. 0.35 per answer) and 2x shorter outputs (8665 vs. 4101 tokens), and improves /no_think accuracy from 35.33% to 44.67%, while maintaining /think-mode performance (61.33% vs. 60.00%). These results suggest that controllable hybrid thinking is fundamentally an architectural problem, and separating mode-specific feed-forward pathways is a simple and effective solution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。