SeerRay Lab  /  4B grounding model

Xiaomi-Lens-0

Locate. Segment.
Reason.

Pixel-level grounding and visual reasoning, together in a compact 4B multimodal large language model that predicts masks from the same backbone it uses to answer.

Illustration: a lens scans a tabletop scene for the query “what could package a gift?”, reasons briefly, then emits two mask tokens and draws a box and an orange mask on each of two gift boxes.
ask · reason · locate · segment ↑
81.4
Referring Expression Segmentation
mean cIoU, 8 RefCOCO-family splits
94.6
Referring Expression Comprehension
Prec@0.5, RefCOCO val
68.0
ReasonSeg test
gIoU
+6.8
CountQA over backbone
50.6 vs. 43.8 for Qwen3.5-4B
4,800
LensBench instruction-level samples
1,200 paired units across 4 domains

01 / Capabilities

What it does.

Each generated <|mask|> token is decoded into a mask, so the model can point at what it talks about: in a final answer, or in the middle of its reasoning.

[ 01 ]

Referring Expression Comprehension

Finds the object a phrase describes and returns its bounding box, from appearance, action, size, or position.

[ 02 ]

Referring Expression Segmentation

Returns a pixel mask for the referred object, decoded from the visual latent of a generated <|mask|> token.

[ 03 ]

Multi-Instance Grounding

Lists every instance of a category in crowded scenes, each with its own box and mask.

[ 04 ]

Reasoning Segmentation

Resolves functional and implicit requests, such as what could package a gift, after a short reasoning trace.

[ 05 ]

Embodied Referring

Picks the object a person asks to be handed in cluttered scenes, combining category, appearance, and position.

[ 06 ]

Fine-Grained Perception

Thinks with visual latents: grounds each region it refers to while counting or answering high-resolution questions.

02 / Sample playback

Explore model outputs.

Six domains, four recorded cases each. Pick one to replay its output; boxes and masks appear as the corresponding tokens are generated.

Referring Expression Comprehension · RefCOCORecorded output · replay
Recorded output for referring expression comprehension: dark brown bear at left

Dark brown bear

“dark brown bear at left”

Grid of recorded outputs across all six task domains.
All six domains at a glance.

03 / Method

One backbone for words and masks.

Xiaomi-Lens-0 extends Qwen3.5-4B with a lightweight mask decoder. Joint language and mask training supervises the shared representation used for both spatial predictions and textual answers.

Architecture: text and visual tokens enter the language model backbone; mask-token states go to a mask decoder head that combines them with pre-merge visual features.

The language model consumes spatially merged visual tokens. Each generated <|mask|> token queries the encoder's pre-merge features through the mask decoder. Open full size ↗

  1. 01

    Mask token → visual latent

    The contextual state of each <|mask|> token represents a target region given the image, instruction, and preceding response.

  2. 02

    One pre-merge feature grid

    The decoder reads a single feature grid from the vision encoder before spatial merging. It needs no separate segmentation encoder or multi-scale fusion.

  3. 03

    Lightweight decoder

    Patch-wise compatibility scores between the latent and the grid are reassembled and upsampled into a mask.

  4. 04

    Thinking with visual latents

    Mask tokens placed inside the reasoning trace decode to masks for the regions it discusses. Grounded reasoning traces supervise these intermediate regions.

Training recipe

Two stages.

Both stages mix in-house data with public segmentation, referring, and reasoning datasets.

  1. Stage 1 · Mask decoder pretraining

    With the MLLM backbone frozen, the decoder learns to read spatial information from fixed pre-merge features.

  2. Stage 2 · Supervised fine-tuning

    The backbone is unfrozen and trained jointly with the decoder, so mask supervision updates the shared visual features alongside next-token supervision.

Donut charts of public and in-house training data for Stage 1 and Stage 2, with per-dataset sample counts.

04 / Data & LensBench

Data for grounding and visual reasoning.

We construct referring-expression data and grounded reasoning traces that link intermediate region references to object masks, and introduce LensBench, an open benchmark for segmentation from explicit and implicit instructions.

Referring expression segmentation data pipeline: visual grounding, instruction synthesis, and consistency filtering.

(a) Candidate objects are localized, their descriptions are checked against image crops, and masks are generated. (b) The masked view and the original image guide referring-instruction synthesis. (c) Re-grounding and contextual verification check that each instruction identifies its target.

05 / Benchmarks

Evaluation results.

The same six domains, in the same order. Select one to compare the reported scores. All scores are percentages; higher is better.

01 · Referring Expression Comprehension

RefCOCO / RefCOCO+ / RefCOCOg

92.9Xiaomi-Lens-0 · mean Prec@0.5 · 8 splits

Ranks first on seven of eight RefCOCO, RefCOCO+, and RefCOCOg splits, 5.6 points above its Qwen3.5-4B backbone on average.

01Score comparison

mean Prec@0.5 · 8 splits · top models

  1. Xiaomi-Lens-04B92.9
  2. Youtu-VL4B91.8
  3. Florence-291.1
  4. Qwen3-VL-Seg4B89.7
  5. InternVL-3.54B89.4
  6. MLLMSegInternVL2.5-4B88.2

02Xiaomi-Lens-0 by split

Orange marks a best score in the table

RefCOCO Val94.6
RefCOCO TestA96.2
RefCOCO TestB92.3
RefCOCO+ Val92.1
RefCOCO+ TestA94.9
RefCOCO+ TestB88.5
RefCOCOg Val92.5
RefCOCOg Test92.4
View detailed scores

Bold marks the best score and underline the second best.

Method RefCOCO RefCOCO+ RefCOCOg
ValTestATestBValTestATestBValTest
Grounding-DINO-L90.693.288.282.889.075.986.187.0
Florence-293.495.392.088.392.983.691.291.7
LISALLaVA-7B85.488.882.674.279.568.479.380.4
GSVAVicuna-7B86.389.283.872.878.868.081.681.8
PixelLMLLaVA-7B89.892.286.483.287.078.984.686.0
VisionLLM v2Vicuna-7B87.991.284.377.683.870.282.984.1
Text4SegInternVL2-8B90.393.487.585.289.979.585.485.4
UFOInternVL2-8B91.493.888.285.790.779.786.887.4
MLLMSegInternVL2.5-4B91.693.387.686.090.079.888.388.6
InternVL-3.54B92.594.388.287.692.381.689.689.3
Qwen2.5-VL3B89.191.784.082.488.074.185.285.7
Qwen3-VL4B90.792.286.782.989.475.687.387.7
Qwen3-VL-Seg4B92.794.689.887.892.182.289.189.0
Qwen3.54B90.492.387.184.888.979.188.088.2
Youtu-VL4B93.695.290.890.193.985.492.292.9
Xiaomi-Lens-04B94.696.292.392.194.988.592.592.4

RefCOCO-family box F1 (detail)

F1@mIoU is the mean F1 over IoU thresholds from 0.50 to 0.95 in steps of 0.05.

Method RefCOCO RefCOCO+ RefCOCOg
F1@0.50F1@0.95F1@mIoUF1@0.50F1@0.95F1@mIoUF1@0.50F1@0.95F1@mIoU
GroundingDINO51.223.344.349.220.941.458.023.249.7
Rex-Omni84.432.971.476.929.564.184.734.772.3
LocateAnything Fast92.544.080.684.439.573.188.540.776.2
LocateAnything Hybrid92.744.381.485.840.675.189.441.577.7
LocateAnything Slow NTP92.438.480.285.235.773.988.735.676.1
Qwen2.5-VL7B82.417.766.973.016.459.375.315.660.3
Qwen3-VL2B88.326.772.481.224.366.585.925.769.8
Qwen3-VL4B92.132.877.686.830.973.488.832.374.7
Qwen3-VL8B91.129.975.886.429.072.088.728.873.3
Qwen3.54B90.129.174.584.127.869.588.427.071.6
Qwen3.59B92.035.178.387.533.974.689.533.575.3
RynnBrain1.182.620.965.872.519.257.584.321.567.6
SenseNova-Vision90.145.179.784.441.774.389.244.778.7
MiMo-VL-SFT7B86.114.566.376.813.158.984.914.364.8
MiMo-VL-RL7B90.414.268.584.813.664.487.713.164.8
BAGEL79.425.165.268.320.554.577.722.262.3
RynnBrain74.013.655.665.511.748.976.514.357.9
Xiaomi-Lens-04B94.644.683.392.143.681.192.543.881.1
Radar charts comparing Xiaomi-Lens-0 with baselines on box grounding, referring segmentation, perception, and LensBench.

At a glance, from left to right: box grounding F1, referring segmentation cIoU, fine-grained perception accuracy, and LensBench cIoU.

06 / Citation

Cite this work.

If you find Xiaomi-Lens-0 useful, please cite the technical report.

@misc{xiaomilens0,
  title         = {Xiaomi-Lens-0 Technical Report},
  author        = {Pei Fu and Yike Liu and Yue Sun and Hanmo Wang and
                   Xiuwen Xi and Ruoceng Zhang and Shaojie Zhang and
                   Chao Jiang and Hang Li and Bingrui Liu and Zhenbo Luo and
                   Heng Qu and Changjian Xu and Ming Xu and Jian Luan},
  year          = {2026},
  eprint        = {2610.23279},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2610.23279}
}