arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.11978cs.CLcs.AIcs.LG
收藏

对话动作令牌:通过多轮规划器引导语言模型完成目标导向型对话

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

Harvard University(哈佛大学)

Kenneth Li, Yiming Wang, Fernanda Viégas, Martin Wattenberg

AI总结:

本研究提出Dialogue Action Tokens方法,通过小型规划器输出连续动作向量引导冻结的预训练语言模型进行多轮目标导向对话,既避免语言退化,又在社交模拟基准上超越GPT-4,还拓展了多轮红队攻击的新方向。

摘要:

我们提出了名为Dialogue Action Tokens(DAT,对话动作令牌)的方法,用于调整语言模型智能体以规划目标导向型对话。核心思路是将每轮话语视为一个动作,从而将对话转化为可应用强化学习等现有方法的博弈场景。具体而言,我们冻结预训练语言模型,训练一个小型规划器模型来预测连续动作向量,用于每一轮的受控生成。该设计避免了奖励优化下的语言退化问题。在用于社交模拟的Sotopia平台上评估时,由DAT引导的LLaMA模型性能超越了GPT-4。我们还将DAT应用于在新型多轮红队测试场景中引导攻击者语言模型,揭示了一种潜在的新攻击面。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑