CESAR: Automatic Induction of Compositional Instructions for Multi-turn Dialogs

Taha Aksu, Devamanyu Hazarika, Shikib Mehri, Seokhwan Kim, Dilek Hakkani-Tur, Yang Liu, Mahdi Namazifar

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding. However, open-source models frequently struggle with multi-constraint instructions in multi-turn dialogs. While a model might successfully follow a single constraint—such as using a specific keyword or adopting a particular dialog act—it often fails when these requirements are combined. This "compositional gap" is primarily due to a lack of high-quality, multi-turn training data that features complex, layered instructions. Manual annotation for such data is prohibitively expensive and does not scale with the exponential growth of potential task combinations.

The CESAR Framework

To address this data bottleneck, the researchers developed CESAR (Compositional Instruction Induction for Multi-turn Dialogs). CESAR is a programmatic framework designed to automatically generate complex instructions by treating dialog tasks as modular components.

Modular Task Representation

In the CESAR framework, a task is represented by the formula $IC\Lambda \rightarrow \psi$, where:

  • I (Instruction): The high-level objective.
  • C (Context): The conversation history.
  • $\Lambda$ (Grounding/Actions): Specific constraints, such as keywords or persona facts.
  • $\psi$ (Output): The target response.
The CESAR framework composes atomic tasks into complex multi-constraint instructions.

By defining logical composition rules, CESAR can merge "atomic" tasks (single constraints) into "compositional" tasks (multiple constraints) while ensuring the resulting instructions remain logically consistent and feasible.

InstructDial++ Benchmark

The framework was used to expand the existing InstructDial benchmark into InstructDial++. This new dataset includes:

  • 63 datasets and 86 basic tasks.
  • 68 composite tasks generated via CESAR.
  • Approximately 450,000 data points covering diverse areas like emotion classification, summarization, and keyword-controlled generation.

Key Results and Insights

The evaluation of CESAR-FLAN-xxl revealed several critical findings regarding the nature of instruction following in dialog models.

The Compositional Boost

A significant discovery was that training on complex, multi-constraint tasks improved model performance even on simple, atomic tasks. This "compositional boost" suggests that learning to navigate multiple constraints simultaneously encourages the model to develop more robust internal representations of individual task requirements.

Performance comparison between the baseline and the compositional model across different data sizes.

Generalization and Scaling

Models fine-tuned with CESAR demonstrated a strong ability to generalize to unseen task combinations. As shown in the performance metrics, the compositional model consistently outperforms the baseline across various data scales, narrowing the gap between open-source models and proprietary systems like ChatGPT.

Conclusion and Future Work

CESAR provides a scalable solution for training dialog models on complex instructions without manual effort. While the current framework focuses largely on lexical constraints, future work aims to incorporate more abstract semantic intentions and "negative constraints" (specifying what a model should avoid). This modular approach to instruction induction represents a significant step toward more capable and controllable conversational AI.

Summary updated

BibTeX
@inproceedings{aksu2023cesar,
  author = {Taha Aksu and Devamanyu Hazarika and Shikib Mehri and Seokhwan Kim and Dilek Hakkani-Tur and Yang Liu and Mahdi Namazifar},
  title = {{CESAR: Automatic Induction of Compositional Instructions for Multi-turn Dialogs}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.717},
}
Figure