Interactive Prompt Debugging with Sequence Salience
Not on the map. Why?
Abstract (arXiv)
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 Interpretability Tool, an open-source platform for ML model visualizations, and code, notebooks, and tutorials are available at http://goo.gle/sequence-salience.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 30 of its 43 references that are in the map. First posted on arXiv 11 Apr 2024.
Builds on
30 of 43 references.
References · 30
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2017Axiomatic Attribution for Deep Networkscited by 3,350
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,400
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,201
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
18 more
- 2020Captum: A unified and generic model interpretability library for PyTorchcited by 542
- 2021AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Promptscited by 265
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2020The Language Interpretability Tool: Extensible, Interactive Visualizations and Analysis for NLP Modelscited by 125
- 2022Interpreting Language Models with Contrastive Explanationscited by 91
- 2023Inseq: An Interpretability Toolkit for Sequence Generation Modelscited by 78
- 2021Contrastive Explanations for Model Interpretabilitycited by 75
- 2018Seq2Seq-Vis: A Visual Debugging Tool for Sequence-to-Sequence Modelscited by 69
- 2021"Will You Find These Shortcuts?" A Protocol for Evaluating the Faithfulness of Input Salience Methods for Text Classificationcited by 66
- 2019Explanation in Human-AI Systems: A Literature Meta-Review, Synopsis of Key Ideas and Publications, and Bibliography for Explainable AIcited by 63
- 2018What can AI do for me: Evaluating Machine Learning Interpretations in Cooperative Playcited by 52
- 2014Extraction of Salient Sentences from Labelled Documentscited by 50
- 2022What do tokens know about their characters and how do they know it?cited by 36
- 2023ConstitutionMaker: Interactively Critiquing Large Language Models by Converting Feedback into Principlescited by 33
- 2023Using Captum to Explain Generative Language Modelscited by 33
- 2021LMdiff: A Visual Diff Tool to Compare Language Modelscited by 17
- 2024LLMCheckup: Conversational Examination of Large Language Models via Interpretability Tools and Self-Explanationscited by 16
- 2020The Struggles of Feature-Based Explanations: Shapley Values vs. Minimal Sufficient Subsetscited by 14
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 2.
6 papers.
- 2024A Primer on the Inner Workings of Transformer-based Language Modelscited by 83
- 2025TracLLM: A Generic Framework for Attributing Long Context LLMscited by 11
- 2026DiLLS: Interactive Diagnosis of LLM-based Multi-agent Systems via Layered Summary of Agent Behaviorscited by 7
- 2025Revitalizing Black-Box Interpretability: Actionable Interpretability for LLMs via Proxy Modelscited by 2
- 2026Lexara: A User-Centered Toolkit for Evaluating Large Language Models for Conversational Visual Analyticscited by 1
- 2025PromptFlow: Training Prompts Like Neural Networkscited by 0
- 2026Lexara: A User-Centered Toolkit for Evaluating Large Language Models for Conversational Visual Analytics6 Mar 2026
- 2026DiLLS: Interactive Diagnosis of LLM-based Multi-agent Systems via Layered Summary of Agent Behaviors5 Feb 2026
- 2025PromptFlow: Training Prompts Like Neural Networks14 Oct 2025
- 2025TracLLM: A Generic Framework for Attributing Long Context LLMs4 Jun 2025
- 2025Revitalizing Black-Box Interpretability: Actionable Interpretability for LLMs via Proxy Models18 May 2025
- 2024A Primer on the Inner Workings of Transformer-based Language Models30 Apr 2024
Similar, not cited
Close in wording, no citation either way
- 2026Prompt-Driven Code Summarization: A Systematic Literature Review
- 2025The Future of MLLM Prompting is Adaptive: A Comprehensive Experimental Evaluation of Prompt Engineering Methods for Robust Multimodal Performance
- 2023Analyzing Chain-of-Thought Prompting in Large Language Models via Gradient-based Feature Attributions
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applications
- 2024POEM: Interactive Prompt Optimization for Enhancing Multimodal Reasoning of Large Language Models
- 2025Empirical Prompt Engineering for Construct Identification with Large Language Models
- 2026Evaluating Prompting and Execution-Based Methods for Deterministic Computation in LLMs
- 2025Improving Complex Reasoning with Dynamic Prompt Corruption: A soft prompt Optimization Approach