MSALab/PerceptionDLM
PerceptionDLM
PerceptionDLM is a multimodal diffusion language model optimized for efficient parallel region perception. Built upon **PerceptionDLM-Base**, it fully leverages the parallel decoding nature of diffusion language models (DLMs): given an image and multiple region masks, it generates descriptions for all regions simultaneously within a single denoising process โ avoiding the linear latency growth of autoregressive (AR) region captioners.
To the best of our knowledge, this is the first model to achieve parallel region captioning and perception by leveraging the advantages of diffusion language models.
<p align="center"> ๐ <a href="https://arxiv.org/abs/2606.19534">Paper</a> | ๐ป <a href="https://github.com/MSALab-PKU/PerceptionDLM">Code</a> | ๐ <a href="https://huggingface.co/datasets/MSALab/ParaDLC-Bench">ParaDLC-Bench</a> </p>
Highlights
- ๐งฉ Parallel region captioning. Region prompting + structured attention masking describe many masked regions in a single denoising pass.
- โก Up to 3.44ร throughput speedup in dense multi-region scenarios, with stable per-image latency (~2.9s).
- ๐ฏ Competitive quality with strong AR region captioners while being substantially faster.
Model Details
Results (ParaDLC-Bench)
TPF = Tokens Per Forward (higher = more parallel). PerceptionDLM nearly doubles the accuracy of prior diffusion VLMs while drastically reducing inference time.
Usage
Full inference scripts are provided in the GitHub repository.
python demo/infer_pdmllm.py \
--model-path MSALab/PerceptionDLM \
--image assets/demo.jpg \
--masks assets/demo_mask_0.jpg \
assets/demo_mask_1.jpg \
assets/demo_mask_2.jpg \
--gen-length 32 --steps 32 --temperature 0.0 --top-p 1.0The model takes an RGB image plus one or more binary masks, and returns one caption per region โ all generated in parallel.
Citation
@article{sun2026perceptiondlm,
title = {PerceptionDLM: Parallel Region Perception with Multimodal Diffusion Language Models},
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},
journal = {arXiv preprint arXiv:2606.19534},
year = {2026}
}License
Released under the Apache License 2.0.
