Self supervised learning for in vivo localization of microelectrode arrays using raw local field potential

Tianxiao He, Malhar Patel, Chenyi Li, Anna Maslarova, M. Vöröslakos +4 more
1/1/2025
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Recent advances in large-scale neural recordings have enabled accurate decoding of behavior and cognitive states, yet decoding anatomical regions remains underex-plored, despite being crucial for consistent targeting in multiday recordings and effective deep brain stimulation. Current approaches typically rely on external anatomical information, from atlas-based planning to post hoc histology, which are limited in precision, longitudinal applicability, and real-time feedback.

Show full abstract

In this work, we develop a self-supervised learning framework, Lfp2vec , to infer anatomical regions directly from the neural signal in vivo. We adapt an audio-pretrained transformer model by continuing self-supervised training on a large corpus of unlabeled local-field-potential (LFP) data, then fine-tuning for anatomical region decoding. Ablations show that combining out-of-domain initialization with in-domain self-supervision outperforms training from scratch. We demonstrate that our method achieves strong zero-shot generalization across different labs and probe geometries, and outperforms state-of-the-art self-supervised models on electrophysiology data. The learned embeddings form anatomically coherent clusters and transfer effectively to downstream tasks like disease classification with minimal fine-tuning. Altogether, our approach enables zero-shot prediction of brain regions in novel subjects, demonstrates that LFP signals encode rich anatomical information, and establishes self-supervised learning on raw LFP as a foundation to learn representations that can be tuned for diverse neural decoding tasks. Code to reproduce our results is found in the github repository at https://github.com/tianxiao18/Lfp2vec .

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{he2025self,
  title  = {Self supervised learning for in vivo localization of microelectrode arrays using raw local field potential},
  author = {Tianxiao He and Malhar Patel and Chenyi Li and Anna Maslarova and M. Vöröslakos and Nalini Ramanathan and Wei-Lun Hung and György Buzsáki and E. Varol},
  year   = {2025},
  doi    = {10.52202/085713-4142},
  url    = {https://doi.org/10.52202/085713-4142},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/4f688996454c4a17a337781717beb2d1799c7aeb.svg)](https://codeofpaper.com/paper/4f688996454c4a17a337781717beb2d1799c7aeb)

Discussion