Position-Aware Attention Mechanism: A Mathematical Framework for Enhanced Spatial Information Processing in Transformer Architectures
Weiwei Wang
ICLR 2026 submission
Abstract. We propose a position-aware attention mechanism based on the EAPR(Explicit Position-Attention Relationship ) framework that addresses the limitations of traditional attention mechanisms in capturing positional relationships through a parametric positional effect function. The EPAR framework establishes explicit mathematical relationships between positional distance and attention intensity using three key parameters: (position influence intensity), (spatial decay rate), and (enhancement coefficient for long-range dependencies). We prove mathematical properties (continuity, differentiability, monotonicity) and demonstrate fine-grained control over attention allocation. To address over-attenuation at long distances, we introduce enhancement coefficient , ensuring a non-zero lower bound for attention weights. We develop an adaptive triple-attention architecture with task-aware and content-aware modules for dynamic weight adjustment. Our method includes a maximum benefit position formula and consistency metric for evaluation. Experimental results show superior performance in structured and clustered scenarios, particularly for information retrieval and document understanding tasks, demonstrating advantages over existing position encoding methods including RoPE and relative position encoding~
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…