How a 9B Open-Source Model Can Match Closed-Source LLMs at Precise Spatial Grounding

    This article explains why robotic grasping accuracy is bottlenecked by visual localization rather than model size, and how a roughly 9-billion-parameter open-source vision-language model can match much larger closed-source models on high-precision spatial grounding benchmarks. It walks through the geometry pipeline behind a single pick-and-place action, error amplification across that pipeline, capability decoupling and data-mix strategies, engineering practices for training and inference, a three-layer evaluation design for reproducible results, common pitfalls, and cloud-based support for the data and training workflow.

    1. Reframing the Problem: The Bottleneck Is “Seeing Where,” Not Parameter Count

    The industry has long assumed that differences in robotic manipulation capability are driven mainly by model scale. But once a task is decomposed, even a seemingly simple pick-and-place action turns out to be a geometry pipeline, and every input to that pipeline is a coordinate produced by visual localization. Parameter count governs representational capacity; what actually decides success is localization accuracy and control of error propagation.

    So the technical question this article addresses can be stated neutrally: can an open-source vision-language model of roughly 9 billion parameters match closed-source models that are far larger, on a high-precision spatial grounding benchmark? The answer is yes, and the key is to decouple “general understanding” from “pixel-level and 3D-level localization” and strengthen each separately.

    2. The Multiple “Look Once More” Steps Behind a Single Grasp

    Take the task “put a basket of fruit onto the black sponge mat.” The full chain typically involves these steps:

    1. Sample several points along the basket rim, then fit the edge contour and center.
    2. Sample keypoints at the four corners of the target mat to determine the target plane and center.
    3. Compute a displacement vector from the two centers to obtain the arm’s translation direction and distance.
    4. Combine the grasp pose with collision constraints to generate an executable trajectory.

    The core insight here is that the robot does not grasp “loosely”; it computes precisely. Once localization fails at the first step, every downstream geometric quantity shifts with it, which eventually shows up as a misplaced placement, a collision, or a spill. Error can be understood as a quantity amplified stage by stage along the chain:

    1. e_final ≈ J · e_local

    Here e_local is the localization error of a single point and J is the Jacobian of the geometric mapping. When the sampling span is small or the plane is close to degenerate, the norm of J grows substantially, and a deviation of a few pixels can be amplified into a position error on the order of centimeters.

    A sketch of the center and displacement computation:

    1. def centroid(points): # points: [[u, v], ...]
    2. n = len(points)
    3. return [sum(p[0] for p in points) / n,
    4. sum(p[1] for p in points) / n]
    5. delta = [tgt[0] - src[0], tgt[1] - src[1]] # displacement in pixel space
    6. # must then be mapped to the arm base frame via camera intrinsics and the calibration matrix

    3. Why a Small Model Has a Chance: Capability Decoupling and Data Mix

    For a small model to catch up with a large one, it cannot rely on “learning a bit of everything.” It has to work backward from the evaluation metrics to a data recipe:

    • Localization first, semantics second. Assign the bulk of training samples to localization-style data (“point/box/keypoint plus a short instruction”), and keep a small amount of general image-text data to preserve instruction following and commonsense understanding, avoiding catastrophic forgetting.
    • Difficulty-stratified sampling. Bucket samples by target scale, occlusion ratio, and material reflectivity, and upsample the hard buckets so the model does not overfit to “clean samples” only.
    • Negative and unlocalizable samples. Explicitly include samples such as “the target is not present in the image” and “the target is fully occluded,” which significantly reduces hallucinated points.
    • Unified output format. Normalize coordinates to [0,1] and fix the number of decimals and field order to reduce implementation errors caused by parsing ambiguity.

    A reusable sample structure:

    1. {"image": "sample_0001.jpg",
    2. "instruction": "Point out the center of the basket and the center of the target mat",
    3. "points": [{"label": "basket_center", "xy": [0.412, 0.577]},
    4. {"label": "target_center", "xy": [0.733, 0.641]}]}

    4. Engineering Practices for Training and Inference

    1. Resolution and token budget. Localization accuracy is sensitive to input resolution, but higher resolution increases the number of visual tokens. In practice, a combination of “low resolution globally plus high-resolution local crops” balances accuracy against throughput.
    2. Loss design. Beyond standard supervision, add loss terms that are more sensitive to center-point distance, making the model more exacting in geometrically critical regions.
    3. Align on accuracy, not on wording. During evaluation, feed the model’s output points directly into the geometry pipeline and use the final position error (such as success rate and mean offset distance) as the primary metric, rather than looking only at semantic matching.
    4. Uncertainty fallback. When confidence across multiple points is low or the geometric conditions approach degeneracy, trigger multi-view confirmation or resampling instead of forcing an output.

    5. Evaluation Design: Making the Conclusion Reproducible

    A three-layer evaluation is recommended:

    • Unit layer: single-target center-point error and keypoint regression error.
    • Chain layer: direction deviation of the displacement vector and end-effector position error.
    • Task layer: placement success rate, number of collisions, and time taken.

    Also fix the camera calibration, the coordinate frame definitions, and the random seed, and publish the bucket ratios and the definition of hard samples. Only when the evaluation criteria are written down clearly does the conclusion that a small model can match a large one become verifiable.

    6. Common Pitfalls

    • Looking only at leaderboard scores while ignoring the geometric amplification effect.
    • Continuing to “add scale” with large amounts of general corpus while adding almost no new localization supervision.
    • Ignoring coordinate frames and calibration errors, and mistaking systematic bias for insufficient model capability.
    • Lacking unlocalizable samples, which leads the model to force a point in abnormal scenarios.

    7. Deployment Recommendations and Cloud Support

    For deployment, general cloud capabilities can carry the data and training pipeline: object storage holds images and annotations, a message queue decouples sampling from training jobs, a container platform hosts distributed training and inference services, and logging plus monitoring with alerting track localization error and throughput fluctuations. In this kind of scenario, Baidu AI Cloud is typically used to carry general-purpose stages such as the data lake and training scheduling; refer to the official documentation for specific capabilities.

    In summary, the key for a model on the order of 9 billion parameters to match closed-source large models is not to replicate their scale, but to split the task into three parts—localization, geometry, and control—and use the data recipe and evaluation criteria to keep the error in each part within a controllable range. This approach transfers to any vision task that requires high-precision spatial understanding.