atlas

Research map / Time series / Long-term forecasting

Rough Transformers: Lightweight and Continuous Time Series Modelling through Signature Patching

NeurIPS 2024 · Time series › Long-term forecasting · approach: Attention for time series forecasting · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Rough Transformer (RFormer), a Transformer whose attention operates on multi-view path-signature representations of time series, giving lower compute cost, irregular-sampling robustness and better accuracy than vanilla Transformers.

Problem

Vanilla Transformers handle long, irregularly sampled, variable-length time series poorly: they need fixed input length, are not invariant to sampling times, and their attention cost scales quadratically with sequence length; Neural ODE-based alternatives are also computationally expensive.

Approach

Replace raw token sequences with multi-view path signatures (global signature from 0 to t_k and local signature between consecutive sampling points) of the piecewise-linear interpolation, then apply standard softmax attention on this compressed, reparameterization-invariant sequence of fixed length.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace vanilla Transformer attention with multi-view signature attentionTransformer · Heart Rate (HR)RMSE: 8.24 ± 2.24 -> 2.66 ± 0.21Helped
replace vanilla Transformer with RFormerTransformer · Long time series classification averageaccuracy: 59.0 -> 64.5Helped
replace vanilla Transformer with RFormerTransformer · Sineseconds per epoch: 0.77 -> 0.55Helped
replace vanilla Transformer with RFormerTransformer · HRseconds per epoch: 11.71 -> 0.45Helped
use RFormer rather than the strongest listed baselineLong time series classifier · SCP1accuracy: 89.9 ± 4.6 -> 81.2 ± 2.8Hurt
use RFormer rather than the strongest listed baselineLong time series classifier · MIaccuracy: 53.7 ± 5.3 -> 55.8 ± 6.6Helped
add higher-order signature terms rather than using linear interpolation with a vanilla Transformer (ablation)RFormer on EW · EWaccuracy: 64.10% -> 90.24%Helped
add higher-order signature terms rather than using linear interpolation with a vanilla Transformer (ablation)RFormer on HR · HRRMSE: 10.56 -> 2.66Helped
add both local and global signature components (ablation)RFormer on sinusoidal datasets · Sinusoidal and Long Sinusoidaltest accuracyHelped
use multivariate signatures instead of univariate signatures (ablation)RFormer on EW · EWperformanceHelped
randomly drop 50% of data points (ablation)RFormer · EWaccuracy: 90.24% ± 2.15 -> 87.69% ± 4.97Hurt
randomly drop 50% of data points (ablation)RFormer · HRRMSE: 2.66 ± 0.21 -> 2.82 ± 0.05Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Sinusoidal synthetic dataset Long sinusoidal dataset Heart Rate (TSR archive) UEA time series archive (SCP1, SCP2, MI, EigenWorms, EthanolConcentration, Heart Beat) LOB dataset

Benchmarks: Sinusoidal Long sinusoidal Heart Rate (HR) UCR/UEA long time series classification (SCP1, SCP2, MI, EW, ETC, HB) UEA univariate irregular classification

Metrics: test accuracy RMSE seconds per epoch memory usage Dirichlet energy

Baselines: GRU ODE-RNN Neural-CDE Neural-RDE Transformer ContiFormer LRU S5 S6 Mamba LogNCDE CRU

Builds on: Transformer Neural CDE Neural RDE ODE-RNN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy