Chain-of-Instructions: Compositional Instruction Tuning on Large Language Models

Shirley Anugrah Hayati, Taehee Jung, Tristan Bodding-Long, Sudipta Kar, Abhinav Sethy +2 more
2/18/2024
cs.CL

No official code found. Best implementation: amazon-science/chain-of-instructions (1 star, last commit 2025-03-07).

Abstract

Fine-tuning large language models (LLMs) with a collection of large and diverse instructions has improved the model's generalization to different tasks, even for unseen tasks. However, most existing instruction datasets include only single instructions, and they struggle to follow complex instructions composed of multiple subtasks. In this work, we propose a novel concept of compositional instructions called chain-of-instructions (CoI), where the output of one instruction becomes an input for the next like a chain. Unlike the conventional practice of solving single instruction tasks, our proposed method encourages a model to solve each subtask step by step until the final answer is reached. CoI-tuning (i.e., fine-tuning with CoI instructions) improves the model's ability to handle instructions composed of multiple subtasks as well as unseen composite tasks such as multilingual summarization. Overall, our study find that simple CoI tuning of existing instruction data can provide consistent generalization to solve more complex, unseen, and longer chains of instructions.

View on arXivView PDF

Code Implementations(1)

11ShellDec 19, 20241 years ago

Similar Papers

Cite this paper

@article{hayati2024chainofinstructions,
  title  = {Chain-of-Instructions: Compositional Instruction Tuning on Large Language Models},
  author = {Shirley Anugrah Hayati and Taehee Jung and Tristan Bodding-Long and Sudipta Kar and Abhinav Sethy and Joo-Kyung Kim and Dongyeop Kang},
  year   = {2024},
  eprint = {2402.11532},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.11532v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.11532.svg)](https://codeofpaper.com/paper/2402.11532)

Discussion