PixelLM: Pixel Reasoning with Large Multimodal Model
About
While large multimodal models (LMMs) have achieved remarkable progress, generating pixel-level masks for image reasoning tasks involving multiple open-world targets remains a challenge. To bridge this gap, we introduce PixelLM, an effective and efficient LMM for pixel-level reasoning and understanding. Central to PixelLM is a novel, lightweight pixel decoder and a comprehensive segmentation codebook. The decoder efficiently produces masks from the hidden embeddings of the codebook tokens, which encode detailed target-relevant information. With this design, PixelLM harmonizes with the structure of popular LMMs and avoids the need for additional costly segmentation models. Furthermore, we propose a target refinement loss to enhance the model's ability to differentiate between multiple targets, leading to substantially improved mask quality. To advance research in this area, we construct MUSE, a high-quality multi-target reasoning segmentation benchmark. PixelLM excels across various pixel-level image reasoning and understanding tasks, outperforming well-established methods in multiple benchmarks, including MUSE, single- and multi-referring segmentation. Comprehensive ablations confirm the efficacy of each proposed component. All code, models, and datasets will be publicly available.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Referring Expression Comprehension | RefCOCO+ (val) | -- | 354 | |
| Referring Expression Comprehension | RefCOCO (val) | -- | 344 | |
| Referring Expression Comprehension | RefCOCO (testA) | -- | 342 | |
| Referring Expression Comprehension | RefCOCOg (val) | -- | 300 | |
| Referring Expression Comprehension | RefCOCOg (test) | -- | 300 | |
| Referring Image Segmentation | RefCOCO (val) | mIoU73 | 259 | |
| Referring Expression Segmentation | RefCOCO (testA) | cIoU76.5 | 257 | |
| Referring Image Segmentation | RefCOCO+ (test-B) | mIoU58.3 | 252 | |
| Diagram Understanding | AI2D | Accuracy0.00e+0 | 247 | |
| Referring Expression Comprehension | RefCOCO+ (testB) | -- | 244 |