arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.15846cs.CL
收藏

从复杂到简单:增强大语言模型的多约束复杂指令遵循能力

From Complex to Simple: Enhancing Multi-Constraint Complex Instruction Following Ability of Large Language Models

Fudan University(复旦大学);School of Computer Science, Fudan University(复旦大学计算机科学技术学院);School of Data Science, Fudan University(复旦大学数据科学学院);Fudan-Aishu Cognitive Intelligence Joint Research Center(复旦-爱数认知智能联合研究中心)

Qianyu He, Jie Zeng, Qianxi He, Jiaqing Liang, Yanghua Xiao

AI总结:

本研究聚焦大语言模型多约束复杂指令遵循能力不足的问题,探究有效训练数据的特性,提出获取与利用该类数据的方法,经实验验证可提升模型指令遵循能力与多场景泛化性,且训练效率更优。

摘要:

大语言模型(LLM)遵循带有精细要求的指令(即复杂指令遵循)至关重要。然而,如何增强LLM遵循带有多重约束的复杂指令的能力仍未得到充分研究。为填补这一空白,我们首先研究了何种训练数据能有效提升复杂约束遵循能力。我们发现,用包含多重约束的指令训练LLM可增强其对复杂指令的理解,尤其是复杂度较低的指令,这种提升甚至能泛化到域外约束的组合上。此外,我们进一步提出了获取和利用有效训练数据的方法。最后,我们开展了大量实验,从整体性能和训练效率两方面证明了方法的有效性。我们还表明,该方法提升了模型的通用指令遵循能力,能在域外、域内和对抗性设置下有效泛化,同时保持通用能力。

英文摘要:

It is imperative for Large language models (LLMs) to follow instructions with elaborate requirements (i.e. Complex Instructions Following). Yet, it remains under-explored how to enhance the ability of LLMs to follow complex instructions with multiple constraints. To bridge the gap, we initially study what training data is effective in enhancing complex constraints following abilities. We found that training LLMs with instructions containing multiple constraints enhances their understanding of complex instructions, especially those with lower complexity levels. The improvement can even generalize to compositions of out-of-domain constraints. Additionally, we further propose methods addressing how to obtain and utilize the effective training data. Finally, we conduct extensive experiments to prove the effectiveness of our methods in terms of overall performance and training efficiency. We also demonstrate that our methods improve models' ability to follow instructions generally and generalize effectively across out-of-domain, in-domain, and adversarial settings, while maintaining general capabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑