paper-with-me

홈 › Papers

Geometric Analysis of Token Selection in Multi-Head Attention

2026-02-02 · Timur Mudarisov, Mikhal Burtsev, Tatiana Petrova, Radu State arxiv

We present a geometric framework for analysing multi-head attention in large language models (LLMs). Without altering the mechanism, we view standard attention through a top-N selection lens and study its behaviour directly in value-state space. We define geometric metrics - Precision, Recall, and F-score - to quantify separability between selected and non-selected tokens, and derive non-asymptotic bounds with explicit dependence on dimension and margin under empirically motivated assumptions (stable value norms with a compressed sink token, exponential similarity decay, and piecewise attention weight profiles). The theory predicts a small-N operating regime of strongest non-trivial separability and clarifies how sequence length and sink similarity shape the metrics. Empirically, across LLaMA-2-7B, Gemma-7B, and Mistral-7B, measurements closely track the theoretical envelopes: top-N selection sharpens separability, sink similarity correlates with Recall. We also found that in LLaMA-2-7B heads specialize into three regimes - Retriever, Mixer, Reset - with distinct geometric signatures. Overall, attention behaves as a structured geometric classifier with measurable criteria for token selection, offering head level interpretability and informing geometry-aware sparsification and design of attention in LLMs.

📄 PDF Abstract BibTeX arXiv:2602.01893

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CoverPrune: Coverage-Driven Token Pruning for 3D VLMs via Optimal Transport

2026-08-13 · Peng Ling, Yingda Yin, Lingting Zhu, Weikai Chen 외 arxiv

While 3D Vision-Language Models (3D VLMs) have demonstrated remarkable spatial reasoning capabilities, they suffer from massive visual token counts that create severe computational bottlenecks during inference. Existing …

Spatial Reasoning

Quantum-Grassmann-Plucker Token Mixing for Deep Learning-Based Post-Disaster Damage Assessment

2026-08-31 · Kooroush Farahkhah, Umut Lagap, Taha Rezaei, Saman Ghaffarian arxiv

Timely post-disaster building damage assessment from satellite imagery is a critical engineering decision support task, yet it remains constrained by class imbalance, ambiguous intermediate damage states, and limited cro…

Building Damage AssessmentQuantum Machine LearningImage Classification

Interpreting Attention Heads for Image-to-Text Information Flow in Large Vision-Language Models

2025-09-22 · Jinyeong Kim, Seil Kang, Jiwoo Park, Junhyeok Kim 외 arxiv

Large Vision-Language Models (LVLMs) answer visual questions by transferring information from images to text through a series of attention heads. While this image-to-text information flow is central to visual question an…

Visual Question Answering

ResPrune: Text-Conditioned Subspace Reconstruction for Visual Token Pruning in Large Vision-Language Models

2026-03-22 · Xu Li, Yi Zheng, Yuxuan Liang, Zhe Liu 외 arxiv

Large Vision-Language Models (LVLMs) rely on dense visual tokens to capture fine-grained visual information, but processing all these tokens incurs substantial computational and memory overhead during inference. To addre…

Limitations of Normalization in Attention Mechanism

2025-08-25 · Timur Mudarisov, Mikhail Burtsev, Tatiana Petrova, Radu State arxiv

This paper investigates the limitations of the normalization in attention mechanisms. We begin with a theoretical framework that enables the identification of the model's selective ability and the geometric separation in…