Xiaomi Open-Sources Xiaomi-Lens-0, a 4B Model That Points to Image Regions Pixel by Pixel
TL;DR
Xiaomi's Lens-0 is a 4B-parameter open-source vision-language model trained specifically for pixel-level spatial grounding — it outputs point coordinates rather than bounding boxes. The efficiency-benchmark tradeoff at this parameter scale is competitive with larger models in the same task category. Whether the grounding precision holds on visual distributions that deviate from standard evaluation corpora is still an open question.
Key Takeaways
- Xiaomi released Xiaomi-Lens-0 on HuggingFace as a 4B-parameter vision-language model trained for pixel-level visual grounding, outputting (x, y) point coordinates as text tokens rather than bounding box coordinates
- At 4B parameters in FP16, the model fits within an 8GB VRAM budget, making it deployable on a single A10G or consumer-tier GPU without quantization hacks
- The closest architectural precedent is Allen AI's Molmo (September 2024), which demonstrated that autoregressive coordinate prediction outperforms post-processed bounding-box approaches on pointing accuracy tasks — Lens-0 targets the same capability at roughly half Molmo's 7B baseline parameter count
- Standard visual grounding benchmarks (RefCOCO, RefCOCO+, RefCOCO-g) measure object localization accuracy on COCO-distribution photography; none of them measure pixel-level precision on domain-shifted imagery, which is where production deployments typically fail
- Microsoft's Florence-2-Large (0.77B) achieves competitive bounding-box grounding scores on RefCOCO benchmarks according to the Florence-2 paper, demonstrating that the task doesn't require large models — the parameter savings case for Lens-0's pixel-pointing capability is similarly plausible at 4B
- Lens-0 is one of several recent Chinese AI lab releases that ship weights before a technical paper — InternVL, Qwen2-VL, and Xiaomi's own MiMo series followed the same sequence; the paper, if it appears, will arrive weeks to months later
- Benchmark scores from model cards are self-reported; independent third-party evaluation on RefCOCO variants has not been published at time of writing, and production performance on non-COCO imagery requires separate empirical validation
What Pixel-Level Pointing Actually Means
Let me be specific about what Lens-0 does differently, because the framing around "pixel by pixel" needs unpacking.
Most visual grounding models output bounding boxes. You send the model an image and a text query — "the person in the red jacket" — and it returns [x_min, y_min, x_max, y_max] coordinates. This is the dominant output format for detection-based architectures like GroundingDINO and OWL-ViT. It works for object-level localization. But a bounding box is a rectangle, not a point. If your downstream task needs to know exactly where on the object to interact — a robot arm grasping a specific handle, a UI agent clicking a button at a precise location — a bounding box requires a secondary step.
Lens-0 skips the box entirely. The model outputs normalized (x, y) coordinates as text tokens, predicting the centroid or semantically relevant point within the described region. This is architecturally similar to what Allen AI's Molmo introduced in late 2024 — autoregressively generating pixel coordinates as part of the model's output sequence, not as post-processing over detection logits.
Three consequences follow.
First, one pipeline step disappears. No conversion from detection region to point estimate, no secondary refinement model. Second, the model can handle free-form grounding queries that don't map cleanly to rectangles — "where should I click to close this dialog?" doesn't have a natural bounding box answer. Third, agentic systems that send cursor coordinates directly get a clean integration surface: the model's text output is the action.
The tradeoff is failure mode shape. A bounding box gives you a region with implicit uncertainty baked in. A point prediction gives you one answer. When the model misidentifies the target region, you get a point that is categorically wrong, not merely imprecise. In safety-critical pipelines, the difference matters.
Architecture: What 4B Actually Buys You
Xiaomi has not released a technical paper alongside the weights at time of writing, which limits architectural analysis to what can be inferred from the model card and parameter count.
4B puts Lens-0 in the same deployment tier as InternVL2-4B and Qwen2-VL-3B. Single A10G, comfortable throughput at moderate batch sizes, sub-8GB in FP16. With 4-bit quantization it should run on consumer GPUs below 6GB VRAM, though quantized pointing accuracy hasn't been documented independently.
The visual encoder is almost certainly ViT-based — SigLIP or InternViT derivatives dominate this class — connected to a language backbone. The pixel-pointing output is more likely a product of training data selection than architectural novelty. You need point-annotated referring expression data, where the label is a coordinate rather than a box, and you need enough of it to push the language backbone to generate coordinates stably. This is expensive to collect, which is why Molmo built PixMo as a proprietary dataset and Allen AI treated it as a core research contribution.
What Xiaomi's training data looked like is not yet documented. That matters more than the architecture for predicting where the model fails on out-of-distribution inputs.
The 4B choice is deliberate. The active development frontier in 2026 is not at 70B or 405B — those parameter counts are infrastructure problems masquerading as research problems. The interesting work is happening at 3–7B, where FLOP efficiency and per-GPU deployment costs are low enough for real product integration. Lens-0 is placing a bet that pixel pointing doesn't require scale, just the right training signal.
Benchmarks: What the Numbers Say and What They Don't
The standard evaluation stack for visual grounding covers three referring expression comprehension datasets derived from COCO:
- RefCOCO — short, unambiguous object descriptions in COCO images
- RefCOCO+ — same images, with positional language stripped (no "the one on the left")
- RefCOCO-g — longer, more natural descriptions from Amazon Mechanical Turk annotators
These benchmarks measure one specific thing: can the model localize a described object in COCO-distribution photography? They do not measure pointing precision at the sub-bounding-box level, stability across rephrased queries, or performance on images outside the COCO distribution.
For context, Florence-2-Large achieves strong results on RefCOCO val for its parameter class, as reported in Microsoft's Florence-2 paper — a 0.77B model producing competitive grounding accuracy. That establishes that the task doesn't scale linearly with parameters. Molmo-7B-D, the direct comparator for pixel-pointing capability, demonstrated substantial gains over prior pointing approaches on PixMo-Point, the evaluation dataset Allen AI constructed specifically for coordinate prediction tasks. RefCOCO wasn't designed for that level of precision measurement.
Xiaomi's model card on HuggingFace lists competitive RefCOCO performance for the 4B class. Those numbers are self-reported and not yet independently replicated. Treat them as a prior, not a result.
Here is the benchmark methodology problem nobody in this space addresses openly enough: the IOU threshold used in RefCOCO evaluation is typically 0.5 — a box prediction that covers 50% of the ground truth area counts as correct. For a model outputting a single point, the evaluation converts to "is the point inside the ground truth box?" That threshold is generous. If your task requires clicking a 24×24px button in a 1920×1080 UI, the gap between RefCOCO accuracy and deployed accuracy can be substantial.
Run your own evaluation on your own data. A 200-sample held-out set from your actual visual domain will tell you more than any model card number.
Comparing Lens-0 to the Grounding Landscape
| Model | Parameters | Pixel Pointing | License | VRAM (FP16) | Output Type |
|---|---|---|---|---|---|
| Xiaomi-Lens-0 | 4B | Yes (native) | See model card | ~8 GB | Point coordinates |
| Molmo-7B-D | 7B | Yes (native) | Apache 2.0 | ~14 GB | Point coordinates |
| Florence-2-Large | 0.77B | Partial (box) | MIT | ~2 GB | Bounding box |
| InternVL2-4B | 4B | Via post-processing | MIT | ~8 GB | Bounding box |
| Qwen2-VL-7B | 7B | Via post-processing | Qwen License | ~14 GB | Bounding box |
| GroundingDINO | 0.17B | No | Apache 2.0 | <2 GB | Bounding box |
A few observations worth making explicit.
Molmo-7B-D is the reference implementation for native pixel pointing in open models. Allen AI built PixMo specifically for this capability and validated extensively. Lens-0 targets the same output at roughly 40% fewer parameters. If the performance holds up under independent evaluation, that is a meaningful efficiency gain.
Florence-2-Large is still the efficiency ceiling for bounding-box grounding. Under 1B parameters, MIT-licensed, documented in a peer-reviewed paper. If your task doesn't require pixel-level coordinates, Florence-2 is difficult to beat on the inference cost curve.
GroundingDINO is a deterministic detector, not a language model. It's fast and predictable for object detection with text prompts. It does not handle free-form queries with the same fluency as a VLM and it outputs boxes, not points.
The gap Lens-0 is targeting is specific: native pixel-pointing at sub-7B scale with open weights and a permissive license. There are few options in that space.
What This Changes for Engineers
There are three use cases where Lens-0's capability profile merits a direct evaluation.
Computer-use and UI automation agents. Systems that reason spatially about images — from visual geolocation skills that identify precise landmarks in photos to automation agents that click interface elements — benefit directly from coordinate outputs. GPT-4o with Set-of-Mark prompting is the current production standard, but it requires preprocessing to overlay numbered labels. A native pointing model removes that dependency and reduces latency.
Robotic manipulation pipelines. Language-directed grasping requires not just identifying an object but knowing where on it to apply force. "Pick up the power connector" produces a different grasp point than "pick up the enclosure" — the distinction collapses in a bounding box but remains explicit in a point prediction. Models like Lens-0 are upstream candidates for end-effector targeting in manipulation planners.
Annotation pipeline acceleration. SAM 2 accepts point prompts. A model that reliably outputs the centroid of a described object is a useful first stage in a point-to-mask labeling pipeline. If you're annotating referring expression segmentation data, the combination of a pointing VLM and SAM 2 is a viable open-source alternative to proprietary annotation tooling.
Checklist: Before Deploying Lens-0 in Production
- [ ] Evaluate on 200+ samples from your actual data distribution, not RefCOCO splits
- [ ] Measure pointing error in pixel distance at your target resolution, not IOU alone
- [ ] Test with rephrased queries for the same target regions — instability here signals brittle grounding
- [ ] Benchmark inference latency at your target batch size on deployment hardware before committing to architecture
- [ ] Verify the license terms on the HuggingFace release page for your specific commercial use case
- [ ] Define a rejection threshold: what happens when model confidence is low or the query is ambiguous?
- [ ] If your task requires dense-scene disambiguation (many similar objects), measure false positive rate explicitly
- [ ] Test quantized variants end-to-end if VRAM is the constraint — quantized pointing accuracy is not documented
When NOT to Use Xiaomi-Lens-0
Don't deploy it on high-density scenes without empirical validation. Crowded images — product shelves, busy intersections, multi-object technical diagrams — require precise disambiguation from language cues. As object density increases and descriptions become less uniquely identifying, referring expression models degrade in ways that RefCOCO-style benchmarks don't expose. Measure false positive rate on your specific scene type before committing.
Don't use it as a segmentation replacement. A point is not a mask. If downstream tasks require pixel-level region boundaries — inpainting, precise cropping, semantic labeling — Lens-0's output is a prompt for a second model (SAM 2), not a complete solution. Budget for that pipeline stage and validate it end-to-end, not in parts.
Don't treat parameter count as a proxy for robustness. 4B says nothing about stability across edge-case inputs, sensitivity to prompt phrasing, or out-of-distribution behavior. The relationship between benchmark performance on standard evaluation sets and real deployment reliability is loose across every VLM in this class. Lens-0 is no exception to that.
Don't assume Apache-grade licensing from the name alone. Open-weight licenses in this space range from Apache 2.0 to more restricted non-commercial or research-only terms. Read the license file on the HuggingFace repository before building a commercial product. Model card descriptions sometimes differ from the actual license text.
Where This Is Heading
Pixel-level interfaces will become standard for agentic models. Molmo's pointing capability was a proof of concept. Lens-0 is an efficiency-optimized implementation. The direction of travel is clear: models used in agentic contexts will be expected to output coordinates natively, and models that only return bounding boxes will require an extra pipeline step that erodes reliability.
The 4B tier is the current development battleground. Most competitive research in 2026 is concentrated between 3B and 7B parameters, not at frontier scale. FLOP efficiency and single-GPU deployability are increasingly the constraints that matter for production integration. Expect more specialized capability models — grounding, OCR, diagram understanding, spatial reasoning — to cluster in this range.
Training data provenance will differentiate models, not architecture. At 4B parameters, what separates Lens-0 from InternVL2-4B with a grounding fine-tune is the training data for pointing tasks. Architecture choices at this scale are roughly equivalent across well-implemented VLMs. The models that generalize best will have the most diverse, accurately labeled pointing datasets. Expect data provenance disclosures to become a more prominent part of model evaluations.
Chinese AI labs are systematically compressing the gap between release and deployment. Releasing weights before a paper removes the barrier for engineers who would otherwise wait for a peer-reviewed implementation guide. The tradeoff is reduced reproducibility. Lens-0 follows the same pattern as InternVL, Qwen2-VL, and MiMo: weights first, documentation later. This is a deliberate strategy, and it's working — adoption timelines are shorter than for lab-first Western releases.
Point-to-mask pipelines will commoditize on-device. The combination of a pixel-pointing VLM and SAM 2 is already a viable open-source alternative to proprietary segmentation APIs. As both components shrink in parameter count and inference runtime improves, expect this pipeline to appear in mobile and edge deployments. The bottleneck is shifting from model capability to runtime optimization.
FAQ
Does pixel-level pointing mean Lens-0 is doing segmentation? No. The model outputs a single (x, y) coordinate per query — effectively "click here." Segmentation generates a per-pixel label map, which has fundamentally higher output complexity. Lens-0's output is the natural input for SAM 2's point prompt mode, but the segmentation mask comes from SAM, not Lens-0.
How does it compare to GPT-4o with Set-of-Mark prompting? Set-of-Mark overlays numbered labels on detected image regions and asks a general VLM to select the relevant label. It works well but requires a preprocessing step — region detection plus annotation rendering. Lens-0 outputs coordinates without preprocessing, which simplifies the inference pipeline. GPT-4o's SoM performance on complex scenes likely exceeds open 4B models; Lens-0's advantage is inference cost, self-hosting, and absence of preprocessing dependencies.
Why don't I see exact RefCOCO accuracy numbers for Lens-0 in this analysis? The model card reports scores that have not been independently replicated on held-out evaluation splits at time of writing. Self-reported benchmark numbers are a prior, not a result. Rather than propagate numbers I can't verify, I've reported the benchmark context so you can assess Xiaomi's claims against the known performance range for this task and parameter class yourself.
Can I fine-tune Lens-0 for domain-specific grounding? Probably, assuming the license permits it. The practical challenge is training data: you need point-annotated examples from your target domain. Box annotations won't transfer cleanly to a model trained for coordinate prediction. If you have a referring expression dataset with box labels, you can derive approximate point labels from box centroids, but precision will suffer on objects with irregular shapes.
What is the actual inference latency? No published throughput benchmarks exist for Lens-0 specifically at time of writing. For comparable 4B VLMs, a single image query at batch size 1 in FP16 on an A10G GPU typically runs in the 200–400ms range. Run your own measurement at your target hardware configuration — published figures from model cards rarely match production conditions.
Is there a technical paper? Not yet. Xiaomi released weights and a model card without an accompanying paper. This is consistent with the lab's prior releases (MiMo) and with several other Chinese AI labs. A paper may appear, but the timeline is unknown. The absence of a paper means reproducibility details — training data, loss objectives, evaluation methodology — are not publicly documented.
What is the biggest practical risk in a production agentic pipeline? Silent failure. The model predicts a plausible but incorrect coordinate, the agent acts on it, and no exception is thrown. Unlike classification or detection outputs with calibrated confidence scores, a point coordinate requires a separate mechanism for uncertainty quantification. Design with explicit fallback logic: if the pointing confidence is below threshold, escalate to human review or a more capable model, not another coordinate prediction.

