A Methodology for Explainable Large Language Models with Integrated Gradients and Linguistic Analysis in Text Classification

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ribeiro, Marina, Malcorra, Bárbara, Mota, Natália B., Wilkens, Rodrigo, Villavicencio, Aline, Hubner, Lilian C., Rennó-Costa, César
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929522352324608
author Ribeiro, Marina
Malcorra, Bárbara
Mota, Natália B.
Wilkens, Rodrigo
Villavicencio, Aline
Hubner, Lilian C.
Rennó-Costa, César
author_facet Ribeiro, Marina
Malcorra, Bárbara
Mota, Natália B.
Wilkens, Rodrigo
Villavicencio, Aline
Hubner, Lilian C.
Rennó-Costa, César
contents Neurological disorders that affect speech production, such as Alzheimer's Disease (AD), significantly impact the lives of both patients and caregivers, whether through social, psycho-emotional effects or other aspects not yet fully understood. Recent advancements in Large Language Model (LLM) architectures have developed many tools to identify representative features of neurological disorders through spontaneous speech. However, LLMs typically lack interpretability, meaning they do not provide clear and specific reasons for their decisions. Therefore, there is a need for methods capable of identifying the representative features of neurological disorders in speech and explaining clearly why these features are relevant. This paper presents an explainable LLM method, named SLIME (Statistical and Linguistic Insights for Model Explanation), capable of identifying lexical components representative of AD and indicating which components are most important for the LLM's decision. In developing this method, we used an English-language dataset consisting of transcriptions from the Cookie Theft picture description task. The LLM Bidirectional Encoder Representations from Transformers (BERT) classified the textual descriptions as either AD or control groups. To identify representative lexical features and determine which are most relevant to the model's decision, we used a pipeline involving Integrated Gradients (IG), Linguistic Inquiry and Word Count (LIWC), and statistical analysis. Our method demonstrates that BERT leverages lexical components that reflect a reduction in social references in AD and identifies which further improve the LLM's accuracy. Thus, we provide an explainability tool that enhances confidence in applying LLMs to neurological clinical contexts, particularly in the study of neurodegeneration.
format Preprint
id arxiv_https___arxiv_org_abs_2410_00250
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Methodology for Explainable Large Language Models with Integrated Gradients and Linguistic Analysis in Text Classification
Ribeiro, Marina
Malcorra, Bárbara
Mota, Natália B.
Wilkens, Rodrigo
Villavicencio, Aline
Hubner, Lilian C.
Rennó-Costa, César
Computation and Language
Neurological disorders that affect speech production, such as Alzheimer's Disease (AD), significantly impact the lives of both patients and caregivers, whether through social, psycho-emotional effects or other aspects not yet fully understood. Recent advancements in Large Language Model (LLM) architectures have developed many tools to identify representative features of neurological disorders through spontaneous speech. However, LLMs typically lack interpretability, meaning they do not provide clear and specific reasons for their decisions. Therefore, there is a need for methods capable of identifying the representative features of neurological disorders in speech and explaining clearly why these features are relevant. This paper presents an explainable LLM method, named SLIME (Statistical and Linguistic Insights for Model Explanation), capable of identifying lexical components representative of AD and indicating which components are most important for the LLM's decision. In developing this method, we used an English-language dataset consisting of transcriptions from the Cookie Theft picture description task. The LLM Bidirectional Encoder Representations from Transformers (BERT) classified the textual descriptions as either AD or control groups. To identify representative lexical features and determine which are most relevant to the model's decision, we used a pipeline involving Integrated Gradients (IG), Linguistic Inquiry and Word Count (LIWC), and statistical analysis. Our method demonstrates that BERT leverages lexical components that reflect a reduction in social references in AD and identifies which further improve the LLM's accuracy. Thus, we provide an explainability tool that enhances confidence in applying LLMs to neurological clinical contexts, particularly in the study of neurodegeneration.
title A Methodology for Explainable Large Language Models with Integrated Gradients and Linguistic Analysis in Text Classification
topic Computation and Language
url https://arxiv.org/abs/2410.00250