Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective

Yunxiao Zhao, Hao Xu, Zhiqiang Wang, Xiaoli Li, Jiye Liang +1 more
8/23/2025
cs.CLcs.AIcs.DB

No official code found. Best implementation: yunxiaomr/KnowProb (1 star, last commit 2025-12-04).

Abstract

Pre-trained Language Models (PLMs) are trained on large amounts of unlabeled data, yet they exhibit remarkable reasoning skills. However, the trustworthiness challenges posed by these black-box models have become increasingly evident in recent years. To alleviate this problem, this paper proposes a novel Knowledge-guided Probing approach called KnowProb in a post-hoc explanation way, which aims to probe whether black-box PLMs understand implicit knowledge beyond the given text, rather than focusing only on the surface level content of the text. We provide six potential explanations derived from the underlying content of the given text, including three knowledge-based understanding and three association-based reasoning. In experiments, we validate that current small-scale (or large-scale) PLMs only learn a single distribution of representation, and still face significant challenges in capturing the hidden knowledge behind a given text. Furthermore, we demonstrate that our proposed approach is effective for identifying the limitations of existing black-box models from multiple probing perspectives, which facilitates researchers to promote the study of detecting black-box models in an explainable way.

View on arXivView PDF

Code Implementations(1)

yunxiaomr/KnowProbCommunity59%

DASFAA2025: Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective

10Jan 25, 202510 months ago

Similar Papers

Cite this paper

@article{zhao2025explaining,
  title  = {Explaining Black-box Language Models with Knowledge Probing Systems: A Post-hoc Explanation Perspective},
  author = {Yunxiao Zhao and Hao Xu and Zhiqiang Wang and Xiaoli Li and Jiye Liang and Ru Li},
  year   = {2025},
  eprint = {2508.16969},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.16969v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.16969.svg)](https://codeofpaper.com/paper/2508.16969)

Discussion