Information-Theoretical Analysis of a Transformer-Based Generative AI Model
Entropy · 31.05.2025 · 27 (6) · 589
DOI: 10.3390/e27060589 ↗Kurz gefasst
Fachartikel in der Zeitschrift Entropy, online erschienen am 31.05.2025. Verfasst von Manas Deb und 1 weiteren Autor:innen. Beteiligte Einrichtung: Department of Electrical and Computer Engineering, Santa Clara University, Santa Clara, CA 95053, USA. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 30 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Santa Clara University.
Abstract (Originalsprache)
Large Language models have shown a remarkable ability to “converse” with humans in a natural language across myriad topics. Despite the proliferation of these models, a deep understanding of how they work under the hood remains elusive. The core of these Generative AI models is composed of layers of neural networks that employ the Transformer architecture. This architecture learns from large amounts of training data and creates new content in response to user input. In this study, we analyze the internals of the Transformer using Information Theory. To quantify the amount of information passing through a layer, we view it as an information transmission channel and compute the capacity of the channel. The highlight of our study is that, using Information-Theoretical tools, we develop techniques to visualize on an Information plane how the Transformer encodes the relationship between words in sentences while these words are projected into a high-dimensional vector space. We use Information Geometry to analyze the high-dimensional vectors in the Transformer layer and infer relationships between words based on the length of the geodesic connecting these vector distributions on a Riemannian manifold. Our tools reveal more information about these relationships than attention scores. In this study, we also show how Information-Theoretic analysis can help in troubleshooting learning problems in the Transformer layers.
Schlagwörter
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Department of Electrical and Computer Engineering, Santa Clara University, Santa Clara, CA 95053, USA.
ORCID-Profile: Manas Deb, Tokunbo Ogunfunmi
Förderung
- Santa Clara University
Zitieren
APA
Deb, M., & Ogunfunmi, T. (2025). Information-Theoretical Analysis of a Transformer-Based Generative AI Model. Entropy, 27(6), 589. https://doi.org/10.3390/e27060589
Vancouver
Deb M, Ogunfunmi T. Information-Theoretical Analysis of a Transformer-Based Generative AI Model. Entropy. 2025;27(6):589. doi:10.3390/e27060589
BibTeX
@article{Deb2025,
author = {Deb, Manas and Ogunfunmi, Tokunbo},
title = {Information-Theoretical Analysis of a Transformer-Based Generative AI Model},
journal = {Entropy},
year = {2025},
volume = {27},
number = {6},
pages = {589},
doi = {10.3390/e27060589}
}
EUVIMED