paper-with-me

Papers

Affine-Scaled Attention: Towards Flexible and Stable Transformer Attention

2026-02-26 · Jeongin Bae, Baeseong Park, Gunho Park, Minsub Kim, Joonhyung Lee, Junhee Yoo, Sunghyeon Woo, Jiwon Ryu, Se Jung Kwon, Dongsoo Lee arxiv

Transformer attention is typically implemented using softmax normalization, which enforces attention weights with unit sum normalization. While effective in many settings, this constraint can limit flexibility in controlling attention magnitudes and may contribute to overly concentrated or unstable attention patterns during training. Prior work has explored modifications such as attention sinks or gating mechanisms, but these approaches provide only limited or indirect control over attention reweighting. We propose Affine-Scaled Attention, a simple extension to standard attention that introduces input-dependent scaling and a corresponding bias term applied to softmax-normalized attention weights. This design relaxes the strict normalization constraint while maintaining aggregation of value representations, allowing the model to adjust both the relative distribution and the scale of attention in a controlled manner. We empirically evaluate Affine-Scaled Attention in large-scale language model pretraining across multiple model sizes. Experimental results show consistent improvements in training stability, optimization behavior, and downstream task performance compared to standard softmax attention and attention sink baselines. These findings suggest that modest reweighting of attention outputs provides a practical and effective way to improve attention behavior in Transformer models.

📄 PDF Abstract BibTeX arXiv:2602.23057

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Affine-Consistent Transformer for Multi-Class Cell Nuclei Detection

2023-10-22 · ICCV 2023 1 · Junjia Huang, Haofeng Li, Xiang Wan, Guanbin Li

Multi-class cell nuclei detection is a fundamental prerequisite in the diagnosis of histopathology. It is critical to efficiently locate and identify cells with diverse morphology and distributions in digital pathologica…

MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformers

2020-02-25 · NeurIPS 2020 12 · Wenhui Wang, Furu Wei, Li Dong, Hangbo Bao 외

Pre-trained language models (e.g., BERT (Devlin et al., 2018) and its variants) have achieved remarkable success in varieties of NLP tasks. However, these models usually consist of hundreds of millions of parameters whic…

Sentence RetrievalZero-shot Text Search

Efficient Attention-free Video Shift Transformers

2022-08-23 · Adrian Bulat, Brais Martinez, Georgios Tzimiropoulos

This paper tackles the problem of efficient video recognition. In this area, video transformers have recently dominated the efficiency (top-1 accuracy vs FLOPs) spectrum. At the same time, there have been some attempts i…

Action RecognitionVideo Recognition

Multiscaled Multi-Head Attention-based Video Transformer Network for Hand Gesture Recognition

2025-01-01 · Mallika Garg, Debashis Ghosh, Pyari Mohan Pradhan

Dynamic gesture recognition is one of the challenging research areas due to variations in pose, size, and shape of the signer's hand. In this letter, Multiscaled Multi-Head Attention Video Transformer Network (MsMHA-VTN)…

Gesture RecognitionHand Gesture RecognitionHand-Gesture Recognition

Continual Low-Rank Scaled Dot-product Attention

2024-12-04 · Ginés Carreto Picón, Illia Oleksiienko, Lukas Hedegaard, Arian Bakhtiarnia 외

Transformers are widely used for their ability to capture data relations in sequence processing, with great success for a wide range of static tasks. However, the computational and memory footprint of their main componen…

Action DetectionAudio ClassificationOnline Action Detection