atlas

Research map / Large language models / Language, safety and interpretability

TopoLM: brain-like spatio-functional organization in a topographic language model

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Linguistic encoding in LLM representations · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Builds TopoLM, a GPT-2-small-style transformer with 2D-arranged units and a spatial smoothness loss, showing it develops brain-like language-selective clusters and noun/verb clustering without fitting brain data.

Problem

Explaining the mechanisms behind the spatio-functional organization of the human language system (clusters for syntactic and semantic categories), which current language models lack because they have no spatial arrangement of units.

Approach

Extends the TDANN spatial smoothness loss from vision to language: each attention and MLP layer's units are placed on a 2D grid and a correlation-vs-inverse-distance loss is added to next-token cross-entropy, so functional clusters emerge that match brain organization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add spatial correlation lossTopoLM · BLiMPscore: 0.76 -> 0.71Hurt
Add spatial correlation lossTopoLM · GLUEscore: 0.65 -> 0.68Helped
Add spatial correlation lossTopoLM · Brain-ScorePearson correlation: 0.80 -> 0.78No clear effect
Add spatial correlation lossTopoLM · Verb-noun contrastMoran's I: 0.11 -> 0.48Helped
Apply fMRI-like readout samplingTopoLM · Verb-noun contrastMoran's I: 0.48 -> 0.81Helped
Add spatial correlation lossTopoLM · Concrete vs. abstract verb-noun contrastMoran's I: 0.8 vs. 0.23Mixed
Use locally connected attention instead of spatial smoothness lossTopoformer-BERT · Significant verb-noun selective clusterssignificant units: nullHurt
Remove random permutation of spatial positions in each layer (ablation)TopoLM · Verb-noun contrast maps across layersspatial map independence across layersHurt
Use five randomly selected neighborhoods of radius 5 (ablation)TopoLM spatial-loss computation · Task performance and topographic metricsperformanceNo clear effect
Increase spatial-loss weight beyond α = 2.5 (ablation)TopoLM · Language modeling and representation organizationtask performanceHurt
Lower spatial-loss weight below α = 2.5 (ablation)TopoLM · Topographic organizationtopographyHurt

Surprising findings

Limitations

Experimental setup

Datasets: FineWeb-Edu BLiMP GLUE Brain-Score language datasets (Blank2014, Pereira2018, Fedorenko2016, Tuckute2024) Hauptman et al. fMRI data Moseley et al. 2014 stimuli BookCorpus (Topoformer-BERT)

Benchmarks: BLiMP GLUE Brain-Score language

Metrics: accuracy Pearson correlation (linear predictivity) RSA Moran's I

Baselines: Non-topographic transformer control Topoformer-BERT

Builds on: TDANN GPT-2 Topoformer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy