arXiv:2610.37115cs.LGOct 2026

Manuscript Offprint

arXiv:2610.37115

Self-Regularized Flow Language Models

Theodoros Kouzelis, Spyros Gidaris, Nikos Komodakis

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

We introduce SERF (Self-Regularized Flow Language Models), a simple self-supervised framework for improving continuous diffusion language models by exploiting the denoising trajectory itself. While continuous flow-based language models offer a promising alternative to autoregressive generation, their training objectives typically rely on supervision from clean target tokens, leaving the denoising trajectory underexploited as a learning signal. SERF addresses this limitation through noisy-to-clean self-distillation: an exponential moving average (EMA) teacher receives a cleaner version of the student's noisy input along the same interpolation path and provides additional supervision. We investigate two variants: SERF-L, which aligns the student's intermediate representations with deeper teacher representations, and SERF-P, which aligns their output token distributions, either at the student's output or at an early student layer. All variants augment the standard training objective without requiring external pretrained models or modifying the inference procedure. Experiments across three continuous language-model paradigms (one-hot FLM, latent ELF, and hyper-spherical S-FLM) demonstrate substantial improvements in training efficiency, generation quality, and few-step generation. In particular, SERF achieves up to 7.7×7.7\times wall-clock training acceleration on OpenWebText, improves MAUVE by 24.3% and GSM8K accuracy by up to 28.8%, and matches baseline performance with up to 64×64\times fewer sampling steps. These results establish noisy-to-clean self-distillation as an effective approach to improving continuous diffusion language models.

Code: https://github.com/zelaki/SERF

Figure

Wall-clock training acceleration

Figure

Relative improvement (%)

Sampling acceleration

Figure 1: Performance and efficiency gains of SERF. Improvements over FLM (Lee et al., 2026) on OpenWebText (Gokaslan & Cohen, 2019) and over S-FLM (Deschenaux & Gulcehre, 2026) on GSM8K. Left: SERF reaches the baseline's quality with substantially fewer training steps (see Fig. 4), achieving wall-clock acceleration despite its small additional computational cost (see Sec. A.4). Middle: Improves generation quality and reasoning accuracy at the same sampling budget (see Tab. 1 and Fig. 5). Right: Matches the baseline's 1024-step performance with only a fraction of the sampling steps (see Tab. 1, Fig. 4 and Fig. 8). Sources for each value are listed in Tab. 2.

1 INTRODUCTION

Current leading language models (Achiam et al., 2023; Anil et al., 2023; Guo et al., 2025) primarily rely on autoregressive decoding, generating one token at a time. While training benefits from the parallelism of transformer architectures and teacher forcing, inference remains fundamentally sequential, creating a major bottleneck as models and sequence lengths scale. Diffusion language

*Correspondence to theodoros.kouzelis@athenarc.gr models (Khanna et al., 2025; Nie et al., 2025; Sahoo et al., 2024) have recently emerged as a promising alternative, offering significantly more flexibility in their generative trajectories. By learning to reverse a corruption process applied to the entire sequences simultaneously, they can generate multiple tokens in parallel and potentially enable substantially faster inference.

While most diffusion language models rely on discrete corruption processes such as masking (Sahoo et al., 2024; Arriola et al., 2025) or token replacement (Schiff et al., 2024; Lou et al., 2023), recent work has revisited continuous diffusion and flow-based formulations for language (Dieleman et al., 2022; Lee et al., 2026). Such formulations have been central to advances in image and video generation and provide smooth generative trajectories that support efficient ODE- and SDE-based sampling (Lipman et al., 2023; Song et al., 2021). They are also particularly well-suited to few-step generation, as continuous trajectories can be effectively approximated with a small number of integration steps (Lee et al., 2026; Kang et al., 2025). Importantly, they make techniques developed for continuous generative models directly applicable to language, including guidance (Ho & Salimans, 2022; Karras et al., 2024) and flow-based distillation (Song et al., 2023; Boffi et al., 2025). These properties make continuous diffusion a promising and versatile framework for text generation.

Interestingly, recent advances in diffusion modeling for image synthesis have shown that augmenting the standard denoising objective with auxiliary self-supervised signals can substantially improve both training efficiency and generation quality (Yu et al., 2025; Kouzelis et al., 2025; Chefer et al., 2025; Jiang et al., 2025). These methods often involve distilling semantic representations from pretrained encoders (Yu et al., 2025; Kouzelis et al., 2025; Wu et al., 2025), but this introduces a dependency on external models whose suitability can be difficult to anticipate, especially in the language domain. More recent methods instead exploit self-supervision within the generative model itself, leveraging the structure of the denoising trajectory to define objectives such as contrastive learning or self-distillation across noise levels and network layers (Chefer et al., 2025; Jiang et al., 2025; Haghighi et al., 2025). These results suggest that the denoising process contains rich internal supervision signals that go beyond direct reconstruction of clean data.

This raises a natural question: can such self-supervised objectives similarly improve continuous diffusion models for language?

In this work, we answer this question affirmatively and introduce SERF (Self-Regularized Flow Language Models), a simple and effective training framework that integrates self-supervised learning into continuous flow-matching language models (see Fig. 2). We build on Flow Matching Language Models (FLMs) (Lee et al., 2026), which operate over one-hot token embeddings and are trained to predict the clean one-hot embedding from a noised input using a cross-entropy loss. SERF augments this objective with a noisy-to-clean self-distillation signal derived from the flow trajectory. Given an input sequence, we construct two corrupted versions using the same underlying noise but at different noise levels. The student processes the more corrupted input, while an exponential moving average (EMA) teacher processes a cleaner version along the same interpolation path. Since the teacher solves an easier denoising problem, its representations and predictions provide informative targets for what the student should recover from the noisier input. Matching these targets encourages consistency along the denoising trajectory and provides richer supervision, without modifying the model architecture or inference procedure.

Inspired by self-distillation approaches in image diffusion (Chefer et al., 2025; Jiang et al., 2025; Haghighi et al., 2025), we study two instantiations of SERF. Following these prior works, Latent Distillation (SERF-L) aligns intermediate hidden representations, matching the student's features at a shallow block to the teacher's features at a deeper block through a lightweight projection head. This encourages the student's early layers to form the contextual representations that the teacher reaches deeper in the network and from a cleaner input. Our second variant, Probability Distribution Distillation (SERF-P), distills the teacher's predicted token distribution instead of its features. This target is natural for language, where the denoiser outputs a categorical distribution over the vocabulary at every position. Beyond matching the student's final output, we also investigate distillation at an early student block: its hidden states pass through a small adapter and the teacher's frozen output head, and are trained with a cross-entropy loss to match the teacher's prediction from the cleaner input. Reusing the teacher's head keeps both distributions in the same output space and encourages the student to recover, already in its early layers, which tokens are plausible given a less corrupted context. This distribution-level target is also closer to the language modeling objective than feature alignment, as it shares the cross-entropy form of the denoising loss. SERF is fully self-contained: all proposed variants derive their supervision from the flow model itself and require no external teacher or pretrained representation model. Moreover, SERF is used only during training and leaves the underlying sampling procedure unchanged, introducing no additional inference-time cost.

To the best of our knowledge, SERF is the first framework to systematically integrate self-supervised objectives into continuous diffusion language models. Our results demonstrate that simple self-distillation along the denoising trajectory can substantially improve training efficiency, generation quality, and few-step generation.

Contributions. Our contributions can be summarized as follows:

  1. We introduce SERF, a simple self-regularization framework that exploits the denoising trajectory of continuous flow language models through noisy-to-clean self-distillation, requiring neither external pretrained models nor changes to the architecture or inference procedure.

  2. We investigate two instantiations of SERF: SERF-L, which aligns hidden representations, and SERF-P, which aligns output token distributions, including at early student layers.

  3. We show that SERF generalizes across three continuous diffusion paradigms (FLM, ELF, and S-FLM), yielding substantial gains in training time, generation quality, and sampling efficiency. On OpenWebText, SERF reaches the MAUVE of FLM with up to 7.7×7.7\times less wall-clock training time and ultimately raises MAUVE by 24.3%. On GSM8K, SERF improves the accuracy of S-FLM by 28.8% and matches its 1024-step accuracy with 64×64\times fewer sampling steps (Fig. 1).

References (60)