paper-with-me

홈 › Papers

Efficient Time Series Processing for Transformers and State-Space Models through Token Merging

2024-05-28 · Leon Götz, Marcel Kollovieh, Stephan Günnemann, Leo Schwinn

Transformer architectures have shown promising results in time series processing. However, despite recent advances in subquadratic attention mechanisms or state-space models, processing very long sequences still imposes significant computational requirements. Token merging, which involves replacing multiple tokens with a single one calculated as their linear combination, has shown to considerably improve the throughput of vision transformer architectures while maintaining accuracy. In this work, we go beyond computer vision and perform the first investigations of token merging in time series analysis on both time series transformers and state-space models. To effectively scale token merging to long sequences, we introduce local merging, a domain-specific token merging algorithm that selectively combines tokens within a local neighborhood, adjusting the computational complexity from linear to quadratic based on the neighborhood size. Our comprehensive empirical evaluation demonstrates that token merging offers substantial computational benefits with minimal impact on accuracy across various models and datasets. On the recently proposed Chronos foundation model, we achieve accelerations up to 5400% with only minor accuracy degradations.

📄 PDF Abstract BibTeX arXiv:2405.17951

Code (0)

등록된 구현이 없습니다.

Tasks

State Space ModelsTime SeriesTime Series Analysis

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Residual Connection 설명 없음
Vision Transformer The Vision Transformer, or ViT, is a model for image classification that employs a Transformer-like architecture over…

Similar Papers 제목 키워드 기반

Why Attention Fails: The Degeneration of Transformers into MLPs in Time Series Forecasting

2025-09-25 · Zida Liang, Jiayi Zhu, Weiqiang Sun arxiv

Transformer-based architectures achieved high performance in natural language processing and computer vision, yet many studies have shown that they have not demonstrated a clear advantage in time series forecasting and e…

Time Series Forecasting

Dateformer: Time-modeling Transformer for Longer-term Series Forecasting

2022-07-12 · Julong Young, Junhui Chen, Feihu Huang, Jian Peng

Transformers have demonstrated impressive strength in long-term series forecasting. Existing prediction research mostly focused on mapping past short sub-series (lookback window) to future series (forecast window). The l…

Time SeriesTime Series AnalysisTime Series Forecasting

Transformers in Time Series: A Survey

2022-02-15 · Qingsong Wen, Tian Zhou, Chaoli Zhang, Weiqi Chen 외

Transformers have achieved superior performances in many tasks in natural language processing and computer vision, which also triggered great interest in the time series community. Among multiple advantages of Transforme…

Anomaly DetectionSurveyTime SeriesTime Series Analysis

LOCOST: State-Space Models for Long Document Abstractive Summarization

2024-01-31 · Florian Le Bronnec, Song Duong, Mathieu Ravaut, Alexandre Allauzen 외

State-space models are a low-complexity alternative to transformers for encoding long sequences and capturing long-term dependencies. We propose LOCOST: an encoder-decoder architecture based on state-space models for con…

Abstractive Text SummarizationBook summarizationConditional Text GenerationDecoder+2

RITA: Group Attention is All You Need for Timeseries Analytics

2023-06-02 · Jiaming Liang, Lei Cao, Samuel Madden, Zachary Ives 외

Timeseries analytics is of great importance in many real-world applications. Recently, the Transformer model, popular in natural language processing, has been leveraged to learn high quality feature embeddings from times…

All