paper-with-me

홈 › Papers

AttentionX: Exploiting Consensus Discrepancy In Attention from A Distributed Optimization Perspective

2024-09-06 · Guoqiang Zhang, Richard Heusdens

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) \cite{Zhang16PDMM} 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.

📄 PDF Abstract BibTeX arXiv:2409.04275

Code (0)

등록된 구현이 없습니다.

Tasks

Distributed Optimization

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$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

AttentionXML: Label Tree-based Attention-Aware Deep Model for High-Performance Extreme Multi-Label Text Classification

2018-11-01 · NeurIPS 2019 12 · Ronghui You, Zihan Zhang, Ziye Wang, Suyang Dai 외

Extreme multi-label text classification (XMTC) is an important problem in the era of big data, for tagging a given text with the most relevant multiple labels from an extremely large-scale label set. XMTC can be found in…

General ClassificationMulti-Label Text ClassificationNews AnnotationProduct Categorization+2

Bridging the RGB-IR Gap: Consensus and Discrepancy Modeling for Text-Guided Multispectral Detection

2026-04-13 · Jiaqi Wu, Zhen Wang, Enhao Huang, Kangqing Shen 외 arxiv

Text-guided multispectral object detection uses text semantics to guide semantic-aware cross-modal interaction between RGB and IR for more robust perception. However, notable limitations remain: (1) existing methods ofte…

Multispectral Object Detection

Widely-distributed Radar Imaging Based on Consensus ADMM

2020-11-04 · Ruizhi Hu, Bhavani Shankar Mysore Rama Rao, Ahmed Murtada, Mohammad Alaee-Kerahroodi 외

A widely-distributed radar system is a promising architecture to enhance radar imaging performance. However, most existing algorithms rely on isotropic scattering assumption, which is only satisfied in collocated radar s…

Distributed OptimizationDiversity

MatchAttention: Embedding Explicit Matching Constraints into Attention for Efficient Stereo Matching

2025-10-16 · Tingman Yan, Tao Liu, Chenghao Li, Quanli Liu 외 arxiv

Standard attention mechanisms are not well suited to stereo matching. Global attention scales quadratically and provides no explicit matching constraint, while local attention is efficient but loses long-range correspond…

Zero-shot Generalization

Inventory Consensus Control in Supply Chain Networks using Dissipativity-Based Control and Topology Co-Design

2025-02-10 · Shirantha Welikala, Hai Lin, Panos J. Antsaklis

Recent global and local phenomena have exposed vulnerabilities in critical supply chain networks (SCNs), drawing significant attention from researchers across various fields. Typically, SCNs are viewed as static entities…

Computational Efficiency