Saved in:
Bibliographic Details
Main Authors: Cheng, Emily, Antonello, Richard J.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.05771
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914388657569792
author Cheng, Emily
Antonello, Richard J.
author_facet Cheng, Emily
Antonello, Richard J.
contents Research has repeatedly demonstrated that intermediate hidden states extracted from large language models are able to predict measured brain response to natural language stimuli. Yet, very little is known about the representation properties that enable this high prediction performance. Why is it the intermediate layers, and not the output layers, that are most capable for this unique and highly general transfer task? In this work, we show that evidence from language encoding models in fMRI supports the existence of a two-phase abstraction process within LLMs. We use manifold learning methods to show that this abstraction process naturally arises over the course of training a language model and that the first "composition" phase of this abstraction process is compressed into fewer layers as training continues. Finally, we demonstrate a strong correspondence between layerwise encoding performance and the intrinsic dimensionality of representations from LLMs. We give initial evidence that this correspondence primarily derives from the inherent compositionality of LLMs and not their next-word prediction properties.
format Preprint
id arxiv_https___arxiv_org_abs_2409_05771
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Evidence from fMRI Supports a Two-Phase Abstraction Process in Language Models
Cheng, Emily
Antonello, Richard J.
Computation and Language
Artificial Intelligence
Research has repeatedly demonstrated that intermediate hidden states extracted from large language models are able to predict measured brain response to natural language stimuli. Yet, very little is known about the representation properties that enable this high prediction performance. Why is it the intermediate layers, and not the output layers, that are most capable for this unique and highly general transfer task? In this work, we show that evidence from language encoding models in fMRI supports the existence of a two-phase abstraction process within LLMs. We use manifold learning methods to show that this abstraction process naturally arises over the course of training a language model and that the first "composition" phase of this abstraction process is compressed into fewer layers as training continues. Finally, we demonstrate a strong correspondence between layerwise encoding performance and the intrinsic dimensionality of representations from LLMs. We give initial evidence that this correspondence primarily derives from the inherent compositionality of LLMs and not their next-word prediction properties.
title Evidence from fMRI Supports a Two-Phase Abstraction Process in Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2409.05771