Xiaomi released and open-sourced Xiaomi-Lens-0 on November 30, a 4-billion-parameter multimodal model that locates, segments and explains what is in an image — and does all three from one set of weights.
The model is built on Qwen3.5-4B. Xiaomi added a special token and a light mask decoder consisting of a single Transformer layer, a linear projection and two transposed convolutions. New parameters come to under 2 per cent of the total. Crucially, there is no separate segmentation encoder of the SAM family, and no multi-scale feature fusion module: the same visual backbone serves both text answers and pixel masks.
Why that architecture matters
Most systems that answer questions about an image and also draw precise outlines around objects run two models — a vision-language model for the answer, a segmentation model for the mask. Keeping them consistent is an engineering problem that never quite goes away.
Xiaomi’s approach generates a special <|mask|> token at the point in the text where the model needs to indicate something. The hidden state at that token, which fuses the image, the instruction and preceding text, becomes a query vector. The light decoder maps it against the feature grid the vision encoder kept before patch merging, upsampling to the input canvas resolution.
The mask branch is a separate output path. It does not feed cropped images or region features back into the language model, so the reasoning chain is unchanged. Because answering and outlining share one representation, the model’s plain-text visual question answering improves as a side effect.
The numbers
Six task types are covered in one model: referring expression comprehension, referring expression segmentation, multi-instance localisation, reasoning segmentation, embodied referring, and fine-grained perception.
On the eight evaluation subsets of RefCOCO, RefCOCO+ and RefCOCOg, Xiaomi reports average localisation accuracy of 92.9 per cent at Prec@0.5, a 5.6-point gain over the Qwen3.5-4B base, and first place on 7 of 16 compared models. At the stricter IoU 0.95 threshold, the improvement over the base widens to 15.5–16.8 points.
Segmentation averages 81.4 per cent cIoU, ahead of Qwen3-VL-Seg-4B at 78.6 per cent and Youtu-VL-4B at 77.7 per cent, with first place on 8 of 12 evaluation subsets.
On eight perception tests spanning detail recognition, counting, colour and spatial understanding, the model leads among open multimodal models in the 4B to 9B range. CountQA rises from 43.8 to 50.6 per cent, MME-RealWorld-CN from 60.3 to 67.5, and HR-Bench 8K from 75.6 to 80.6.
The product it ships in
The model is already deployed. In HyperOS 4 and Super Xiaoai 2.0, Xiaomi’s “Inspiration Ball” collapses a familiar sequence — screenshot, leave the page, open another app, upload, crop, type a question, switch back — into one drag and one sentence, without leaving the current screen.
The user drags the ball onto a target and speaks. The system sends the full screenshot, the drop coordinates and the voice instruction to the cloud. A referring-localisation capability derived from Xiaomi-Lens-0 and tuned for production then works out the intended region using interface context and the drop anchor — a specific store in a listing, an unwanted passer-by in a photo, a single item in a recommendation grid, a particular chat message. The region and the intent are then routed to downstream services: maps, gallery editing, image search or calendar.
The feature has shipped on the Xiaomi 18 Fold and REDMI K100.
Why open-source it
Xiaomi published the weights, inference and evaluation code, and the two-stage training code, with the technical report on arXiv (2610.23279) and repositories on GitHub and Hugging Face.
The strategic logic is straightforward. A phone maker needs on-device and cloud capability that is cheap to run and easy to adapt. Collapsing localisation and segmentation into a small general-purpose multimodal model lowers deployment complexity for hybrid device-cloud scenarios. Publishing it gives the developer community a reusable base for visual grounding — and gives Xiaomi a claim on the tooling layer around its own hardware.
One caveat
These are vendor-reported figures against vendor-selected baselines. The weights and code are public, which means independent replication is now possible — and worth waiting for before treating the cIoU comparison as settled. The more durable claim is architectural: a 4B model can carry pixel-level grounding without a second encoder, and that is testable by anyone who downloads it.