Qwen3-VL-2B Pointer (GRPO v4)

A 2B vision-language model that answers "where is X?" with a single point:

<point x="512" y="340">

x and y are integers from 0 to 1000, the position as a fraction of image width and height (0,0 is the top-left corner). For "point to all the X" prompts it lists one point per object.

It is Qwen3-VL-2B-Instruct after supervised fine-tuning and four rounds of GRPO, all on one RTX 4090. The full story, including what worked, what didn't and why, is in the blog post: Teaching a 2B VLM to Point, Part 1. Code: github.com/sks3i/pointvlm (evals, data and training recipes) and github.com/sks3i/localtrainer (the SFT/GRPO trainer).

One example per benchmark

Results

All numbers come from one frozen harness: a fixed prompt (below), greedy decoding, a 64-token cap, and a strict parser where any unparseable answer is a miss. A prediction counts if the first point lands inside the target mask (Point-Bench uses its own rule for counting).

Model RefCOCO val (2,000) Where2Place (100) Point-Bench (979)
Qwen3-VL-2B-Instruct, same prompt 80.6% 40% 48.9%
Qwen3-VL-2B-Instruct, its native format 86.2% 44% 51.9%
Molmo-7B-D 89.0% 31% 56.6%
Qwen3-VL-32B-Instruct (AWQ 4-bit) 93.2% 65% 59.0%
This model 92.1% 57% 60.9%

Point-Bench by category:

Affordance Counting Reasoning Spatial Steerable
This model 85.9% 30.3% 66.3% 70.3% 51.5%
Qwen3-VL-32B (AWQ) 87.4% 15.4% 71.0% 75.9% 45.5%

Served with vLLM, median latency on RefCOCO is about 90 ms per query on an RTX 4090, against 885 ms for the 4-bit 32B under the same settings.

Please read these caveats before comparing:

  • Not comparable to published numbers. The prompt, token cap and parser are my own frozen protocol, not each benchmark's official one. For example, Poivre reports 61.6% for Molmo-7B-D on Point-Bench, where this harness gives 56.6%.
  • The 32B comparison is a tie, not a win. Against the 4-bit 32B, neither the Point-Bench nor the RefCOCO difference is significant (paired exact McNemar, p = 0.25 and p = 0.12). The 2B's Point-Bench edge comes almost entirely from counting, and part of that is the 64-token cap cutting off the 32B's longer JSON lists. With a 512-token cap on those items the 32B reaches 60.2% (counting 19.5%).
  • Where2Place is small and this checkpoint is not the best on it. 100 items gives roughly ±10 points of uncertainty. An earlier GRPO run reached 65%; the counting stage in this run cost free-space accuracy.
  • RefCOCO val here is a 2,000-object sample of the real validation split, with masks rebuilt from COCO annotations. Training images were filtered against all eval images by id and at the pixel level.

Usage

The model was trained and evaluated with this exact prompt. Other phrasings work, but this is what the numbers above measure.

import re
import torch
from PIL import Image
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "Sks3i/qwen3-vl-2b-pointer"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto").eval()

PROMPT = (
    "Point to {query}. Answer with exactly one point in the format "
    '<point x="X" y="Y">, where X and Y are integers from 0 to 1000 giving the '
    "position as a fraction of the image width and height (0,0 is the top-left corner)."
)

image = Image.open("kitchen.jpg").convert("RGB")
messages = [{"role": "user", "content": [
    {"type": "image", "image": image},
    {"type": "text", "text": PROMPT.format(query="the mug to the left of the kettle")},
]}]
inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt"
).to(model.device)

out = model.generate(**inputs, max_new_tokens=64, do_sample=False)
text = processor.decode(out[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True)

w, h = image.size
points = [(int(x) / 1000 * w, int(y) / 1000 * h) for x, y in re.findall(r'<point x="(\d+)" y="(\d+)">', text)]
print(text, points)  # e.g. <point x="312" y="604"> [(399.4, 434.9)]

Requires a transformers version with Qwen3-VL support (tested with 5.19). The shipped generation_config.json defaults to greedy decoding, which is what the evals use; the base model's default is sampling at temperature 0.7.

For counting, put the object in the query, for example query="all the apples". The prompt still says "exactly one point", but the model was trained to list every instance for "all the X" queries.

vLLM

from vllm import LLM, SamplingParams
from PIL import Image

llm = LLM(model="Sks3i/qwen3-vl-2b-pointer", max_model_len=8192, limit_mm_per_prompt={"image": 1, "video": 0})
params = SamplingParams(temperature=0.0, max_tokens=64)

image = Image.open("kitchen.jpg").convert("RGB")
messages = [{"role": "user", "content": [
    {"type": "image_pil", "image_pil": image},
    {"type": "text", "text": PROMPT.format(query="the mug to the left of the kettle")},
]}]
print(llm.chat(messages, params)[0].outputs[0].text)

Or as a server: vllm serve Sks3i/qwen3-vl-2b-pointer --max-model-len 8192 --limit-mm-per-prompt '{"image": 1, "video": 0}'. Under vLLM the frozen harness scores 92.2% / 62% / 61.5% on RefCOCO / Where2Place / Point-Bench. Very large images can exceed max_model_len; resize so the longer side is around 1,000-1,500 px (training capped it at 1,024).

Training

Four stages, each starting from the previous one's merged weights. Every stage trains a LoRA adapter (rank 16, alpha 32) on the language model's attention and MLP projections; the vision encoder and projector stay frozen. The released weights are the fully merged result, so no adapter or PEFT is needed.

  1. SFT on 60,000 examples for two epochs: PixMo-Points (open-vocabulary clicked points), RefCOCO / RefCOCO+ / RefCOCOg referring expressions on COCO train2014, and RoboPoint object and free-space references. Mask targets use the mask's deepest interior point rather than its centroid.
  2. GRPO (run 3 in the blog) on a mix of RefCOCO-family, RoboPoint, synthetic COCO relation/ordinal prompts and 9,000 synthetic function prompts ("the utensil used to cut food"), with a reward of 1 for a single point inside the target and up to 0.5 for near misses within 3% of the image diagonal. Prompts were pre-filtered to those the model solved sometimes but not always.
  3. Counting SFT: 5,800 synthetic COCO counting examples built from instance masks, 5,000 multi-point PixMo examples, and 8,000 single-object replay examples.
  4. GRPO with the counting rule as reward (correct count and every object hit = 1, otherwise half credit scaled by point-object F1), mixed with the stage 2 pool.

GRPO settings: G = 8 samples per prompt, 16 prompts per step, 600 steps, learning rate 2e-5, clip 0.2/0.28, KL weight 0.02 (k3 estimator) to the LoRA-disabled reference, sampling at temperature 1 with no top-k/top-p truncation.

Limitations

  • Output format is fixed. The model is tuned to emit the point tag and little else. It is not a general chat model any more, and its general VQA and captioning ability was not measured after fine-tuning.
  • Weakest on knowledge-heavy and spatial questions. It trails the 32B on Point-Bench reasoning and spatial items, and a common failure is pointing at the anchor object in a relation ("the object in front of the bus" lands on the bus).
  • Counting is capped by length. At about 14 tokens per point, the 64-token budget used in evaluation allows at most four points; raise max_new_tokens for larger counts. Counting accuracy is still modest (30% on Point-Bench counting).
  • Single images, English prompts. Video and multi-image inputs were not trained or tested.
  • Not validated for robotics or safety-critical control. Treat points as suggestions, not commands.

License and data

The model weights are released under Apache-2.0, the license of the base model, Qwen3-VL-2B-Instruct. The training data has its own terms: PixMo-Points (ODC-BY 1.0), COCO annotations (CC BY 4.0, images under Flickr terms) and the RefCOCO family built on them, and RoboPoint (see its dataset card). Check those terms for your use.

Citation

@misc{sivanath2026pointing,
  title  = {Teaching a 2B VLM to Point, Part 1},
  author = {Sabarish Kuduwa Sivanath},
  year   = {2026},
  url    = {https://sabarishks.com/posts/teaching-2b-vlm-to-point-part-1/}
}
Downloads last month
33
Safetensors
Model size
2B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Sks3i/qwen3-vl-2b-pointer

Finetuned
(327)
this model

Datasets used to train Sks3i/qwen3-vl-2b-pointer