mlsanityData to 14 Oct 2026

In-Context Explainers: Harnessing LLMs for Explaining Black Box Models

arXiv 2310.05797 ↗First posted 9 Oct 2023cs.CL cs.AI cs.LGcited by 9

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Recent advancements in Large Language Models (LLMs) have demonstrated exceptional capabilities in complex tasks like machine translation, commonsense reasoning, and language understanding. One of the primary reasons for the adaptability of LLMs in such diverse tasks is their in-context learning (ICL) capability, which allows them to perform well on new tasks by simply using a few task samples in the prompt. Despite their effectiveness in enhancing the performance of LLMs on diverse language and tabular tasks, these methods have not been thoroughly explored for their potential to generate post hoc explanations. In this work, we carry out one of the first explorations to analyze the effectiveness of LLMs in explaining other complex predictive models using ICL. To this end, we propose a novel framework, In-Context Explainers, comprising of three novel approaches that exploit the ICL capabilities of LLMs to explain the predictions made by other predictive models. We conduct extensive analysis with these approaches on real-world tabular and text datasets and demonstrate that LLMs are capable of explaining other predictive models similar to state-of-the-art post hoc explainers, opening up promising avenues for future research into LLM-based post hoc explanations of complex predictive models.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 20 of its 29 references that are in the map. First posted on arXiv 9 Oct 2023.

Builds on

20 of 29 references.

References · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  4. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  5. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  6. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  7. 2022Emergent Abilities of Large Language Modelscited by 2,512
  8. 2013Visualizing and Understanding Convolutional Networkscited by 2,290
  9. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  10. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
  11. 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
  12. 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
8 more
  1. 2017SmoothGrad: removing noise by adding noisecited by 1,109
  2. 2019Publicly Available Clinical BERT Embeddingscited by 1,002
  3. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  4. 2020Captum: A unified and generic model interpretability library for PyTorchcited by 547
  5. 2022TabLLM: Few-shot Classification of Tabular Data with Large Language Modelscited by 277
  6. 2022The Disagreement Problem in Explainable Machine Learning: A Practitioner's Perspectivecited by 159
  7. 2017Learning to Generate Reviews and Discovering Sentimentcited by 148
  8. 2022OpenXAI: Towards a Transparent Evaluation of Model Explanationscited by 126

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 2; 2025: 2; 2026: 3.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  2. 2023The Mystery of In-Context Learning: A Comprehensive Survey on Interpretation and Analysis
  3. 2024Do Large Language Models Understand Logic or Just Mimick Context?
  4. 2024In-Context Language Learning: Architectures and Algorithms
  5. 2024Efficient LLM Context Distillation
  6. 2026Language Models Struggle to Use Representations Learned In-Context
  7. 2025Explainability of Large Language Models: Opportunities and Challenges toward Generating Trustworthy Explanations
  8. 2025Towards Transparent AI: A Survey on Explainable Large Language Models