Lost in Interpolation: Why Predictive Feedback Fails in Diffusion Language Models
SourceFull paper
Article overview
Verdict
S-SM is a well-supported drop-in feedback operator for MDLMs: it matches prediction aggregation to hyperspherical embedding geometry and improves Gen PPL and MAUVE under the tested conditions. Evidence is limited to one 169M model and lacks human evaluation or broad scaling.
Main idea
Instead of Euclidean TopK/LERP feedback, the method aggregates top-k prediction directions on the unit hypersphere, geodesically blends them with the mask-token direction, and restores the mask embedding’s native norm.
Mechanism
State variables: the original mask embedding, top-k predicted embeddings, their probability weights, and entropy-based confidence. Operation: normalize top-k directions; compute their weighted spherical Fréchet mean with three Karcher iterations and k=3; normalize the mask direction; apply SLERP along the great-circle arc with strength controlled by a learned entropy-based sigmoid; rescale to the mask embedding’s original norm. Near-collinear directions use normalized-LERP. The operator is applied only at masked positions and selected timestep bands, with float32 for arccos, sin, and normalization while other operations may remain in bfloat16. Confidence scheduling, unmasking, the two-pass objective, and training are unchanged; dense embeddings use a pass-through branch. Reproduction: (1) use an MDLM/DiT on OpenWebText; (2) add masked-only S-SM feedback; (3) aggregate top-3 directions with three Karcher iterations; (4) apply SLERP and norm restoration with the fallback; (5) train for 7,000 steps with the existing objective and compare vanilla MDLM and TopK/LERP at NFE 64, 128, 256, and 512. Additional DDP hooks include globally synchronized stochastic gates, all-reduced time means, and find_unused_parameters=True. Cost is approximately 6N_iter kD FLOPs plus Karcher and trigonometric operations versus (2k+1)D for FLERP.
What this is useful for
The method is most applicable as a drop-in modification for masked diffusion language models whose feedback embeddings exhibit similar hyperspherical geometry, especially when generation quality matters across NFE budgets. It supports mixed precision and DDP while retaining the existing objective and confidence schedule.
Risks / not proven
Experiments use one 169M model; transfer to other sizes, architectures, and data distributions is not tested. There is no human evaluation and no matched three-seed study at T=512. Karcher aggregation adds substantial compute that scales with k and iteration count; hyperparameters were inherited from LERP, so S-SM-specific optimality is not established.
Full abstract
Soft-masking accelerates the convergence of Masked Diffusion Language Models (MDLMs). Existing formulations build this blend with linear interpolation (LERP) in the raw embedding space, which implicitly treats that space as Euclidean. We analyze the embedding space of MDLMs and find that the mask and predicted-token embeddings maintain a near-constant angle of (\approx 73^\circ) throughout training, while embedding norms remain essentially flat across vocabulary-frequency rank. These indicate a hyperspherical geometry, for which LERP is the wrong interpolation primitive. We introduce Spherical Soft-Masking (S-SM), a drop-in replacement that aggregates the top-(k) predictions with a Fr'echet mean on the hypersphere and blends this mean with the mask direction using spherical linear interpolation (SLERP), then restores the native mask norm. We evaluate S-SM on continued pre-training of a released 169M-parameter MDLM checkpoint across a wide range of inference-time step budgets, SLERP feedback avoids the training degradation that LERP feedback induces and delivers MAUVE gains of up to 2x over the vanilla MDLM baseline and 27.5-56.1% over TopK/LERP at various sampling budgets, alongside consistently lower generative perplexity (16.9-19.6% over the baseline), while leaving output entropy and convergence essentially unchanged.