Segment, Shuffle, and Stitch:一种用于改进时序表示的简单层
Segment, Shuffle, and Stitch: A Simple Layer for Improving Time-Series Representations
AI总结:
该研究针对现有时序表示学习依赖原始时间顺序的局限,提出即插即用的S3神经网络层,通过分段、可学习打乱、拼接加加权融合改进表示,在多类时序任务上实现显著性能提升,且训练更稳定。
摘要:
现有的时间序列表示学习方法均保持时间步的时间排列不变,前提是原始顺序对学习而言是最优的。然而,真实世界时间序列中不相邻的片段之间可能存在强依赖关系。据此我们提出问题:是否存在一种时间序列的替代排列方式,能够实现更有效的表示学习?为解决该问题,我们提出了一种名为Segment, Shuffle, and Stitch(S3,分段-打乱-拼接)的简单即插即用神经网络层,旨在改进时序模型的表示学习。S3的工作原理是:先从原始序列中生成无重叠的分段,再以针对当前任务最优的可学习方式打乱这些分段;随后将打乱后的分段重新拼接,并与原始输入进行可学习的加权求和,以同时捕获打乱后的新序列与原始序列的信息。S3具备模块化特性,可堆叠以实现不同粒度的处理,且能以可忽略的计算开销添加到包括CNN、Transformer在内的多种神经架构中。通过在多个数据集和多个SOTA基线模型上开展的大量实验,我们表明加入S3可在时间序列分类、预测和异常检测任务上取得显著提升,在部分数据集上性能提升最高达68%。我们还证实,与原始基线相比,S3能让学习过程更稳定,训练损失曲线和损失景观更平滑。代码可在https://github.com/shivam-grover/S3-TimeSeries获取。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。