New research explores attention mechanisms, sparse models, and LLM monitoring
ByPulseAugur Editorial·[36 sources]·
Multiple research papers explore advancements in attention mechanisms for large language models and neural networks. One paper details a fix for the llama.cpp repository to address KQ bias in attention calculations. Other research delves into the theoretical trade-offs between information loss and generalization in sparse attention, proposes methods for pretraining transformers with quantized softmax, and introduces a novel attention-based neural network for sampling the XY model. Additionally, a new method called LEMON is presented for zero-shot misbehavior monitoring in LLMs using attention maps, and another study ranks attention heads for improved sparse and continual reinforcement learning fine-tuning. Finally, research on exponential Hopfield networks examines attention over noisy examples, and a technique called RoLaQ is introduced for efficient 2-bit KV caches in multi-head latent attention.
AI
IMPACT
These studies advance the understanding and application of attention mechanisms, potentially leading to more efficient and capable AI models.
RANK_REASON
Multiple arXiv papers on theoretical and applied aspects of attention mechanisms and related neural network architectures.
<p>The no-cache attention pads K, V and the mask to 256, but T5 also adds<br /> a relative position bias of [n_tokens, n_tokens], so the add with KQ<br /> fails unless n_tokens divides the padded width. Pad the bias with<br /> zeros up to the KV dimension of the mask, like K and …
arXiv:2610.04424v2 Announce Type: replace Abstract: To mitigate the quadratic complexity bottleneck of the Transformer, sparse attention has emerged as a pivotal technology. Despite the extensive empirical success of sparse Transformers, the theoretical understanding of sparse at…
arXiv cs.LG
TIER_1English(EN)·Shangzhen Zhu, Muyan Hu, Tomasz Kozlowski·
arXiv:2609.33591v2 Announce Type: replace Abstract: Low-precision Transformer systems increasingly quantize attention matrix multiplications, while softmax often remains at higher precision. During pretraining, an approximate softmax changes the gradients that train the model as …
arXiv cs.LG
TIER_1English(EN)·Piotr Bia{\l}as, Christian D. Morales, Tomasz Stebel, Dawid Zapolski·
arXiv:2610.23783v1 Announce Type: cross Abstract: We present a transformer-based variational autoregressive network for sampling lattice systems with continuous degrees of freedom and apply it to the two-dimensional XY model near the Berezinskii-Kosterlitz-Thouless transition. Th…
arXiv cs.AI
TIER_1English(EN)·Guy Bar-Shalom, Mor Geva, Fabrizio Frasca, Haggai Maron·
arXiv:2610.22723v1 Announce Type: new Abstract: Large language models exhibit misbehaviors that hinder deployment in high-stakes settings. One approach to monitor such failures is to use an external LLM as a monitor, but this is prohibitively expensive. A well-known and efficient…
arXiv:2610.22191v1 Announce Type: cross Abstract: In Hebbian learning from examples a Hopfield network of $N$ neurons is not supplied with the $K$ archetypes it has to retrieve but with $M$ blurred examples of each, of quality $r$, and whether it can infer them depends on the loa…
arXiv:2610.20686v1 Announce Type: new Abstract: Multi-head latent attention (MLA) compresses the content of a key-value cache into a shared latent per token, making low-bit storage attractive for long-context inference. At two bits, errors in this representation perturb both atte…
arXiv:2610.21336v1 Announce Type: cross Abstract: We study sparse and continual reinforcement learning fine-tuning of language models through attention-head ranking and partitioning. For sparse learning, we rank attention heads by gradient norm to identify a small subset of heads…
In Hebbian learning from examples, a Hopfield network retrieves archetypes seen only through noisy examples. We study it in the exponential Hopfield model: one softmax attention step with the unlabelled examples as keys. A signal-to-noise analysis gives the overlap with an unseen…
In Hebbian learning from examples a Hopfield network of $N$ neurons is not supplied with the $K$ archetypes it has to retrieve but with $M$ blurred examples of each, of quality $r$, and whether it can infer them depends on the load $α=K/N$ (interference among them) and on the dat…
arXiv:2610.15715v1 Announce Type: new Abstract: Linear attention promises the efficiency needed for long-context language modelling, yet its fixed-size recurrent state must simultaneously support ongoing computation and preserve information from an ever-growing history. This coup…
arXiv cs.AI
TIER_1English(EN)·Dengjia Zhang, Alexander Martin, Pengyu Yan, Xihan Sun, Jiaqi Li, Benjamin Van Durme, Andrew Yates, Reno Kriz, William Walden·
arXiv:2610.15855v1 Announce Type: new Abstract: We study how to detect and mitigate visual attention sinks in vision-language models (VLMs). Visual attention sinks are image tokens that absorb a large share of attention over the image regardless of the query or task, and they mis…
arXiv:2610.16745v1 Announce Type: cross Abstract: Attention sinks are usually studied after they have formed. We ask whether a measurable hidden-state change appears beforehand and whether changing that geometry alters what happens later. To remove network depth as a shortcut, we…
arXiv cs.AI
TIER_1English(EN)·Zekun Shi, Alastair James Arthur Price·
arXiv:2610.17191v1 Announce Type: cross Abstract: Linear-time sequence models typically store long-context information in a recurrent state. A fixed-size state limits how much information can be stored, while hybrid architectures that add full attention for better recall incur qu…
arXiv:2610.19966v1 Announce Type: new Abstract: The number of attention heads in a transformer is usually set by convention or grid search. We test a simple heuristic for setting it in advance: estimate the intrinsic dimension of token representations without labels, and use roug…
arXiv:2609.28399v2 Announce Type: replace Abstract: Language models typically construct attention values from contextual hidden states, even when some of their content may be reusable across contexts. We investigate whether token-indexed memory can replace the dedicated value pro…
arXiv:2610.13630v1 Announce Type: new Abstract: Attention Residuals (AttnRes) enables content-dependent retrieval over network depth, which can be viewed as single-stream softmax attention along the depth axis. Inspired by the success of multi-head attention along the sequence ax…
arXiv:2610.13635v1 Announce Type: new Abstract: Hypergraph Neural Networks (HNNs), designed to model higher-order relations beyond pairwise interactions, typically rely either on fixed structural weights or on normalised attention. Fixed weights can propagate misleading informati…
arXiv:2609.35664v2 Announce Type: replace-cross Abstract: Gated Linear Attention (GLA) Transformers advance linear recurrent models through data-dependent gating, but face a core limitation: the fixed-capacity memory matrices across all heads operate at a single temporal resoluti…
arXiv:2502.01025v4 Announce Type: replace Abstract: Large language models (LLMs) process entire input contexts indiscriminately, which is inefficient when the information required to answer a query is localized within the context. We present dynamic context cutoff, a novel method…
FreeSolo introduces a native sparse attention mechanism with short-range and long-range branches that achieves linear-time complexity and improves zero-shot length extrapolation without costly long-context fine-tuning.
NoteBank augments linear attention models with a sparse episodic memory that stores selected text and replays it through native computation, greatly improving long-context retrieval without extra training or significant overhead.
Attention Residuals (AttnRes) enables content-dependent retrieval over network depth, which can be viewed as single-stream softmax attention along the depth axis. Inspired by the success of multi-head attention along the sequence axis, we introduce Multi-Stream Attention Residual…
arXiv cs.CL
TIER_1English(EN)·Fang Wan, Xufeng Liu, Fan Li, Yi Liu·
arXiv:2610.10871v1 Announce Type: new Abstract: Large Language Models (LLMs) achieve strong performance across many domains, but their efficiency is limited by the quadratic cost of attention with respect to prompt length. Sparse attention reduces this cost by retaining only a sm…
Attention Residuals (AttnRes) enables content-dependent retrieval over network depth, which can be viewed as single-stream softmax attention along the depth axis. Inspired by the success of multi-head attention along the sequence axis, we introduce Multi-Stream Attention Residual…
In this paper, we argue that looped Transformers need their own residual connections to prevent performance degradation as the number of iterations grows. We observe that increasing loop iterations can reduce reasoning accuracy: noisy state updates overwrite correct intermediate …
Large Language Models (LLMs) achieve strong performance across many domains, but their efficiency is limited by the quadratic cost of attention with respect to prompt length. Sparse attention reduces this cost by retaining only a small fraction of query-key interactions to approx…
Sparse attention visits few keys, yet finding them can still require scoring every key with every indexer head. We introduce DoSA (Dots Sparse Attention), a lossless method for making this computation conditional while preserving exact token selection. Its central observation is …
arXiv stat.ML
TIER_1English(EN)·Arman Rysmakhanov, Mary Letey, Yue M. Lu, Jacob Zavatone-Veth, Cengiz Pehlevan·
arXiv:2610.17061v1 Announce Type: new Abstract: We study in-context binary classification in a simple attention model trained to minimise a logistic loss. Each prompt has a latent logistic teacher, and the learner must infer its direction from Bernoulli-labeled context examples. …
arXiv stat.ML
TIER_1English(EN)·Jerry Yao-Chieh Hu, Yu-An Chen, Maojiang Su, Han Liu·
arXiv:2610.17347v1 Announce Type: cross Abstract: We revisit the statistical mechanics of Transformer attention via modern Hopfield models. We present a free-energy formalism to characterize parameter regimes and critical thresholds for robust attention inference. The resulting f…
arXiv:2610.13674v1 Announce Type: new Abstract: Linearizing softmax attention offers a route to efficient Transformer inference, but preserving pretrained attention remains challenging. We identify an important source of approximation error overlooked by standard linearization me…
<!-- SC_OFF --><div class="md"><p>ALHR- Adaptive learnable Hierarchical Routing is a static binary tree based system that uses learnable functions to REDUCE the amount of keys used.<br /> It takes less memory and SCALES much better VRAM with tokens<br /> I’ve also been testing ti…
<table> <tr><td> <a href="https://www.reddit.com/r/MachineLearning/comments/1x2lwja/i_built_a_onlogn_attention_system_that_retains_97/"> <img alt="I Built a O(NlogN) attention system that retains 97% accuracy over long context (MQAR)[P]" src="https://external-preview.redd.it/zVOP…
<!-- SC_OFF --><div class="md"><p>ALHR - Adaptive Learnable Hierarchical Routing, uses static binary trees and learnable functions to minimize the amount of keys to be read.</p> <p>It does use a dense teacher while phase 1 of training however.</p> <p>MQAR TEST AT 1024 TOKENS - Av…