JA EN
LearnAudio & Speech
·★ MEMBER·PAPER·9 min read

Paper Walkthrough: Interpretable MEG Decoding of Perceived Speech — Reading the Decoder's Weights as a Brain Map

From three seconds of magnetoencephalography, this decoder picks the audio a listener was hearing out of 1005 candidates with 39.75% Top-1 accuracy — and, unlike its predecessors, its trained weights translate into cortical locations and rhythms, while paired occlusion experiments reveal which speech features it actually relies on.

ModalityaudioTaskasr

Interpretable MEG Decoding of Perceived Speech: Cortical Sources and the Stimulus Features That Drive Retrieval

Primary source — what this article is built on

undefined2026-08-02undefined2026-08-13same month

Interpretable MEG Decoding of Perceived Speech: Cortical Sources and the Stimulus Features That Drive RetrievalIlia Semenkov, Daria Kleeva, Ivan Dakhtin et al. · 2026-08-02 · v1arXiv:2608.01481Paper page·PDF
undefined

Short segments of perceived speech can be retrieved from non-invasive magnetoencephalographic (MEG) recordings by deep networks trained with a CLIP-style objective against wav2vec 2.0 audio embeddings. Yet their weights do not map onto electrophysiological quantities, and it remains unclear which speech properties drive retrieval. We build on a high-performing MEG-to-audio retrieval architecture but redesign both its front end and decoder. Its spatial attention operates on a flattened sensor layout; we replace it with spherical harmonics defined on the three-dimensional MEG helmet geometry. We reduce the subject-specific representation from 270 to 25 branches, add a temporal filter to each branch to match it to a neuronal source in space and time, and make the convolutional decoder shallower. Ocular and cardiac components are removed before training to reduce the risk of stimulus-locked shortcuts. On MEG-MASC, the model reaches 39.75 +/- 0.34% Top-1 accuracy among 1005 candidates across six trained solutions, with about 20 times fewer decoder parameters. Its weights map to source space, recovering generators consistent with the speech-perception network, while left-lateralized branches carry higher-frequency rhythmic components not evident on the right. Paired MEG occlusion shows that 15 of 19 stimulus features contribute, with the largest effects for silence, sound intensity, vowels, and acoustic onsets. Random word lists behave oppositely: substituting narrative MEG into them improves retrieval, indicating that activity without narrative structure carries less recoverable information than activity during coherent speech. The wav2vec target can be reduced to about twelve learned feature dimensions without loss of accuracy, whereas strong temporal compression causes a clear loss. Together, source mapping and input interventions reveal what drives retrieval.


Guessing the voice in someone's head — from outside it

While a person listens to an audiobook, sensors placed around their head record the brain's magnetic field. Given just three seconds of that recording, the task is to pick which audio clip the person was hearing out of 1005 candidates. That is the problem this paper tackles, using magnetoencephalography (MEG) — a measurement that requires no surgery and no implanted electrodes. The model gets the right answer on the first guess about 39.75% of the time (§4.1). Random guessing would land at 0.1%, so that is roughly a 400-fold improvement over chance.

Here's the thing: the "guessing" part was already solved. Défossez et al. demonstrated this kind of retrieval in 2023 (§1). What this paper adds is not accuracy — it is the ability to read the reasons off the trained model.

An analogy: two detectives

Imagine two skilled detectives. The first has an excellent hit rate but never explains a conclusion. The second is just as accurate and can point to the evidence: "this footprint, plus that alibi." Only the second one is useful as an instrument of science.

Conventional deep decoders are the first detective. As the paper puts it, their weights match nothing an electrophysiologist can name — "not a cortical location, not a rhythm, not a time course" (§1). This work builds the second detective by constraining the network's front end with the physics of the measurement and the physiology of its sources, so that after training, the weights can be converted into "which part of the cortex, oscillating at what frequency, this branch was listening to."

Background: what does MEG actually measure?

The starting point is the physics of how MEG signals arise (§2.1). When many neurons in a cortical patch fire in synchrony, their combined current can be approximated by a single equivalent current dipole — think of it as a tiny battery — whose magnetic field reaches the M sensors surrounding the head. The signal x(t)\mathbf{x}(t) measured at time tt is a sum:

x(t)=n=1Ngnsn(t)+u=1Nuqupu(t)+n(t)\mathbf{x}(t)=\sum_{n=1}^{N}\mathbf{g}_{n}s_{n}(t)+\sum_{u=1}^{N_{\mathrm{u}}}\mathbf{q}_{u}p_{u}(t)+\mathbf{n}(t)
(1)

Put in words: what the sensors pick up is the brain activity you want, plus brain activity that has nothing to do with the task, plus noise from the machine — all summed together. Only that sum is observable, and nothing in the recording carries a label saying which part came from where.

The first term is the task-related brain activity: sn(t)s_n(t) is the activation of the nn-th neuronal source (a single waveform over time), and gn\mathbf{g}_n is a vector describing how strongly that source reaches each of the M sensors — its topography, effectively the source's fingerprint. The second term is brain activity unrelated to the task, and n(t)\mathbf{n}(t) is sensor noise. An MEG recording is like a stereo mix of many instruments playing at once; decoding means isolating the instruments you care about (§2.2).

Framing the task: retrieval, not reconstruction

Rather than reconstructing the waveform, this paper (following its predecessor) frames the problem as retrieval (§3). The audio side is encoded into embedding vectors by wav2vec 2.0, a self-supervised speech model; the MEG side is encoded into the same space by a neural network. Training uses a CLIP-style contrastive objective — pull matching pairs together, push mismatched pairs apart. At test time, the MEG embedding is compared against all 1005 candidate audio embeddings by cosine similarity, and the closest one wins.

FIG 1The heart of retrieval is cosine similarity — the more two vectors point the same way, the larger their dot product. Training aligns the MEG embedding with the correct audio embedding.

The data is the public MEG-MASC dataset: 208-channel MEG from 27 English speakers listening to narrated stories. Audio is cut into 3-second windows with a 1-second stride, and each is paired with the MEG segment starting 150 ms later to account for auditory-response latency (§3.7). The test set is 1005 candidates built from the final seven pieces of the story Black Willow.

The design: constraining the network with physics and physiology

The paper starts from the Défossez et al. architecture and makes four changes (§1, §3). The guiding motive is not to raise the score but to make the model readable — though, as it turns out, the score does not suffer either.

The decoder itself is also made shallower (two convolutional blocks), for a complete MEG decoder of 486,619 parameters — about 20× fewer than Défossez et al. (§1, Appendix C).

What's behind this

§

Members-only from here

371 walkthroughs, 26 textbook chapters, 48 student units and 6 close readings — all included for $4.99/mo, with three new explainers every day. Cancel any time; access runs to the end of the period.

Already a member? Sign in to keep reading

References

  1. Ilia Semenkov, Daria Kleeva, Ivan Dakhtin, Zarina Maksudova et al.. (2026-08-02) Interpretable MEG Decoding of Perceived Speech: Cortical Sources and the Stimulus Features That Drive Retrieval. arXiv:2608.01481Paper page·PDF

This article is written from the source paper above. Where they differ, the original is authoritative.

Comments

Sign in to comment