AI for Science · Time series · arXiv 2024
Motion Code
Robust time series classification and forecasting via sparse variational multi-stochastic processes learning.
Goal
Find common dynamics in noisy recordings
Motion Code represents collections of time series as continuous-time stochastic processes. It learns a compact signature for each process and informative timestamps shared across recordings, supporting classification and forecasting with irregular observations. Method in the paper
Collect
Group recordings by their underlying process.
Learn
Jointly optimize process kernels, motion codes, and a shared timestamp map.
Use
Classify a new sequence or forecast a process with uncertainty.
Explore the idea
From recordings to a readable pattern
Several recordings can follow the same broad pattern while differing at individual times. Increase the noise to see how that pattern becomes harder to read.
This is an explanatory drawing with synthetic samples and fixed reference curves. The noise control changes the drawing; it does not fit a model or reproduce a benchmark.
Figures from the paper
Pronunciation recordings and informative timestamps
Original Figure 1 panels from Bajaj and Nguyen, arXiv v3. Select a panel to view the original image.
Reported results
Classification on audio and wearable recordings
Selected accuracies from Tables 3–4 of the paper. The comparison column is the best other reported method across both tables; ties are retained.
| Dataset | Motion Code | Best reported comparator |
|---|---|---|
| Pronunciation audio | 87.50 | 87.50 · TSF |
| Parkinson setting 1 | 70.81 | 70.81 · RISE |
| Parkinson setting 2 | 54.31 | 53.61 · RISE |
Setting 1 separates no tremor from mild tremor while on medication. Setting 2 adds moderate/severe tremor independently of medication state. These are research classification tasks. Full experimental setup and tables
Limitations
Read performance in context
The model assumes Gaussian observation noise. Forecasting uses a shared prediction for each collection, and Table 5 shows that performance varies by dataset.
This page reports the paper’s experiments; it supplies no new validation or clinical assessment. A high score in one setup does not establish transfer to a new sensor, cohort, or collection process.
Next steps
Make the evidence easier to reproduce
Proposed follow-up work, not completed results:
- Reproduce the tables from a pinned code revision and document dataset access.
- Measure sensitivity to noise, missing observations, and the number of selected timestamps.
- Test transfer to held-out devices and participants before considering new applications.
Reproducibility
Start with the author implementation
The repository provides saved models, a tutorial notebook, classification and forecasting benchmarks, and visualization scripts. Its README documents data downloads and requirements; datasets are obtained separately.
Chandrajit Bajaj and Minh Nguyen. Motion Code: Robust Time Series Classification and Forecasting via Sparse Variational Multi-Stochastic Processes Learning. arXiv:2402.14081, version 3, November 25, 2024. Earlier versions used the title “Robust Learning of Noisy Time Series Collections Using Stochastic Process Models with Motion Codes.”



