2025: A GPT Odyssey. Deconstructing Intelligence by Gradual Dissolution of a Transformer
Hierarchical processing and information granulation have proven essential for intelligent systems, as exemplified by Large Language Models (LLMs) backed by Transformer architectures, which leverage stacked attention modules to learn progressively richer semantic features. In this work, we offer an investigation of the role of attention layers in the hierarchy through a GPT-2 layer ablation methodology, which recalls the deactivation of the HAL 9000 computer modules in the iconic scene of the film "2001: A Space Odyssey". The adopted methodology is based on the measurement of appropriate indices (Dale-Chall Readability, BLEU and Text Flow – a measure of the coherence within the flow of sentences) characterizing the text produced following the removal of a combination of layers assisted by a single-way analysis, to characterize these combinations. Subsequently, through a "machine-in-the-loop" procedure, we let GPT-4 to judge the texts produced by GPT-2. The obtained results are in line with the basic hypothesis according to which the hierarchical organization of the Transformers is the ground of the high semantic performances, opening the path to further insights and application hypotheses such as Explainable AI and the analytical characterization of the texts produced by Generative AI models.
Authors
- Enrico De Santis (ORCID: https://orcid.org/0000-0003-4915-0723)
- E. Bruno (ORCID: https://orcid.org/0000-0002-1935-586X)
- Alessio Martino (ORCID: https://orcid.org/0000-0003-1730-5436)
Institutions
- Terna (Italy) (IT)
- Libera Università Internazionale degli Studi Sociali Guido Carli (IT)
- Sapienza University of Rome (IT)
Publication Details
- Published
- 2025-06-30
- DOI
- https://doi.org/10.1109/ijcnn64981.2025.11227797
- Citations
- 1
- Primary Topic
- Artificial Intelligence in Healthcare and Education
- Type
- article
- Field-Weighted Citation Impact
- 0.65