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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Li, Kenneth, Wang, Yiming, Viégas, Fernanda, Wattenberg, Martin
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914837709193216
author Li, Kenneth
Wang, Yiming
Viégas, Fernanda
Wattenberg, Martin
author_facet Li, Kenneth
Wang, Yiming
Viégas, Fernanda
Wattenberg, Martin
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11978
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner
Li, Kenneth
Wang, Yiming
Viégas, Fernanda
Wattenberg, Martin
Computation and Language
Artificial Intelligence
Machine Learning
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.
title Dialogue Action Tokens: Steering Language Models in Goal-Directed Dialogue with a Multi-Turn Planner
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2406.11978