potentialpaper

Position-Aware Attention Mechanism: A Mathematical Framework for Enhanced Spatial Information Processing in Transformer Architectures

Weiwei Wang

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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: α\alpha (position influence intensity), β\beta (spatial decay rate), and γ\gamma (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 γ\gamma, 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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…