ExplainabilityTransparencyTrustworthinesscs.CL
Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysis
Furui Cheng, Vilém Zouhar, Robin Shing Moon Chan, Daniel Fürst, Hendrik Strobelt, Mennatallah El-Assady
April 23, 2024
IEEE Transactions on Visualization and Computer Graphics
19 citations
Key Takeaways
-
Interactive explanation is more effective than static analysis: The research shows that treating explanations as a one-time output is insufficient. Instead, humans should actively participate in exploring why an LLM behaves a certain way through interactive tools, rather than passively receiving pre-generated explanations—a finding validated through user studies with LLM practitioners.
-
Word-level explanations don't match how humans think: Current explainable AI methods that break down LLM decisions word-by-word are both computationally wasteful and misaligned with human reasoning. The paper demonstrates that analyzing behavior at user-defined levels of granularity (such as phrases or concepts) provides more intuitive and meaningful insights.
-
Counterfactual analysis reveals hidden model behaviors: By systematically changing inputs and observing how outputs change, the LLM Analyzer system can uncover what features actually drive model decisions. This "what-if" approach helps practitioners understand whether models are relying on problematic patterns or reasoning appropriately.
-
Visualization tools make model behavior more transparent: Combining concrete examples with attribution scores in a table-based interface makes it easier for non-technical stakeholders to understand and audit LLM decisions, supporting more informed decisions about deployment and use cases.
-
Human involvement is essential for responsible AI: The research emphasizes that ensuring safe and reliable LLM use requires treating humans as active participants in the explanation process, not passive recipients—suggesting that responsible AI governance should prioritize interactive tools and human oversight.