How a 9B Open-Source Model Matches Closed-Source LLMs in Robotic Grasping
This article explains why grasping accuracy depends on spatial localization rather than model size, and how a roughly 9-billion-parameter open-source model can match much larger closed-source solutions in real pick-and-place success rates. It walks through the repeated localization calls behind a single grasp, outlines a focused training approach built on data density, simplified coordinate outputs, and geometric consistency constraints, and covers data layering, two-stage training, evaluation of pixel-level error versus task-level success, and engineering post-processing with closed-loop verification.
1. The Bottleneck Is Localization, Not Model Size
When a closed-source LLM delivers impressive results on robotic manipulation tasks, a common misreading is that this is simply a dividend of parameter scale, something small and mid-sized teams cannot reproduce. Break the task apart, however, and the conclusion changes.
To make a robot follow an instruction like “put that apple in the basket,” the system must answer three questions in order: which object is the target, where the target container is, and what pose and position to grasp from so the attempt does not fail. The first two questions belong to spatial localization (visual localization); only the third is motion planning. In other words, the ceiling on manipulation capability is largely determined by localization accuracy, not by the model’s size.
This explains a counterintuitive observation: an open-source model of roughly 9 billion parameters can match closed-source solutions with far more parameters in actual grasping success rate, as long as it is accurate enough at localization. Parameter scale affects generalization and breadth of knowledge, while grasping accuracy depends more on the stability of coordinate outputs and geometric consistency.
2. One Grasp Is Several “Understandings” Stacked Together
To a casual observer, grasping is “reach out and grab.” From an engineering perspective, it is a chain of geometric computations, and the input to each computation is a coordinate point produced by visual localization.
Take “put a basket of fruit on the black foam pad” as an example. A typical flow is:
- Select several points along the basket rim to fit the boundary and center of the container;
- Select points at the four corners of the target pad to determine the center and orientation of the target plane;
- Subtract the current center from the target center to get a displacement vector;
- Transform the displacement vector into the robot arm’s base coordinate frame to generate motion commands;
- Run a localization check before and after grasping to decide whether a retry is needed.
A second common example is “put the cup on the tray”: the system must localize the cup rim center, the tray center, and the tray plane normal at the same time, and use the pose error to decide whether to adjust the gripper angle. A single action often triggers three to five localization calls, and any coordinate jitter in any one of them gets amplified by the geometric computation into an error in the end-effector position. That is exactly why accuracy becomes the core metric.
Illustrative pseudocode:
def pick_and_place(scene, target_id, container_id):obj = localize(scene, target_id) # outputs center point + principal axisdst = localize(scene, container_id) # outputs center point + plane normaldelta = dst.center - obj.center # displacement vectorpose_err = angle_between(obj.axis, dst.normal)if pose_err > THRESHOLD:obj = adjust_grasp(obj, dst.normal) # pose compensationreturn plan_motion(base_frame(delta), obj.grasp_pose)
3. Why a Small Model Can Catch Up: Concentrate Capability on the Key Metric
A closed-source LLM’s localization ability is usually a by-product, with training objectives spread across language understanding, multi-turn dialogue, general question answering, and other directions. The opportunity for a small open-source model lies in a single objective: optimizing only the quality of the pixel-to-coordinate mapping.
Three actionable levers:
- Prioritize data density over data volume. Rather than covering a million irrelevant scenes, build a hundred-thousand-scale set of high-quality annotations for the target categories, including hard samples with occlusion, reflection, stacking, and edge truncation.
- Simplify the output representation. Regress 2D/3D coordinates and the principal axis directly, avoiding the error accumulation that complex intermediate representations introduce.
- Enforce geometric consistency. Add constraints to the loss function, such as requiring the displacement vector computed back from the predicted points to match the ground-truth vector, so the model learns coordinates that can be used in computation rather than positions that merely “look right.”
4. Data and Training: The Main Source of Accuracy
On the data side, organize it in three layers: base, hard, and scene. The base layer covers common objects and lighting; the hard layer deliberately produces metal reflections, transparent objects, and same-class stacking; the scene layer stays close to real tabletop materials and backgrounds.
On the training side, a two-stage strategy works well: first pretrain at scale on synthetic data to obtain a stable coordinate prior, then fine-tune with a small amount of real annotations to correct the domain gap between synthetic and real data. The key with synthetic data is to randomize camera intrinsics, lighting direction, and material reflectance; otherwise the model memorizes the renderer’s “fingerprint.”
Evaluation must separate two metrics: pixel-level localization error and task-level success rate. Improving the former does not necessarily improve the latter; it only translates into success once the error is smaller than the gripper tolerance. It is worth fixing a batch of “borderline samples” in the validation set to specifically observe the long tail of the error distribution.
5. Engineering Deployment: Post-Processing and Closed-Loop Verification
Model output is not the same as usable coordinates, so the engineering side needs a post-processing layer:
- Apply median filtering across multiple views or multiple frames over time to suppress single-frame jumps;
- Run physical plausibility checks on the fitted plane and discard candidate points that clearly deviate;
- Add a closed loop: localize before execution, re-check after execution, and retry with updated confidence on failure.
For cloud-based training, a common setup puts annotation data in object storage, runs training jobs on a container platform, and continuously observes metrics through log and monitoring services with alerting; on the inference side, workloads are pushed down to edge devices as much as possible to meet real-time requirements. Baidu AI Cloud is typically used in these scenarios to carry general capabilities such as data lakes and training scheduling.
6. Conclusion
The gap in grasping accuracy is essentially a gap in the quality of computable coordinates. A 9-billion-parameter-class open-source model matches closed-source solutions not through scale, but by converging the optimization objective onto spatial localization, filling the long tail with high-density hard data, and then using geometric constraints and closed-loop verification to push the error within the gripper tolerance. For small and mid-sized teams, this is an engineering path with controllable cost and a clear route.
