Analyzing Narrative Processing in Large Language Models (LLMs): Using GPT4 to test BERT
Patrick Krauss, Jannik H\"osch, Claus Metzner, Andreas Maier, Peter, Uhrig, Achim Schilling

TL;DR
This study uses GPT-4 to generate stylistic variations of narratives and analyzes BERT's activation patterns to understand language processing, revealing layer-specific clustering related to style and content.
Contribution
It demonstrates how LLMs can model aspects of human language processing and distinguishes functional differences across BERT's layers using stylistic and content analysis.
Findings
Activation vectors cluster by style in early BERT layers
Content clustering occurs in later BERT layers
Different BERT layers perform distinct language processing tasks
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling
MethodsAttention Is All You Need · Dropout · Weight Decay · Refunds@Expedia|||How do I get a full refund from Expedia? · Attention Dropout · Residual Connection · Softmax · WordPiece · Linear Layer · Adam
