Instruct Once, Chat Consistently in Multiple Rounds: An Efficient Tuning Framework for Dialogue

Jian Wang, Chak Tou Leong, Jiashuo Wang, Dongding Lin, Wenjie Li, Xiao-Yong Wei · DOI

Abstract

Maintaining persona consistency and goal-adherence in multi-turn dialogues remains a significant challenge for Large Language Models (LLMs). Traditional fine-tuning methods often treat dialogue history as a monolithic block, failing to account for the distinct roles and objectives of the user and the agent. This paper presents MIDI-Tuning (Multi-round Interactive Dialogue Tuning), a novel framework that models the agent and user as separate entities. By utilizing dual Low-Rank Adaptation (LoRA) adapters and a round-level memory caching mechanism, MIDI-Tuning significantly mitigates "chat drift" and improves dialogue consistency across extended interactions.

1. Introduction

When Large Language Models are fine-tuned for conversational tasks, the standard approach typically involves treating the dialogue as a single sequence of text or a series of independent samples. However, this "flat" modeling ignores the inherent role disparities between participants. In real-world scenarios, a dialogue is an interactive process between two distinct entities—such as a salesperson and a customer—each possessing unique knowledge, speaking styles, and objectives.

Existing tuning methods often suffer from "chat drift," where the agent loses its assigned persona or fails to pursue long-term goals as the conversation progresses. MIDI-Tuning addresses this by explicitly modeling the interactive nature of dialogue, ensuring the agent remains anchored to its role throughout multiple rounds of conversation.

2. Methodology

MIDI-Tuning departs from conventional fine-tuning through three primary technical innovations designed to preserve role integrity and computational efficiency.

2.1 User-Agent Separate Modeling

Rather than using a single set of weights for the entire conversation, MIDI-Tuning employs two distinct LoRA (Low-Rank Adaptation) adapters built upon a shared, frozen backbone LLM. One adapter is dedicated to learning the agent’s specific role and objectives, while the second models the user’s behavior. This separation allows the model to develop sharper, role-specific distributions, preventing the agent's persona from being diluted by the user's input.

2.2 Round-level Memory Caching

To handle multi-turn dependencies efficiently, the framework implements a round-level caching mechanism for Key (K) and Value (V) matrices. Instead of re-processing the entire dialogue history at every turn, the model reuses the KV states from previous rounds. This approach mimics human-like memory, allowing the model to maintain context across the "thread" of the conversation without the redundant computation required by standard causal masking in long sequences.

2.3 Context Value Protection

To ensure the agent remains the primary focus of the tuning process, the authors utilize a strategy where only the agent’s value projection ($W_v$) is trained, while the user’s remains fixed. This "Context Value Protection" helps the agent exploit the conversational context within a consistent latent space, further stabilizing the agent's performance over time.

3. Experimental Setup

The framework was evaluated on two challenging benchmarks requiring high degrees of consistency and proactivity:

  • LIGHT: A character-based fantasy role-playing dataset where agents must maintain specific personas (e.g., a wizard or a peasant) while interacting in diverse settings.
  • TOPDIAL: A target-oriented proactive dialogue dataset where the agent must subtly steer the conversation toward a specific goal, such as recommending a particular movie, over multiple rounds.

Experiments were conducted across several 7B-class models, including LLaMA, Mistral, Vicuna, and LLaMA 2-Chat.

4. Results and Analysis

MIDI-Tuning consistently outperformed standard fine-tuning (FT) across all tested models and metrics.

4.1 Consistency and Stability

On the LIGHT dataset, MIDI-Tuning improved the "Consistency Probability" (as measured by a BERT-based classifier) by up to 27.6% for LLaMA-7B. Notably, while standard fine-tuning performance often degrades as dialogue rounds increase, MIDI-Tuning remained remarkably stable, maintaining persona integrity even into the 7th and 8th rounds of interaction.

4.2 Human and GPT-4 Evaluation

When using GPT-4 as an automated judge, MIDI-Tuning achieved scores 12.7% to 13.6% higher than traditional methods in terms of dialogue consistency. These results were mirrored in interactive human evaluations, where MIDI-Tuning achieved a 56.2% win rate over traditional fine-tuning for LLaMA.

4.3 Goal Success in Proactive Dialogue

In the TOPDIAL benchmark, the framework demonstrated superior proactivity. It achieved a target success rate of up to 76.07% for Vicuna-7B, successfully guiding conversations toward intended goals while maintaining higher coherence than the baseline.

5. Limitations and Future Work

While effective, MIDI-Tuning introduces certain trade-offs. The requirement to pad dialogue rounds for batched tuning can lead to increased GPU memory consumption as conversations lengthen. Additionally, the current framework does not support parallel loss computation across different rounds, impacting compute efficiency compared to standard methods. Future research will focus on extending this dual-adapter approach to encoder-decoder architectures and scaling the framework to larger models (13B to 70B+ parameters).

6. Conclusion

MIDI-Tuning provides a robust framework for improving multi-turn dialogue by treating the agent and user as distinct participants. By separating role modeling and utilizing efficient memory caching, the framework effectively solves the identity crisis common in long-form AI interactions, paving the way for more consistent and goal-oriented conversational agents.

Summary updated

BibTeX
@inproceedings{wang2024instruct,
  author = {Jian Wang and Chak Tou Leong and Jiashuo Wang and Dongding Lin and Wenjie Li and Xiao-Yong Wei},
  title = {{Instruct Once, Chat Consistently in Multiple Rounds: An Efficient Tuning Framework for Dialogue}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.219},
}
Figure