LFPformer: Geometry-Aware Self-Supervised Electrophysiology Representation Learning
Abstract
Local field potentials (LFPs) capture neural population activity, motivating transferable representations for interpreting brain recordings. We introduce LFPformer, a self-supervised framework that learns geometry-aware representations of single-channel LFPs using probe geometry and insertion coordinates recorded at acquisition time. We augment the standard wav2vec\~2.0 pretraining objective with spatial relationships derived from channel spacing and estimated insertion trajectories, without requiring histological coordinates during pretraining. We evaluate representation quality through three-dimensional coordinate regression and brain-region classification. Precise electrode localization underpins the interpretation of extracellular recordings, but conventional histology is labor-intensive and verifies chronic implants only after experiments end. Using wav2vec\~2.0 as the main backbone, we compare against supervised baselines (AnyNet, ViT, and classical spectral classifiers) across datasets, laboratories, species, and probe technologies. Geometry-aware representations improve localization relative to the standard wav2vec\~2.0 objective, with Transformer readouts strengthening LFP-only performance and insertion metadata providing further gains. Scaling and spectral analyses characterize the effects of training exposure and frequency-dependent information in the embeddings. These findings support scalable LFP representation learning, although localization errors remain too large to replace histology. Project page:https://www.neuroinformaticslab.com/lfpformer