All models

mTAND

Encoder-decoder attention network that re-represents irregularly sampled time series at fixed reference points.

Time series · 101 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 (17 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
1.3M
Operations
101
Framework
PyTorch
Recurrent
No
Published
ICLR 2021
Cited by
87 (as of 28 October 2026)
Authors
Satya Narayan Shukla, Benjamin M. Marlin
License
MIT
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
m21659
Graph hash
bb21fcfca87118739196ba34b500fcc2d77b8ad9c5783187b2cae1fb8f283dab
Skeleton hash
042710ea2118047a84275c06525460326da5a3702012eae80d90ea8fd58b3a96
Architecture hash
70ca6ee2b94b59dd321e9356d358f134a00fa887f07a033e681efdfe08da68eb
Diagram SHA-256
1058fa5988ca45afccf752b3eb4c3db617b4dd293b58fbfc473a415dfb2ac924
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

Multi-Time Attention Networks are built for irregularly sampled time series: they learn an embedding of continuous time values and use an attention mechanism to produce a fixed-length representation of a series containing a variable number of observations. The work is motivated by physiological time series data in electronic health records, which are sparse, irregularly sampled, and multivariate.

The approach re-represents an irregularly sampled time series at a fixed set of reference points, with the reference time points used as attention queries and the observed time points as keys. This model is mTAND-Full, the paper's encoder-decoder framework. Its encoder produces a fixed-length latent representation over a set of reference points, and its decoder uses the latent representations to produce reconstructions conditioned on the set of observed time points. For classification, a GRU is followed by a 2-layer fully connected network.

The paper presents interpolation and classification experiments on three real-world data sets: Physionet Challenge 2012, MIMIC-III, and a Human Activity dataset. In its training-time comparison, the paper reports that mTAND-Full is over 85 times faster than ODE-RNN and over 100 times faster than L-ODE-ODE.

Key idea. Multi-Time Attention Networks learn an embedding of continuous time values and use attention to turn a time series with a variable number of observations into a fixed-length representation.

  • mTAND
  • mTAND-Full
  • Multi-Time Attention Networks
  • irregularly sampled time series
  • time attention
  • continuous-time embedding
  • time series interpolation
  • electronic health records
  • physiological time series

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

Cite the paper

@misc{shukla2021multitimeattentionnetworksirregularly,
      title={Multi-Time Attention Networks for Irregularly Sampled Time Series}, 
      author={Satya Narayan Shukla and Benjamin M. Marlin},
      year={2021},
      eprint={2101.10318},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2101.10318}, 
}