mlsanityData to 7 Oct 2026

Analyzing Narrative Processing in Large Language Models (LLMs): Using GPT4 to test BERT

arXiv 2405.02024 ↗First posted 3 May 2024cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

The ability to transmit and receive complex information via language is unique to humans and is the basis of traditions, culture and versatile social interactions. Through the disruptive introduction of transformer based large language models (LLMs) humans are not the only entity to "understand" and produce language any more. In the present study, we have performed the first steps to use LLMs as a model to understand fundamental mechanisms of language processing in neural networks, in order to make predictions and generate hypotheses on how the human brain does language processing. Thus, we have used ChatGPT to generate seven different stylistic variations of ten different narratives (Aesop's fables). We used these stories as input for the open source LLM BERT and have analyzed the activation patterns of the hidden units of BERT using multi-dimensional scaling and cluster analysis. We found that the activation vectors of the hidden units cluster according to stylistic variations in earlier layers of BERT (1) than narrative content (4-5). Despite the fact that BERT consists of 12 identical building blocks that are stacked and trained on large text corpora, the different layers perform different tasks. This is a very useful model of the human brain, where self-similar structures, i.e. different areas of the cerebral cortex, can have different functions and are therefore well suited to processing language in a very efficient way. The proposed approach has the potential to open the black box of LLMs on the one hand, and might be a further step to unravel the neural processes underlying human language processing and cognition in general.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 26 of its 69 references that are in the map. First posted on arXiv 3 May 2024.

Builds on

26 of 69 references.

References · 26

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  5. 2018Deep contextualized word representationscited by 2,285
  6. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  7. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  8. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  9. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 452
  10. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  11. 2023OpenAGI: When LLM Meets Domain Expertscited by 196
  12. 2023The geometry of hidden representations of large transformer modelscited by 108
14 more
  1. 2018Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging Taskscited by 56
  2. 2018How deep is deep enough? -- Quantifying class separability in the hidden layers of deep neural networkscited by 28
  3. 2019Universal Text Representation from BERT: An Empirical Studycited by 28
  4. 2021On the Transferability of Pre-trained Language Models: A Study from Artificial Datasetscited by 25
  5. 2016A statistical method for analyzing and comparing spatiotemporal cortical activation patternscited by 12
  6. 2019Sparsity through evolutionary pruning prevents neuronal networks from overfittingcited by 11
  7. 2022Neural Network based Successor Representations of Space and Languagecited by 9
  8. 2023Word class representations spontaneously emerge in a deep neural network trained on next word predictioncited by 9
  9. 2022Neural Network based Formation of Cognitive Maps of Semantic Spaces and the Emergence of Abstract Conceptscited by 8
  10. 2020Integration of Leaky-Integrate-and-Fire-Neurons in Deep Learning Architecturescited by 7
  11. 2022Classification at the Accuracy Limit -- Facing the Problem of Data Ambiguitycited by 6
  12. 2019pylustrator: Code generation for reproducible figures for publicationcited by 3
  13. 2023Multi-Modal Cognitive Maps based on Neural Networks trained on Successor Representationscited by 3
  14. 2023Beyond Labels: Advancing Cluster Analysis with the Entropy of Distance Distribution (EDD)cited by 1

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.