A

Rapid Augmentations for Time Series (RATS): A High-Performance Library for Time Series Augmentation

arXiv (Cornell University)

Abstract

Time series augmentation is critical for training robust deep learning models, particularly in domains where labelled data is scarce and expensive to obtain. However, existing augmentation libraries for time series, mainly written in Python, suffer from performance bottlenecks, where running time grows exponentially as dataset sizes increase -- an aspect limiting their applicability in large-scale, production-grade systems. We introduce RATS (Rapid Augmentations for Time Series), a high-performance library for time series augmentation written in Rust with Python bindings (RATSpy). RATS implements multiple augmentation methods spanning basic transformations, frequency-domain operations and time warping techniques, all accessible through a unified pipeline interface with built-in parallelisation. Comprehensive benchmarking of RATSpy versus a commonly used library (tasug) on 143 datasets demonstrates that RATSpy achieves an average speedup of 74.5\% over tsaug (up to 94.8\% on large datasets), with up to 47.9\% less peak memory usage.

Authors 6

  1. RWTH Aachen University

    Affiliation as printed

    Chair for Artificial Intelligence Methodology (AIM) , Faculty of Computer Science , RWTH Aachen University , Aachen , Germany

  2. RWTH Aachen University

    Affiliation as printed

    Chair for Artificial Intelligence Methodology (AIM) , Faculty of Computer Science , RWTH Aachen University , Aachen , Germany

  3. RWTH Aachen University

    Affiliation as printed

    Chair for Artificial Intelligence Methodology (AIM) , Faculty of Computer Science , RWTH Aachen University , Aachen , Germany

  4. RWTH Aachen University

    Affiliation as printed

    Chair for Artificial Intelligence Methodology (AIM) , Faculty of Computer Science , RWTH Aachen University , Aachen , Germany

  5. RWTH Aachen University

    Affiliation as printed

    Chair for Artificial Intelligence Methodology (AIM) , Faculty of Computer Science , RWTH Aachen University , Aachen , Germany

Cited by 0 stored of 0

No patents citing this paper on Lens.org (checked 2026-10-06).

References 0