智东西(公众号:zhidxcom)
作者 | 王涵
编辑 | 李水青
智东西11月30日报道,今日,小米发布并开源4B多模态模型Xiaomi-Lens-0,该模型以通用多模态模型Qwen3.5-4B为基座,可以完成指代定位、指代分割、推理分割、细粒度感知、具身指称以及多示例定位等六类视觉任务,支持将目标指代与推理依据落到画面的具体区域上。
小米在HyperOS 4和超级小爱2.0中的灵感球功能,支持“一拖一句话”交互,用户不用退出当前页面就能操作。使用时,用户把灵感球拖到屏幕上的目标位置、说出需求,系统会把截图、拖拽坐标和语音指令一同上传云端。
该功能正是依托Xiaomi-Lens-0底座衍生并适配业务场景的指代定位能力,结合页面信息和拖拽锚点,可以在复杂界面或图片里识别用户指向的内容。该功能现已上线小米18 Fold、REDMI K100等机型。
目前,Xiaomi-Lens-0的模型权重、推理与评测代码、两阶段训练代码已全部开放。
Github:
https://github.com/xiaomi-research/xiaomi-lens-0
Hugging Face:
https://huggingface.co/xiaomi-research/Xiaomi-Lens-0
技术报告:
https://arxiv.org/abs/2610.23279
项目主页:
https://xiaomi-research.github.io/xiaomi-lens-0/
一、一句话圈出画面物体,还能看懂画面指令
据小米团队分享,Xiaomi-Lens-0的能力主要可以分为三部分:
1、定位与分割
对于“左边那只深棕色的熊”“最小的那把木勺”“投手身后正在跑动的球员”这类融合位置、外观与动作信息的描述,Xiaomi-Lens-0可借助边界框完成目标指代定位(REC),输出目标所在位置。
同时依靠分割掩码贴合物体轮廓,模型可以明确目标在画面中的覆盖范围。例如,用户输入“从左数第二块西柚”“草地上的风筝”等指令,模型即可沿物体轮廓完成指代分割(RES)。
2、多目标与推理分割
在画面包含多个同类物体的场景下,Xiaomi-Lens-0支持单条指令下的多实例定位、分割。
以“找出所有橙子”“标出图里全部瓶子”这类指令为例,该模型能够识别每一个目标个体,分别输出对应的边界框与轮廓掩码,实现多目标定位。若指令未直接点明物体名称,模型会先结合画面信息与常识推理,判断符合需求的对象,再生成分割结果,也就是推理分割。
Xiaomi-Lens-0也可以识别“哪个可以用来包装礼物”“吃海鲜可以用来增酸的是哪一个”等问题指令,并适配口语化交互场景,像“把右边的可乐递给我”“拿桌角的白杯子”等,模型能够结合相对位置、外观特征锁定目标,实现具身指代。
3、边想边指
除根据指令检索目标外,Xiaomi-Lens-0能够在复杂图像推理的过程中同步标记相关区域,把推理链条里的关键对象标注在画面上,留存判断依据,实现细粒度感知。
比如统计叶片数量时,模型能用掩码逐一标出清点到的叶片;回答大图局部色彩、物体空间关系相关问题时,也会圈出作为判断依据的区域。用户可以依托画面标记,直观核对识别出的个体以及结论对应的参考区域。
二、定位分割能力超越Qwen3.5-4B基座,参评模型中准确率最高
基准测试方面,Xiaomi-Lens-0的对比对象涵盖专用定位与分割模型、多模态分割模型以及3B–9B开源多模态模型等。
具体成绩可以从三个层次展开:
首先是“找得准不准”,即指代定位与分割能力。
在RefCOCO、RefCOCO+与RefCOCOg三个经典基准共8个评测子集上,Xiaomi-Lens-0的平均Prec@0.5达到92.9%,比Qwen3.5-4B基座高5.6%,在表内对比的16个模型中有7个子集位列第一。在RefCOCOg Test中,Xiaomi-Lens-0以92.4%位列第二,仅次于Youtu-VL-4B。
在禁用绝对方位词、主要依赖外观与属性区分目标的RefCOCO+ TestB上,Xiaomi-Lens-0的成绩较基座从79.1%升至88.5%,提升9.4%。
IoU 0.50指标侧重检验模型能否定位到目标的大致位置;而多阈值平均F1(F1@mIoU)将重叠判定门槛从0.50提升至0.95,综合评估边界框与物体的贴合精细度。
在这三个数据集上,Xiaomi-Lens-0的F1@mIoU分别达到83.3%、81.1%与81.1%,在表内所列18个对比模型中均居首位,比Qwen3.5-4B基座分别高出8.8、11.6与9.5个百分点。
而在IoU 0.95单一阈值下,Xiaomi-Lens-0较基座的提升15.5%-16.8%。在cIoU的8个评测子集的指代分割评测中,Xiaomi-Lens-0的平均cIoU达到81.4%,高于Qwen3-VL-Seg-4B和Youtu-VL-4B,在所列12个对比模型中8个子集均取得最高cIoU。
然后是“扣得细不细”,即多实例定位与推理分割能力。
在COCO 2017多实例框定位评测中,Xiaomi-Lens-0的多阈值平均F1(F1@mIoU)达到63.9%,在17个对比模型中位居第一,高于专用定位模型GroundingPI(63.0%)与GroundingDINO(60.6%)。
在测试按用途推断目标的ReasonSeg和考察杂乱桌面上听懂口语指令的RoboRefIt测试中,在对比的8个模型中,Xiaomi-Lens-0在这两个基准的八项指标上均是第一。
为检验跨场景与隐式语义条件下的分割表现,小米团队还自建了经人工逐单元审核的LensBench评测基准,覆盖通用、航拍、驾驶与全景四大视觉领域,共1200个配对单元、4800条单/多目标与显式/隐式指令。
在这次测试中Xiaomi-Lens-0在航拍领域Prec@0.5(79.6%)上排名第一,其他领域也位居前列;同时评测也清晰揭示出当前的能力边界——面对隐式多目标指令,尤其是全景畸变场景时性能仍有明显回落(全景多目标cIoU由显式的71.8%降至48.9%)。
最后是“看得透不透”,也就是纯文字视觉问答能力。
在涵盖细节识别、计数、颜色与空间理解的八项感知基准上,Xiaomi-Lens-0全面超越Qwen3.5-4B基座,并在参评的4B–9B的开源多模态模型中取得最高准确率。
三、新增参数不足2%,靠共享表征打通分割与视觉问答
为什么一款4B规模的模型,可以同时完成定位、分割、图像推理,甚至在不需要输出掩码的纯文字视觉问答任务上也能提升精度?小米团队解释,核心在于共享表征的架构设计。
Xiaomi-Lens-0以Qwen3.5-4B多模态模型为基座,仅新增特殊标记<|mask|>以及一个轻量掩码解码器。该解码器由单层Transformer、线性投影与两层转置卷积构成,新增参数占模型总参数不到2%。
它没有引入SAM这类独立分割编码器,也不增加额外的多尺度特征融合模块,让文字回答、掩码预测复用同一套视觉骨干特征。
整套方案分为推理解码、两阶段训练、数据校验三个环节。
推理解码环节,模型采用三步流程把文本指代转为像素轮廓:输入图像和指令后,模型自回归生成文字或推理内容;当需要标记画面目标时,输出<|mask|>;这个位置对应的上下文隐状态融合图像、指令和前文信息,作为目标表征;轻量解码器将该隐状态转为查询向量,和图像块特征匹配、上采样,输出像素掩码。掩码解码是独立分支,不会把裁剪后的区域特征回传给语言模型。
训练分为2个阶段。第一阶段为预热对齐,冻结主干参数,只训练掩码解码器与<|mask|>词向量,让分支学会从已有视觉特征里提取目标轮廓。第二阶段全量微调,放开全部参数,同时优化语言生成损失与掩码损失。轮廓预测的误差反向传回骨干网络,倒逼模型学习更精细的视觉特征;由于文字问答和分割共享视觉表征,不需要画框的纯文字问答能力也随之受益。
数据层面,小米团队采用多重一致性校验机制,保证语言描述和目标区域匹配可靠。合成指代分割样本会经过重定位 IoU 校验、语义唯一性筛查,剔除歧义样本;带推理轨迹的数据,只保留答案可验证、边界框有效的样本,并且给推理步骤对应的区域配上满足重叠阈值的掩码。
小米还设计消融实验,单独验证像素掩码监督带来的增益。在RefCOCO 系列验证集、MME-RealWorld、CV-Bench等基准上,增加掩码监督后模型得分全部上涨。其中RefCOCO+ Val的Prec@0.5从89.7%提升至92.1%;MME-RealWorld-CN的准确率由66.1%提升至67.5%。
小米团队认为,在这一受控设置下,模型在MME-RealWorld-CN上额外提升的1.4%可归因于像素级掩码监督,但该基准本身并不要求模型输出边界框或分割掩码。
结语:或将应用于端侧和具身领域
Xiaomi-Lens-0目前公开披露的落地场景,是HyperOS 4与超级小爱2.0中的灵感球,面向端侧视觉交互。
而在模型开源之后,其在边缘设备上的具身交互、工具式指代等任务上的发展更具想象空间。
Xiaomi-Lens-0的4B参数量级适配算力、延迟受限的设备环境,再加上模型本身还适配口语具身指代指令,有望在机器人抓取、车载助手、工业及医疗影像局部定位等方向开展探索。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
Zhidx (WeChat Official Account: zhidxcom)
Author | Wang Han
Editor | Li Shuqing
Zhidx reported on November 30. Today, Xiaomi published and open-sourced its 4B multimodal model Xiaomi-Lens-0. Built on the general-purpose multimodal model Qwen3.5-4B as its base, the model can perform six types of visual tasks, including referential localization, referential segmentation, reasoning segmentation, fine-grained perception, embodied referring, and multi-instance localization, and supports mapping target references and reasoning evidence to specific regions in an image.
Xiaomi's Inspiration Ball feature in HyperOS 4 and Super Xiao Ai 2.0 supports a "drag-and-say" interaction, allowing users to operate without leaving the current page. In use, the user drags the Inspiration Ball to the target position on the screen and states the request, and the system uploads the screenshot, drag coordinates, and voice command to the cloud together.
This feature is derived from Xiaomi-Lens-0's base and adapted for business scenarios, leveraging its referential localization capability. By combining page information and drag anchor points, it can identify the content the user is pointing to in complex interfaces or images. The feature is now available on devices such as the Xiaomi 18 Fold and REDMI K100.
Currently, Xiaomi-Lens-0's model weights, inference and evaluation code, and two-stage training code have been fully open-sourced.
Github:
https://Github.com/xiaomi-research/xiaomi-lens-0
Hugging Face:
https://huggingface.co/xiaomi-research/Xiaomi-Lens-0
Technical report:
https://arxiv.org/abs/2610.23279
Project homepage:
https://xiaomi-research.Github.io/xiaomi-lens-0/
I. Circle Out Objects in an Image with a Single Sentence, and Understand On-Screen Instructions
According to the Xiaomi team's sharing, Xiaomi-Lens-0's capabilities can mainly be divided into three parts:
1. Localization and Segmentation
For descriptions that integrate location, appearance, and action information, such as "the dark brown bear on the left," "the smallest wooden spoon," or "the player running behind the pitcher," Xiaomi-Lens-0 can use bounding boxes to perform target referential localization (REC) and output the target's location.
By relying on segmentation masks that conform to object contours, the model can clearly delineate the target's coverage area in the image. For example, when users input commands like "the second grapefruit from the left" or "the kite on the grass," the model can perform referential segmentation (RES) along the object's contour.
2. Multi-Target and Reasoning Segmentation
In scenes where the image contains multiple objects of the same category, Xiaomi-Lens-0 supports multi-instance localization and segmentation under a single command.
Taking commands like "find all the oranges" or "mark all the bottles in the image" as examples, the model can identify each individual target and output the corresponding bounding box and contour mask for each, achieving multi-target localization. If the command does not explicitly name the object, the model will first combine visual information with commonsense reasoning to determine which objects meet the requirement, and then generate the segmentation result, i.e., reasoning segmentation.
Xiaomi-Lens-0 can also handle question-based commands like "which one can be used to wrap a gift" or "which one can be used to add acidity when eating seafood," and adapt to colloquial interaction scenarios such as "pass me the Coke on the right" or "grab the white cup in the corner of the table." The model can combine relative position and appearance features to lock onto the target, achieving embodied referring.
3. Pointing While Reasoning
In addition to retrieving targets based on commands, Xiaomi-Lens-0 can simultaneously mark relevant regions during complex image reasoning, annotating key objects in the reasoning chain on the image and preserving the basis for judgment, thereby achieving fine-grained perception.
For example, when counting the number of leaves, the model can use masks to mark each counted leaf one by one. When answering questions about local colors in large images or spatial relationships between objects, it will also circle the regions serving as the basis for judgment. Users can rely on the image markings to intuitively verify the identified individuals and the reference regions corresponding to the conclusions.
II. Localization and Segmentation Performance Surpasses the Qwen3.5-4B Base, Achieving the Highest Accuracy Among Evaluated Models
In terms of benchmark testing, the comparison targets for Xiaomi-Lens-0 include dedicated localization and segmentation models, multimodal segmentation models, and 3B–9B open-source multimodal models.
The specific results can be examined at three levels:
First is "how accurately it finds targets," i.e., referential localization and segmentation capability.
Across the 8 evaluation subsets of the three classic benchmarks RefCOCO, RefCOCO+, and RefCOCOg, Xiaomi-Lens-0 achieves an average Prec@0.5 of 92.9%, 5.6% higher than the Qwen3.5-4B base, and ranks first in 7 of the 16 models compared in the table. In RefCOCOg Test, Xiaomi-Lens-0 ranks second at 92.4%, trailing only Youtu-VL-4B.
On RefCOCO+ TestB, where absolute directional words are disabled and targets are distinguished primarily by appearance and attributes, Xiaomi-Lens-0's score improved from 79.1% to 88.5% over the base, a 9.4% increase.
The IoU 0.50 metric focuses on whether the model can locate the approximate position of the target, while the multi-threshold average F1 (F1@mIoU) raises the overlap threshold from 0.50 to 0.95, comprehensively evaluating the precision of bounding box-to-object fit.
On these three datasets, Xiaomi-Lens-0 achieves F1@mIoU of 83.3%, 81.1%, and 81.1% respectively, ranking first among the 18 comparison models listed in the table, surpassing the Qwen3.5-4B base by 8.8, 11.6, and 9.5 percentage points respectively.
Under the single IoU 0.95 threshold, Xiaomi-Lens-0 improves over the base model by 15.5%–16.8%. In the referring segmentation evaluation across 8 cIoU test subsets, Xiaomi-Lens-0 achieves a mean cIoU of 81.4%, outperforming Qwen3-VL-Seg-4B and Youtu-VL-4B, and attaining the highest cIoU on 8 of the subsets among the 12 listed comparison models.
Next is "how precisely it localizes," i.e., multi-instance localization and reasoning-based segmentation capability.
In the COCO 2017 multi-instance bounding box localization evaluation, Xiaomi-Lens-0 achieves a multi-threshold mean F1 (F1@mIoU) of 63.9%, ranking first among 17 comparison models, ahead of dedicated localization models GroundingPI (63.0%) and GroundingDINO (60.6%).
On ReasonSeg, which tests inferring objects by usage, and RoboRefIt, which examines understanding colloquial instructions on cluttered tabletops, Xiaomi-Lens-0 ranks first on all eight metrics across these two benchmarks among the 8 compared models.
To evaluate segmentation performance under cross-scenario and implicit semantic conditions, the Xiaomi team also built the LensBench evaluation benchmark, manually reviewed unit by unit, covering four major visual domains—general, aerial, driving, and panoramic—comprising 1,200 paired units and 4,800 single/multi-object and explicit/implicit instructions.
In this test, Xiaomi-Lens-0 ranks first in the aerial domain on Prec@0.5 (79.6%) and also leads in the other domains; the evaluation also clearly reveals current capability boundaries—performance still drops noticeably on implicit multi-object instructions, especially in panoramic distortion scenarios (panoramic multi-object cIoU drops from 71.8% for explicit to 48.9%).
Last is "how thoroughly it perceives," i.e., pure text-based visual question answering capability.
On eight perception benchmarks covering detail recognition, counting, color, and spatial understanding, Xiaomi-Lens-0 comprehensively surpasses the Qwen3.5-4B base and achieves the highest accuracy among the 4B–9B open-source multimodal models evaluated.
III. Fewer than 2% new parameters, bridging segmentation and visual question answering through shared representations
Why can a 4B-scale model simultaneously perform localization, segmentation, and image reasoning, and even improve accuracy on pure text visual question answering tasks that require no mask output? The Xiaomi team explains that the core lies in the architecture design based on shared representations.
Xiaomi-Lens-0 uses the Qwen3.5-4B multimodal model as its base, adding only the special token <|mask|> and a lightweight mask decoder. The decoder consists of a single-layer Transformer, a linear projection, and two layers of transposed convolution, with the new parameters accounting for less than 2% of the total model parameters.
It does not introduce standalone segmentation encoders like SAM, nor does it add extra multi-scale feature fusion modules, allowing text responses and mask predictions to reuse the same set of visual backbone features.
The entire pipeline is divided into three components: reasoning decoding, two-stage training, and data verification.
In the reasoning decoding stage, the model uses a three-step process to convert textual references into pixel-level contours: after receiving an image and instruction, the model autoregressively generates text or reasoning content; when it needs to mark an object in the scene, it outputs <|mask|>; the context hidden state at that position fuses image, instruction, and preceding text information as the object representation; the lightweight decoder converts this hidden state into a query vector, which is matched and upsampled against image patch features to output a pixel mask. Mask decoding is an independent branch that does not feed back cropped region features to the language model.
Training is divided into 2 stages. The first stage is warmup alignment: backbone parameters are frozen, and only the mask decoder and <|mask|> token embedding are trained, enabling the branch to learn extracting object contours from existing visual features. The second stage is full fine-tuning: all parameters are unlocked, and language generation loss and mask loss are jointly optimized. Contour prediction errors are backpropagated to the backbone network, compelling the model to learn finer visual features; since text QA and segmentation share visual representations, pure text QA that requires no bounding boxes also benefits accordingly.
At the data level, the Xiaomi team adopts a multi-layered consistency verification mechanism to ensure reliable matching between language descriptions and target regions. Synthetic referring segmentation samples undergo re-localization IoU verification and semantic uniqueness screening to remove ambiguous samples; data with reasoning trajectories retains only samples with verifiable answers and valid bounding boxes, and assigns masks meeting the overlap threshold to regions corresponding to reasoning steps.
The team also designed ablation experiments to independently verify the gains from pixel mask supervision. On the RefCOCO validation set, MME-RealWorld, CV-Bench, and other benchmarks, model scores all increased after adding mask supervision. Specifically, RefCOCO+ Val Prec@0.5 improved from 89.7% to 92.1%; MME-RealWorld-CN accuracy increased from 66.1% to 67.5%.
Xiaomi's team believes that under this controlled setup, the additional 1.4% improvement on MME-RealWorld-CN can be attributed to pixel-level mask supervision, although the benchmark itself does not require the model to output bounding boxes or segmentation masks.
Conclusion: Potential Applications in On-Device and Embodied Domains
The deployment scenario currently disclosed for Xiaomi-Lens-0 is the Inspiration Sphere in HyperOS 4 and Super Xiao Ai 2.0, targeting on-device visual interaction.
After the model is open-sourced, its development in tasks such as embodied interaction and tool-based referential tasks on edge devices holds even greater potential.
Xiaomi-Lens-0's 4B parameter scale suits compute-constrained, latency-limited device environments, and with the model's native support for colloquial embodied referential instructions, it is poised to explore applications in robotic grasping, in-vehicle assistants, and localized targeting in industrial and medical imaging.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.