Reproduce “Measuring and Controlling Instruction (In)Stability in Language Model Dialogs” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Kenneth Li, Tianle Liu, Naomi Bashkansky, David Bau, Fernanda Viégas, Hanspeter Pfister, Martin Wattenberg
Researchers from Harvard University and Northeastern University developed a quantitative benchmark to measure 'instruction drift' in large language models over long dialogues, finding that models forget their initial instructions and adopt user instructions, a phenomenon correlated with attention decay to prompt tokens. They introduced Split-softmax, a training-free method that improves instruction stability with a better performance trade-off compared to existing baselines.
Key insights
- LLMs exhibit significant instruction drift over prolonged conversations, not only forgetting their own system prompts but also actively adopting instructions from the simulated user's system prompt.
- Instruction drift is empirically correlated with a measurable 'attention decay,' where the sum of attention weights allocated to initial system prompt tokens sharply decreases across conversation turns.
- Current LLM training paradigms, often focused on single-round interactions, mismatch their deployment in multi-turn dialogues, contributing to instruction instability in long-form settings.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.