Targeted Visualization of the Backbone of Encoder LLMs
Not on the map. Why?
Abstract (arXiv)
Attention based Large Language Models (LLMs) are the state-of-the-art in natural language processing (NLP). The two most common architectures are encoders such as BERT, and decoders like the GPT models. Despite the success of encoder models, on which we focus in this work, they also bear several risks, including issues with bias or their susceptibility for adversarial attacks, signifying the necessity for explainable AI to detect such issues. While there does exist various local explainability methods focusing on the prediction of single inputs, global methods based on dimensionality reduction for classification inspection, which have emerged in other domains and that go further than just using t-SNE in the embedding space, are not widely spread in NLP. To reduce this gap, we investigate the application of DeepView, a method for visualizing a part of the decision function together with a data set in two dimensions, to the NLP domain. While in previous work, DeepView has been used to inspect deep image classification models, we demonstrate how to apply it to BERT-based NLP classifiers and investigate its usability in this domain, including settings with adversarially perturbed input samples and pre-trained, fine-tuned, and multi-task models.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 19 of its 22 references that are in the map. First posted on arXiv 26 Mar 2024.
Builds on
19 of 22 references.
References · 19
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,841
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 979
- 2021Ethical and social risks of harm from Language Modelscited by 957
- 2016Semantics derived automatically from language corpora contain human-like biasescited by 894
- 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
- 2019On Measuring Social Biases in Sentence Encoderscited by 397
7 more
- 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 376
- 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
- 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 346
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2021Adversarial GLUE: A Multi-Task Benchmark for Robustness Evaluation of Language Modelscited by 227
- 2019Visualizing and Measuring the Geometry of BERTcited by 215
- 2021DeepVisualInsight: Time-Travelling Visualization for Spatio-Temporal Causality of Deep Classification Trainingcited by 2
Built on by
Not cited yet.