TRACE: Contrastive learning for multi-trial time series data in neuroscience
Lisa Schmors, Dominic Gonschorek, Jan Niklas Böhm, Yongrong Qiu, Na Zhou, Dmitry Kobak, Andreas S. Tolias, Fabian H. Sinz, Jacob Reimer, Katrin Franke, Sebastian Damrich, Philipp Berens
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. 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistency cites A Simple Framework for Contrastive Learning of Visual Representations
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistency cites Unsupervised Representation Learning for Time Series with Temporal Neighborhood Coding
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistency cites TS2Vec: Towards Universal Representation of Time Series
- Drop, Swap, and Generate: A Self-Supervised Approach for Generating Neural Activity cites A Simple Framework for Contrastive Learning of Visual Representations
- TS2Vec: Towards Universal Representation of Time Series cites A Simple Framework for Contrastive Learning of Visual Representations
- TS2Vec: Towards Universal Representation of Time Series cites Unsupervised Representation Learning for Time Series with Temporal Neighborhood Coding
Builds on10
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- TS2Vec: Towards Universal Representation of Time SeriesZhihan Yue, Yujing Wang, Juanyong Duan, Tianmeng Yang et al.AAAI 2022 · 938 citations
- Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency ConsistencyXiang Zhang, Ziyuan Zhao, Theodoros Tsiligkaridis, Marinka ZitnikNeurIPS 2022 · 558 citations
- Unsupervised Representation Learning for Time Series with Temporal Neighborhood CodingSana Tonekaboni, Danny Eytan, Anna GoldenbergICLR 2021 · 386 citations
- Drop, Swap, and Generate: A Self-Supervised Approach for Generating Neural ActivityRan Liu, Mehdi Azabou, Max Dabagia, Chi-Heng Lin et al.NeurIPS 2021 · 49 citations
Related papers
- Towards robust and generalizable representations of extracellular data using contrastive learningAnkit Vishnubhotla, Charlotte Loh, Akash Srivastava, Liam Paninski et al.NeurIPS 2023 · 6 citations
- In vivo cell-type and brain region classification via multimodal contrastive learningHan Yu, Hanrui Lyu, YiXun Xu, Charlie Windolf et al.ICLR 2025
- Unsupervised visualization of image datasets using contrastive learningJan Niklas Böhm, Philipp Berens, Dmitry KobakICLR 2023 · 6 citations
- Know Thyself by Knowing Others: Learning Neuron Identity from Population ContextVinam Arora, Divyansha Lachi, Ian Jarratt Knight, Mehdi Azabou et al.NeurIPS 2025 · 3 citations
- Contrastive Learning for Sequential RecommendationXu Xie, Fei Sun, Zhaoyang Liu, Shiwen Wu et al.ICDE 2022 · 674 citations
