paper-with-me

Papers

UnitNorm: Rethinking Normalization for Transformers in Time Series

2024-05-24 · Nan Huang, Christian Kümmerle, Xiang Zhang

Normalization techniques are crucial for enhancing Transformer models' performance and stability in time series analysis tasks, yet traditional methods like batch and layer normalization often lead to issues such as token shift, attention shift, and sparse attention. We propose UnitNorm, a novel approach that scales input vectors by their norms and modulates attention patterns, effectively circumventing these challenges. Grounded in existing normalization frameworks, UnitNorm's effectiveness is demonstrated across diverse time series analysis tasks, including forecasting, classification, and anomaly detection, via a rigorous evaluation on 6 state-of-the-art models and 10 datasets. Notably, UnitNorm shows superior performance, especially in scenarios requiring robust attention mechanisms and contextual comprehension, evidenced by significant improvements by up to a 1.46 decrease in MSE for forecasting, and a 4.89% increase in accuracy for classification. This work not only calls for a reevaluation of normalization strategies in time series Transformers but also sets a new direction for enhancing model performance and stability. The source code is available at https://anonymous.4open.science/r/UnitNorm-5B84.

📄 PDF Abstract BibTeX arXiv:2405.15903

Code (0)

등록된 구현이 없습니다.

Tasks

Anomaly DetectionTime SeriesTime Series Analysis

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
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…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Position-Wise Feed-Forward Layer 설명 없음

Similar Papers 제목 키워드 기반

Rethinking LayerNorm in Image Restoration Transformers

2025-04-09 · MinKyu Lee, Sangeek Hyun, Woojin Jun, Hyunjun Kim 외

This work investigates abnormal feature behaviors observed in image restoration (IR) Transformers. Specifically, we identify two critical issues: feature entropy becoming excessively small and feature magnitudes divergin…

Image Restoration

PowerNorm: Rethinking Batch Normalization in Transformers

2020-03-17 · ICML 2020 1 · Sheng Shen, Zhewei Yao, Amir Gholami, Michael W. Mahoney 외

The standard normalization method for neural network (NN) models used in Natural Language Processing (NLP) is layer normalization (LN). This is different than batch normalization (BN), which is widely-adopted in Computer…

Machine Translation

Scaleformer: Iterative Multi-scale Refining Transformers for Time Series Forecasting

2022-06-08 · Amin Shabani, Amir Abdi, Lili Meng, Tristan Sylvain

The performance of time series forecasting has recently been greatly improved by the introduction of transformers. In this paper, we propose a general multi-scale framework that can be applied to the state-of-the-art tra…

Time SeriesTime Series AnalysisTime Series Forecasting

Rethinking Attention: Polynomial Alternatives to Softmax in Transformers

2024-10-24 · Hemanth Saratchandran, Jianqiao Zheng, Yiping Ji, Wenbo Zhang 외

This paper questions whether the strong performance of softmax attention in transformers stems from producing a probability distribution over inputs. Instead, we argue that softmax's effectiveness lies in its implicit re…

Rethinking Skip Connection with Layer Normalization in Transformers and ResNets

2021-05-15 · Fenglin Liu, Xuancheng Ren, Zhiyuan Zhang, Xu sun 외

Skip connection, is a widely-used technique to improve the performance and the convergence of deep neural networks, which is believed to relieve the difficulty in optimization due to non-linearity by propagating a linear…

image-classificationImage ClassificationMachine TranslationTranslation