Interactive Prompt Debugging with Sequence Salience
Ian Tenney, Ryan Mullins, Bin Du, Shree Pandya, Minsuk Kahng, Lucas, Dixon

TL;DR
Sequence Salience is an interactive visual tool that enhances prompt debugging for large language models by aggregating token salience at various levels, enabling rapid iteration and better understanding of complex prompts.
Contribution
It introduces a system extending input salience methods for long texts, supporting controllable aggregation and rapid prompt refinement for complex LLM prompting strategies.
Findings
Effective debugging of complex prompts demonstrated
Supports long text analysis with controllable aggregation
Facilitates rapid iteration and prompt refinement
Abstract
We present Sequence Salience, a visual tool for interactive prompt debugging with input salience methods. Sequence Salience builds on widely used salience methods for text classification and single-token prediction, and extends this to a system tailored for debugging complex LLM prompts. Our system is well-suited for long texts, and expands on previous work by 1) providing controllable aggregation of token-level salience to the word, sentence, or paragraph level, making salience over long inputs tractable; and 2) supporting rapid iteration where practitioners can act on salience results, refine prompts, and run salience on the new output. We include case studies showing how Sequence Salience can help practitioners work with several complex prompting strategies, including few-shot, chain-of-thought, and constitutional principles. Sequence Salience is built on the Learning…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Software Engineering Research
