Xiaomi-Lens-0
Xiaomi-Lens-0 is a vision-language model from Xiaomi that can point out the objects it describes in an image. Built on Qwen3.5-4B, it can return a bounding box around an object and a segmentation mask that follows its outline pixel by pixel. In one demonstration, a request for something that could hold a gift produces a separate mask for each of two gift boxes on a table. Pei Fu and colleagues first posted the technical report on October 16, 2026. [1][2]
How the model identifies a region
The model uses one vision encoder for both language generation and segmentation. The language model receives image patches grouped into coarser visual tokens. When it generates a special mask token, a small decoder matches that token's hidden state against the finer grid of patches retained by the vision encoder. This lets the decoder recover the shape of the object described in the text. A response can contain several mask tokens, each referring to a different region. [1][2]
Mask tokens can also occur before the final answer. For a counting question, for example, the response can mark individual objects as it counts them. The decoder makes those intermediate regions visible to a reader. The language model continues generating text from the original image and the preceding tokens. The implementation does not feed the decoded masks back as cropped images. [1][3]
The researchers first trained the mask decoder using features from a frozen backbone. They then trained the backbone and decoder together to predict the next token and match target masks. The examples included instructions paired with object outlines and worked answers with masks for the intermediate objects they mentioned. [1][3]
Evaluation
The researchers designed LensBench to test how much the wording of a request changes the mask a model produces. It contains 1,200 human-reviewed units, divided equally among everyday, aerial, driving and panoramic imagery. Each unit has four instructions, two for a single object and two for a group. In each pair, one instruction names the category and the other describes the same target indirectly, for example by its use. Since the target mask stays fixed within each pair, the benchmark can compare explicit and implicit wording on the same pixels. [1][2]
| LensBench measure | Explicit wording | Implicit wording |
|---|---|---|
| Cumulative intersection over union of predicted and target masks | 71.4% | 54.7% |
| Examples with mask intersection over union of at least 0.5 | 85.0% | 70.0% |
These are the Xiaomi team's results, pooled across single and multiple targets. For the first measure, intersections and unions are summed across examples, so larger target regions carry more weight. The second measure counts each example once. For requests involving several objects, the evaluation combines their masks before scoring. [1][2]
On eight splits of the RefCOCO family of datasets, the researchers reported an average gain of 5.6 percentage points over Qwen3.5-4B in locating a described object by its box. They also tested visual question answering without requiring a box or mask in the final answer. On CountQA, a benchmark that asks models to count objects in cluttered photographs, Xiaomi-Lens-0 answered 50.6% correctly, compared with 43.8% for its backbone. [1][5]
Weights and software
Xiaomi distributes the weights under the Apache License 2.0. Its code repository includes programs for inference, evaluation and fine-tuning. The reference implementation processes still images. It returns masks on the resized image used by the vision encoder, so an application drawing them on the original photograph must account for the resize. Xiaomi's model card identifies small, partly hidden and ambiguous targets as common sources of errors. [3][4]
Continue reading
- Xiaomi AIXiaomi AI is the artificial intelligence research, products, and strategy of Xiaomi Corporation, the Beijing-based consumer-electronics and electric-vehicle maker, spanning open-source large language models…Mentioned 6 times above
- Qwen3.5Qwen3.5 is a family of open-weight large language models developed by the Qwen team at Alibaba, the successor to the Qwen3 series.Mentioned twice above
- Vision language modelVision-language models (VLMs) are artificial intelligence models that learn relationships between visual data and natural language.Linked in the introduction
- Bounding BoxA bounding box is a rectangular region defined by a set of coordinates that encloses an object of interest within an image, video frame, or three-dimensional space.Linked in the introduction
- Image segmentationImage segmentation is the computer vision task of partitioning a digital image into multiple regions by assigning every pixel a label, producing a pixel-level map of what each part of the image contains.Linked in the introduction
- Vision EncoderA vision encoder is the neural network component that turns an image into a sequence of numerical vectors that other models can consume.Mentioned 3 times above
More to read
References
- ^1 ^2 ^3 ^4 ^5 ^6 ^7Pei Fu, Yike Liu, Yue Sun, et al. Xiaomi-Lens-0 Technical Report. arXiv:2610.23279, October 2026.
- ^1 ^2 ^3 ^4Xiaomi Research, SeerRay Lab. Xiaomi-Lens-0 project page, demonstrations and evaluation tables.
- ^1 ^2 ^3Xiaomi Research. Xiaomi-Lens-0 code, training and evaluation documentation. GitHub.
- ^Xiaomi Research. Xiaomi-Lens-0 model card and weights. Hugging Face.
- ^Jayant Sravan Tamarapalli, Rynaa Grover, Nilay Pande and Sahiti Yerramilli. CountQA: How Well Do MLLMs Count in the Wild?. arXiv:2508.06585, 2025.
Improve this article
Add missing citations, update stale details, or write a clearer explanation. Anyone can edit: changes go live when you publish, and every edit is checked by an editor.
1 revision · v1 · 678 words · full history
Fact-checks are independent of edits: a reviewer re-verifies the article against its sources and stamps the date. How we verify
Research and drafting on this wiki are AI-assisted, under named human editorial standards. How AI is used here
Cite this page: AI Wiki. "Xiaomi-Lens-0." aiwiki.ai, updated 1 Dec 2026. CC BY 4.0. https://aiwiki.ai/wiki/xiaomi_lens_0




