Patch-as-Decodable-Token: Towards Unified Multi-Modal Vision Tasks in MLLMs

Yongyi Su, Haojie Zhang, Shijie Li, Nanqing Liu, Jingyi Liao +9 more
10/2/2025
25 citations
cs.CV

Official code: Gorilla-Lab-SCUT/PaDT (167 stars, Python, Apache-2.0, last commit 2025-10-31).

Abstract

Multimodal large language models (MLLMs) have advanced rapidly in recent years. However, existing approaches for vision tasks often rely on indirect representations, such as generating coordinates as text for detection, which limits performance and prevents dense prediction tasks like segmentation.

Show full abstract

To overcome these challenges, we introduce Patch-as-Decodable Token (PaDT), a unified paradigm that enables MLLMs to directly generate both textual and diverse visual outputs. Central to PaDT are Visual Reference Tokens (VRTs), derived from visual patch embeddings of query images and interleaved seamlessly with LLM's output textual tokens. A lightweight decoder then transforms LLM's outputs into detection, segmentation, and grounding predictions. Unlike prior methods, PaDT processes VRTs independently at each forward pass and dynamically expands the embedding table, thus improving localization and differentiation among similar objects. We further tailor a training strategy for PaDT by randomly selecting VRTs for supervised fine-tuning and introducing a robust per-token cross-entropy loss. Our empirical studies across four visual perception and understanding tasks suggest PaDT consistently achieving state-of-the-art performance, even compared with significantly larger MLLM models. The code is available at https://github.com/Gorilla-Lab-SCUT/PaDT.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICLR 2026] Official implementation of "Patch-as-Decodable-Token: Towards Unified Multi-Modal Vision Tasks in MLLMs"

16712Python, ShellSep 26, 20251 years agoApache-2.0
computer-visionlarge-language-modelsmachine-learningmultimodal-large-language-modelspatch-as-decodable-token

Similar Papers

Cite this paper

@article{su2025patchasdecodabletoken,
  title  = {Patch-as-Decodable-Token: Towards Unified Multi-Modal Vision Tasks in MLLMs},
  author = {Yongyi Su and Haojie Zhang and Shijie Li and Nanqing Liu and Jingyi Liao and Junyi Pan and Yuan Liu and Xiaofen Xing and Chong Sun and Chen Li and Nancy F. Chen and Shuicheng Yan and Xulei Yang and Xun Xu},
  year   = {2025},
  eprint = {2510.01954},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.01954v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.01954.svg)](https://codeofpaper.com/paper/2510.01954)

Discussion