A letter from the black box: interpreting artificial intelligence through example-based Twin systems

Deep learning models have achieved impressive performance across domains such as computer vision, natural language processing, speech recognition, and predictive analytics. However, their decision-making processes remain largely opaque, functioning as “black boxes” that hinder transparency, interpretability, and trust—particularly in high-stakes settings like healthcare, finance, and autonomous systems. To address this limitation, we propose a post-hoc explanation framework based on the Twin-Systems paradigm, which pairs a high-performing deep learning model with a case-based reasoning (CBR) system. While the deep model ensures strong predictive accuracy, the CBR component provides intuitive explanations through similar examples, enabling more human-understandable interpretations. We evaluate our approach across multiple data modalities, including tabular, image, and text data, using representative architectures such as multi-layer perceptrons, convolutional neural networks, and transformer-based models. We further assess different feature-weighting strategies to examine their ability to align CBR explanations with the black-box model’s reasoning. To enhance interpretability, we integrate feature activation maps to visually highlight influential input regions. Experimental results demonstrate that the proposed Twin-Systems framework effectively improves transparency and supports the development of more interpretable, trustworthy, and user-centered explainable artificial intelligence systems for real-world decision-making.

Authors

Publication Details

Journal
PeerJ Computer Science
Published
2026-06-08
DOI
https://doi.org/10.7717/peerj-cs.3943
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A letter from the black box: interpreting artificial intelligence through example-based Twin systems

Bui Thanh Hung, Trinh Nguyen Hoang Vu
PeerJ Computer Science
Explainable Artificial Intelligence (XAI)
article

A letter from the black box: interpreting artificial intelligence through example-based Twin systems

Bui Thanh Hung, Trinh Nguyen Hoang Vu
article en

Abstract

Deep learning models have achieved impressive performance across domains such as computer vision, natural language processing, speech recognition, and predictive analytics. However, their decision-making processes remain largely opaque, functioning as “black boxes” that hinder transparency, interpretability, and trust—particularly in high-stakes settings like healthcare, finance, and autonomous systems. To address this limitation, we propose a post-hoc explanation framework based on the Twin-Systems paradigm, which pairs a high-performing deep learning model with a case-based reasoning (CBR) system. While the deep model ensures strong predictive accuracy, the CBR component provides intuitive explanations through similar examples, enabling more human-understandable interpretations. We evaluate our approach across multiple data modalities, including tabular, image, and text data, using representative architectures such as multi-layer perceptrons, convolutional neural networks, and transformer-based models. We further assess different feature-weighting strategies to examine their ability to align CBR explanations with the black-box model’s reasoning. To enhance interpretability, we integrate feature activation maps to visually highlight influential input regions. Experimental results demonstrate that the proposed Twin-Systems framework effectively improves transparency and supports the development of more interpretable, trustworthy, and user-centered explainable artificial intelligence systems for real-world decision-making.

PeerJ Computer ScienceVol. 12
Peace, Justice and strong institutions
Openalex Percentile: Top 4%
Explainable Artificial Intelligence (XAI)
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.