NuwaTS
Pre-trained language model repurposed to impute missing values in time series from any domain.
Time series · 425 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Time series
- Parameters
- 83.1M
- Operations
- 425
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- Cited by
- 10 (as of 15 November 2026)
- Authors
- Jinguo Cheng, Chunwei Yang, Wanlin Cai and others
- Source
- GitHub: Chengyui/NuwaTS
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18916
- Graph hash
- 38a2ba0214dd99f1c2fd2b80e5ee80c3b04626a3d8f09a4a3210ba524a9d8ccd
- Skeleton hash
- 344afe33320707dbba0fff740bfe4f8eac6268b80467caa6f4e88677823e1b36
- Architecture hash
- fef1def8485dd2592e7f59e72171f6e51f7fd74cf10309857716ba573a98524d
- Diagram SHA-256
- 5b7beb07cc91642b9a2ed788e7db42a77f3517da2e3544d286c147650d4cc330
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
NuwaTS is a framework that repurposes pre-trained language models for general time series imputation, that is, filling in the missing values of an incomplete series. The paper starts from the observation that existing imputation models often require specialized designs tailored to specific missing patterns, variables or domains, which limits their generalizability. Once trained, NuwaTS can be applied to impute missing data across any domain.
The series is handled as sub-series patches, and each patch gets specialized embeddings that carry information about the patch, its missing data patterns and its statistical characteristics. The language model is trained by combining contrastive learning with the imputation task, and a plug-and-play fine-tuning approach adapts it to domain-specific tasks with minimal adjustments.
To test generalization across variables and domains, the paper proposes a benchmarking protocol that partitions the datasets along the variable dimension, so all methods are tested on unseen variables. Under that protocol, in experiments on over seventeen million time series samples, the paper reports that NuwaTS outperforms domain-specific models across various datasets. It also reports that NuwaTS generalizes to other time series tasks, such as forecasting.
Key idea. NuwaTS repurposes pre-trained language models, with patch embeddings that encode missing data patterns and statistics, into a one-for-all model for time series imputation.
- NuwaTS
- time series imputation
- missing data imputation
- incomplete time series
- time series foundation model
- pre-trained language model
- cross-domain imputation
- time series forecasting
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cheng2024nuwatsfoundationmodelmending,
title={NuwaTS: a Foundation Model Mending Every Incomplete Time Series},
author={Jinguo Cheng and Chunwei Yang and Wanlin Cai and Yuxuan Liang and Qingsong Wen and Yuankai Wu},
year={2024},
eprint={2405.15317},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2405.15317},
}