Introduction
Large Language Models (LLMs) have demonstrated remarkable capabilities in following human instructions. However, most existing instruction-tuning datasets, such as Alpaca or ShareGPT, primarily feature "one-and-done" interactions—a single query followed by a single response. This paradigm fails to prepare models for the complexity of real-world applications where users often provide multi-step instructions (e.g., "Summarize this article, then translate it, then list key entities").
Research indicates that even advanced models like Llama-3 and Mistral frequently struggle with these "task chains," often ignoring intermediate steps or providing degraded final answers. To address this gap, this research introduces Sequential Instruction Tuning (SIT), a method designed to enhance an LLM's ability to follow nested, multi-step commands by transforming single-task data into complex sequential instructions.
Methodology: Sequential Instruction Tuning (SIT)
SIT moves beyond single-step prompts by training models on sequences of interrelated tasks. The authors explore two primary implementation strategies:
Manual SIT
This approach involves task-specific decomposition performed by humans. For instance, in multilingual QA, a translation step is prepended ("First translate the input into English, then answer"). In multimodal contexts, a captioning step is added ("First describe the image, then answer the question").
Automatic SIT (Seq-Instruct)
The core innovation is an iterative pipeline that utilizes a "teacher" LLM (e.g., Llama-3-70B) to automatically augment existing datasets. For any given instruction, the teacher model selects one of four actions to create a "task chain":
- Decompose: Splitting a complex task into simpler constituent steps.
- Prefix: Adding a necessary preceding task (e.g., "Carefully read the details...").
- Suffix: Adding a follow-up task (e.g., "...and explain the consequences").
- Hold: Keeping the instruction unchanged to maintain data balance.
By applying these operations iteratively, simple datasets are transformed into diverse sequences where the model must produce intermediate outputs before reaching the final goal.
Evaluation and Benchmarking
To measure the effectiveness of SIT, the authors utilized standard benchmarks (MMLU, GSM8K, HumanEval, XQuAD) and introduced a new metric: SeqEval. SeqEval is specifically designed to measure a model's "following rate"—the percentage of instances where it successfully completes every task in a multi-step sequence.
Key Results and Insights
The implementation of SIT yielded significant improvements across multiple domains:
- Instruction Following: On the XQuAD benchmark, the following rate for Mistral-7B increased from 15.9% to 57.7%. Llama-3-8B saw an even more dramatic rise from 5.4% to 75.7%.
- Reasoning and Coding: SIT acts as a form of supervised Chain-of-Thought. By forcing models to process inputs sequentially, performance on technical tasks improved. For example, Alpaca-SIT achieved 34.5% on GSM8K, nearly doubling the 17.7% score of standard Alpaca-IT.
- Structural Capability: The "Dummy Task" experiment revealed that even training a model to perform a simple repetition task before answering improved its reasoning. This suggests that sequentiality is a structural skill that can be learned independently of specific domain knowledge.
As shown in the figures above, SIT models (Alpaca-SIT) maintain high response quality while significantly outperforming other instruction-tuned models in following rate as the number of tasks in a sequence increases.
Limitations and Future Directions
While SIT offers substantial benefits, it introduces higher inference costs due to longer, multi-step outputs. Additionally, the quality of the "task chains" depends on the teacher model's coherence; nonsensical intermediate steps could lead to suboptimal student behavior. Future research may focus on extending SIT to longer sequences or integrating it with Reinforcement Learning from Human Feedback (RLHF) to further refine adherence to complex constraints.
Summary updated