English

Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner

Computation and Language 2024-06-19 v1 Artificial Intelligence Machine Learning

Abstract

We present an approach called Dialogue Action Tokens (DAT) that adapts language model agents to plan goal-directed dialogues. The core idea is to treat each utterance as an action, thereby converting dialogues into games where existing approaches such as reinforcement learning can be applied. Specifically, we freeze a pretrained language model and train a small planner model that predicts a continuous action vector, used for controlled generation in each round. This design avoids the problem of language degradation under reward optimization. When evaluated on the Sotopia platform for social simulations, the DAT-steered LLaMA model surpasses GPT-4's performance. We also apply DAT to steer an attacker language model in a novel multi-turn red-teaming setting, revealing a potential new attack surface.

Keywords

Cite

@article{arxiv.2406.11978,
  title  = {Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner},
  author = {Kenneth Li and Yiming Wang and Fernanda Viégas and Martin Wattenberg},
  journal= {arXiv preprint arXiv:2406.11978},
  year   = {2024}
}

Comments

Code: https://github.com/likenneth/dialogue_action_token