IDLM-Duo TinyGSM is an Inverse-distilled Diffusion Language Model distilled from a pretrained Duo-style TinyGSM teacher checkpoint. It is released with the paper
IDLM: Inverse-distilled Diffusion Language Models.
IDLM extends inverse distillation to discrete token spaces. Instead of running a pretrained diffusion language model for many reverse-diffusion steps, IDLM trains a few-step student generator using an auxiliary fake model and the teacher diffusion objective. This checkpoint targets conditional mathematical reasoning on TinyGSM-style question-answer examples.
This checkpoint is intended for research on diffusion language models, inverse distillation, and few-step sampling.
The IDLM sampling and evaluation code depends on CUDA and FlashAttention.
1git clone https://github.com/David-cripto/IDLM.git
2cd IDLM
3
4conda create -n idlm python=3.12
5conda activate idlm
6conda install nvidia/label/cuda-12.4.0::cuda-toolkit
7pip install -r requirements.txt
8pip install flash_attn==2.7.4.post1
1import torch
2
3checkpoint = torch.load(
4 "idlm-duo-tynigsm.ckpt",
5 map_location="cpu",
6)
7print(checkpoint.keys())
8print(next(iter(checkpoint["state_dict"])))
We report performance on conditional generation on GSM8K using the TinyGSM/GSM8K protocol from
S-FLM. Each problem is sampled once, the generated solution is scored with the execution-based TinyGSM/GSM8K scorer, and the reported metric is exact-match accuracy against the GSM8K ground-truth answer.
IDLM-Duo was trained by initializing the student and fake model from the pretrained Duo teacher and alternating between:
The Duo setting uses a Gaussian relaxation and soft token inputs for stable backpropagation through the diffusion objective.
1@article{li2026idlm,
2 title={IDLM: Inverse-distilled Diffusion Language Models},
3 author={Li, David and Gushchin, Nikita and Abulkhanov, Dmitry and Moulines, Eric and Oseledets, Ivan and Panov, Maxim and Korotin, Alexander},
4 journal={arXiv preprint arXiv:2602.19066},
5 year={2026}
6}