CLAILGJun 17, 2024

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

arXiv:2406.11978v113 citations
Originality Highly original
AI Analysis

This work addresses the challenge of controlling language model agents for multi-turn dialogue tasks, offering a method to avoid language degradation and improve performance in social simulations and security testing.

The authors tackled the problem of steering language models in goal-directed dialogues by introducing Dialogue Action Tokens (DAT), which treat utterances as actions to enable planning with reinforcement learning, resulting in a DAT-steered LLaMA model outperforming GPT-4 on the Sotopia platform and revealing new attack surfaces in red-teaming.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes