AttentionX: Exploiting Consensus Discrepancy In Attention from A Distributed Optimization Perspective
Not on the map. Why?
Abstract (arXiv)
In this paper, we extend the standard Attention in transformer by exploiting the consensus discrepancy from a distributed optimization perspective, referred to as AttentionX. It is noted that the primal-dual method of multipliers (PDMM) citeZhang16PDMM is designed to iteratively solve a broad class of distributed optimization problems over a pear-to-pear (P2P) network, where neighbouring nodes gradually reach consensus as specified by predefined linear edge-constraints in the optimization process. In particular, at each iteration of PDMM, each node in a network first performs information-gathering from neighbours and then performs local information-fusion. From a high-level point of view, the KQ-softmax-based weighted summation of V-representations in Attention corresponds information-gathering from neighbours while the feature-processing via the feed-forward network (FFN) in transformer corresponds to local information fusion. PDMM exploits the Lagrangian multipliers to capture the historical consensus discrepancy in the form of residual errors of the linear edge-constraints, which plays a crucial role for the algorithm to converge. Inspired by PDMM, we propose AttentionX to incorporate the consensus discrepancy in the output update-expression of the standard Attention. The consensus discrepancy in AttentionX refers to the difference between the weighted summation of V-representations and scaled V-representions themselves. Experiments on ViT and nanoGPT show promising performance.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 27 references that are in the map. First posted on arXiv 6 Sep 2024.
Builds on
21 of 27 references.
References · 21
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023GPT-4 Technical Reportcited by 18,396
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
- 2020FedSplit: An algorithmic framework for fast federated optimizationcited by 108
- 2023Exact Diffusion Inversion via Bi-directional Integration Approximationcited by 44
- 2023Transformers in Speech Processing: A Surveycited by 39
9 more
- 2017Distributed Optimization Using the Primal-Dual Method of Multiplierscited by 13
- 2020Privacy-Preserving Distributed Optimization via Subspace Perturbation: A General Frameworkcited by 10
- 2024BurstAttention: An Efficient Distributed Attention Framework for Extremely Long Sequencescited by 10
- 2017Derivation and Analysis of the Primal-Dual Method of Multipliers Based on Monotone Operator Theorycited by 9
- 2020Privacy-Preserving Distributed Processing: Metrics, Bounds, and Algorithmscited by 9
- 2023Adaptive Differentially Quantized Subspace Perturbation (ADQSP): A Unified Framework for Privacy-Preserving Distributed Average Consensuscited by 6
- 2023Distributed Optimisation with Linear Equality and Inequality Constraints using PDMMcited by 4
- 2021Revisiting the Primal-Dual Method of Multipliers for Optimisation over Centralised Networkscited by 3
- 2023On Suppressing Range of Adaptive Stepsizes of Adam to Improve Generalisation Performancecited by 3
Built on by
Not cited yet.