Description
Xiaomi-Lens-0 is a compact 4B multimodal large language model designed for advanced pixel-level grounding and visual reasoning tasks. Developed by Xiaomi Research, this model integrates a lightweight mask decoder with a Qwen3.5-4B backbone, enabling it to perform complex visual understanding by predicting masks directly from the same architecture used for generating textual answers.
Read More
The model's core capabilities include Referring Expression Comprehension, which identifies and returns bounding boxes for objects described by a phrase based on appearance, action, size, or position. It also performs Referring Expression Segmentation, providing pixel masks for referred objects decoded from generated mask tokens. Multi-Instance Grounding allows it to list and mask every instance of a category in crowded scenes, while Reasoning Segmentation resolves functional and implicit requests after a short reasoning trace.
Embodied Referring is another key feature, enabling the model to pick out objects a person asks to be handed in cluttered environments by combining category, appearance, and position information. Furthermore, Fine-Grained Perception allows the model to think with visual latents, grounding each region it refers to while counting or answering high-resolution questions.
Xiaomi-Lens-0's architecture is built upon a shared representation for both spatial predictions and textual answers, achieved through joint language and mask training. The language model processes spatially merged visual tokens, and each generated mask token queries the encoder's pre-merge features via the mask decoder. This design eliminates the need for a separate segmentation encoder or multi-scale fusion.
The training process involves two stages: mask decoder pretraining with a frozen MLLM backbone, followed by supervised fine-tuning where the backbone is unfrozen and trained jointly with the decoder. This approach ensures that mask supervision updates the shared visual features alongside next-token supervision. The model can also be fine-tuned on custom data using full fine-tuning or LoRA.
Xiaomi-Lens-0 has been rigorously evaluated on various benchmarks, demonstrating strong performance across tasks like Referring Expression Comprehension, Referring Expression Segmentation, Multi-Instance Grounding, Reasoning Segmentation, Embodied Referring, and Fine-Grained Perception. It leads in several categories, including RefCOCO-family splits for segmentation and comprehension, COCO 2017 for multi-instance grounding, ReasonSeg, and RoboRefIt. The project also introduces LensBench, an open benchmark for segmentation from explicit and implicit instructions, further highlighting its contributions to the field of multimodal AI.
- CategoryAI Models & LLMs
- Pricing ModelOpen source
- DeploymentOpen-Source Checkpoint
- PlatformsWeb
Xiaomi-Lens-0's Core Features
Pixel-level grounding
Visual reasoning
Compact 4B multimodal large language model
Lightweight mask decoder
Referring Expression Comprehension (REC)
Referring Expression Segmentation (RES)
Multi-Instance Grounding
Reasoning Segmentation
Embodied Referring
Fine-Grained Perception
Joint language and mask training
Shared representation for spatial predictions and textual answers
Two-stage training recipe
Support for full fine-tuning or LoRA on custom data
LensBench open benchmark for segmentation
How to use Xiaomi-Lens-0?
Explore Capabilities: Understand the model's functionalities like object localization, segmentation, and reasoning.
Review Sample Playback: Interact with recorded model outputs across six domains to see how boxes and masks are generated.
Examine Methodology: Learn about the model's architecture, including its Qwen3.5-4B backbone and lightweight mask decoder.
Understand Training: Review the two-stage training recipe and data used for grounding and visual reasoning.
Evaluate Benchmarks: Compare Xiaomi-Lens-0's performance against other models on various perception and grounding tasks.
Fine-Tune Model: Utilize the released checkpoint for fine-tuning on your own datasets using full fine-tuning or LoRA.
Cite Work: Reference the technical report if you find Xiaomi-Lens-0 useful in your research or applications.
Xiaomi-Lens-0's Use Cases
- Object Localization
- Image Segmentation
- Crowded Scene Analysis
- Visual Question Answering
- Embodied AI Interaction
- High-Resolution Perception
- Research and Development








