Papers for

real-time chatbot 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.

Language models generate text faster with new rectified flow approach

Rectified Language Flow

Abstract: Continuous-state flow and diffusion models offer a promising approach to fast, parallel language generation, but matching the generation quality of autoregressive models remains challenging. We present Rectified Language Flow (ReLF), a language model that generates text by transporting noise to token embeddings using rectified flow. ReLF combines several complementary design choices: fixed token embeddings constructed with Hellinger-SVD, self-conditioning guidance trained with cross-entropy, and regularized reflow for few-step generation. We further introduce singular logits, which combine an analytically computed term that drives commitment to a valid token embedding as noise vanishes with a bounded neural residual that learns contextual token preferences. With 64 function evaluations on OpenWebText, ReLF achieves lower generative perplexity than autoregressive baselines at matched diversity across all three model sizes tested, while also outperforming prior continuous flow methods in this setting. After two reflow rounds, ReLF still outperforms autoregressive baselines with 16 function evaluations while generating 1,024-token sequences 15-19 times faster at batch size 1.

Sat 24 OctArtificial IntelligenceMachine Learning
The gist
Generating text with current fast methods often sacrifices quality compared to traditional step-by-step models. The authors introduce Rectified Language Flow (ReLF), which creates text by gradually shaping random noise into meaningful words using a new flow technique combined with smart training tricks. They show ReLF can generate long sentences much faster while keeping or improving quality over popular models. This approach could make AI language generation more efficient and practical for real-time use.
Open → 2610.33811v1

Reinforcement learning improves speed of language model speculative decoding

RCSD: Reinforcement and Continual Learning for Domain-Specific Speculative Decoding

Abstract: Speculative decoding accelerates large language model inference by employing a compact draft model to propose candidate tokens that are verified in parallel by a target model. Conventional training relies on soft-label distillation, which forces the draft model to mimic the target's full output distribution, including high-entropy regions that degrade acceptance rates and increase early rejection risk. We propose RCSD (Reinforcement and Continual Learning for Speculative Decoding), a training framework that aligns draft model optimization with the system-level objective of maximizing acceptance length. RCSD leverages naturally occurring accepted and rejected sequences during speculative inference to construct implicit preference pairs, with masked loss to avoid penalizing target-aligned tokens. Evaluated across multiple benchmarks, RCSD improves average acceptance length by 35% over HASS and achieves 1.35x faster end-to-end inference than HASS on practical workloads, without compromising generation quality.

Wed 21 OctComputation and Language
The gist
Generating text with large language models can be slow, so people use a smaller model to guess next words and check them with the big model to speed things up. The usual training forces the small model to copy the big one too closely, causing delays due to uncertain guesses. The authors created RCSD, a new training method that rewards the small model for better guessing sequences that the big model will accept. This approach makes the process faster by about 35% without making the output worse.
Open → 2610.29527v1

Nucleus speculative decoding improves AI text generation speed and efficiency

Nucleus Speculative Decoding: Plausibility-Aware Verification Beyond Exact Distribution

Abstract: Speculative decoding accelerates autoregressive generation by using a lightweight draft model to propose multiple tokens that are verified by a target model in parallel. However, the standard acceptance rule focuses on exact distribution correction and rejects tokens that remain highly plausible under the target model when the draft model assigns excess probability. This conservative verification limits the number of draft tokens retained after each verification forward pass. We introduce Nucleus Speculative Decoding (NSD), a relaxed verification method that incorporates target-model plausibility into speculative decoding. NSD accepts a draft token if it satisfies the standard acceptance rule or belongs to the target model's nucleus. We theoretically characterize the distributional deviation introduced by our method and show that the single-step error is exactly determined by the draft model's excess probability within the target nucleus. We further derive sequence-level fidelity bounds that quantify how local deviations accumulate over autoregressive decoding. Experiments across multiple target models and proposal mechanisms demonstrate that NSD consistently improves speculative decoding efficiency while maintaining competitive task performance. Our method achieves throughput speedups of up to $5.16\times$ over autoregressive decoding and up to $3.15\times$ over standard speculative decoding. These improvements coincide with longer accepted lengths, allowing more output tokens to share the cost of each target verification pass. Analysis shows that plausibility-aware verification provides an effective approach for relaxed verification and speculative decoding efficiency. Our code is available at https://github.com/EIT-NLP/Nucleus-Speculative-Decoding.

Tue 6 OctComputation and Language
The gist
Generating text with AI can be slow because the computer checks every new word carefully. The authors created a method called Nucleus Speculative Decoding that lets the AI accept words that look very likely without strict checking all the time. This speeds up text generation while keeping the output good. Their method balances speed and accuracy better by being more flexible about which words to accept.
Open → 2610.07822v1

Predicting inference cost speeds up diffusion large language model serving

Denoising Surface: Modeling and Predicting Inference Cost for Diffusion LLM Serving

Abstract: As diffusion large language models (dLLMs) become more capable, they are moving from research settings to real-world \textit{serving}, where request management (such as scheduling and resource allocation) relies on accurate estimation of per-request inference cost. However, common cost proxies fall short for dLLMs: output length ignores that one forward pass can unmask multiple tokens, and denoising-step count ignores the \textit{heterogeneous} per-step costs. We observe that the block-autoregressive generation mechanism induces a two-dimensional execution structure over output blocks and within-block denoising steps, whereas these proxies collapse it into a scalar, discarding information essential for characterizing the cost. Motivated by this insight, we propose the Denoising Workload Surface (DWS), which preserves this two-dimensional block-step structure as a probability surface to weight the heterogeneous per-step costs. We then design a coarse-to-fine training scheme that enables a lightweight prompt-only predictor to accurately predict the complex DWS. This predictor runs efficiently even on a single CPU core, avoiding GPU contention with the serving model. Since DWS decouples request-dependent execution behavior from deployment-specific cost factors, the predictor transfers across hardware configurations without retraining. In \textit{real-world} serving experiments, DWS reduces cost-prediction error by up to $2.50\times$ over scalar-based predictors, while the DWS-guided shortest-job-first scheduler reduces end-to-end latency by up to $1.92\times$ for online chatbots.

Wed 30 SeptMachine Learning
The gist
Diffusion large language models (dLLMs) are powerful but estimating how long they take to respond is tricky because their work happens in steps and blocks. The authors saw that common ways to guess the cost are too simple and miss important details. They invented a method called the Denoising Workload Surface (DWS) that captures this two-dimensional step-block pattern to predict inference cost more accurately. Their predictor runs fast on CPUs and adapts across different hardware setups. Using DWS improves cost predictions and reduces delays in real chatbot services.
Open → 2610.00499v1