Mitigating Attention Localization in Small Scale: Self-Attention Refinement via One-step Belief Propagation

Nakyung Lee, Yeongoon Kim, Minhae Oh, Suhwan Kim, Jin Woo Koo +2 more
9/9/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

Transformer-based self-attention mechanism serves as the core of modern language models, yet it often suffers from localization, where attentions collapse onto a limited subset of tokens and fail to capture long-range dependencies. To address this issue, we propose Self-Attention One-step Belief Propagation (SAOBP), a refinement framework that injects multi-hop relationships through a belief propagation process. To interpret and quantify these interactions, we introduce Global Token Dependency (GTD) that captures the relative contribution of multihop connections within the attention graph. Empirical results indicate that SAOBP helps prevent entropy collapse in deeper layers and adaptively maintains GTD at task-appropriate levels, thereby supporting improvements in model performance. Importantly, we observe competitive gains in small-scale models, highlighting its potential for improving inference quality in resource-constrained scenarios.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lee2025mitigating,
  title  = {Mitigating Attention Localization in Small Scale: Self-Attention Refinement via One-step Belief Propagation},
  author = {Nakyung Lee and Yeongoon Kim and Minhae Oh and Suhwan Kim and Jin Woo Koo and Hyewon Jo and Jungwoo Lee},
  year   = {2025},
  eprint = {2509.07324},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.07324v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.07324.svg)](https://codeofpaper.com/paper/2509.07324)

Discussion