SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2302.14367 · ICLR · 2023

BrainBERT: Self-supervised representation learning for intracranial recordings

Gabriel Kreiman, Ignacio Cases, Andrei Barbu, Boris Katz, Christopher Wang, Vighnesh Subramaniam, Adam Yaari

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2302.14367.json · badge: /api/ran/2302.14367.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
czlwang/brainbert marked official in Papers with Code
Papers with Code archive
5 ran · 1 no recorded run
FunctionStatusWhere it lives
BaseModel Ran
ran on a synthesized input · constructed an object; no result was computed
czlwang/brainbert/models/seeg_wav2vec.py
pointer only (licence: NONE) · get_code("40552cfde93e10d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czlwang/brainbert when it was checked. 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.

PositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
czlwang/brainbert/models/seeg_wav2vec.py
pointer only (licence: NONE) · get_code("7491bcbcd82e4522")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czlwang/brainbert when it was checked. 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.

SpecPredictionHead Ran
ran on a synthesized input · constructed an object; no result was computed
czlwang/brainbert/models/seeg_wav2vec.py
pointer only (licence: NONE) · get_code("31fb30d9c6421f4d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czlwang/brainbert when it was checked. 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.

TransformerEncoderInput Ran
ran on a synthesized input · constructed an object; no result was computed
czlwang/brainbert/models/seeg_wav2vec.py
pointer only (licence: NONE) · get_code("991a5bae9fe1284e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czlwang/brainbert when it was checked. 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.

register_model Ran
ran; our contract draft was wrong, not the code
czlwang/brainbert/models/seeg_wav2vec.py
pointer only (licence: NONE) · get_code("351d31cfb5ebb923")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czlwang/brainbert when it was checked. 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.

SeegWav2Vec Not yet run
unverified (harvested, no recorded run)
czlwang/brainbert/models/seeg_wav2vec.py
pointer only (licence: NONE) · get_code("c65f414572c886be")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czlwang/brainbert when it was checked. 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 3 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.

FunctionAlso present inEarliest-datedOthers named
BaseModel
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2406.03044 (2024-06)
Population Transformer: Learning Population-level Representations of Neural Activity
PositionalEncoding
brick of this paper's assembly: model
1 other paper
1 later · 1 only as an assembly brick
2406.03044 (2024-06)
Population Transformer: Learning Population-level Representations of Neural Activity
register_model
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2406.03044 (2024-06)
Population Transformer: Learning Population-level Representations of Neural Activity

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

We create a reusable Transformer, BrainBERT, for intracranial field potential recordings bringing modern representation learning approaches to neuroscience. Much like in NLP and speech recognition, this Transformer enables classifying complex concepts, i.e., decoding neural data, with higher accuracy and with much less data by being pretrained in an unsupervised manner on a large corpus of unannotated neural recordings. Our approach generalizes to new subjects with electrodes in new positions and to unrelated tasks showing that the representations robustly disentangle the neural signal. Just like in NLP where one can study language by investigating what a language model learns, this approach enables investigating the brain by studying what a model of the brain learns. As a first step along this path, we demonstrate a new analysis of the intrinsic dimensionality of the computations in different areas of the brain. To construct BrainBERT, we combine super-resolution spectrograms of neural data with an approach designed for generating contextual representations of audio by masking. In the future, far more concepts will be decodable from neural recordings by using representation learning, potentially unlocking the brain like language models unlocked language.

For agents

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

get_harvested_code_for_paper("2302.14367")
get_code_for_paper("2302.14367")
have("2302.14367")

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

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

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

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

Connect an agent — have() is free.