Training Tensor Attention Efficiently: From Cubic to Almost Linear Time
Yang Cao, Yingyu Liang, Zhenmei Shi, Zhao Song

TL;DR
This paper demonstrates that the backward gradient computation for tensor attention can be achieved in almost linear time, significantly improving training efficiency and enabling practical higher-order transformer models.
Contribution
We prove the backward gradient of tensor attention can be computed in almost linear time and provide a closed-form solution with polynomial approximation techniques.
Findings
Backward gradient computation is almost linear in sequence length.
Provided a closed-form solution for efficient gradient calculation.
Proved the tightness of assumptions necessary for subcubic complexity.
Abstract
Tensor Attention, a multi-view attention that is able to capture high-order correlations among multiple modalities, can overcome the representational limitations of classical matrix attention. However, the time complexity of tensor attention poses a significant obstacle to its utilization in transformers, where is the input sequence length. In this work, we prove that the backward gradient of tensor attention training can be computed in almost linear time , the same complexity as its forward computation under the bounded entries assumption. We provide a closed-form solution for the gradient and propose a fast computation method utilizing polynomial approximation methods and tensor algebraic techniques. Furthermore, we prove the necessity and tightness of our assumption through hardness analysis, showing that slightly weakening it renders the gradient problem…
Peer Reviews
Decision·Submitted to ICLR 2026
- the paper extends previous work on forward tensor attention computation to the backward pass, completing the picture for efficient attention training. - the result is important for making tensor attention practical for training, a valuable matter for multi-modal learning and capturing high order interactions - The tensor operation techniques introduced are non trivial and elegant, leading to crucial improvements for the overall complexity - The assumptions are demonstrated to be tight; slig
- no empirical validation at all. This is a significant limitation, even for a more theoretical paper for ICLR - presentation is dense, and some intuitive explanation (e.g., for algorithm) could be useful. There is a long appendix with critical content. - evidence on practicality of restrictive assumption - although extension is mentioned, this approach addresses only 3rd order tensors - no discussion on implementation matters (memory, numerical stabilitry), and quality of polynomial approxi
- The problem of efficient computation of higher-order attention mechanism is relevant - A hardness analysis is provided to strengthen the result. - The paper has gained in clarity compared to the version submitted last year at ICLR (that I also reviewed)
- No experiments are provided to demonstrate the effectiveness (and correctness) of the proposed analysis / algorithm. For such a contribution, focusing on making training of tensor based model learning tractable, experimental validation showcasing the effectiveness of the proposed approach and demonstrating its superiority quantitatively (runtime, memory consumption), even on synthetic data with small models, is required. - Despite the improvement in clarity compared to submission at ICLR las
1. The paper introduces the first sub-cubic gradient algorithm for tensor attention, achieved through a clever combination of polynomial approximation and Kronecker-structured computation, representing a clear theoretical breakthrough. 2. The inclusion of a SETH-based hardness analysis convincingly shows that the bounded-entry assumption is necessary for computational tractability. 3. The proposed formulation is generally applicable and compatible with a wide range of tri-modal attention mechani
1. The paper does not include experiments on real multimodal datasets, leaving the actual acceleration and performance improvements unverified. 2.The theoretical assumptions, such as requiring input matrix entries to be bounded, may not hold in practical deep learning scenarios, limiting real-world applicability.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTensor decomposition and applications · Computational Physics and Python Applications · Advanced Neural Network Applications
