• Home
  • Search
  • Interpreting Transformer-Based Classifiers via Clustering
  • https://doi.org/10.1134/s1064562425700401Copy DOI Icon

Interpreting Transformer-Based Classifiers via Clustering

Show More
  • Abstract
  • Literature Map
  • References
  • Similar Papers
Abstract

Transformer-based models, especially BERT-like architectures, have become the standard for solving Natural Language Processing (NLP) tasks: text classification, summarisation, question answering. Their high performance is undoubted, however, the key challenge remains interpretability. Understanding the reasons for the decisions of models is critical for increasing confidence in them, detecting bias, and complying with ethical and legal standards. Existing explanation methods focus on identifying individual important tokens or interactions only between adjacent tokens or their pairs, ignoring the global context. This limits their usefulness because such explanations often do not capture the logic of decision making at a level that humans can understand. To bridge this gap, we introduce an approach that translates model predictions into natural language explanations. This algorithm is fitted through clustering of transformer layers, cluster labels are extracted and indices are formed to select close examples. Given examples are fed into the Large Language Models (LLM) to identify key common features in natural language. Frequency analysis of the features in the examples forms the basis of evidence with certain probability. In the case study of detecting machine-generated texts, our approach reveals how classifiers might rely on stylistic cues or structural anomalies.

Similar Papers
  • Research Article
  • Citations51

Large language models for biomedicine: foundations, opportunities, challenges, and best practices.

  • Apr 24, 2024
  • Journal of the American Medical Informatics Association : JAMIA
  • Satya S Sahoo +8
  • PDF
  • Research Article
  • Citations13

Advancements and Applications of Large Language Models in Natural Language Processing: A Comprehensive Review

  • Nov 26, 2024
  • Applied and Computational Engineering
  • Mengchao Ren
  • Research Article
  • Citations2

KRA: K-Nearest Neighbor Retrieval Augmented Model for Text Classification

  • Aug 15, 2024
  • Electronics
  • Jie Li +7
  • Preprint Article
  • Citations1

Utilizing Large Language Models for Geoscience Literature Information Extraction

  • Jan 20, 2025
  • Peng Yu +3
  • Conference Article
  • Citations15

Large Language Models Trained on Equipment Maintenance Text

  • Oct 02, 2023
  • P Y Abijith +3
  • Research Article
  • Citations87

Potential of Large Language Models in Health Care: Delphi Study

  • May 13, 2024
  • Journal of Medical Internet Research
  • Kerstin Denecke +2
  • Research Article
  • Citations1

Urdu Sentential Paraphrased Plagiarism Detection Using Large Language Models

  • Jul 11, 2025
  • ACM Transactions on Asian and Low-Resource Language Information Processing
  • Hafiz Rizwan Iqbal +4
  • Research Article

Retrieval-augmented generation in healthcare: A narrative review of methods, contributions, and future directions

  • Feb 24, 2026
  • Digital Medicine
  • Hao Kechun +1
  • Research Article
  • Citations2

Toward Cross-Hospital Deployment of Natural Language Processing Systems: Model Development and Validation of Fine-Tuned Large Language Models for Disease Name Recognition in Japanese

  • Jul 08, 2025
  • JMIR Medical Informatics
  • Seiji Shimizu +4
  • Book Chapter

Systems and Tools to Use NLP and LLMs: Getting Started

  • Jan 01, 2026
  • Diana Garcia Quevedo +1
  • Research Article

Empowering LLMs with Symbolic Representation and Reasoning

  • Mar 14, 2026
  • Fengxiang Cheng
  • PDF
  • Research Article
  • Citations12

CNO-LSTM: A Chaotic Neural Oscillatory Long Short-Term Memory Model for Text Classification

  • Jan 01, 2022
  • IEEE Access
  • Nuobei Shi +3
  • Conference Article

Rule Discovery for Natural Language Inference Data Generation Using Out-of-Distribution Detection

  • Jan 01, 2025
  • Jun Han +2
  • Research Article

Natural Language Processing for the Study of Institutional Change

  • Aug 01, 2022
  • Academy of Management Proceedings
  • Luna Ansari
  • Research Article

Is This the Best Prompt? Scoring Prompts for Arabic NLP Across LLMs

  • Jan 01, 2025
  • IEEE Access
  • Dania Refai +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.