paper-with-me

홈 › Papers

Spectral Filters, Dark Signals, and Attention Sinks

2024-02-14 · Nicola Cancedda

Projecting intermediate representations onto the vocabulary is an increasingly popular interpretation tool for transformer-based LLMs, also known as the logit lens. We propose a quantitative extension to this approach and define spectral filters on intermediate representations based on partitioning the singular vectors of the vocabulary embedding and unembedding matrices into bands. We find that the signals exchanged in the tail end of the spectrum are responsible for attention sinking (Xiao et al. 2023), of which we provide an explanation. We find that the loss of pretrained models can be kept low despite suppressing sizable parts of the embedding spectrum in a layer-dependent way, as long as attention sinking is preserved. Finally, we discover that the representation of tokens that draw attention from many tokens have large projections on the tail end of the spectrum.

📄 PDF Abstract BibTeX arXiv:2402.09221

Code (1)

https://gitlab.com/bachstelze/causal_generation pytorch

Similar Papers 제목 키워드 기반

Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models

2026-04-12 · Jakub Binkowski, Kamil Adamczewski, Tomasz Kajdanowicz arxiv

Large language models frequently exhibit hallucinations: fluent and confident outputs that are factually incorrect or unsupported by the input context. While recent hallucination detection methods have explored various f…

On the Transferability of Spectral Graph Filters

2019-01-29 · Ron Levie, Elvin Isufi, Gitta Kutyniok

This paper focuses on spectral filters on graphs, namely filters defined as elementwise multiplication in the frequency domain of a graph. In many graph signal processing settings, it is important to transfer a filter fr…

On the Existence and Behavior of Secondary Attention Sinks

2025-12-22 · Jeffrey T. H. Wong, Cheng Zhang, Louis Mahon, Wayne Luk 외 arxiv

Attention sinks are tokens, often the beginning-of-sequence (BOS) token, that receive disproportionately high attention despite limited semantic relevance. In this work, we identify a class of attention sinks, which we t…

Non-Exponential Reverberation Modeling Using Dark Velvet Noise

2024-03-29 · Jon Fagerström, Sebastian J. Schelcht, Vesa Välimäki

Previous research on late-reverberation modeling has mainly focused on exponentially decaying room impulse responses, whereas methods for accurately modeling non-exponential reverberation remain challenging. This paper e…

Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention

2026-05-08 · Peter Súkeník, Cristina López Amado, Christoph H. Lampert, Marco Mondelli arxiv

This paper studies the role of sinks and diagonal patterns as attention switch and anti-oversmoothing mechanisms. We analyze geometric conditions under which sinks can be represented, showing a necessary alignment betwee…