SAGE: Steering Dialog Generation with Future-Aware State-Action Augmentation

Yizhe Zhang, Navdeep Jaitly
3/4/2025
cs.CLcs.AI

Official code: apple/ml-sage-dialog-gen (10 stars, last commit 2025-03-14).

Abstract

Recent advances in large language models have demonstrated impressive capabilities in task-oriented applications, yet building emotionally intelligent chatbots that can engage in natural, strategic conversations remains a challenge. We present a novel approach called SAGE that uses latent variables to control long-horizon behavior in dialogue generation. At the core of our method is the State-Action Chain (SAC), which augments standard language model fine-tuning by introducing latent variables that encapsulate emotional states and conversational strategies between dialogue turns. During inference, these variables are generated before each response, enabling coarse-grained control over dialogue progression while maintaining natural interaction patterns. We also introduce a self-improvement pipeline that leverages dialogue tree search, LLM-based reward modeling, and targeted fine-tuning to optimize conversational trajectories. Our experimental results show that models trained with this approach demonstrate improved performance in emotional intelligence metrics while maintaining strong capabilities on LLM benchmarks. The discrete nature of our latent variables facilitates search-based strategies and provides a foundation for future applications of reinforcement learning to dialogue systems, where learning can occur at the state level rather than the token level. https://github.com/apple/ml-sage-dialog-gen

View on arXivView PDF

Code Implementations(1)

A pipeline for state-augmented dialogue training

101Shell, PythonMar 7, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zhang2025sage,
  title  = {SAGE: Steering Dialog Generation with Future-Aware State-Action Augmentation},
  author = {Yizhe Zhang and Navdeep Jaitly},
  year   = {2025},
  eprint = {2503.03040},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.03040v2}
}

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/2503.03040.svg)](https://codeofpaper.com/paper/2503.03040)

Discussion