Low-Dimensional Structure in the Space of Language Representations is Reflected in Brain Responses

Richard Antonello, Javier Turek, Vy Vo, Alexander Huth
6/9/2021
cs.CLcs.LG

Official code: HuthLab/rep_structure (4 stars, Jupyter Notebook, last commit 2021-12-08).

Abstract

How related are the representations learned by neural language models, translation models, and language tagging tasks? We answer this question by adapting an encoder-decoder transfer learning method from computer vision to investigate the structure among 100 different feature spaces extracted from hidden representations of various networks trained on language tasks.

Show full abstract

This method reveals a low-dimensional structure where language models and translation models smoothly interpolate between word embeddings, syntactic and semantic tasks, and future word embeddings. We call this low-dimensional structure a language representation embedding because it encodes the relationships between representations needed to process language for a variety of NLP tasks. We find that this representation embedding can predict how well each individual feature space maps to human brain responses to natural language stimuli recorded using fMRI. Additionally, we find that the principal dimension of this structure can be used to create a metric which highlights the brain's natural language processing hierarchy. This suggests that the embedding captures some part of the brain's natural language representation structure.

View on arXivView PDF

Code Implementations(1)

40Jupyter Notebook, PythonOct 25, 20214 years ago

Similar Papers

Cite this paper

@article{antonello2021lowdimensional,
  title  = {Low-Dimensional Structure in the Space of Language Representations is Reflected in Brain Responses},
  author = {Richard Antonello and Javier Turek and Vy Vo and Alexander Huth},
  year   = {2021},
  eprint = {2106.05426},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.05426}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.05426.svg)](https://codeofpaper.com/paper/2106.05426)

Discussion