ProbGuard: Calibrated Safety Risk Estimation from LLM Output Distributions
arXiv:2608. 10621v1 Announce Type: new Abstract: Recent research on Large Language Model (LLM) safety has widely adopted guardrails to identify unsafe LLM outputs.
The paper introduces boundary marginalization, a method that enables autoregressive language models to train on the exact likelihood of numerical labels that are rounded, bounded, or censored. By using a fixed-width, order-preserving numeral representation, intervals are represented as unions of digit-prefix groups, allowing exact probability and gradient computation via at most two boundary paths. This approach unifies precise, rounded, bounded, and censored supervision, supports exact distributional queries, and yields improved likelihoods and accuracy in experiments on molecular measurements and code latency distributions.
arXiv:2608. 10621v1 Announce Type: new Abstract: Recent research on Large Language Model (LLM) safety has widely adopted guardrails to identify unsafe LLM outputs.
The paper introduces Constrained Maximum Likelihood Estimation (CMLE) for evaluating large language models, explicitly modeling proxy label errors through true‑positive and false‑positive rates while applying data‑driven constraints that act as adaptive regularization. CMLE trades a controlled bias for reduced variance compared to unconstrained maximum likelihood and prediction‑powered methods, and the authors analytically characterize this bias‑variance tradeoff under point constraints. Experiments on synthetic and real‑world tasks show CMLE reduces mean squared error by up to 9 % over non‑stratified baselines, with a stratified variant (SCMLE) achieving up to 30 % lower error, especially in low‑label regimes.
arXiv:2607. 20286v1 Announce Type: cross Abstract: We propose a novel framework for computing rigorous bounds on the probability that a large language model (LLM) generates harmful output to a given prompt.
The paper introduces infilling extraction, a new protocol for probing memorization in diffusion language models (DLMs) that uses arbitrary binary masks to exploit their bidirectional denoising capability. Experiments on LLaDA‑8B and Dream‑7B across multiple extraction modes, training pipelines, and corpora show that mask geometry significantly affects extractability, with edge‑conditioned masks retrieving up to three times more verbatim sequences than prefix‑only probes. Targeted infilling also boosts PII recall on fine‑tuned DLMs by 2.5–4.5× over prefix‑only methods, narrowing the gap to autoregressive models and sometimes surpassing them for specific data types.
arXiv:2608. 15448v1 Announce Type: cross Abstract: Large language models increasingly rely on sampling as a driver of their own improvement, making the fidelity of their learned distributions more critical than ever.
We propose a novel framework for computing rigorous bounds on the probability that a large language model (LLM) generates harmful output to a given prompt. We study a new application of the Clopper-Pearson confidence intervals to obtain probably approximately correct (PAC) bounds for this problem.
The paper investigates the limitations of confidence in discrete diffusion models, such as remasking and uniform-state samplers, which generate sequences by writing multiple token positions per step. It demonstrates that a diffusion step aligns with the training distribution only when the positions written are conditionally independent given the fixed tokens, and that per-position distributions cannot capture dependencies between tokens. Using the synthetic ScanAndAdd task, the authors confirm that every group of two or more undetermined positions is dependent, and they find that the generated distribution is 29 times the sampling‑noise floor in total variation while per‑sample metrics remain at 1.0.
Informed Masking (IM) is a new technique for aligning Diffusion Large Language Models (dLLMs) with Reinforcement Learning (RL). It identifies a systematic upstream/downstream token structure in dLLM rollouts and shows that masking downstream tokens creates better subproblems for likelihood estimation. When integrated into three state‑of‑the‑art dLLM RL methods on LLaDA‑8B‑Instruct, IM yields up to 2.01%, 8.68%, and 5.77% relative average gains on math and planning benchmarks while improving training stability.
The paper investigates whether language models can be fine‑tuned to produce outputs that better match intended probability distributions, even when the valid outputs cannot be enumerated in advance. Two calibration fine‑tuning methods—soft‑target and hard‑target—are evaluated across 12 models from four families, showing substantial improvements in structured‑sampling fidelity on unseen distribution families and parameter settings. The gains also transfer to broader stochastic generation tasks, expanding first‑token support and improving NoveltyBench scores, though some downstream capabilities such as arithmetic reasoning may be slightly affected.
Transduced language models (TLMs) combine a pretrained source language model with a finite‑state transducer to produce a language model over target strings. The paper introduces an unbiased stochastic estimator that resamples source prefixes without replacement and reweights them, allowing accurate estimation of target prefix probabilities while reducing computation compared to threshold‑pruned beam summing. Experiments on encyclopedic text, DNA, and DNA‑to‑amino‑acid transduction show improved compute–variance trade‑offs and significant runtime reductions, and the method also lowers estimated corpus surprisal in a reading‑time analysis without altering its conclusions.
The article "How To Build A Modern Diffusion Language Model" reviews the recent advances in large language models (LLMs) and highlights their limitations, such as sequential token generation that underutilizes GPU hardware and prevents error correction. It explains how discrete diffusion models overcome these issues by generating tokens in parallel through iterative denoising, enabling high-speed inference and controllable generation. The paper surveys key concepts, architectural components, and applications of diffusion LLMs in biology and language, and discusses their implications for future scaling laws.
The paper introduces Prefix-Block Policy Optimization (PBPO), a method that adapts block-level policy optimization to Diffusion Large Language Models (dLLMs). PBPO constructs a prefix-block state and uses a single model evaluation to create a factorized one‑step surrogate for block likelihood, allowing surrogate importance weighting and clipping to be applied separately to each token. Experiments on LLaDA-family models across six benchmarks and three generation lengths show that PBPO achieves competitive performance compared to existing dLLM reinforcement learning methods.