Xiaomi released Lens-0: 4 billion parameters and pixel masks
Xiaomi introduced Lens-0 — a multimodal model with 4 billion parameters and open weights, which not only detects objects in an image but also generates pixel masks for them. We examine the architecture and results of the proprietary LensBench benchmark.

1 December 2026 Xiaomi introduced Lens-0 — a compact multimodal model with 4 billion parameters. It not only recognizes objects in images but also builds pixel masks for them, and the weights and source code are open: the model can be run and fine‑tuned locally, and you can try it on Hugging Face.
How the model works
The foundation is Qwen3.5-4B with an added region‑selection mechanism. The user formulates a natural‑language query, the model analyzes the image and generates a special token <|mask|>, whose internal representation points to the target region. The decoder combines this representation with visual features of the picture and reconstructs the object’s boundary mask.
Unlike a setup where a separate computer‑vision system works alongside the language model, here the language model is trained together with the segmentation mechanism. The output is not just the object name but also its exact location — down to the pixel.
LensBench benchmark
For evaluation, Xiaomi assembled its own LensBench set: 1 200 image‑instruction pairs vetted by experts, and 4 800 instructions for four scene types — basic, road, panorama, and aerial.
Results in numbers:
- on explicit instructions Lens-0 scored 85,0 and placed second, first — GPT-6-Astra with 86,3;
- on aerial photos the model leads: 79,1 versus 76,9 for GPT-6-Astra;
- on panoramic images lagging: 72,1 versus 80,3 for Gemini-3.6-Flash and 88,3 for GPT-6-Astra.
The comparison covers three aspects: REC (accuracy of object identification from textual description), RES (pixel‑segmentation quality), and Fine‑grained Perception (accuracy of image‑related answers). Xiaomi’s radar chart shows Lens-0 outperforming across all samples, though on panoramas the model falls behind competitors — the chart’s summary and the listed numbers diverge.
What this means for developers
- 4 billion parameters and open weights mean the model can be deployed on your own hardware and fine‑tuned for a narrow task without sending images to an external API.
- A pixel mask instead of a rectangular box is useful where object boundaries matter: dataset annotation, aerial image processing, and scenes with overlapping objects.
- The benchmark was compiled by Xiaomi itself, so the results should be verified on your own data. Especially on panoramas: the gap with GPT-6-Astra and Gemini-3.6-Flash is noticeable there.
- The token <|mask|> is part of the output format. When integrating into a pipeline, you need to figure out in what form the decoder returns the mask and how to handle it further.
- The takeaway from the release: for detection and segmentation, a heavyweight model with hundreds of billions of parameters isn’t required — a model of this size manages because the language model itself forms the object representation.