18Scientific Computing

MEG Speech Decoding

#ModelScoreStepsIn tokOut tokAvg costAvg time
1GPT-6 Astra
0.3668
±0.018
602222.0M545k$461.4512.7h
2Claude Sonnet 5.5
0.3423
±0.033
427183.7M550k$43.9215.4h
3Gemini 4 Argon
0.3209
±0.074
20667.8M417k$83.91*11.7h
4Claude Opus 5.5
0.3191
±0.078
32897.1M323k$28.1717.2h
5Claude Haiku 5.5
0.3121
±0.050
25981.3M422k$5.2114.9h
6Claude Fable 5.1
0.2924
±0.043
21932.5M174k$20.4715.8h
7GPT-5.6 Sol
0.2447
±0.060
24971.4M145k$75.646.7h
8Claude Opus 5
0.2216
±0.151
25257.7M313k$40.5117.5h
9Claude Fable 5
0.2154
±0.075
21733.4M189k$47.6618.0h
10Grok 4.6
0.2100
±0.065
535121.4M713k$129.1116.6h
11Muse Spark 1.3
0.1522
±0.133
30635.0M136k$32.8218.0h
12GLM-5.3
0.1361
±0.090
37885.6M270k$33.7417.4h
13DeepSeek V4 Flash Vision Exp
0.1288
±0.065
41081.1M256k$1.5315.5h
14Qwen3.8-Max-0902
0.1184
±0.078
451122.3M849k$37.4819.5h
15GLM-5.3 Flash
0.1126
±0.073
30450.9M205k$2.2616.7h
16Kimi K3
0.1102
25632.2M173k$14.9018.4h
17Gemini 3.7 Flash
0.0811
±0.047
28041.5M130k$9.856.9h
18Muse Spark 1.2
0.0769
±0.074
20259.3M260k$13.613.8h
19Gemini 3.8 Flash
0.0537
±0.050
23436.1M133k$5.513.9h
20Qwen3.8-Max
0.0489
±0.069
38557.1M348k$16.8019.5h
21Grok 4.7
0.0339
±0.076
13523.3M186k$24.203.9h
22Inkling
0.0000
±0.000
1365.6M31k$5.451.7h

*Gemini 4 Argon: Cache hit rate is much lower due to a non-production setting.

Background

Magnetoencephalography (MEG) records the magnetic fields produced by neural activity with millisecond resolution, and decoding heard speech from those recordings is a frontier problem in neuro-AI. The signal is faint and noisy, hundreds of sensor channels mix overlapping neural sources, and word-evoked responses vary across recordings — so a decoder that memorizes session quirks collapses on held-out data.

This task uses continuous LibriBrain recordings aligned to audiobook speech: given a recording and the sample index where a word was heard, the decoder must rank the vocabulary by how likely each word is to be the one the listener heard. The design space is deliberately open — from classical feature pipelines to end-to-end networks or adapting pretrained speech and MEG foundation models — but the result must survive sealed evaluation slices that stress rare words and long-duration generalization.

Task

Build a word decoder and keep the complete replayable deliverable under /app/meg_decoder/: predict.py, model.py, run_summary.json, and a trained checkpoint/.

  • predict.py is invoked with --data-dir, --checkpoint, and --output-path, reads MEG recordings, event metadata, sensor metadata, and the vocabulary, and writes one JSONL row per input example_id.
  • Each row must contain a deterministic ranked list of at least ten unique vocabulary IDs (word_ids); duplicate or out-of-vocabulary IDs invalidate the row.
  • A full inference batch must finish within 30 minutes without internet or external services.
  • Rankings must materially respond to the supplied MEG signals rather than relying on event identifiers or fixed vocabulary priors — a counterfactual probe enforces this.
  • The complete /app/meg_decoder/ directory must be no larger than 2.5 GB.

What The Agent Gets

Labeled LibriBrain development data under /data: training and validation splits with continuous MEG arrays in recordings.zarr, word-onset events with labels in events.parquet, sensor metadata, the complete vocabulary.json, and — for the training split only — the aligned stimulus audio. Optional pretrained checkpoints are staged offline under /models: the facebook/w2v-bert-2.0 speech encoder, the pnpl/MEG-XL MEG foundation model, and google-t5/t5-large. The pinned Python stack includes torch and torchaudio 2.6.0 (CUDA), transformers, mne, librosa, zarr, pandas, and scikit-learn, with one GPU available. A fail-closed scaffold sits at /app/meg_decoder/ and /app/validate_predictions.py checks outputs locally. The machine is offline; a sandbox-timer CLI reports the remaining budget.

Verification

A clean-room verifier evaluates a read-only snapshot of /app/meg_decoder/ on sealed hidden data, stripping every label-bearing column from the events it hands to the decoder and locking /data, /models, and the workspace to root during replay. Inference runs as the unprivileged agent user with a 30-minute cap on the full batch.

  • Quality is scored per workload — held-out recordings, recording shift, rare words, and long duration (weighted 0.4/0.2/0.2/0.2) — using a chance-adjusted composite of macro top-10 accuracy (60%), macro MRR (25%), and macro top-1 accuracy (15%), combined across workloads by a smoothed geometric mean and calibrated onto the final reward scale.
  • A determinism probe reruns the full batch and requires identical top-10 rankings.
  • A signal-counterfactual probe time-shifts the real MEG while preserving event IDs and onsets; at least 50% of each top-10 ranking must change, defeating decoders that ignore the signal.
  • Contract and safeguard gates are binary: format violations, missing or duplicate predictions, a failed or nondeterministic replay, insufficient signal turnover, or an oversized deliverable zero the result.

Environment

Base imagenvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
Tools availableCUDA, PyTorch, C/C++ toolchain, Python 3
Compute8 CPUs · 64 GB RAM
GPU1× GPU (L4, A10G, L40S, or H100)
Time limit20h

References

  • LibriBrain (CC BY-NC 4.0): Human MEG recordings, event annotations, sensor metadata, and aligned stimulus audio are derived from this dataset; usage retains its participant-data and citation requirements. Split preparation, decoding scaffolding, and verification code are original to this benchmark.
  • w2v-bert-2.0 (MIT): Optional offline speech encoder staged under /models.
  • MEG-XL (MIT): Optional MEG foundation-model checkpoint staged under /models.
  • T5-Large (Apache-2.0): Optional text-decoder checkpoint staged under /models.