arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.18698cs.CVcs.LG
收藏

用于时空预测学习的三重注意力Transformer

Triplet Attention Transformer for Spatiotemporal Predictive Learning

Zhejiang University(浙江大学);The University of Hong Kong(香港大学)

Xuesong Nie, Xi Chen, Haoyuan Jin, Zhihang Zhu, Yunfeng Yan, Donglian Qi

AI总结:

本文提出三重注意力Transformer,通过时间、空间和通道维度的自注意力机制替代循环单元,在多个时空预测任务中取得最先进性能。

摘要:

时空预测学习提供了一种自监督学习范式,使模型能够通过基于历史序列预测未来序列来学习空间和时间模式。主流方法以循环单元为主,但它们受限于缺乏并行化,并且在现实场景中往往表现不佳。为了在保持计算效率的同时提高预测质量,我们提出了一种创新的三重注意力Transformer,旨在同时捕获帧间动态和帧内静态特征。具体来说,该模型引入了三重注意力模块(TAM),通过在时间、空间和通道维度上探索自注意力机制来替代传统的循环单元。在这种配置中:(i)时间token包含帧间的抽象表示,有助于捕获固有的时间依赖性;(ii)空间和通道注意力相结合,通过在空间和通道维度上执行细粒度交互来细化帧内表示。交替进行时间、空间和通道级别的注意力使我们的方法能够学习更复杂的短程和长程时空依赖性。大量实验表明,其性能超越了现有的基于循环和不基于循环的方法,在包括移动物体轨迹预测、交通流预测、驾驶场景预测和人体运动捕捉在内的多场景测试中达到了最先进的水平。

英文摘要:

Spatiotemporal predictive learning offers a self-supervised learning paradigm that enables models to learn both spatial and temporal patterns by predicting future sequences based on historical sequences. Mainstream methods are dominated by recurrent units, yet they are limited by their lack of parallelization and often underperform in real-world scenarios. To improve prediction quality while maintaining computational efficiency, we propose an innovative triplet attention transformer designed to capture both inter-frame dynamics and intra-frame static features. Specifically, the model incorporates the Triplet Attention Module (TAM), which replaces traditional recurrent units by exploring self-attention mechanisms in temporal, spatial, and channel dimensions. In this configuration: (i) temporal tokens contain abstract representations of inter-frame, facilitating the capture of inherent temporal dependencies; (ii) spatial and channel attention combine to refine the intra-frame representation by performing fine-grained interactions across spatial and channel dimensions. Alternating temporal, spatial, and channel-level attention allows our approach to learn more complex short- and long-range spatiotemporal dependencies. Extensive experiments demonstrate performance surpassing existing recurrent-based and recurrent-free methods, achieving state-of-the-art under multi-scenario examination including moving object trajectory prediction, traffic flow prediction, driving scene prediction, and human motion capture.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑