Published June 18, 2026 | Version v1

Code for Joint processing of linguistic properties in brains and language models

  • 1. ROR icon Max Planck Institute for Software Systems

Description

ARENA Deliverable [P5_WP2_01] Approach to estimate shared and unique info between an AI model and brains w.r.t. linguistic property

 

Code for estimating the contribution of linguistic properties to brain–language model alignment. It can be accessed in this link: https://github.com/subbareddy248/lingprop-brain-alignment

The repository includes scripts for extracting language model representations, probing and removing linguistic property information, training brain encoding models on fMRI data, and quantifying the shared and unique contributions of surface, syntactic, and semantic properties to the alignment between language models and human neural responses.

Files

code_report2.zip

Files (1.2 MB)

Name Size
md5:e189ab552f63f7f2afd5a5d01a481928
1.2 MB Preview Download