Xiaomi-Lens-0

A 4B multimodal model that points to and reasons about objects at the pixel level

What it is

Xiaomi-Lens-0 is an open-source 4B multimodal model from Xiaomi Research focused on pixel-level grounding and visual reasoning. Built on Qwen3.5-4B with a shared visual backbone, it decodes each generated mask token into a segmentation mask, so the same model can answer in text and point to the regions it refers to, both in final answers and mid-reasoning. It improves referring comprehension by 5.6 points on average across eight RefCOCO splits and lifts all eight fine-grained perception benchmarks. The team also open-sourced the LensBench benchmark, training code and an online demo; it appeared on Product Hunt on December 1. It has about 190 GitHub stars and is Apache-2.0 licensed.

Highlights

  • Starting from Qwen3.5-4B, it adds mask decoding as an output branch with no separate segmentation encoder or multi-scale fusion, jointly training language and masks on a shared representation.
  • It covers six capabilities: referring comprehension, referring segmentation, multi-instance grounding, reasoning segmentation, embodied referring and fine-grained perception, with 81.4% mean cIoU on RefCOCO segmentation.
  • It ships LensBench with 4,800 instruction samples across 1,200 paired units spanning general, aerial, driving and panoramic images.
  • Weights and the benchmark landed on October 19, 2026, training code on October 22, a fine-tuning guide on November 28, and the technical report is arXiv:2610.23279.

How to use

Clone the repo and follow the README Quick Start with weights from Hugging Face or ModelScope, or try the online demo on the project page. The fine-tuning guide covers full-parameter training and LoRA, with training code under src/xiaomi_lens/train/.

License

Released under Apache-2.0. Read the terms before commercial use or redistribution, especially if you plan to offer it as a service.