paper-with-me

Papers

Diffusion LMs Can Approximate Optimal Infilling Lengths Implicitly

2026-01-31 · Hengchang Liu, Zhao Yang, Bing Su arxiv

Diffusion language models (DLMs) provide a bidirectional generation framework naturally suited for infilling, yet their performance is constrained by the pre-specified infilling length. In this paper, we reveal that DLMs possess an inherent ability to discover the correct infilling length. We identify two key statistical phenomena in the first-step denoising confidence: a local \textit{Oracle Peak} that emerges near the ground-truth length and a systematic \textit{Length Bias} that often obscures this signal. By leveraging this signal and calibrating the bias, our training-free method \textbf{CAL} (\textbf{C}alibrated \textbf{A}daptive \textbf{L}ength) enables DLMs to approximate the optimal length through an efficient search before formal decoding. Empirical evaluations demonstrate that CAL improves Pass@1 by up to 47.7\% over fixed-length baselines and 40.5\% over chat-based adaptive methods in code infilling, while boosting BLEU-2 and ROUGE-L by up to 8.5\% and 9.9\% in text infilling. These results demonstrate that CAL paves the way for robust DLM infilling without requiring any specialized training. Code is available at https://github.com/NiuHechang/Calibrated_Adaptive_Length.

📄 PDF Abstract BibTeX arXiv:2602.00476

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Improving Variable-Length Generation in Diffusion Language Models via Length Regularization

2026-02-07 · Zicong Cheng, Ruixuan Jia, Jia Li, Guo-Wei Yang 외 arxiv

Diffusion Large Language Models (DLLMs) are inherently ill-suited for variable-length generation, as their inference is defined on a fixed-length canvas and implicitly assumes a known target length. When the length is un…

FacEDiT: Unified Talking Face Editing and Generation via Facial Motion Infilling

2025-12-16 · Kim Sung-Bin, Joohyun Chang, David Harwath, Tae-Hyun Oh arxiv

Talking face editing and face generation have often been studied as distinct problems. In this work, we propose viewing both not as separate tasks but as subtasks of a unifying formulation, speech-conditional facial moti…

Talking Face Generation

MAVIN: Multi-Action Video Generation with Diffusion Models via Transition Video Infilling

2024-05-28 · BoWen Zhang, Xiaofei Xie, Haotian Lu, Na Ma 외

Diffusion-based video generation has achieved significant progress, yet generating multiple actions that occur sequentially remains a formidable task. Directly generating a video with sequential actions can be extremely …

Video Generation

Controllable Fake Document Infilling for Cyber Deception

2022-10-18 · Yibo Hu, Yu Lin, Erick Skorupa Parolin, Latifur Khan 외

Recent works in cyber deception study how to deter malicious intrusion by generating multiple fake versions of a critical document to impose costs on adversaries who need to identify the correct information. However, exi…

Flexible-length Text Infilling for Discrete Diffusion Models

2025-06-16 · Andrew Zhang, Anushka Sivakumar, Chiawei Tang, Chris Thomas

Discrete diffusion models are a new class of text generators that offer advantages such as bidirectional context use, parallelizable generation, and flexible prompting compared to autoregressive models. However, a critic…

PositionText Infilling