It serves as the foundation model for
PerceptionDLM, our parallel region-perception model.
PerceptionDLM-Base vs. open diffusion / AR VLMs (selected benchmarks):
See the
paper for the full 16-benchmark comparison.
Full inference scripts are provided in the
GitHub repository.
1python demo/infer_dmllm.py \
2 --model-path MSALab/PerceptionDLM-Base \
3 --image assets/demo.jpg \
4 --prompt "What color shirt is the man in the picture wearing?" \
5 --gen-length 64 --block-length 64 --steps 64
1import torch
2from transformers import AutoModel, AutoProcessor
3
4model_path = "MSALab/PerceptionDLM-Base"
5processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
6model = AutoModel.from_pretrained(
7 model_path, torch_dtype=torch.bfloat16, trust_remote_code=True
8).cuda().eval()
9# See demo/infer_dmllm.py for the full preprocessing + generation pipeline.
1@article{sun2026perceptiondlm,
2 title = {PerceptionDLM: Parallel Region Perception with Multimodal Diffusion Language Models},
3 author = {Sun, Yueyi and Wang, Yuhao and Li, Jason and Tian, Ye and Zhang, Tao and Mai, Jacky and Wang, Yihan and Wang, Haochen and Bai, Jinbin and Yang, Ling and Tong, Yunhai},
4 journal = {arXiv preprint arXiv:2606.19534},
5 year = {2026}
6}