ByteDance-Seed codes Stable-DiffCoder-8B-Instruct

ByteDance-Seed released Stable-DiffCoder-8B-Instruct on January 26, 2026, presenting a new approach to code generation using diffusion-based language models. This project moves away from the standard left-to-right generation used by autoregressive models, instead employing a block-wise method that allows for non-sequential decoding.
By reusing the Seed-Coder architecture and training on 1.3 trillion tokens, the team achieved results that surpass their previous autoregressive counterpart on a broad suite of code benchmarks. The model handles a context length of 8,192 tokens, utilizing public datasets and synthetic data to improve structured code modeling for editing and reasoning tasks.
Technical capabilities & features include
- Mask Diffusion Language Model architecture.
- Block diffusion continual pretraining (CPT) stage.
- Tailored warmup and block-wise clipped noise schedule.
- 8,192 token context length for processing code.
- Training on public datasets and synthetic data.
- Instruction-tuned version available for user alignment.
Benchmark results & performance metrics
Performance data indicates that Stable-DiffCoder-8B-Instruct performs strongly against other models in its size class. It achieved a score of 54.8 on BigCodeBench (Full), placing it ahead of OpenCoder-8B which scored 50.9. On LiveCodeBench (v5), the model scored 24.7, while it reached 86.6 on HumanEval.
These figures demonstrate that diffusion-based training can improve code modeling quality beyond what autoregressive training alone can achieve, even under tightly controlled data and architecture constraints.
Expert analysis & developer insights
The development team highlights that traditional models often underutilize the non-autoregressive nature of code.
'Diffusion-based language models (DLLMs) offer non-sequential, block-wise generation and richer data reuse compared to autoregressive (AR) models,'
states the project paper. They explain that this structure allows the model to handle tasks like infilling missing spans and revising earlier code segments more effectively.
'Under the same data and architecture, Stable-DiffCoder overall outperforms its AR counterpart on a broad suite of code benchmarks,'
the authors write in their technical report.
Interested in Stable-DiffCoder-8B-Instruct?
- See project details on their GitHub page.
- Read their research paper on arXiv.
- Download the Stable-DiffCoder-8B-Instruct model on Hugging Face.