All models

FITS

A frequency-domain time series model built on one complex-valued linear layer.

Time series · 22 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (24 KB)

Open in a new tab

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

Parameters
14.3K
Operations
22
Framework
PyTorch
Recurrent
No
Published
ICLR 2024
Cited by
19 (as of 26 October 2026)
Authors
Zhijian Xu, Ailing Zeng, Qiang Xu
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16572
Graph hash
6fca1a383ebf16181f2b68e9d85ad61bf368d508cdaa32793cef48f21577e656
Skeleton hash
07c592ebc4f254d9a5fc32e5abedd98df9ff0d502a4e9760c927b387d09c790e
Architecture hash
9dec95700850fc059a187466a1a2c621e21a8be90cad3a22afb2c7e10094b5f8
Diagram SHA-256
476d3ab5d312c0c57fa840a66c26e2b832e375a898ed15b6600876de371bc636
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

FITS is a very small model for time series analysis: the paper reports that in most scenarios it has fewer than 10k parameters. Instead of processing raw time-domain data, it treats tasks such as forecasting and reconstruction as interpolation in the complex frequency domain. The paper aims it at edge devices.

The input segment is first normalized to zero mean and projected to the frequency domain with rFFT. A low-pass filter then removes the components above a cutoff frequency, which reduces the model size. A single complex-valued linear layer interpolates the remaining frequencies, learning amplitude scaling and phase shifting as multiplication of complex numbers. Zero padding and an inverse rFFT then return the result to the time domain as a longer segment.

For forecasting, the output covers both the look-back window and the horizon, so training can supervise the backcast as well as the forecast. The paper describes FITS as 50 times more compact than the linear model DLinear. The authors' repository also adds Real_FITS, which uses two linear layers to simulate the complex multiplication.

Key idea. FITS recasts time series forecasting and reconstruction as interpolation in the complex frequency domain, done by one complex-valued linear layer in a model of about 10k parameters.

  • fits
  • frequency interpolation time series
  • time series forecasting
  • anomaly detection
  • frequency domain
  • frequency interpolation
  • complex-valued linear layer
  • lightweight time series model
  • edge devices

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{xu2024fitsmodelingtimeseries,
      title={FITS: Modeling Time Series with $10k$ Parameters}, 
      author={Zhijian Xu and Ailing Zeng and Qiang Xu},
      year={2024},
      eprint={2307.03756},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2307.03756}, 
}