mlsanityData to 7 Oct 2026

Segment, Shuffle, and Stitch: A Simple Layer for Improving Time-Series Representations

arXiv 2405.20082 ↗First posted 30 May 2024cs.LG cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Existing approaches for learning representations of time-series keep the temporal arrangement of the time-steps intact with the presumption that the original order is the most optimal for learning. However, non-adjacent sections of real-world time-series may have strong dependencies. Accordingly, we raise the question: Is there an alternative arrangement for time-series which could enable more effective representation learning? To address this, we propose a simple plug-and-play neural network layer called Segment, Shuffle, and Stitch (S3) designed to improve representation learning in time-series models. S3 works by creating non-overlapping segments from the original sequence and shuffling them in a learned manner that is optimal for the task at hand. It then re-attaches the shuffled segments back together and performs a learned weighted sum with the original input to capture both the newly shuffled sequence along with the original sequence. S3 is modular and can be stacked to achieve different levels of granularity, and can be added to many forms of neural architectures including CNNs or Transformers with negligible computation overhead. Through extensive experiments on several datasets and state-of-the-art baselines, we show that incorporating S3 results in significant improvements for the tasks of time-series classification, forecasting, and anomaly detection, improving performance on certain datasets by up to 68%. We also show that S3 makes the learning more stable with a smoother training loss curve and loss landscape compared to the original baseline. The code is available at https://github.com/shivam-grover/S3-TimeSeries.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 34 of its 53 references that are in the map. First posted on arXiv 30 May 2024.

Builds on

34 of 53 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  3. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
  4. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
  5. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,400
  6. 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
  7. 2018Deep learning for time series classification: a reviewcited by 575
  8. 2020Adaptive Graph Convolutional Recurrent Network for Traffic Forecastingcited by 525
  9. 2021TS2Vec: Towards Universal Representation of Time Seriescited by 463
  10. 2024MOMENT: A Family of Open Time-series Foundation Modelscited by 453
  11. 2018The UCR Time Series Archivecited by 421
  12. 2021SCINet: Time Series Modeling and Forecasting with Sample Convolution and Interactioncited by 335
22 more
  1. 2018The UEA multivariate time series classification archive, 2018cited by 330
  2. 2020Fast Differentiable Sorting and Rankingcited by 196
  3. 2020CLOCS: Contrastive Learning of Cardiac Signals Across Space, Time, and Patientscited by 170
  4. 2019Time-Series Anomaly Detection Service at Microsoftcited by 163
  5. 2020An Empirical Survey of Data Augmentation for Time Series Classification with Neural Networkscited by 128
  6. 2019Differentiable Ranks and Sorting using Optimal Transportcited by 113
  7. 2020Self-supervised ECG Representation Learning for Emotion Recognitioncited by 99
  8. 2024ContiFormer: Continuous-Time Transformer for Irregular Time Series Modelingcited by 61
  9. 2022Towards Spatio-Temporal Aware Traffic Time Series Forecasting--Full Versioncited by 59
  10. 2023Time Series Contrastive Learning with Information-Aware Augmentationscited by 52
  11. 2023Soft Contrastive Learning for Time Seriescited by 49
  12. 2021Conditional Local Convolution for Spatio-temporal Meteorological Forecastingcited by 30
  13. 2022Dynamic Sparse Network for Time Series Classification: Learning What to "see''cited by 22
  14. 2023Region-Disentangled Diffusion Model for High-Fidelity PPG-to-ECG Translationcited by 18
  15. 2022Adaptive Graph Spatial-Temporal Transformer Network for Traffic Flow Forecastingcited by 17
  16. 2020Sub-Seasonal Climate Forecasting via Machine Learning: Challenges, Analysis, and Advancescited by 15
  17. 2024Self-Supervised Contrastive Learning for Long-term Forecastingcited by 8
  18. 2023Towards Diverse and Coherent Augmentation for Time-Series Forecastingcited by 7
  19. 2022AttX: Attentive Cross-Connections for Fusion of Wearable Signals in Emotion Recognitioncited by 6
  20. 2021DDCNet: Deep Dilated Convolutional Neural Network for Dense Predictioncited by 4
  21. 2023Uncovering the Hidden Dynamics of Video Self-supervised Learning under Distribution Shiftscited by 4
  22. 2023Speech Emotion Recognition with Distilled Prosodic and Linguistic Affect Representationscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 1.

6 papers.