Paper Reading AI Learner

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

2024-05-03 11:56:13
Patrick Krauss, Jannik Hösch, Claus Metzner, Andreas Maier, Peter Uhrig, Achim Schilling

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 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.

Abstract (translated)

通过语言进行复杂信息传输和接收是人类独有的能力,也是传统、文化和多才多艺的社会互动的基础。通过颠覆性的基于Transformer的大型语言模型(LLMs)引入,人类不再是唯一能够理解和产生语言的实体。在当前的研究中,我们使用了LLMs作为模型来理解神经网络中语言处理的基本机制,以进行预测和生成关于人类大脑如何进行语言处理的研究。因此,我们使用ChatGPT生成了10个不同叙事的7种不同风格。我们将这些故事作为输入传送到开源LLM BERT,并使用多维缩放和聚类分析来分析BERT隐藏层单元的激活模式。我们发现,隐藏单元的激活矢量根据BERT早期层风格的stylistic variations(1)比故事内容(4-5)更加聚类。尽管BERT由12个相同的构建模块组成,这些不同的层执行不同的任务。这是一个非常有用的描述人类大脑的模型,因为自我相似结构(即不同的大脑皮层区域)可以具有不同的功能,因此非常适于以非常高效的方式处理语言。所提出的方法有望打开LLMs的黑盒,同时也许是一个进一步揭开人类语言处理和认知的神经过程的步骤。

URL

https://arxiv.org/abs/2405.02024

PDF

https://arxiv.org/pdf/2405.02024.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot