Papers for

natural language processing developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Simple attention sparsification improves transformer efficiency under tight budgets

SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking

Abstract: Post-training attention sparsification reduces the quadratic cumulative attention cost of pretrained Transformers by selecting a small set of context units (tokens or blocks) for each query. Existing trainable methods usually use a lightweight selector to score context units, followed by hard Top-K selection that blocks gradients from the language modeling loss. Consequently, these methods commonly distill layer-wise dense attention distributions. Although this encourages the selector to rank context units by dense attention weights in the original model, the ranking is not directly aligned with their impact on predictions under a fixed attention budget (i.e., the number of attended context units per query), potentially wasting the limited budget on less useful units. To address this misalignment, we propose Simple Attention Sparsification (SAS), a gated sparse attention mechanism that optimizes context ranking end-to-end with the language modeling loss. The key idea is to inject the selector's continuous scores into attention logits during training, allowing the loss to update the selector through standard backpropagation. We identify several choices crucial for this simple design to work well in practice: placing the gate inside the attention softmax in log form, using normalized softmax gates to calibrate historical context against the always-retained current block, and preserving continuous selector scores so the model learns relative priorities rather than only hard selections. To support long-sequence training, we implement a memory-efficient Triton kernel that integrates SAS into FlashAttention-style computation. Across reasoning, long-context understanding, and agentic tasks, SAS consistently outperforms trainable sparse attention baselines across attention budgets, with especially large gains under tight budgets, demonstrating more effective context ranking for downstream tasks.

Fri 11 SeptComputation and Language
The gist
Transformers, a type of AI model, spend a lot of time looking at all parts of a text to understand it. This is slow because they compare every part to every other part, which takes a lot of work. The authors found a way to teach the model to pay attention to just the most useful parts during training, which helps the model focus better and work faster without losing accuracy. Their method lets the model learn which parts are important by itself, instead of copying old habits. This makes the model better at tasks that need understanding of long texts or reasoning.
Open 2609.13141v1

Fisher conditioned subspaces improve on policy self distillation scores

SCOPE-OPSD: Fisher-Conditioned Privileged Subspaces for On-Policy Self-Distillation

Abstract: On-policy self-distillation (OPSD) scores student-generated prefixes with a solution-conditioned self-teacher, yet transfers supervision only through next-token probabilities. We ask whether the aligned final-layer discrepancy offers a useful second channel, and how to test that channel without confusing its geometry with auxiliary strength. SCOPE-OPSD projects the privileged teacher-student residual onto a frozen rank-64 factor estimated from residual covariance and language-model-head Fisher sensitivity. It reuses the forwards already required by OPSD and adds neither rollouts nor inference-time modules. A matched Random control preserves the structured factor's rank and nonzero spectrum and uses per-arm gradient-RMS calibration, isolating the effect of the data-dependent orientation. Across the complete 25/50/75/100-step trajectories for Qwen3-1.7B, 4B, and 8B, Structured is never below Pure OPSD, with strict gains in 11 of the 12 model-checkpoint combinations and an exact tie at 4B step 25. Structured also exceeds matched Random in 10 of the 12 combinations. At step 75 on Qwen3-1.7B, Structured exceeds matched Random by 1.39 Macro Avg@12 points in each of two independent training reruns. A cross-fitted diagnostic also shows 4.40 times greater held-out privileged-gap capture than the matched random orientation. The results support a compact, Fisher-conditioned privileged subspace for short-budget OPSD.

Fri 11 SeptMachine LearningArtificial Intelligence
The gist
The paper explores a way to improve on-policy self-distillation, a method where an AI learns from its own generated answers to get better at tasks like language modeling. The authors introduced a technique that uses a special mathematical projection based on something called the Fisher information to capture helpful signals from the differences between the AI's predictions and a teacher's guidance. Their approach shows consistent improvements across multiple large language models without adding extra computation during training or evaluation. This suggests a more efficient way to teach AI systems to learn from themselves faster.
Open 2609.12579v1

Chopthin method boosts diversity and accuracy in AI reasoning sampling

Chopthin-Consensus Power Sampling: A Diversity-Preserving Approach to LLM Decoding

Abstract: Inference-time power sampling via Sequential Monte Carlo (SMC) can substantially improve large language model (LLM) reasoning without requiring post-training. However, many existing SMC approaches rely on equal-weight resampling, which can aggressively prune low-weight trajectories, discarding potentially correct reasoning paths and degrading the genealogical diversity of the search space. To address this, we introduce Chopthin-Consensus Power Sampling (CCPS). Our method applies the Chopthin resampler to LLM decoding: rather than equalizing weights and forcing unnecessary particle duplication, it enforces an upper bound on the ratio between the largest and smallest weights and carries the unequal weights forward. This targeted intervention preserves a richer set of distinct reasoning paths, keeps the weighted SMC approximation unchanged in conditional expectation, and guarantees a lower bound on the post-resampling effective sample size (ESS). To fully exploit this enriched population, we employ a semantic-majority selection mechanism that merges token-identical final trajectories, clusters semantically equivalent answers, and returns the answer supported by the largest number of distinct trajectories. Evaluating across three open-weight models and five reasoning benchmarks, we show that Chopthin increases oracle coverage in 13 of 15 settings. Combined with semantic-majority selection, CCPS matches or exceeds the final-answer accuracy of the Power-SMC baseline in 14 of 15 settings, delivering absolute gains of up to 10.6 percentage points. These findings demonstrate that diversity-preserving resampling and diversity-aware selection are complementary mechanisms for training-free LLM reasoning. Code is available at github.com/MinooAhmadii/chopthin-consensus-power-sampling.

Thu 10 SeptComputation and LanguageArtificial Intelligence
The gist
Large language models often try to figure out the best answers by exploring many possible reasoning paths, but some methods quickly throw away less likely paths, which might still be good. The authors introduce a new way called Chopthin-Consensus Power Sampling that keeps a more balanced and diverse set of answers without forcing equal importance on all paths. They also group similar answers to pick the most popular one, improving the final result. Tests show this method helps AI models find better answers more often without retraining.
Open 2609.12243v1

Framework improves fairness and creates alternative text scenarios

MUtE: A Dual Framework for Concept Erasure and Counterfactual Interventions

Abstract: Erasing concept-specific information from representations has been proven useful for mitigating bias or interpreting model decisions. The joint objective is to transform the original representations such that the target concept becomes unpredictable, while maximally preserving concept-unrelated information. In this work, we revisit the optimal bounds of concept erasure to derive a novel class of erasure functions that naturally induce a deterministic, dual counterfactual mapping. Bridging the gap between theoretical optimality and practical representation learning, we design an implementation that imposes a translational bias on counterfactual trajectories - a constraint that aligns with how many concepts geometrically manifest in modern language models. Our framework enables seamless navigation between concept erasure and counterfactual generation. We empirically demonstrate its efficacy in improving downstream algorithmic fairness and generating counterfactual texts.

Thu 10 SeptMachine LearningComputation and Language
The gist
Sometimes, machine learning models accidentally focus on certain ideas or stereotypes, leading to unfair or biased decisions. The authors created a method that removes these unwanted ideas from the model’s understanding while keeping all other useful information intact. Their approach can also make realistic 'what if' changes to texts by imagining what a sentence would look like if it didn't contain the removed idea. This helps in making algorithms fairer and in generating alternative versions of texts for better analysis.
Open 2609.11253v1

Language models encode secret text with exact recoverability and security

CARTS: Contextual Autoregressive Rank Transcoding Steganography for Full-Capacity Keyed Text Encoding

Abstract: Autoregressive language models can be used to transform a payload text into a stegotext of identical token length by preserving per-position rank information across contexts - a methodology we formalize as Contextual Autoregressive Rank Transcoding Steganography (CARTS). While the Calgacus construction of Norelli et al. demonstrated this phenomenon experimentally, no formal security analysis existed. This paper provides the first rigorous treatment of CARTS. We show its exact correctness under deterministic model assumptions, introduce a rank-coordinate representation in which keys act as bijections on rank-vector space, define relevant security notions and the computational problems naturally associated with the construction - context search, key collisions, message equivocation, and non-commutativity of the encoding maps - and study the theoretical relationships between them, including the characterization of message equivocation in terms of context search, and the tension between key collisions and message equivocation. An empirical study on Llama 3 8B confirms exact recovery of the original payload in all tested cases, finds no key collisions under random key generation, establishes that a hand-crafted collision is local rather than global, and finds no commuting key pairs - suggesting resistance to the attack vectors studied. This work opens a formally grounded research agenda for the constructive use of language models in cryptography and privacy-preserving communication.

Wed 9 SeptCryptography and SecurityArtificial IntelligenceMachine Learning
The gist
Sometimes people want to hide secret messages inside normal-looking text so others don’t notice. This paper studies a special way to do that by carefully choosing words based on their predicted order in a model, so the hidden message can be exactly recovered. The authors prove this method works under certain conditions and analyze how secure it is against attacks. They also test it on a popular AI language model and find it reliably hides and recovers messages without easy ways for attackers to break it.
Open 2609.10744v1

Agreement on model answers often stops reasoning too early

Stable Answers, Unfinished Reasoning: Why Self-Consensus Is Not a Safe Early-Exit Signal

Abstract: A natural way to cut reasoning-model inference cost is to repeatedly probe a single partial trajectory for its current answer and stop once probes agree -- self-consensus. We ask whether any such rule is both safe and token-saving, and whether one can be selected once and reused. A preregistered sweep of 3,520 consensus rules, replayed on frozen trajectories from two models and three benchmarks, clears none of three acceptance gates fixed in advance; the frontier reproduces on a held-out split and on two unseen models -- while a boundary-confidence control (DEER) swept through the same pipeline clears all three. The reason lies in the signal: agreement establishes that the current answer persists under a fixed probing procedure, not that the reasoning has terminated -- a consensus-termination gap. Stopping on it commits non-terminal answers. At a rule still saving 32% of the tokens, one stop in nine fires on an answer the trajectory itself later abandons, and most of those stops cut off a correction it would otherwise have made. Widening the agreement window does not remove them: the share levels off near 7%, and by then the saving has fallen to 8%. Probe re-wording and a hand-labelled error taxonomy show the agreed answer is often a placeholder the model had not settled on. Used on its own as the stop signal, agreement fails not because it is insufficiently strict, but because it repeatedly measures the wrong object.

Wed 9 SeptComputation and Language
The gist
Cutting the time it takes for AI to answer questions by stopping when it repeats the same answer seems smart, but this paper shows it is risky. The authors show that just because an AI repeats the same answer several times doesn't mean it has finished thinking; it might change its mind later. They tested many ways to decide when to stop early but none were safe except a method called DEER. So relying on repeated answers alone can cut off important corrections and lead to mistakes.
Open 2609.09989v1

Large language models have deep stable biases and shallow prompt biases

Deep and shallow biases in language models

Abstract: Large language models often repeatedly select the same answer even when many alternatives are plausible. Prior work treats this concentration as bias, but it does not distinguish stable model preferences from responses that depend on a particular prompt wording. We introduce a bias depth score that measures both how strongly a model prefers its top answer under direct prompting and whether that answer survives scenario reframing. Across 4,442 opinion prompts and four large language models, only about a quarter of the concentrated preferences survive reframing. We call these persistent cases Deep biases, and the remaining prompt-dependent cases Shallow biases. Our results show that Deep biases are more often inherited from pretraining and preserved through SFT. Under both continued fine-tuning and prompt-based debiasing for diversity, Deep biases are consistently harder to remove than Shallow biases. Bias depth therefore separates stable learned biases from prompt-wording artifacts that single-prompt metrics conflate. Code, models, and data are available at deepbias.github.io.

Wed 9 SeptComputation and Language
The gist
Large language models often stick to one preferred answer even when many answers could be right. This paper shows that some of these preferences are deeply built into the model itself and remain stable even if you change how the question is asked. Other preferences, however, depend a lot on the exact words used in the prompt and change easily. The authors call the first kind 'deep biases' and the second kind 'shallow biases,' and find that deep biases are harder to fix or remove. This helps separate true learned model biases from quirks caused by prompt wording.
Open 2609.09901v1

Correctness-gated distillation changes decisions with no clear label benefits

Decision Shifts, Lost Label Functionality, and an Inconclusive Grounding Audit in Correctness-Gated Multi-Teacher Distillation

Abstract: Candidate decision correctness and rationale grounding are different objectives. We examine correctness-gated multi-teacher distillation in a fixed experiment. Eight arms share 4,330 sources, a 63.9M-parameter student, 12,990 optimization rows, 406 updates, evidence inputs, and a decoder; seven teacher-based arms use one fixed three-response pool. Three seeds are evaluated on 267 held-out examples. Relative to unfiltered distillation, the correctness-weighted arm differed in accuracy by +0.1660 (95% observed-matrix interval [0.0670, 0.2455]), five-label macro-F1 by +0.1323 ([0.0916, 0.1731]), and task-defined conditional unsafe-action rate by -0.4979 ([-0.5926, -0.3686]). These shifts do not imply uniformly better behavior. Source-label SFT had the highest mean macro-F1 (0.586). The weighted arm had zero Refuted recall in every seed, and two seeds assigned NotEnoughInfo to all 167 claim examples. In an availability-amended audit at one reference seed, weighted and unfiltered outputs had 0/20 versus 1/20 evidence-supported positives and 20/20 versus 19/20 positives containing unsupported material. Samples were non-paired, source overlap was not serialized, and the amendment followed automatic summarization but preceded annotation. The audit therefore cannot estimate a common-source grounding effect and is inconclusive about system-level improvement or harm. Hard filtering already achieved 0.660 accuracy, 0.530 macro-F1, and 0.135 conditional unsafe rate. The implemented weighted arm showed no demonstrated incremental decision benefit over hard filtering. This fixed-matrix failure analysis shows decision redistribution with lost label functionality; the available human audit does not establish a grounding gain.

Wed 9 SeptArtificial Intelligence
The gist
Teaching a smaller AI model using advice from several bigger models can focus on how often their answers are correct and how well their explanations match evidence. The paper looks at a method that weighs teacher advice by correctness but finds it doesn’t guarantee better decisions or explanations in practice. Sometimes, the method lost the ability to recognize certain labels and didn’t improve understanding of the evidence behind answers. The authors conclude that the approach did not show clear benefits over simply filtering out bad advice.
Open 2609.09702v1

Transformers simulate sampling methods using internal learning steps

Transformers as In-Context Samplers: From Closed-Form Diffusion to Estimation-Free Sampling

Abstract: A growing body of work establishes that large language models are not mere statistical memorizers, but are capable of in-context learning: performing inference at test time using only examples provided in the prompt, without any parameter updates. Prior theoretical work has shown that this capability extends to supervised learning tasks such as linear regression. We prove that in-context learning extends further to \emph{data generation}: frozen transformers can simulate iterative generative samplers from in-context samples. We first show that transformers can realize closed-form and smoothed closed-form diffusion samplers. The construction identifies a concrete generative role for softmax attention: it computes responsibility weights and weighted empirical averages, while feedforward layers implement Euler updates. To empirically relate these constructions to pretrained language models, we study \emph{semantic-topic sampling}: prompts consisting of words drawn from a common semantic category, such as animals, foods, or cities. Across transformer layers, the normalized hidden states exhibit a two-stage geometry: they move toward a uniform spherical reference in intermediate layers and then return to structured, topic-dependent representations near the output. We further measure an interacting-particle energy on these hidden-state clouds and observe the same U-shape pattern. We then prove that transformers can approximate an energy-based sampler, constructing the same U-shape energy across the layers.

Tue 8 SeptMachine LearningArtificial Intelligence
The gist
Large language models like transformers can learn from examples given in their prompt without changing their weights—a way called in-context learning. This paper shows that transformers can actually mimic complex data generation processes, like sampling from probability distributions, using only their internal computations and the examples given. The authors reveal that transformer attention works like weighting and averaging sample points while the feedforward part updates these estimates iteratively. They also observe patterns in the model's internal states that match known energy-based sampling methods, linking the theory with what happens inside real pretrained language models.
Open 2609.08981v1

On-policy reverse distillation improves model learning beyond weaker teachers

Eliciting Weak-to-Strong Generalization with On-Policy Reverse Distillation

Abstract: Weak-to-strong generalization asks whether stronger models can learn from weaker supervisors and surpass them. This question is particularly important for successive model generations and multi-domain consolidation, where repeating frontier-scale post-training from scratch can be prohibitively expensive. Yet conventional distillation treats the weak teacher as an optimization target, potentially imposing its capacity ceiling on the student. We introduce On-Policy Reverse Distillation (OPRD), which evaluates the teacher's policy shift relative to its reference policy on student rollouts and amplifies the component of the student's verifier-driven policy gradient along that direction. By rescaling only verifier-supported updates, OPRD preserves the stationary points of policy optimization while accelerating learning beyond the teacher. In both successive model transfer and multi-teacher distillation, OPRD achieves higher performance with fewer student updates than existing RL and distillation approaches. Response-style analysis shows that OPRD students remain closer to models trained with verifier-based RL alone than to their weak teachers, suggesting that teacher guidance accelerates rather than redirects the student's own optimization. Results in conventional strong-to-weak distillation further demonstrate that OPRD effectively combines verifier-driven policy optimization with teacher guidance regardless of capacity ordering.

Tue 8 SeptMachine LearningComputation and Language
The gist
Sometimes, newer AI models start by learning from older, weaker models but need to get better than them. The authors introduce a method called On-Policy Reverse Distillation (OPRD) that helps newer models learn faster and even surpass their teachers by focusing on rewarding helpful guidance instead of copying everything. This method lets the student model follow its own learning path but still benefit from the teacher’s advice. Tests show OPRD helps models learn more efficiently and perform better in multi-domain and successive learning scenarios.
Open 2609.08798v1

History aware dynamic routing improves large language model efficiency

Do Dynamic Routers Need Memory? HeRo: History-Aware Routing for Efficient LLM Inference

Abstract: Dynamic layer routing reduces the inference cost of Large Language Models (LLMs) by learning to skip layers for individual tokens. Existing methods, however, treat each routing decision as a local operation conditioned solely on the current hidden state which is a formulation that overlooks the sequential, path-dependent nature of routing across depth: earlier decisions shape the representations seen by downstream routers, and the layer-usage objective couples all decisions jointly. We propose History-Aware Routing (HeRo), a dynamic routing framework that resolves this mismatch by introducing a router memory mechanism to maintain an explicit routing state across model depth. The memory is constructed via linear attention, incrementally aggregating preceding routing scores and their induced residual updates into a compact history representation. At each routed layer, the router conditions jointly on this accumulated state and the current hidden representation to select the executed branch. Instantiated for token-wise FFN routing, HeRo trains only lightweight routers and adapters on a frozen backbone, requiring no modification to pretrained parameters. Across Llama 3.1-8B, Llama 2-7B, and Llama 2-13B, HeRo consistently achieves the highest aggregate performance retention among ten baselines. On Llama 3.1-8B, it bypasses 26.87% of model parameters while achieving 100.24% of dense model performance across seven benchmarks, and retains 97.01% while bypassing 38.82% of model parameters under a tighter computation budget. Ablation studies confirm that removing routing history consistently degrades performance, most notably on multistep reasoning and code generation, validating that explicit routing memory enables more accurate and adaptive dynamic routing than solely conditioning on hidden state.

Tue 8 SeptArtificial IntelligenceComputation and Language
The gist
Large language models are very big and slow to use because they process every word through many layers. Some methods try to speed this up by skipping layers for each word, but they make decisions based only on the current word’s data. The authors found that remembering past routing decisions helps the model make better choices about which layers to use. They created a system called HeRo that keeps a memory of earlier decisions to improve layer skipping and make the model faster without losing accuracy. Their tests show HeRo works well on multiple versions of Llama models and keeps performance high while using fewer parameters.
Open 2609.08189v1

Text aligned vision model improves fine detail puzzle reasoning and segmentation

TDDN: Text-aligned Diffused DINO Network for Puzzle Understanding

Abstract: Structured visual reasoning, such as image puzzles, demands fine-grained visual perception, an ability current Vision Language Models (VLMs) lack. VLMs built on CLIP-based ViT backbones trade fine-grained detail for high-level semantics, and we show this loss propagates downstream. To recover it, we fuse DINOv3 and CleanDIFT representations into a perception encoder (DiffusedDINO) and align it with RoBERTa-L, yielding a text-aligned model TDDN that preserves this perceptual advantage: with frozen backbones and only $\sim$590K alignment pairs, TDDN matches CLIP on image-text retrieval, surpassing it on three of four settings. It does so while more than tripling CLIP's dense-prediction accuracy (ADE20K 5.20 $\to$ 18.11 mIoU, COCO-Stuff 7.35 $\to$ 24.44), despite CLIP's massive training corpus. TDDN leads on segmentation benchmarks among general-purpose contrastive encoders, including SigLIP$\,$2. We further introduce Puzzle Perception, a segmentation and visual question answering dataset that probes fine-grained spatial understanding, on which TDDN doubles CLIP's segmentation accuracy (11.04 $\to$ 22.51 mIoU).

Mon 7 SeptComputer Vision and Pattern RecognitionArtificial Intelligence
The gist
Understanding images like puzzles needs very detailed visual perception, which existing vision language models often miss because they focus more on general meaning than fine details. The authors combined two different image representations into a new model called TDDN, which aligns better with language and captures fine visual details. This model matches or beats existing ones in finding good matches between images and text, and it is much better at image segmentation. They also created a new dataset to test puzzle-like image understanding, where their model performs twice as well as previous methods.
Open 2609.07937v1

Spectral method cuts memory and speeds scoring in text search

EigenLI: Spectral Approximations to Late Interaction

Abstract: Late-interaction models such as ColBERT achieve strong effectiveness by representing each document with many token-level vectors, but this expressivity leads to large indexing cost, storage footprints and expensive MaxSim scoring. We show that late-interaction representations exhibit an intrinsic low-rank structure: document token embeddings concentrate in a low-dimensional subspace that preserves most of the retrieval signal. Leveraging this observation, we introduce EigenLI, a spectral approximation framework that compresses late-interaction representations via document-specific low-dimensional subspaces. Unlike clustering or pooling methods, EigenLI identifies the dominant eigendirections of each document and uses them to construct reduced interaction representations. Empirically, $k$-EigenLI with $k \le 32$ outperforms k-means and Ward clustering based pooling methods on ColBERTv2 and AnswerAI-ColBERT-small; GTE-ModernColBERT exhibits a different tradeoff at $k=32$, where clustering methods perform better. The same spectral construction also yields EigenLI-SV, an ANN-compatible single-vector representation derived from the second-order summary of the reduced structure. Across multiple datasets and all three text models, EigenLI-SV consistently outperforms comparable single-vector surrogates such as MUVERA.

Mon 7 SeptInformation RetrievalMachine Learning
The gist
Searching documents by comparing many small pieces can be very accurate but also slow and use lots of memory. The authors found that these many pieces actually fit well into a smaller space without losing much important information. They created EigenLI, a way to shrink these pieces using mathematical directions called eigenvectors, making search faster and simpler. Their tests show this method beats other ways of shrinking data and even creates compact single summaries that work well for approximate search.
Open 2609.07561v1

Cedar speeds up long context attention with smarter token routing

CEDAR: Error-Bounded Residual Routing for Efficient Long-Context Attention

Abstract: Post-hoc sparse attention accelerates long-context prefill by routing each query to a small set of token-level interactions. Hard selection, however, assigns zero probability to every omitted chunk: a routing miss cannot be recovered, and a fixed expansion budget spends the same work on easy and ambiguous queries. We introduce Coarse-to-fine Error-aware Dynamic Attention Routing (CEDAR), a coarse-to-fine method that keeps the language model frozen while preserving global coverage. Each semantic chunk contributes a cheap key--value summary to a residual attention path; chunks with high estimated approximation error are then expanded to exact token attention. Exact and summarized contributions are combined in a single softmax normalization, so refinement replaces, rather than duplicates, coarse evidence. We derive an output-error bound governed by within-chunk key/value dispersion and use it to allocate a variable refinement budget. A controlled clustered-attention study shows that residual summaries reduce reconstruction error by more than 98% relative to hard dropping at equal exact-chunk budgets. Experiments on long-context benchmarks demonstrate that CEDAR recovers most of the quality lost by hard sparse routing while maintaining approximately $3\times$ kernel speedup at 128K context.

Mon 7 SeptComputation and Language
The gist
Handling very long pieces of text with AI language models is slow and memory-heavy because every word needs to pay attention to many others. The authors created CEDAR, a method that quickly summarizes groups of words and only looks closely at smaller parts that matter most for the current task. This approach keeps the model's quality high while running about three times faster for very long texts. It also smartly decides where to spend extra effort based on how much detail is needed, rather than treating all parts equally.
Open 2609.07237v1

Conditioned initialization improves transformer training stability and speed

Conditioned Initialization for Attention

Abstract: Transformers are a dominant architecture in modern machine learning, powering applications across vision, language, and beyond. At the core of their success lies the attention layer, where the query, key, and value matrices determine how token dependencies are captured. While considerable work has focused on scaling and optimizing Transformers, comparatively little attention has been paid to how the weights of the queries, keys and values are initialized. Common practice relies on random initialization or alternatives such as mimetic initialization, which imitates weight patterns from converged models, and weight selection, which transfers weights from a teacher model. In this paper, we argue that initialization can introduce an optimization bias that fundamentally shapes training dynamics. We propose conditioned initialization, a principled scheme that initializes attention weights to improve the spectral properties of the attention layer. Theoretically, we show that conditioned initialization can potentially reduce the condition number of the attention Jacobian, leading to more stable optimization. Empirically, it accelerates convergence and improves generalization across diverse applications, highlighting conditioning as a critical yet underexplored area for advancing Transformer performance. Importantly, conditioned initialization is simple to apply and integrates seamlessly into a wide range of Transformer architectures.

Mon 7 SeptMachine LearningComputer Vision and Pattern Recognition
The gist
Transformers are machine learning models widely used for language, vision, and other tasks. Inside them, attention layers help choose how information from different parts relates. Usually, the weights that control this attention start out random, but the authors show that starting these weights in a special way, called conditioned initialization, helps the model learn faster and work better. This method makes the math behind attention more stable, which leads to smoother training and improved results across various tasks.
Open 2609.07086v1