Saved in:
Bibliographic Details
Main Authors: Han, Sungmin, Lee, Jeonghyun, Lee, Sangkyun
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.21186
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918106732953600
author Han, Sungmin
Lee, Jeonghyun
Lee, Sangkyun
author_facet Han, Sungmin
Lee, Jeonghyun
Lee, Sangkyun
contents Transformers have profoundly influenced AI research, but explaining their decisions remains challenging -- even for relatively simpler tasks such as classification -- which hinders trust and safe deployment in real-world applications. Although activation-based attribution methods effectively explain transformer-based text classification models, our findings reveal that these methods can be undermined by class-irrelevant features within activations, leading to less reliable interpretations. To address this limitation, we propose Contrast-CAT, a novel activation contrast-based attribution method that refines token-level attributions by filtering out class-irrelevant features. By contrasting the activations of an input sequence with reference activations, Contrast-CAT generates clearer and more faithful attribution maps. Experimental results across various datasets and models confirm that Contrast-CAT consistently outperforms state-of-the-art methods. Notably, under the MoRF setting, it achieves average improvements of x1.30 in AOPC and x2.25 in LOdds over the most competing methods, demonstrating its effectiveness in enhancing interpretability for transformer-based text classification.
format Preprint
id arxiv_https___arxiv_org_abs_2507_21186
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Contrast-CAT: Contrasting Activations for Enhanced Interpretability in Transformer-based Text Classifiers
Han, Sungmin
Lee, Jeonghyun
Lee, Sangkyun
Computation and Language
Artificial Intelligence
Machine Learning
Transformers have profoundly influenced AI research, but explaining their decisions remains challenging -- even for relatively simpler tasks such as classification -- which hinders trust and safe deployment in real-world applications. Although activation-based attribution methods effectively explain transformer-based text classification models, our findings reveal that these methods can be undermined by class-irrelevant features within activations, leading to less reliable interpretations. To address this limitation, we propose Contrast-CAT, a novel activation contrast-based attribution method that refines token-level attributions by filtering out class-irrelevant features. By contrasting the activations of an input sequence with reference activations, Contrast-CAT generates clearer and more faithful attribution maps. Experimental results across various datasets and models confirm that Contrast-CAT consistently outperforms state-of-the-art methods. Notably, under the MoRF setting, it achieves average improvements of x1.30 in AOPC and x2.25 in LOdds over the most competing methods, demonstrating its effectiveness in enhancing interpretability for transformer-based text classification.
title Contrast-CAT: Contrasting Activations for Enhanced Interpretability in Transformer-based Text Classifiers
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2507.21186