paper-with-me

홈 › Papers

Constraint Back-translation Improves Complex Instruction Following of Large Language Models

2024-10-31 · Yunjia Qi, Hao Peng, Xiaozhi Wang, Bin Xu, Lei Hou, Juanzi Li

Large language models (LLMs) struggle to follow instructions with complex constraints in format, length, etc. Following the conventional instruction-tuning practice, previous works conduct post-training on complex instruction-response pairs generated by feeding complex instructions to advanced LLMs. However, even advanced LLMs cannot follow complex instructions well, thus limiting the quality of generated data. In this work, we find that existing datasets inherently contain implicit complex constraints and propose a novel data generation technique, constraint back-translation. Specifically, we take the high-quality instruction-response pairs in existing datasets and only adopt advanced LLMs to add complex constraints already met by the responses to the instructions, which naturally reduces costs and data noise. In the experiments, we adopt Llama3-70B-Instruct to back-translate constraints and create a high-quality complex instruction-response dataset, named CRAB. We present that post-training on CRAB improves multiple backbone LLMs' complex instruction-following ability, evaluated on extensive instruction-following benchmarks. We further find that constraint back-translation also serves as a useful auxiliary training objective in post-training. Our code, data, and models will be released to facilitate future research.

📄 PDF Abstract BibTeX arXiv:2410.24175

Code (1)

thu-keg/crab 공식 구현

Tasks

Instruction FollowingTranslation

Similar Papers 제목 키워드 기반

AIR: Complex Instruction Generation via Automatic Iterative Refinement

2025-02-25 · Wei Liu, Yancheng He, Hui Huang, Chengwei Hu 외

With the development of large language models, their ability to follow simple instructions has significantly improved. However, adhering to complex instructions remains a major challenge. Current approaches to generating…

Divide-Verify-Refine: Aligning LLM Responses with Complex Instructions

2024-10-16 · Xianren Zhang, Xianfeng Tang, Hui Liu, Zongyu Wu 외

Recent studies show that LLMs, particularly open-source models, struggle to follow complex instructions with multiple constraints. Despite the importance, methods to improve LLMs' adherence to such constraints remain une…

ParroT: Translating during Chat using Large Language Models tuned with Human Translation and Feedback

2023-04-05 · Wenxiang Jiao, Jen-tse Huang, Wenxuan Wang, Zhiwei He 외

Large language models (LLMs) like ChatGPT have exhibited remarkable abilities on a wide range of natural language processing~(NLP) tasks, including various machine translation abilities accomplished during chat. However,…

Instruction FollowingMachine TranslationTranslation

Improving Translation Faithfulness of Large Language Models via Augmenting Instructions

2023-08-24 · Yijie Chen, Yijin Liu, Fandong Meng, Yufeng Chen 외

Large Language Models (LLMs) present strong general capabilities, and a current compelling challenge is stimulating their specialized capabilities, such as machine translation, through low-cost instruction tuning. The st…

Instruction FollowingMachine TranslationTranslationWord Alignment

Better Alignment with Instruction Back-and-Forth Translation

2024-08-08 · Thao Nguyen, Jeffrey Li, Sewoong Oh, Ludwig Schmidt 외

We propose a new method, instruction back-and-forth translation, to construct high-quality synthetic data grounded in world knowledge for aligning large language models (LLMs). Given documents from a web corpus, we gener…

DiversityTranslationWorld Knowledge