Retrieval-Based Reconstruction For Time-series Contrastive Learning

Maxwell A. Xu, Alexander Moreno, Hui Wei, Benjamin M Marlin, James M. Rehg
2/12/2026

No official code found. Best implementation: maxxu05/rebar (38 stars, MIT, last commit 2025-08-15).

Abstract

The success of self-supervised contrastive learning hinges on identifying positive data pairs, such that when they are pushed together in embedding space, the space encodes useful information for subsequent downstream tasks. Constructing positive pairs is non-trivial as the pairing must be similar enough to reflect a shared semantic meaning, but different enough to capture within-class variation. Classical approaches in vision use augmentations to exploit well-established invariances to construct positive pairs, but invariances in the time-series domain are much less obvious. In our work, we propose a novel method of using a learned measure for identifying positive pairs. Our Retrieval-Based Reconstruction (REBAR) measure measures the similarity between two sequences as the reconstruction error that results from reconstructing one sequence with retrieved information from the other. Then, if the two sequences have high REBAR similarity, we label them as a positive pair. Through validation experiments, we show that the REBAR error is a predictor of mutual class membership. Once integrated into a contrastive learning framework, our REBAR method learns an embedding that achieves state-of-the-art performance on downstream tasks across various modalities.

View on arXivView PDF

Code Implementations(1)

maxxu05/rebarCommunity100%
MIT

Code for Retrieval-Based Reconstruction For Time-series Contrastive Learning (ICLR 2024)

382PythonMar 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{xu2026retrievalbased,
  title  = {Retrieval-Based Reconstruction For Time-series Contrastive Learning},
  author = {Maxwell A. Xu and Alexander Moreno and Hui Wei and Benjamin M Marlin and James M. Rehg},
  year   = {2026},
  eprint = {2311.00519},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.00519},
  journal = {ICLR 2023 2023}
}

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/2311.00519.svg)](https://codeofpaper.com/paper/2311.00519)

Discussion