arXiv:2505.11922cs.CL2025-05被引 2

通过并行处理子指令提升大模型复杂指令理解能力

Enhancing Complex Instruction Following for Large Language Models with Mixture-of-Contexts Fine-tuning

  • 将复杂指令拆解为多个并行子指令,增强上下文理解
  • 在多个数据集上验证,显著提升复杂指令遵循准确率
  • 适合需要精准执行多条件任务的AI应用开发者

大型语言模型在自然语言任务中表现出色,但在处理包含多重约束的复杂指令时仍存在困难。现有方法主要依赖数据驱动生成复杂指令-输出对进行监督微调(SFT),但对关键子上下文的关注不足,影响微调效果。本文提出将顺序结构的输入指令转换为包含多个子上下文的并行指令形式,并设计MISO(Multi-Input Single-Output)架构,作为当前主流解码器仅有的Transformer模型的扩展。MISO引入混合上下文范式,同时考虑整体指令-输出对齐与各子上下文的影响,以提升SFT有效性。我们在复杂指令遵循数据集上应用MISO微调,并通过标准LLM推理评估。实验结果表明,MISO在复杂指令遵循场景中表现更优,且具备训练效率潜力。

原文摘要 · Abstract (English)

Large language models (LLMs) exhibit remarkable capabilities in handling natural language tasks; however, they may struggle to consistently follow complex instructions including those involve multiple constraints. Post-training LLMs using supervised fine-tuning (SFT) is a standard approach to improve their ability to follow instructions. In addressing complex instruction following, existing efforts primarily focus on data-driven methods that synthesize complex instruction-output pairs for SFT. However, insufficient attention allocated to crucial sub-contexts may reduce the effectiveness of SFT. In this work, we propose transforming sequentially structured input instruction into multiple parallel instructions containing subcontexts. To support processing this multi-input, we propose MISO (Multi-Input Single-Output), an extension to currently dominant decoder-only transformer-based LLMs. MISO introduces a mixture-of-contexts paradigm that jointly considers the overall instruction-output alignment and the influence of individual sub-contexts to enhance SFT effectiveness. We apply MISO fine-tuning to complex instructionfollowing datasets and evaluate it with standard LLM inference. Empirical results demonstrate the superiority of MISO as a fine-tuning method for LLMs, both in terms of effectiveness in complex instruction-following scenarios and its potential for training efficiency.

指令遵循微调方法大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。