tsai InceptionTime
Inception-style 1D CNN ensemble that matches HIVE-COTE accuracy on time series while training far faster.
Time series · 332 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
- 2.3M
- Operations
- 332
- Framework
- PyTorch
- Recurrent
- No
- Published
- Data Mining and Knowledge Discovery (arXiv 2019)
- Cited by
- 1,765 (as of 18 October 2026)
- Authors
- Hassan Ismail Fawaz, Benjamin Lucas, Germain Forestier and others
- Source
- GitHub: timeseriesAI/tsai
- 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 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
- m10713
- Graph hash
- 9426de191a5112a541abc5cfafda75a26abdf7064b769e34f16ca2dd7aa2b191
- Skeleton hash
- 1e7c30343df50d313f0878ef43c70b66ff2e63e429b5d040c6c60dc4cf17598f
- Architecture hash
- c3d8dae9d4fec789ccfec1db93f1848a52e616a53f6c087f66e670bf5e955b5a
- Diagram SHA-256
- 341537f93201b59564517af3ad8e318e3f7b2afcb85d14388d8d9a29d3a4ada3
- 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
InceptionTime is an ensemble of deep convolutional neural network models for time series classification, inspired by the Inception-v4 architecture. The paper sets out to find the equivalent of AlexNet for time series classification. The competitor it measures itself against is HIVE-COTE, which is extremely accurate but has a training time complexity of O(N^2 · T^4) for a dataset of N series of length T.
The core idea of an Inception module is to apply multiple filters simultaneously to an input time series, with filters of varying lengths. Each module starts with a bottleneck layer that slides m filters of length 1 with a stride of 1. That bottleneck lets the Inception network use much longer filters than ResNet, almost ten times longer, with roughly the same number of parameters. By default three sets of 32 filters of length 10, 20 and 40 run alongside a MaxPooling branch. An Inception network contains two residual blocks, as opposed to ResNet's three, with each block comprised of three Inception modules. The network shown in the paper stacks 6 Inception modules one after the other. After the residual blocks comes a Global Average Pooling layer over the whole time dimension and then a fully connected softmax layer. InceptionTime proper is an ensemble of 5 such networks with evenly weighted predictions, because a single Inception network exhibits high standard deviation in accuracy. The captured graph is the tsai library's PyTorch InceptionTime, listed there as InceptionTime (Fawaz, 2019).
On the UCR archive InceptionTime posts a Win/Tie/Loss of 40/6/39 against HIVE-COTE, a difference that is not statistically significant. Against ResNet(5) it scores 54/8/23 with a p-value below 0.01. The abstract's scale claim is that it can learn from 1,500 time series in one hour and from 8M time series in 13 hours. In the hyperparameter study the bottleneck did not significantly change accuracy, but InceptionTime with the bottleneck contains almost half the parameters, so the authors kept it. Increasing the number of filters per layer significantly deteriorated accuracy, whereas decreasing them did not significantly affect it. The companion repository splits the code into inception.py for the Inception network and nne.py for the code that ensembles a set of Inception networks.
Key idea. An ensemble of deep Inception-style CNNs that is on par with HIVE-COTE in accuracy for time series classification while being much more scalable.
- inceptiontime
- inception time
- time series classification
- tsc
- inception module
- ucr archive
- hive-cote
- tsai
- 1d cnn
- ensemble
- long filters
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{fawaz2020inceptiontimefindingalexnettime,
title={InceptionTime: Finding AlexNet for Time Series Classification},
author={Hassan Ismail Fawaz and Benjamin Lucas and Germain Forestier and Charlotte Pelletier and Daniel F. Schmidt and Jonathan Weber and Geoffrey I. Webb and Lhassane Idoumghar and Pierre-Alain Muller and François Petitjean},
year={2020},
eprint={1909.04939},
archivePrefix={arXiv},
primaryClass={cs.LG},
doi={https://doi.org/10.1007/s10618-020-00710-y},
url={https://arxiv.org/abs/1909.04939},
}