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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: He, Qianyu, Zeng, Jie, He, Qianxi, Liang, Jiaqing, Xiao, Yanghua
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909226697228288
author He, Qianyu
Zeng, Jie
He, Qianxi
Liang, Jiaqing
Xiao, Yanghua
author_facet He, Qianyu
Zeng, Jie
He, Qianxi
Liang, Jiaqing
Xiao, Yanghua
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_15846
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle From Complex to Simple: Enhancing Multi-Constraint Complex Instruction Following Ability of Large Language Models
He, Qianyu
Zeng, Jie
He, Qianxi
Liang, Jiaqing
Xiao, Yanghua
Computation and Language
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.
title From Complex to Simple: Enhancing Multi-Constraint Complex Instruction Following Ability of Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2404.15846