Explaining Black-Box Language Models: Learning to Optimize Linguistically-Structured Word Subsets
Not on the map. Why?
Abstract (arXiv)
As deep language models (DLMs) are increasingly deployed in high-stakes domains such as healthcare, understanding their decision rationale becomes paramount for ensuring trust, safety, and accountability. However, achieving this vital level of interpretability is particularly challenging when these DLMs operate as black-box systems (e.g., via APIs), where access to internal model states (e.g., parameters, gradients) is restricted. Despite numerous efforts, existing explanation methods often fail to concurrently satisfy three key desiderata: (i) inference-time efficiency, (ii) black-box compatibility without inducing out-of-distribution behavior, and (iii) comprehensible explanations grounded in the input's linguistic structure. To address these challenges, we propose a method that explains predictions of DLMs by selecting a small, informative subset of input words. We formulate this as an amortized optimization problem, enabling efficient one-shot inference without the need for input-specific search. Our selection policy is trained via REINFORCE-style policy gradients, allowing discrete word selection in a fully gradient-free setting. To enhance interpretability and align with human linguistic intuition, we integrate graph-structured knowledge into this selection process, fostering linguistically coherent subsets that result in explanations both highly informative and cognitively meaningful to end-users. We evaluated our method on diverse DLM architectures and multiple real-world datasets. It consistently identifies word subsets with enhanced discriminative power and stronger alignment with linguistically salient cues, outperforming both conventional black-box compatible methods and gradient-based approaches that are given oracle access to the black-box model's gradients for a more challenging benchmark. Our code is available at here.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 35 of its 70 references that are in the map. First posted on arXiv 7 Jun 2026.
Builds on
35 of 70 references.
References · 35
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2013Visualizing and Understanding Convolutional Networkscited by 2,290
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
23 more
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,414
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 737
- 2017Automated Hate Speech Detection and the Problem of Offensive Languagecited by 736
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
- 2016Deep Biaffine Attention for Neural Dependency Parsingcited by 334
- 2018Learning to Explain: An Information-Theoretic Perspective on Model Interpretationcited by 248
- 2016Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layerscited by 199
- 2020LEGAL-BERT: The Muppets straight out of Law Schoolcited by 111
- 2024Are self-explanations from Large Language Models faithful?cited by 101
- 2019CXPlain: Causal Explanations for Model Interpretation under Uncertaintycited by 98
- 2020Gradient Estimation with Stochastic Softmax Trickscited by 67
- 2021Have We Learned to Explain?: How Interpretability Methods Can Learn to Encode Predictions in their Interpretationscited by 59
- 2023Sequential Integrated Gradients: a simple but effective method for explaining language modelscited by 52
- 2021Discretized Integrated Gradients for Explaining Language Modelscited by 46
- 2022Transformer Grammars: Augmenting Transformer Language Models with Syntactic Inductive Biases at Scalecited by 41
- 2021Learning Rich Representation of Keyphrases from Textcited by 36
- 2016A Fast Unified Model for Parsing and Sentence Understandingcited by 34
- 2020Improving BERT with Syntax-aware Local Attentioncited by 26
- 2021Thermostat: A Large Collection of NLP Model Explanations and Analysis Toolscited by 11
- 2021Instance-wise Causal Feature Selection for Model Interpretationcited by 8
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Position: Leverage Foundational Models for Black-Box Optimization
- 2025Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective
- 2025Deep Research: A Systematic Survey
- 2025Interpreting Language Models Through Concept Descriptions: A Survey
- 2025Explainability of Large Language Models: Opportunities and Challenges toward Generating Trustworthy Explanations
- 2023In-Context Explainers: Harnessing LLMs for Explaining Black Box Models
- 2023Language Models as Black-Box Optimizers for Vision-Language Models
- 2025Investigating Advanced Reasoning of Large Language Models via Black-Box Environment Interaction