suchirsalhan commited on
Commit
b5f31f2
·
verified ·
1 Parent(s): 688211b

devai sweep 2026-08-29: null-referenced results

Browse files
Files changed (1) hide show
  1. README.md +70 -80
README.md CHANGED
@@ -1,92 +1,82 @@
1
- # Brain–language-model alignment: ds006239
 
 
 
 
2
 
3
- Wang et al. 2025 — word-level phonological and semantic reading tasks in children and adolescents aged 10–17.
4
 
5
- - Paper: https://www.sciencedirect.com/science/article/pii/S2352340925009692
6
- - Data: https://openneuro.org/datasets/ds006239/versions/1.0.5
7
- - Generated: 2026-08-28
8
- - Pipeline: https://github.com/suchirsalhan/cdl-representations-brains-babylms
9
 
10
- ## Read this first: does the measurement work?
 
 
 
11
 
12
- Every alignment number in this dataset is only as meaningful as the brain
13
- RDMs it was computed against. So before any model result, the same
14
- pipeline is asked whether *anything* stimulus-driven correlates with those
15
- RDMs — stimulus duration, intensity, word length, frequency, phoneme and
16
- syllable counts, an acoustic model of the audio where the stimuli are
17
- audio, and the study's own condition contrast — each tested by a
18
- permutation test that shuffles stimulus identity.
19
 
20
- **GATE: FAILED. 0/8 stimulus tests are significant** after Holm
21
- correction not the acoustic model of the audio the children actually
22
- heard, not the study's own experimental contrast.
23
 
24
- **The alignment numbers below are therefore uninterpretable as
25
- evidence about language models.** They measure a representational
26
- geometry that does not demonstrably encode the stimuli. They are
27
- published for completeness and for whoever fixes the estimator, not as
28
- a result. Do not cite them as evidence that models fail to align with
29
- the developing brain.
30
 
31
- Measured cause, from `control/`:
32
 
33
- - RDM effective rank: **52** of 72 stimuli
34
-
35
-
36
- Note that this is NOT ds003604's failure mode. There, the RDM
37
- effective rank was ~3 of 40-48 stimuli -- near-degenerate betas
38
- that could not express stimulus-level structure at all. The rank
39
- recorded above is a large fraction of the stimulus count, so these
40
- RDMs do carry stimulus structure and the control failing here means
41
- the specific controls tested did not reach significance, not that
42
- the measurement is uninterpretable. Check `control/` for which
43
- controls ran: an acoustic or visual control needs the dataset's
44
- stimulus files present, and reports zero features if they are not.
45
-
46
- ## What was built
47
-
48
- 8 task × session cells, each an RDM over the stimuli
49
- shared by that cell's subjects, with voxel patterns z-scored **within
50
- run** before aggregation (without that, the RDM measures scanner drift
51
- rather than language) and an inter-subject noise ceiling.
52
-
53
- | task | session | n_stim | ceiling_lower | ceiling_upper | ceiling_n |
54
- |:---------|:----------|---------:|----------------:|----------------:|------------:|
55
- | Orth | ses-11+ | 96 | 0.562195 | 0.61485 | 22 |
56
- | Orth | ses-11 | 96 | 0.522525 | 0.589811 | 18 |
57
- | Phon | ses-11+ | 96 | 0.562195 | 0.61485 | 22 |
58
- | Phon | ses-11 | 96 | 0.522525 | 0.589811 | 18 |
59
- | Sem | ses-11+ | 48 | 0.356634 | 0.438561 | 22 |
60
- | Sem | ses-11 | 48 | 0.289344 | 0.394831 | 18 |
61
- | SemLocal | ses-11+ | 48 | 0.305571 | 0.38963 | 23 |
62
- | SemLocal | ses-11 | 48 | 0.230569 | 0.364206 | 15 |
63
-
64
- ## Dataset-specific notes
65
-
66
- Contains **LocalSem**, the only genuinely run/stimulus-CROSSED language cell across all four datasets in this project: its stimuli recur across runs, so run identity and stimulus identity are separable and the scanner-run confound that invalidated the first ds003604 analysis cannot arise. Per-subject age is NOT recoverable from the release — participants.tsv has birthdate but no scan date and there are no *_scans.tsv files — so this dataset is cohort-level only and cannot carry the developmental axis as published.
 
 
 
 
 
 
 
67
 
68
  ## Files
69
 
70
- | path | what |
71
  |---|---|
72
- | `alignment_by_checkpoint.csv` | every model × checkpoint × cell, with ceiling |
73
- | `alignment_by_family.csv` | per family, with equivalence tests |
74
- | `alignment_by_cell.csv` | per task × session |
75
- | `ceilings_*.csv` | noise ceiling per cell |
76
- | `control/` | the positive control and RDM dimensionality — the gate |
77
- | `scale_ladder.csv` | the Pythia 70M→1.4B scale test |
78
- | `fig_*.pdf`, `fig_*.png` | figures |
79
-
80
- ## Method
81
-
82
- Representational similarity analysis. For each cell, a brain RDM over
83
- stimuli (correlation distance between per-stimulus GLM beta patterns,
84
- within-run z-scored, aggregated across subjects) is compared by Spearman
85
- correlation with a model RDM over the same stimuli, taken from each
86
- checkpoint's hidden states. Alignment is reported raw and as a fraction of
87
- the inter-subject noise ceiling, and judged against a null built from the
88
- PARC suite — 18 models differing only by random seed, which is what 'no
89
- effect' looks like on this measurement.
90
-
91
- Null and fixation trials are excluded from the stimulus set. For paired
92
- designs the stimulus identity is the pair, not either word alone.
 
1
+ ---
2
+ license: mit
3
+ task_categories: [feature-extraction]
4
+ tags: [brain-alignment, fmri, rsa, developmental, pythia, null-result]
5
+ ---
6
 
7
+ # Brain-LM alignment: ds006239
8
 
9
+ Representational-similarity alignment between language-model hidden states and
10
+ child fMRI RDMs for **ds006239** (children ages 10-17, reading).
 
 
11
 
12
+ - **Tasks:** Orth, Phon, Sem, SemLocal **Sessions:** ses-11, ses-11+ **Cells:** 8
13
+ - **Models:** 14 families (5 real + 9 PARC noise-seed baselines)
14
+ - **Rows:** 1232 (family x checkpoint x task x session)
15
+ - **Generated:** 2026-08-29
16
 
17
+ ## Headline: no model is distinguishable from a random seed
 
 
 
 
 
 
18
 
19
+ Alignment is computed as Spearman correlation over the upper triangle of the
20
+ model RDM (`1 - corrcoef` over mean-pooled final-layer states) against the brain
21
+ RDM, reported raw (`rsa`) and as a fraction of the noise ceiling.
22
 
23
+ Every value is referenced against a **PARC noise-seed null** (9 randomly
24
+ initialised seeds across 3 architectures, same cells, same pipeline) rather than
25
+ against zero -- see `null_referenced.csv` for per-cell z-scores.
 
 
 
26
 
27
+ Across all three datasets and 130 (family x cell) combinations:
28
 
29
+ | statistic | value |
30
+ |---|---|
31
+ | cells where a real family beats all 9 noise seeds | **9 / 130** |
32
+ | expected under the null (P = 1/10 per cell) | **13.0** |
33
+ | binomial p | **0.91** |
34
+ | per-family mean z | all within +/-1.4 sigma |
35
+ | per-cell means, real families vs noise seeds | **r = +0.863** |
36
+ | variance explained by cell identity | **83.9%** |
37
+ | variance explained by model family | **3.2%** |
38
+
39
+ Real models beat the noise seeds *less* often than chance. The only reliable
40
+ structure in these numbers is the stimulus set and the RDM, not the model.
41
+
42
+ Scale trend for ds006239: Spearman(params, mean RSA) = **-0.40** (p = 0.50),
43
+ i.e. a 16x parameter increase buys nothing.
44
+
45
+ ## What this does and does not license
46
+
47
+ The RDMs have demonstrated inter-subject reliability (noise ceilings 0.23-0.88),
48
+ but the upstream pipeline's **positive controls fail on all three datasets**
49
+ (0/108, 0/6 and 0/8 stimulus controls significant). The instrument has therefore
50
+ not been shown to have power against alignment that does exist.
51
+
52
+ The defensible claim is **"no LM alignment is detectable by this measurement"** --
53
+ not "language models do not align with the developing brain." This is a result
54
+ about the benchmark.
55
+
56
+ ## Coverage correction
57
+
58
+ The previously published grid did not pass `--sessions`, so it fell back to
59
+ ds003604's `ses-5/7/9`. ds002236 matched only `ses-9` (2 of 6 cells) and
60
+ **ds006239 matched nothing, producing zero alignment rows**. Deriving sessions
61
+ from the RDM tree takes coverage from 14 to **26 cells**, so this release
62
+ contains the first measurement of 12 previously unscored cells -- including
63
+ `ds006239/SemLocal`, the only run x stimulus *crossed* cell, where the
64
+ scanner-run confound cannot arise.
65
+
66
+ On SemLocal, untrained (step-0) alignment falls **inside** the random-seed band on
67
+ both sessions (z = -0.84, -0.30). The "untrained models align better, training
68
+ destroys it" reading is **not supported**: the decline is drift within noise, and
69
+ there was no alignment to destroy.
70
 
71
  ## Files
72
 
73
+ | file | contents |
74
  |---|---|
75
+ | `alignment_rows.csv` | one row per family x checkpoint x task x session |
76
+ | `null_referenced.csv` | per-cell z-score against the 9-seed PARC null |
77
+ | `scaling_curve.csv` | per-cell mean/sd/max across checkpoints, + noise ceiling |
78
+ | `null_summary.csv` | per-family mean z, max z, cells beating the null |
79
+ | `scale_trend.csv` | Spearman(params, RSA) per dataset |
80
+
81
+ Precision: fp32 throughout. A bf16 spot check shifted RSA by up to 2.8e-3 at the
82
+ final checkpoint (~1/3 of the across-seed noise sd), so precision is not mixed.