paper-with-me

홈 › Papers

First De-Trend then Attend: Rethinking Attention for Time-Series Forecasting

2022-12-15 · Xiyuan Zhang, Xiaoyong Jin, Karthick Gopalswamy, Gaurav Gupta, Youngsuk Park, Xingjian Shi, Hao Wang, Danielle C. Maddix, Yuyang Wang

Transformer-based models have gained large popularity and demonstrated promising results in long-term time-series forecasting in recent years. In addition to learning attention in time domain, recent works also explore learning attention in frequency domains (e.g., Fourier domain, wavelet domain), given that seasonal patterns can be better captured in these domains. In this work, we seek to understand the relationships between attention models in different time and frequency domains. Theoretically, we show that attention models in different domains are equivalent under linear conditions (i.e., linear kernel to attention scores). Empirically, we analyze how attention models of different domains show different behaviors through various synthetic experiments with seasonality, trend and noise, with emphasis on the role of softmax operation therein. Both these theoretical and empirical analyses motivate us to propose a new method: TDformer (Trend Decomposition Transformer), that first applies seasonal-trend decomposition, and then additively combines an MLP which predicts the trend component with Fourier attention which predicts the seasonal component to obtain the final prediction. Extensive experiments on benchmark time-series forecasting datasets demonstrate that TDformer achieves state-of-the-art performance against existing attention-based models.

📄 PDF Abstract BibTeX arXiv:2212.08151

Code (1)

BeBeYourLove/TDformer pytorch

Tasks

Time SeriesTime Series AnalysisTime Series Forecasting

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Repulsive Attention: Rethinking Multi-head Attention as Bayesian Inference

2020-09-20 · EMNLP 2020 11 · Bang An, Jie Lyu, Zhenyi Wang, Chunyuan Li 외

The neural attention mechanism plays an important role in many natural language processing applications. In particular, the use of multi-head attention extends single-head attention by allowing a model to jointly attend …

Bayesian InferenceDiversity

Multi-head or Single-head? An Empirical Comparison for Transformer Training

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Multi-head attention plays a crucial role in the recent success of Transformer, which leads to consistent performance improvements over conventional attention in various applications. The popular belief is that its effec…

On the Relationship between Self-Attention and Convolutional Layers

2019-11-08 · ICLR 2020 1 · Jean-Baptiste Cordonnier, Andreas Loukas, Martin Jaggi

Recent trends of incorporating attention mechanisms in vision have led researchers to reconsider the supremacy of convolutional layers as a primary building block. Beyond helping CNNs to handle long-range dependencies, R…

Image Classification

Spatio-Temporal Ranked-Attention Networks for Video Captioning

2020-01-17 · Anoop Cherian, Jue Wang, Chiori Hori, Tim K. Marks

Generating video descriptions automatically is a challenging task that involves a complex interplay between spatio-temporal visual features and language models. Given that videos consist of spatial (frame-level) features…

Video Captioning

Museformer: Transformer with Fine- and Coarse-Grained Attention for Music Generation

2022-10-19 · Botao Yu, Peiling Lu, Rui Wang, Wei Hu 외

Symbolic music generation aims to generate music scores automatically. A recent trend is to use Transformer or its variants in music generation, which is, however, suboptimal, because the full attention cannot efficientl…

Music Generation