SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.12811 · 2026

Left-right asymmetry in predicting brain activity from LLMs' representations emerges with their formal linguistic competence

Christophe Pallier, Laurent Bonnasse-Gahot

arXiv · PDF

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2602.12811.json · badge: /api/ran/2602.12811.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
l-bg/llm_training_brain_asym canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
generate_dyck_sequence Ran
ran, honoured the contract we drafted
l-bg/llm_training_brain_asym/evaluate_llm_dyck.py
pointer only (licence: NOASSERTION) · get_code("72c6f7a95fcc7325")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, l-bg/llm_training_brain_asym (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

plot_adjusted_ys Ran
ran; our contract draft was wrong, not the code
l-bg/llm_training_brain_asym/llm_brain_asym.py
pointer only (licence: NOASSERTION) · get_code("86cfd13ab551c9ea")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, l-bg/llm_training_brain_asym (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

s2str_paren Ran
ran; our contract draft was wrong, not the code
l-bg/llm_training_brain_asym/evaluate_llm_dyck.py
pointer only (licence: NOASSERTION) · get_code("683dca7eb22ca683")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, l-bg/llm_training_brain_asym (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

seq2seqofstr Ran
ran; our contract draft was wrong, not the code
l-bg/llm_training_brain_asym/evaluate_llm_dyck.py
pointer only (licence: NOASSERTION) · get_code("6e87648e58e131f7")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, l-bg/llm_training_brain_asym (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

standardize Ran
ran; our contract draft was wrong, not the code
l-bg/llm_training_brain_asym/llm_brain_asym.py
pointer only (licence: NOASSERTION) · get_code("9d0b4cc043a13289")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, l-bg/llm_training_brain_asym (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_logprobs Not yet run
unverified (harvested, no recorded run)
l-bg/llm_training_brain_asym/llm_brain_asym.py
pointer only (licence: NOASSERTION) · get_code("1f7d46f752169ee3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, l-bg/llm_training_brain_asym (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

simplify_word Not yet run
unverified (harvested, no recorded run)
l-bg/llm_training_brain_asym/extract_llm_activations.py
pointer only (licence: NOASSERTION) · get_code("1a31237df6b72dc9")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, l-bg/llm_training_brain_asym (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

When humans and large language models (LLMs) process the same text, activations in the LLMs correlate with brain activity measured, e.g., with functional magnetic resonance imaging (fMRI). Moreover, it has been shown that, as the training of an LLM progresses, the performance in predicting brain activity from its internal activations improves more in the left hemisphere than in the right one. The aim of the present work is to understand which kind of competence acquired by the LLMs underlies the emergence of this left-right asymmetry. Using the OLMo-2 7B language model at various training checkpoints and fMRI data from English participants, we compare the evolution of the left-right asymmetry in the correlation between brain activity and model predictions alongside performance on several benchmarks. We observe that the asymmetry co-emerges with the formal linguistic abilities of the LLM. These abilities are demonstrated in two ways: by the model's capacity to assign a higher probability to an acceptable sentence than to a grammatically unacceptable one within a minimal contrasting pair, and by its ability to produce well-formed text. By contrast, the left-right asymmetry does not align with the performance on arithmetic or Dyck language tasks; nor with text-based tasks involving world knowledge and reasoning. We generalize these results to another family of LLMs (Pythia) and two other languages, French and Chinese. Our observations indicate that the left-right asymmetry in brain predictivity matches the progress in formal linguistic competence.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2602.12811")
get_code_for_paper("2602.12811")
have("2602.12811")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2602.12811.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2602.12811.svg)](https://syntology.ai/paper/2602.12811)

Connect an agent — have() is free.