yifanyu/I-DLM-32B

Model

6

stars

35

commits

1

linked in READMEs

Apr 15, 2026

updated

conversational
custom_code
diffusion-lm
introspective-decoding
safetensors
sdar
text-generation
transformers
Browse cluster: Large Language Model Fine-tuning and Deployment

README

I-DLM-32B

Introspective Diffusion Language Model (32B) — a diffusion language model converted from Qwen3-32B that matches AR quality while enabling parallel token generation.

[Project Page] [Paper] [Code]

Highlights

  • Matches Qwen3-32B quality across 15 benchmarks (knowledge, math, code, instruction following)
  • Introspective Strided Decoding (ISD): single-pass generation + verification with p/q acceptance criterion
  • AR-compatible serving via SGLang (paged KV cache, continuous batching, CUDA graphs)

Results

Quality (I-DLM-32B vs baselines)

BenchmarkI-DLM-32BQwen3-32B (AR)LLaDA-2.1-flash (100B)
ARC-C97.096.891.0
MMLU85.886.072.4
MMLU-Pro79.379.8-
GPQA-D68.268.749.5
GSM8K97.397.394.5
MATH-50096.896.682.4
AIME-2485.485.046.7
AIME-2572.772.0-
MathBench93.393.5-
HumanEval95.795.781.1
MBPP93.793.7-
LiveCodeBench-v657.257.739.3
IFEval87.187.183.0

Usage

Note: This model checkpoint is hosted on HuggingFace for weight distribution. For inference, please use our SGLang-based ISD pipeline which implements the Introspective Strided Decoding algorithm described in the paper. Direct loading via transformers is not currently supported for reproducing paper results.

# Install
git clone https://github.com/Introspective-Diffusion/I-DLM.git
cd I-DLM/inference && bash install.sh

# Launch server
python -m sglang.launch_server \
    --model-path yifanyu/I-DLM-32B \
    --trust-remote-code --tp-size 1 --dtype bfloat16 \
    --mem-fraction-static 0.85 --max-running-requests 32 \
    --attention-backend flashinfer --dllm-algorithm IDLMBlockN \
    --dllm-algorithm-config inference/configs/idlm_blockN4_config.yaml \
    --port 30000

# Generate
curl http://localhost:30000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"default","messages":[{"role":"user","content":"Prove sqrt(2) is irrational."}],"max_tokens":4096}'

See the inference README for detailed setup, evaluation, and benchmarking.

Method

I-DLM recovers introspective consistency (AR models' inherent self-agreement) through:

  1. Strict causal masking across both masked and clean tokens
  2. Logit shift (Dream shift): hidden state at position i predicts token i+1
  3. All-masked training: CE loss on both noisy and clean token positions

Training loss: L = CE_noisy + alpha * CE_clean

ModelHuggingFaceDescription
I-DLM-8Byifanyu/I-DLM-8BConverted from Qwen3-8B
I-DLM-32Byifanyu/I-DLM-32BConverted from Qwen3-32B
I-DLM-8B-LoRAyifanyu/I-DLM-8B-lora-r128Gated LoRA adapter (rank=128) for lossless R-ISD

Citation

@article{yu2026introspective,
  title={Introspective Diffusion Language Models},
  author={Yu, Yifan and Jian, Yuqing and Wang, Junxiong and Zhou, Zhongzhu
          and Zhuang, Donglin and Fang, Xinyu and Yanamandra, Sri
          and Wu, Xiaoxia and Wu, Qingyang and Song, Shuaiwen Leon
          and Dao, Tri and Athiwaratkun, Ben and Zou, James
          and Lai, Fan and Xu, Chenfeng},
  journal={arXiv preprint arXiv:2604.11035},
  year={2026}
}

Contributors

yifanyu

34 commits

nielsr

1 commits

yifanyu/I-DLM-32B

Model

6

stars

35

commits

1

linked in READMEs

Apr 15, 2026

updated

conversational
custom_code
diffusion-lm
introspective-decoding
safetensors
sdar
text-generation
transformers
Browse cluster: Large Language Model Fine-tuning and Deployment

README

I-DLM-32B

Introspective Diffusion Language Model (32B) — a diffusion language model converted from Qwen3-32B that matches AR quality while enabling parallel token generation.

[Project Page] [Paper] [Code]

Highlights

  • Matches Qwen3-32B quality across 15 benchmarks (knowledge, math, code, instruction following)
  • Introspective Strided Decoding (ISD): single-pass generation + verification with p/q acceptance criterion
  • AR-compatible serving via SGLang (paged KV cache, continuous batching, CUDA graphs)

Results

Quality (I-DLM-32B vs baselines)

BenchmarkI-DLM-32BQwen3-32B (AR)LLaDA-2.1-flash (100B)
ARC-C97.096.891.0
MMLU85.886.072.4
MMLU-Pro79.379.8-
GPQA-D68.268.749.5
GSM8K97.397.394.5
MATH-50096.896.682.4
AIME-2485.485.046.7
AIME-2572.772.0-
MathBench93.393.5-
HumanEval95.795.781.1
MBPP93.793.7-
LiveCodeBench-v657.257.739.3
IFEval87.187.183.0

Usage

Note: This model checkpoint is hosted on HuggingFace for weight distribution. For inference, please use our SGLang-based ISD pipeline which implements the Introspective Strided Decoding algorithm described in the paper. Direct loading via transformers is not currently supported for reproducing paper results.

# Install
git clone https://github.com/Introspective-Diffusion/I-DLM.git
cd I-DLM/inference && bash install.sh

# Launch server
python -m sglang.launch_server \
    --model-path yifanyu/I-DLM-32B \
    --trust-remote-code --tp-size 1 --dtype bfloat16 \
    --mem-fraction-static 0.85 --max-running-requests 32 \
    --attention-backend flashinfer --dllm-algorithm IDLMBlockN \
    --dllm-algorithm-config inference/configs/idlm_blockN4_config.yaml \
    --port 30000

# Generate
curl http://localhost:30000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"default","messages":[{"role":"user","content":"Prove sqrt(2) is irrational."}],"max_tokens":4096}'

See the inference README for detailed setup, evaluation, and benchmarking.

Method

I-DLM recovers introspective consistency (AR models' inherent self-agreement) through:

  1. Strict causal masking across both masked and clean tokens
  2. Logit shift (Dream shift): hidden state at position i predicts token i+1
  3. All-masked training: CE loss on both noisy and clean token positions

Training loss: L = CE_noisy + alpha * CE_clean

ModelHuggingFaceDescription
I-DLM-8Byifanyu/I-DLM-8BConverted from Qwen3-8B
I-DLM-32Byifanyu/I-DLM-32BConverted from Qwen3-32B
I-DLM-8B-LoRAyifanyu/I-DLM-8B-lora-r128Gated LoRA adapter (rank=128) for lossless R-ISD

Citation

@article{yu2026introspective,
  title={Introspective Diffusion Language Models},
  author={Yu, Yifan and Jian, Yuqing and Wang, Junxiong and Zhou, Zhongzhu
          and Zhuang, Donglin and Fang, Xinyu and Yanamandra, Sri
          and Wu, Xiaoxia and Wu, Qingyang and Song, Shuaiwen Leon
          and Dao, Tri and Athiwaratkun, Ben and Zou, James
          and Lai, Fan and Xu, Chenfeng},
  journal={arXiv preprint arXiv:2604.11035},
  year={2026}
}

Contributors

yifanyu

34 commits

nielsr

1 commits