vix.ing · top · new · best · stats

Measuring and Controlling Instruction (In)Stability in Language Model Dialogs

2024/02/13 by Kenneth Li, Tianle Liu, Li, Kenneth +12 · 1 voice · 25 citations
Computer Science · #Computer science #Human–computer interaction #Linguistics #Natural language processing #Persona #Persona Design and Applications #Philosophy

paper · pdf · doi:10.48550/arxiv.2402.10962

published in arXiv (Cornell University) (Cornell University)

openalex publication_date 2024/02/13 · openalex created_date 2024/02/21 · openalex updated_date 2026/07/28

Abstract

System-prompting is a standard tool for customizing language-model chatbots, enabling them to follow a specific instruction. An implicit assumption in the use of system prompts is that they will be stable, so the chatbot will continue to generate text according to the stipulated instructions for the duration of a conversation. We propose a quantitative benchmark to test this assumption, evaluating instruction stability via self-chats between two instructed chatbots. Testing popular models like LLaMA2-chat-70B and GPT-3.5, we reveal a significant instruction drift within eight rounds of conversations. An empirical and theoretical analysis of this phenomenon suggests the transformer attention mechanism plays a role, due to attention decay over long exchanges. To combat attention decay and instruction drift, we propose a lightweight method called split-softmax, which compares favorably against two strong baselines.

Cited by

Discussions

Related