mlsanityData to 14 Oct 2026

eMargin: Revisiting Contrastive Learning with Margin-Based Separation

arXiv 2507.14828 ↗First posted 20 Jul 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

We revisit previous contrastive learning frameworks to investigate the effect of introducing an adaptive margin into the contrastive loss function for time series representation learning. Specifically, we explore whether an adaptive margin (eMargin), adjusted based on a predefined similarity threshold, can improve the separation between adjacent but dissimilar time steps and subsequently lead to better performance in downstream tasks. Our study evaluates the impact of this modification on clustering performance and classification in three benchmark datasets. Our findings, however, indicate that achieving high scores on unsupervised clustering metrics does not necessarily imply that the learned embeddings are meaningful or effective in downstream tasks. To be specific, eMargin added to InfoNCE consistently outperforms state-of-the-art baselines in unsupervised clustering metrics, but struggles to achieve competitive results in downstream classification with linear probing. The source code is publicly available at https://github.com/sfi-norwai/eMargin.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 29 references that are in the map. First posted on arXiv 20 Jul 2025.

Builds on

21 of 29 references.

References · 21

  1. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  2. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  3. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  4. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
  5. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
  6. 2020Supervised Contrastive Learningcited by 2,829
  7. 2023Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecturecited by 1,039
  8. 2020Contrastive Learning with Hard Negative Samplescited by 628
  9. 2021TS2Vec: Towards Universal Representation of Time Seriescited by 471
  10. 2021Time-Series Representation Learning via Temporal and Contextual Contrastingcited by 345
  11. 2019Unsupervised Scalable Representation Learning for Multivariate Time Seriescited by 269
  12. 2022Self-Supervised Contrastive Pre-Training For Time Series via Time-Frequency Consistencycited by 250
9 more
  1. 2021Unsupervised Representation Learning for Time Series with Temporal Neighborhood Codingcited by 224
  2. 2020CLOCS: Contrastive Learning of Cardiac Signals Across Space, Time, and Patientscited by 171
  3. 2022CoST: Contrastive Learning of Disentangled Seasonal-Trend Representations for Time Series Forecastingcited by 144
  4. 2023SimMTM: A Simple Pre-Training Framework for Masked Time-Series Modelingcited by 115
  5. 2022Mixing Up Contrastive Learning: Self-Supervised Representation Learning for Time Seriescited by 54
  6. 2023Time Series Contrastive Learning with Information-Aware Augmentationscited by 52
  7. 2023Soft Contrastive Learning for Time Seriescited by 51
  8. 2021Neighborhood Contrastive Learning Applied to Online Patient Monitoringcited by 32
  9. 2023TimeDRL: Disentangled Representation Learning for Multivariate Time-Seriescited by 10

Built on by

Not cited yet.