Graph-Theoretic Analysis of BioGPT Attention in Biomedical Question Answering Using Dangling Centrality and Intervention-Based Faithfulness
Biomedical large language models (LLMs) can produce plausible but unreliable responses, motivating methods that expose the structure of transformer attention. We present a graph-theoretic auditing framework that represents aggregated BioGPT attention as a sparse directed token network and measures structural influence using Dangling Centrality ($\phi_C$). We also define an uncertainty-aware Attention--Topology Influence Score ($\Omega_{MH}$) combining structural influence with attention dispersion. The framework was evaluated on 200 MedMCQA questions, with intervention-based faithfulness analysis on 199 evaluable questions. Deleting question-stem words ranked by $\phi_C$ produced the largest mean probability reductions at 5%, 10%, and 20% deletion and the highest mean AOPC (0.0069), compared with raw attention (0.0045), $\Omega_{MH}$ (0.0036), and random deletion (0.0033). The paired $\phi_C$--random comparisons were not statistically significant (p=0.084--0.101), and correctness discrimination remained weak. These findings support $\phi_C$ as a modest structural output-sensitivity signal, while $\Omega_{MH}$ is better interpreted as an uncertainty-aware auditing score rather than a causal explanation or error detector.
Authors
- Mustafain Ali (ORCID: https://orcid.org/0000-0001-9353-5677)
- Ubaida Fatima (ORCID: https://orcid.org/0000-0003-0372-0858)
Institutions
- NED University of Engineering and Technology (PK)
- Rochester Institute of Technology (US)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11441776/v1
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- preprint