Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Deep learning›Crossformer: Cross-Dimension Dependency Transformer for Multivariate Time Series Forecasting
Machine learningTime-series forecasting

Crossformer: Cross-Dimension Dependency Transformer for Multivariate Time Series Forecasting

Crossformer (Cross-Dimension Dependency Transformer) · Also known as: Cross-Dimension Dependency Transformer, Crossformer TSF, Çapraz-Boyut Bağımlılık Transformatörü

Crossformer is a Transformer-based architecture for multivariate time series forecasting, introduced by Yunhao Zhang and Junchi Yan at ICLR 2023. Unlike earlier Transformer variants that treat each variate independently, Crossformer explicitly models cross-dimension dependencies alongside temporal patterns. It achieves this through a two-stage attention design — cross-time and cross-dimension — applied over segment-level embeddings organized in a hierarchical encoder, enabling the model to capture both intra-variate dynamics and inter-variate correlations simultaneously.

ScholarGate
  1. Machine learning
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Crossformer
InformeriTransformerPatchTST

When to use it

Crossformer is well-suited for multivariate time series forecasting tasks where inter-variable correlations are expected to carry predictive signal, such as traffic, energy, weather, or financial datasets with many co-evolving channels. It assumes that cross-dimension dependencies are informative and that segment-level temporal abstractions are appropriate. It may underperform simpler linear baselines on datasets where inter-variate structure is weak or where channel independence is a better inductive bias. PatchTST or iTransformer may be preferable alternatives depending on dataset characteristics.

Strengths & limitations

Strengths
  • Jointly models both temporal and cross-dimension dependencies within a unified Transformer framework
  • Hierarchical segment merging enables efficient multi-scale temporal representation without extreme sequence length
  • Segment-level embedding reduces the quadratic attention cost compared to token-per-timestep approaches
  • Explicitly addresses the limitation of channel-independent forecasting models on correlated multivariate data
Limitations
  • On datasets with weak inter-variate correlations, the cross-dimension attention may introduce noise rather than signal
  • Segment length is a sensitive hyperparameter that requires tuning per dataset
  • Hierarchical merging introduces a fixed coarsening schedule that may not suit all temporal resolutions
  • Computational cost scales with both the number of variates and the number of segments, which can be substantial for high-dimensional datasets

Frequently asked

How does Crossformer differ from PatchTST?

PatchTST applies patch-based attention independently per variate (channel independence), making it strong when inter-variable correlations are weak. Crossformer explicitly adds a cross-dimension attention stage to capture inter-variate dependencies, making it more expressive on correlated multivariate datasets but also more prone to overfitting spurious cross-variate patterns.

What is the role of the segment length hyperparameter?

The segment length L_seg controls the granularity of temporal tokens fed into the two-stage attention. Shorter segments capture finer-grained temporal patterns but increase sequence length and computational cost, while longer segments provide coarser summaries with lower cost. It must be tuned per dataset and interacts with the hierarchical merging schedule across encoder layers.

Is Crossformer always better than linear forecasting baselines?

Not necessarily. Several studies have shown that simple linear models such as DLinear can match or exceed complex Transformer-based models on standard benchmarks when inter-variate dependencies are weak or when the forecasting task is largely trend-driven. Crossformer's advantage is more evident on datasets with genuine and predictive cross-dimension structure.

Sources

  1. Zhang, Y., & Yan, J. (2023). Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. ICLR. link ↗

How to cite this page

ScholarGate. (2026, June 2). Crossformer (Cross-Dimension Dependency Transformer). ScholarGate. https://scholargate.app/en/deep-learning/crossformer

Related methods

InformeriTransformerPatchTST

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • InformerDeep learning↔ compare
  • iTransformerDeep learning↔ compare
  • PatchTSTDeep learning↔ compare
Compare side by side →

Referenced by

iTransformer

Similar methods

iTransformerAutoformerFEDformerPyraformerPatchTSTTSMixerTimeMixerETSformer

Related reference concepts

Sequence-to-Sequence Models and TransformersSelf-Supervised and Representation LearningConvolutional and Sequence ModelsDeep Generative ModelsUnsupervised LearningDimensionality Reduction

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Crossformer (Crossformer (Cross-Dimension Dependency Transformer)). Retrieved 2026-07-21 from https://scholargate.app/en/deep-learning/crossformer · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Yunhao Zhang & Junchi Yan
Year
2023
Type
Transformer-based multivariate time-series forecasting model
Subfamily
Time-series forecasting
Venue
ICLR 2023
Attention Axes
Both time and dimension (cross-time and cross-dimension)
Related methods
InformeriTransformerPatchTST
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account