CARD
An encoder-only forecasting Transformer that attends over tokens, channels and hidden dimensions.
Time series · 264 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
- 33.5K
- Operations
- 264
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2024
- Cited by
- 5 (as of 29 October 2026)
- Authors
- Wang Xue, Tian Zhou, Qingsong Wen and others
- Source
- GitHub: wxie9/CARD
- 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
- m15036
- Graph hash
- 21017d9dec9278f34d04aab7d605ec6c43fd3537f60ce452468139170d953973
- Skeleton hash
- 6d1eac1f12c801ab0ff31f78b9b6a04e295eb57a6aed7a234edbc2a0d9a4f0b7
- Architecture hash
- 1ac701cec80752e77af5e5193d8ba7f2dd2c4c71f25b7f8e979ebb992cfda1e3
- Diagram SHA-256
- 4378d615a7167248d6badc85ab35aeed65426501397a7414acf5298d7065515c
- 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
CARD, short for Channel Aligned Robust Blend Transformer, is a Transformer for time series forecasting that uses the dependence among channels, meaning the variables being forecast. The paper starts from a result in earlier work: models that forecast every variable independently, the channel-independent (CI) strategy, generally outperform channel-dependent (CD) models. The explanation it cites is that CI models are more robust while CD models have higher modeling capacity.
The input series is cut into patches that become tokens. Besides the usual attention over tokens, CARD attends across channels and across hidden dimensions, which the paper says captures correlation among the predicted variables and aligns local information within each token. For attention over channels it uses a dynamic projection technique whose goal is to control the computation cost. A token blend module merges adjacent tokens within the same attention head, so the new tokens cover a longer time period. Unlike Crossformer, CARD uses an encoder-only structure.
Training uses a signal decay-based loss that concentrates on forecasting the near future. With a lookback length of 96, the paper reports the best average result on 6 of 7 long-term forecasting benchmarks in MSE and 7 of 7 in MAE. On the univariate M4 dataset it reports a 1.5% SMAPE reduction over PatchTST.
Key idea. CARD is a patch-based forecasting Transformer that aligns information among channels, blends tokens to use multi-scale information, and trains with a signal decay-based loss.
- CARD
- Channel Aligned Robust Blend Transformer
- time series forecasting
- multivariate forecasting
- long-term forecasting
- channel alignment
- token blend
- dual attention
- signal decay-based loss
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{xue2024cardchannelalignedrobust,
title={CARD: Channel Aligned Robust Blend Transformer for Time Series Forecasting},
author={Wang Xue and Tian Zhou and Qingsong Wen and Jinyang Gao and Bolin Ding and Rong Jin},
year={2024},
eprint={2305.12095},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2305.12095},
}