Papers for

language model deployers

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.

ReAnchor method boosts draft token length and decoding speed

ReAnchor: Reusing Rejected Verifier States for Diffusion Drafting

Abstract: Block diffusion drafters accelerate speculative decoding by generating multiple draft tokens in a single forward pass. However, each pass produces only a fixed-length block from a single target-generated anchor, limiting how far the draft can extend. Meanwhile, target verification computes hidden states even at positions beyond the first rejection, but these states are typically discarded rather than reused. We propose ReAnchor, a training-free method that reanchors a pretrained drafter at shifted positions using discarded verifier states to generate parallel draft blocks. These blocks improve predictions within the original block and extend coverage beyond its endpoint. At sampling temperature of T=0, ReAnchor achieves its largest average gains on Gemma 4-12B, improving acceptance length by 19.4% and decoding speed by 17.9% across eight benchmarks. Averaged equally over four target models and eight benchmarks, it improves acceptance length by 15.2% and decoding speed by 13.4% with pretrained DFlash drafters.

Mon 19 OctComputation and Language
The gist
Generating text quickly by predicting several words at once can sometimes waste effort because parts of the work get thrown away. The authors noticed that some information calculated during verification steps is discarded but could still be useful. They introduced ReAnchor, a technique that reuses these discarded parts to improve how much text is drafted at once and to speed up the process. Tested on multiple models, ReAnchor notably increased the length of accepted drafts and the speed of decoding without needing extra training.
Open → 2610.26531v1

New method protects language models from harmful fine-tuning attacks

SLDR: Defending Against Malicious Fine-tuning via Selective Layers Recovery and Dynamic Routing

Abstract: Fine-tuning-as-a-service enables users to adapt aligned large language models (LLMs) to specialized tasks, but malicious fine-tuning can erode refusal behavior while preserving task performance on legitimate inputs. We revisit recent layer-wise safety diagnostics and find that safety sensitivity is signed: scaling different layers can strengthen refusal, weaken it, or have little effect. Motivated by this observation, we propose SLDR, a post-fine-tuning defense based on Selective Layers Recovery and Dynamic Routing. SLDR trains a LoRA recovery adapter only on the layers with the maximum and minimum sensitivity scores in the signed spectrum, and uses representation-based dynamic routing inference to activate the adapter only for malicious queries. Across four model architectures, five downstream tasks, and four harmful benchmarks, SLDR substantially reduces harmful outputs while preserving downstream utility. On Llama3.1/SST2, SLDR reduces the average harmful score from 11.54 to 0.08 while maintaining downstream accuracy, and the harmful score remains near zero under poisoning ratios up to 0.9. The code is available at https://github.com/Stardust457/SLDR.

Wed 7 OctCryptography and SecurityArtificial Intelligence
The gist
Fine-tuning lets people customize large language models for special tasks, but bad actors can fine-tune them to ignore safety rules while still working well. The authors found that changing different model layers can either fix or worsen safety issues. They built SLDR, a defense that repairs only the most affected layers and smartly decides when to apply this fix. This method greatly reduces harmful responses from the model without hurting its normal task performance.
Open → 2610.10345v1

FastGuide speeds up reward guidance for diffusion language models

FastGuide: Accelerating Reward Guidance for Diffusion Large Language Models

Abstract: Gradient-based reward guidance provides a flexible way to use downstream reward models to control masked diffusion language models at inference time. However, its computational cost remains high as each decoding iteration incurs expensive diffusion model forward passes and reward model backpropagation steps. To address this, we introduce FastGuide, an adaptive hybrid of parallel and autoregressive decoding to accelerate reward guidance for diffusion language models. In analogy to parallel decoding, FastGuide amortizes the cost of reward model backpropagation by computing guidance once per decoding step and reusing it to generate multiple tokens. Within each decoding step, FastGuide makes diffusion forward passes autoregressive by unmasking tokens one at a time while efficiently recomputing token distributions after each unmasking by utilizing KV caching techniques and sparse recomputation of attention. Lastly, to adapt hybrid decoding to the model's confidence, FastGuide defers any token that the model is unconfident about under its recomputed distribution. Experiments on three reward benchmarks demonstrate that FastGuide is up to $4.4\times$ faster than sequential reward-guided decoding while retaining similar generation quality.

Mon 28 SeptComputation and LanguageMachine Learning
The gist
Guiding large language models to produce desired outputs can be slow because it requires repeated and costly computations. The authors present FastGuide, a method that combines parallel and step-by-step decoding to make this guiding process faster. It uses clever caching and only updates uncertain words later to save time. Tests show FastGuide generates similar quality text much quicker than older methods.
Open → 2609.36202v1