paper-with-me

홈 › Papers

Dream-Coder 7B: An Open Diffusion Language Model for Code

2025-09-01 · Zhihui Xie, Jiacheng Ye, Lin Zheng, Jiahui Gao, Jingwei Dong, Zirui Wu, Xueliang Zhao, Shansan Gong, Xin Jiang, Zhenguo Li, Lingpeng Kong arxiv

We present Dream-Coder 7B, an open-source discrete diffusion language model for code generation that exhibits emergent any-order generation capabilities. Unlike traditional autoregressive (AR) models that decode strictly left-to-right, Dream-Coder 7B adaptively determines its decoding strategy based on the coding task: sketch-first generation for complex algorithms, left-to-right generation for straightforward completions, and interleaved reasoning generation for code understanding tasks. We adapt a pretrained AR checkpoint to a discrete diffusion frameworks with a continuous-time weighted cross-entropy objective. Our post-training recipe comprises (i) supervised fine-tuning, where we mitigate padding pathologies via random truncation and a padding penalty to improve sample efficiency and stabilize generation; and (ii) reinforcement learning with verifiable rewards over a curated high-quality prompt set drawn from open-source datasets, using a tailored reinforcement learning recipe for diffusion language models. The resulting Dream-Coder 7B Instruct attains 21.4\% pass@1 on LiveCodeBench (2410--2505) and demonstrates competitive performance on HumanEval, MBPP, BigCodeBench, and CRUXEval. We release Dream-Coder-7B and Dream-Coder-7B-Instruct checkpoints, training recipes, preprocessing pipelines, and inference code to facilitate reproducibility and further research.

📄 PDF Abstract BibTeX arXiv:2509.01142

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningCode Generation

Results from the Paper

RankTaskDatasetModelMetrics
#268 Code Generation LiveCodeBench Dream-Coder Pass@1: 21.4

Similar Papers 제목 키워드 기반

DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas

2026-02-01 · Zirui Wu, Lin Zheng, Zhihui Xie, Jiacheng Ye 외 arxiv

Diffusion Language Models (DLMs) present a compelling alternative to autoregressive models, offering flexible, any-order infilling without specialized prompting design. However, their practical utility is blocked by a cr…

Dream-VL & Dream-VLA: Open Vision-Language and Vision-Language-Action Models with Diffusion Language Model Backbone

2025-12-27 · Jiacheng Ye, Shansan Gong, Jiahui Gao, Junming Fan 외 arxiv

While autoregressive Large Vision-Language Models (VLMs) have achieved remarkable success, their sequential generation often limits their efficacy in complex visual planning and dynamic robotic control. In this work, we …

HiDream-I1: A High-Efficient Image Generative Foundation Model with Sparse Diffusion Transformer

2025-05-28 · Qi Cai, Jingwen Chen, Yang Chen, Yehao Li 외

Recent advancements in image generative foundation models have prioritized quality improvements but often at the cost of increased computational complexity and inference latency. To address this critical trade-off, we in…

Image GenerationMixture-of-ExpertsText to Image GenerationText-to-Image Generation

DreamReasoner-8B: Block-Size Curriculum Learning for Diffusion Reasoning Models

2026-06-17 · Zirui Wu, Lin Zheng, Jiacheng Ye, Shansan Gong 외 arxiv

Block diffusion language models accelerate decoding through parallel block-wise denoising, yet whether they can be reliably scaled for long chain-of-thought (CoT) reasoning remains unresolved. To this end, we develop Dre…

Dream 7B: Diffusion Large Language Models

2025-08-21 · Jiacheng Ye, Zhihui Xie, Lin Zheng, Jiahui Gao 외 arxiv

We introduce Dream 7B, the most powerful open diffusion large language model to date. Unlike autoregressive (AR) models that generate tokens sequentially, Dream 7B employs discrete diffusion modeling to refine sequences …