Unveiling Transformer Perception by Exploring Input Manifolds
Not on the map. Why?
Abstract (arXiv)
This paper introduces a general method for the exploration of equivalence classes in the input space of Transformer models. The proposed approach is based on sound mathematical theory which describes the internal layers of a Transformer architecture as sequential deformations of the input manifold. Using eigendecomposition of the pullback of the distance metric defined on the output space through the Jacobian of the model, we are able to reconstruct equivalence classes in the input space and navigate across them. Our method enables two complementary exploration procedures: the first retrieves input instances that produce the same class probability distribution as the original instance-thus identifying elements within the same equivalence class-while the second discovers instances that yield a different class probability distribution, effectively navigating toward distinct equivalence classes. Finally, we demonstrate how the retrieved instances can be meaningfully interpreted by projecting their embeddings back into a human-readable format.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 35 references that are in the map. First posted on arXiv 8 Oct 2024.
Builds on
21 of 35 references.
References · 21
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 784
- 2020Quantifying Attention Flow in Transformerscited by 759
- 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
- 2020HateXplain: A Benchmark Dataset for Explainable Hate Speech Detectioncited by 403
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 316
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 124
- 2019On Identifiability in Transformerscited by 115
- 2021On Guaranteed Optimal Robust Explanations for NLP Modelscited by 54
9 more
- 2022Large-Scale Hate Speech Detection with Cross-Domain Transfercited by 39
- 2022VeriX: Towards Verified Explainability of Deep Neural Networkscited by 30
- 2023Analyzing Vision Transformers for Image Classification in Class Embedding Spacecited by 26
- 2021A singular Riemannian geometry approach to Deep Neural Networks I. Theoretical foundationscited by 11
- 2021Model-centric Data Manifold: the Data Through the Eyes of the Modelcited by 9
- 2021A singular Riemannian geometry approach to Deep Neural Networks II. Reconstruction of 1-D equivalence classescited by 8
- 2024Intriguing Equivalence Structures of the Embedding Space of Vision Transformerscited by 8
- 2022Adversarial attacks on neural networks through canonical Riemannian foliationscited by 5
- 2024A singular Riemannian Geometry Approach to Deep Neural Networks III. Piecewise Differentiable Layers and Random Walks on n-dimensional Classescited by 2
Built on by
Not cited yet.