TRACE: Contrastive learning for multi-trial time series data in neuroscience

Lisa Schmors, Dominic Gonschorek, J. Böhm, Yong-Rong Qiu, Na Zhou +7 more
6/1/2025
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Modern neural recording techniques such as two-photon imaging or Neuropixel probes allow to acquire vast time-series datasets with responses of hundreds or thousands of neurons. Contrastive learning is a powerful self-supervised framework for learning representations of complex datasets.

Show full abstract

Existing applications for neural time series rely on generic data augmentations and do not exploit the multi-trial data structure inherent in many neural datasets. Here we present TRACE, a new contrastive learning framework that averages across different subsets of trials to generate positive pairs. TRACE allows to directly learn a two-dimensional embedding, combining ideas from contrastive learning and neighbor embeddings. We show that TRACE outperforms other methods, resolving fine response differences in simulated data. Further, using in vivo recordings, we show that the representations learned by TRACE capture both biologically relevant continuous variation, cell-type-related cluster structure, and can assist data quality control.

View on arXivView PDF

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{schmors2025trace,
  title  = {TRACE: Contrastive learning for multi-trial time series data in neuroscience},
  author = {Lisa Schmors and Dominic Gonschorek and J. Böhm and Yong-Rong Qiu and Na Zhou and Dmitry Kobak and A. Tolias and Fabian H. Sinz and J. Reimer and Katrin Franke and Sebastian Damrich and Philipp Berens},
  year   = {2025},
  eprint = {2506.04906},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-2667},
  url    = {https://doi.org/10.52202/085713-2667},
  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/2506.04906.svg)](https://codeofpaper.com/paper/2506.04906)

Discussion