Segment, Shuffle, and Stitch: A Simple Layer for Improving Time-Series Representations
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
- 2017Attention Is All You Needcited by 59,932
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
- 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 1,981
- 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
- 2022Are Transformers Effective for Time Series Forecasting?cited by 1,400
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2018Deep learning for time series classification: a reviewcited by 575
- 2020Adaptive Graph Convolutional Recurrent Network for Traffic Forecastingcited by 525
- 2021TS2Vec: Towards Universal Representation of Time Seriescited by 463
- 2024MOMENT: A Family of Open Time-series Foundation Modelscited by 453
- 2018The UCR Time Series Archivecited by 421
- 2021SCINet: Time Series Modeling and Forecasting with Sample Convolution and Interactioncited by 335
22 more
- 2018The UEA multivariate time series classification archive, 2018cited by 330
- 2020Fast Differentiable Sorting and Rankingcited by 196
- 2020CLOCS: Contrastive Learning of Cardiac Signals Across Space, Time, and Patientscited by 170
- 2019Time-Series Anomaly Detection Service at Microsoftcited by 163
- 2020An Empirical Survey of Data Augmentation for Time Series Classification with Neural Networkscited by 128
- 2019Differentiable Ranks and Sorting using Optimal Transportcited by 113
- 2020Self-supervised ECG Representation Learning for Emotion Recognitioncited by 99
- 2024ContiFormer: Continuous-Time Transformer for Irregular Time Series Modelingcited by 61
- 2022Towards Spatio-Temporal Aware Traffic Time Series Forecasting--Full Versioncited by 59
- 2023Time Series Contrastive Learning with Information-Aware Augmentationscited by 52
- 2023Soft Contrastive Learning for Time Seriescited by 49
- 2021Conditional Local Convolution for Spatio-temporal Meteorological Forecastingcited by 30
- 2022Dynamic Sparse Network for Time Series Classification: Learning What to "see''cited by 22
- 2023Region-Disentangled Diffusion Model for High-Fidelity PPG-to-ECG Translationcited by 18
- 2022Adaptive Graph Spatial-Temporal Transformer Network for Traffic Flow Forecastingcited by 17
- 2020Sub-Seasonal Climate Forecasting via Machine Learning: Challenges, Analysis, and Advancescited by 15
- 2024Self-Supervised Contrastive Learning for Long-term Forecastingcited by 8
- 2023Towards Diverse and Coherent Augmentation for Time-Series Forecastingcited by 7
- 2022AttX: Attentive Cross-Connections for Fusion of Wearable Signals in Emotion Recognitioncited by 6
- 2021DDCNet: Deep Dilated Convolutional Neural Network for Dense Predictioncited by 4
- 2023Uncovering the Hidden Dynamics of Video Self-supervised Learning under Distribution Shiftscited by 4
- 2023Speech Emotion Recognition with Distilled Prosodic and Linguistic Affect Representationscited by 4
Built on by
Citing papers per year: 2025: 5; 2026: 1.
6 papers.
- 2025Thicker and Quicker: A Jumbo Token for Fast Plain Vision Transformerscited by 4
- 2025Universal Domain Adaptation Benchmark for Time Series Data Representationcited by 1
- 2025Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Imagescited by 0
- 2025Diversity Augmentation of Dynamic User Preference Data for Boosting Personalized Text Summarizerscited by 0
- 2025Graph-Based Learning of Spectro-Topographical EEG Representations with Gradient Alignment for Brain-Computer Interfacescited by 0
- 2026A Comprehensive Benchmark of Source-Free Universal Domain Adaptation on Time Series Representationscited by 0
- 2026A Comprehensive Benchmark of Source-Free Universal Domain Adaptation on Time Series Representations30 Sep 2026
- 2025Graph-Based Learning of Spectro-Topographical EEG Representations with Gradient Alignment for Brain-Computer Interfaces8 Dec 2025
- 2025Diversity Augmentation of Dynamic User Preference Data for Boosting Personalized Text Summarizers11 Oct 2025
- 2025Masked Training for Robust Arrhythmia Detection from Digitalized Multiple Layout ECG Images6 Aug 2025
- 2025Universal Domain Adaptation Benchmark for Time Series Data Representation23 May 2025
- 2025Thicker and Quicker: A Jumbo Token for Fast Plain Vision Transformers20 Feb 2025