# Microsoft — From coding to machine translation: The benefits of diffusion language models

- Company: Microsoft (microsoft.com)
- Announced: 2026-11-30T16:58:53+00:00
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://commandline.microsoft.com/diffusion-language-models-machine-translation-public-benchmarks/
- Record: https://forck.live/items/42349-from-coding-to-machine-translation-the-benefits-of-diffusion-language-models
- Subject: Foundry / Responsible AI
- Models affected: DiffusionGemma-27B, GPT-5-mini, GPT-5.4

A hackathon experiment adapted DiffusionGemma-27B for machine translation and reports it scored 69.42 chrF++ on the CoCoDoc-MT test set, ahead of Microsoft Translator API at 66.66 and GPT-5 mini at 68.49. The model was fine-tuned on about 79.1K samples from the public CoCoDoc-MT dataset, then trained with reinforcement learning on 260 samples using GPT-5.4 as the judge. It translates English into Spanish, French, Russian and traditional Chinese, denoising a 1,024-token canvas in 30 to 40 steps, roughly 30 tokens per forward pass. The author says the diffusion model outperformed both baselines in Spanish, French and Russian, while traditional Chinese was the exception, remaining slightly behind GPT-5 mini. The author cautions that this is a reduction in sequential generation steps, not a measured 30x gain in total compute, and that short inputs would not see the same gain. The translator is available at dlmtranslate.vercel.app.

## Evidence

Verbatim from https://commandline.microsoft.com/diffusion-language-models-machine-translation-public-benchmarks/:

> It started as a hackathon project.
> 
> I wanted to see how well diffusion language models (DLMs) could perform on coding benchmarks, particularly SWE-Bench Verified. I had noticed that, despite having been around for a while, diffusion models were largely absent from public benchmark leaderboards. Were they simply not good enough, or were we evaluating them in ways that favored autoregressive models? I decided to find out.
> 
> From coding agents to a generation problem
> 
> I started with DiffusionGemma-27B and fine-tuned it on software engineering datasets, including SWE-Smith and SWE-Rebench.
> 
> Rather than relying solely on supervised fine-tuning, I experimented with reinforcement learning using LLM-based feedback. My approach was to score individual messages and actions within each trajectory, rewarding steps that contributed to the correct solution and penalizing irrelevant or harmful ones.
> 
> After several rounds of RL experiments, during which the model continued training on SWE-Bench Verified without access to ground-truth solutions, I achieved a score of 71.3%. But there was a catch: the model remained unstable, producing incorrectly formatted output in roughly 5–10% of cases.

---

Record: https://forck.live/items/42349-from-coding-to-machine-translation-the-benefits-of-diffusion-language-models
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
