Abstract
We address the ”black-box problem” in LLMs by tracing outputs to the behavior of their internal states in a way that is stable, causal, and trajectory-aware.1 Existing attribution methods (IG, SHAP, attention weights) analyze single forward passes, ignore trajectory multiplicity, lack stability under variation, and lack reverse probabilistic admissibility. We introduce Reverse Markov Chains (RMC), a post-hoc framework that integrates Integrated Gradients (local sensitivity), L3-Shapley values (coalitional causality), and reverse posterior weighting (trajectory plausibility). We show that reverse posterior weighting stabilizes attribution across multiple forward trajectories that yield identical outputs. Theoretical guarantees follow from axiomatic IG sensitivity and L3-Shapley admissibility under an SCM approximation. Hallucination diagnosis is a prime application, and our experiments on LLM diagnostics indicate improved attribution stability and more effective targeted mitigation than IG-only and observational baselines.
Collections
Unless otherwise noted, the license for the item is described as Attribution-NonCommercial-NoDerivates.