Factor Graph-based Interpretable Neural Networks

Yicong Li, Kuanjiu Zhou, Shuo Yu, Qiang Zhang, Renqiang Luo +2 more
2/20/2025
cs.LGcs.AI

No official code found. Best implementation: yushuowiki/AGAIN (2 stars, last commit 2024-10-15).

Abstract

Comprehensible neural network explanations are foundations for a better understanding of decisions, especially when the input data are infused with malicious perturbations. Existing solutions generally mitigate the impact of perturbations through adversarial training, yet they fail to generate comprehensible explanations under unknown perturbations. To address this challenge, we propose AGAIN, a fActor GrAph-based Interpretable neural Network, which is capable of generating comprehensible explanations under unknown perturbations. Instead of retraining like previous solutions, the proposed AGAIN directly integrates logical rules by which logical errors in explanations are identified and rectified during inference. Specifically, we construct the factor graph to express logical rules between explanations and categories. By treating logical rules as exogenous knowledge, AGAIN can identify incomprehensible explanations that violate real-world logic. Furthermore, we propose an interactive intervention switch strategy rectifying explanations based on the logical guidance from the factor graph without learning perturbations, which overcomes the inherent limitation of adversarial training-based methods in defending only against known perturbations. Additionally, we theoretically demonstrate the effectiveness of employing factor graph by proving that the comprehensibility of explanations is strongly correlated with factor graph. Extensive experiments are conducted on three datasets and experimental results illustrate the superior performance of AGAIN compared to state-of-the-art baselines.

View on arXivView PDF

Code Implementations(1)

yushuowiki/AGAINCommunity100%
20PythonMay 14, 20242 years ago

Cite this paper

@article{li2025factor,
  title  = {Factor Graph-based Interpretable Neural Networks},
  author = {Yicong Li and Kuanjiu Zhou and Shuo Yu and Qiang Zhang and Renqiang Luo and Xiaodong Li and Feng Xia},
  year   = {2025},
  eprint = {2502.14572},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.14572v1},
  journal = {ICLR 2025 2025}
}

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/2502.14572.svg)](https://codeofpaper.com/paper/2502.14572)

Discussion