Back to search

Hong Kong University of Science and Technology

Enabling Explainable AI with Transformer Models: Opportunities and Limitations in Visual and Textual Concept Generation

Abstract

dc:description

<p>Recent advances in neural networks have driven remarkable progress in computer vision (CV), yet their opaque decision-making has fueled growing interest in Explainable AI (XAI). Conventional explanation methods often depend on linear segmentation and manual annotations, limiting faithfulness, understandability, and scalability. Meanwhile, breakthroughs in transformer-based Large Language Models (LLMs) and Vision Language Models (VLMs) offer new opportunities to produce automated, high-quality concept-explanations. In this thesis, we investigate how such models can serve as enablers of XAI to enhance the generation of visual and textual concepts, and we further assess their limitations in fulfilling this role effectively. For visual concepts, we propose the Explain Any Concept (EAC) framework, which leverages the Segment Anything Model (SAM) to faithfully identify human-understandable image regions that influence a target model’s predictions. For textual concepts, we introduce the Hierarchical-Concept Bottleneck Model (Hi-CBM), which leverages LLMs to automatically generate conceptual annotations that are both richly informative and well-structured. The richness of these concepts allows any CV model, when processing an image, to perform faithful reasoning before making a final decision, while their structured organization filters redundant information and mitigates the information-leakage issues of traditional CBMs. To assess the limitations of transformer-based models in generating reliable explanations, we propose the Fast and Slow Effect (FSE) framework. FSE assesses a single model’s ability to generate effective concepts by comparing classification performance in two modes: fast mode, simulating a black-box making direct predictions without rationales, and purpose datasets, slow mode outperforms fast mode by roughly 10%, whereas on specialized datasets, it underperforms fast mode by about 30%, which points to a sensitivity to task complexity. Overall, this thesis lays a strong foundation for transformer models to serve as enablers of XAI, and highlights their understandability to specialized tasks as a critical frontier for future research.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sun, Ao
Contributors dc:contributor
  • Wang, Shuai

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Sun, Ao. Enabling Explainable AI with Transformer Models: Opportunities and Limitations in Visual and Textual Concept Generation. 2025. http://repository.hkust.edu.hk/ir/Record/1783.1-167718