Inducing brain-relevant bias in natural language processing models

Dan Schwartz, Mariya Toneva, Leila Wehbe
10/29/2019
q-bio.NCcs.CLcs.LG

Official code: danrsc/bert_brain_neurips_2019 (13 stars, Python, last commit 2019-11-13).

Abstract

Progress in natural language processing (NLP) models that estimate representations of word sequences has recently been leveraged to improve the understanding of language processing in the brain. However, these models have not been specifically designed to capture the way the brain represents language meaning.

Show full abstract

We hypothesize that fine-tuning these models to predict recordings of brain activity of people reading text will lead to representations that encode more brain-activity-relevant language information. We demonstrate that a version of BERT, a recently introduced and powerful language model, can improve the prediction of brain activity after fine-tuning. We show that the relationship between language and brain activity learned by BERT during this fine-tuning transfers across multiple participants. We also show that, for some participants, the fine-tuned representations learned from both magnetoencephalography (MEG) and functional magnetic resonance imaging (fMRI) are better for predicting fMRI than the representations learned from fMRI alone, indicating that the learned representations capture brain-activity-relevant information that is not simply an artifact of the modality. While changes to language representations help the model predict brain activity, they also do not harm the model's ability to perform downstream NLP tasks. Our findings are notable for research on language understanding in the brain.

View on arXivView PDF

Code Implementations(1)

Code associated with the paper "Inducing brain-relevant bias in natural language processing models" in the proceedings of the 33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada.

136Python, Jupyter NotebookOct 28, 20197 years ago

Similar Papers

Cite this paper

@article{schwartz2019inducing,
  title  = {Inducing brain-relevant bias in natural language processing models},
  author = {Dan Schwartz and Mariya Toneva and Leila Wehbe},
  year   = {2019},
  eprint = {1911.03268},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.03268}
}

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/1911.03268.svg)](https://codeofpaper.com/paper/1911.03268)

Discussion