Improving Robotic Grasping Precision: From Visual Localization to Closed-Loop Control
This article explores the technical chain behind robotic grasping precision, emphasizing that model scale alone is insufficient. It covers visual localization outputs, error propagation from pixels to robotic arms, task-specific strategies for carrying and folding, data acquisition for mid-scale models, multi-layered evaluation, and the implementation of recoverable closed-loop control systems.
1. The Key to Grasping Capability: Beyond Model Scale
When a robot receives an instruction like “put the fruit basket on the specified mat,” it is not merely solving a language understanding problem. It must recognize the target object, determine graspable positions, understand the boundaries of the target area, and translate visual information into motion commands executable by the robotic arm.
Therefore, manipulation capability can be decomposed into a continuous technical chain:
Task Understanding → Target Localization → Geometry Estimation → Grasp Planning → Motion Execution → Feedback Correction.
Failure in any of these links can lead to task failure. Even if a model correctly understands the intent to “move the fruit basket,” it might miss the grasp due to an estimation error on the basket’s edge. Even if it successfully grasps the basket, it might place it incorrectly due to a miscalculation of the target mat’s center.
This indicates that improving robotic manipulation precision should not solely revolve around expanding model parameters. For models with limited parameter scales, a more valuable question is: Can we improve the accuracy of critical localization tasks through high-quality spatial supervision, explicit output constraints, and reliable execution closed-loops?
It should be noted that the original materials did not provide complete dataset descriptions, training configurations, or reproducible evaluation results. Therefore, it is impossible to claim that a model of a certain scale has achieved the overall manipulation level of a larger model. A more reasonable technical conclusion is that visual localization is a foundational capability worth optimizing independently, and its contribution to final manipulation performance must be verified through controlled experiments.
2. What Should Visual Localization Output?
Robotic visual localization is not simply determining “is there an apple in the image,” but answering “where is the object corresponding to the instruction, and which locations are relevant to the operation.”
Depending on the task, the outputs can be divided into four categories.
1. Target Region
The target region is typically represented by a bounding box or a segmentation mask to determine the image area occupied by the object.
Bounding boxes are suitable for quickly screening candidate targets, but for slender, curved, or irregular objects, they may include too much background. Segmentation masks can describe contours more meticulously, making them suitable for subsequent calculations of boundaries, areas, and local contact regions.
It is important to note that the identified complete object region is not necessarily the safe grasping region. For example, the fruits inside a basket are part of the visible region but may not be suitable as contact points for carrying the basket.
2. Operation Keypoints
Keypoints include handle centers, basket edge contact points, clothing corners, and folding starting points. They further translate object recognition into operational constraints.
The same object requires different keypoints under different tasks. Moving a cup might require identifying the cup body or handle, while pouring liquid also requires estimating the position and orientation of the cup mouth. Therefore, keypoints should be bound to task semantics rather than annotated solely by appearance category.
3. Spatial Relations
“The apple on the left,” “the mat behind the basket,” and “the clothing corner near the edge” all involve relational reasoning.
Such tasks require the model to process multiple objects simultaneously and correctly understand the correspondence between image coordinates, scene directions, and language descriptions. If the training data only contains single, centered objects, the model’s performance may significantly degrade in cluttered scenes.
4. 3D Position and Pose
2D coordinates on an image cannot be directly equated to 3D motion targets for a robotic arm. Actual execution usually requires depth information, camera calibration parameters, and the transformation between the camera coordinate system and the robot coordinate system.
For rigid objects, position and pose help determine the approach direction; for flexible objects like clothing, a single overall pose is often insufficient to describe the state, requiring local contours, wrinkles, and contact relations.
3. From Pixels to Robotic Arm: How Errors Propagate
Suppose a model predicts a pixel position (u, v) and obtains the depth z at that position. Under the ideal pinhole camera model, it can be converted to a 3D point in the camera coordinate system using the camera intrinsics:
X = (u - cx) × z / fxY = (v - cy) × z / fyZ = z
Where fx and fy are the focal lengths in pixels, and cx and cy are the principal point coordinates. Subsequently, this point must be mapped to the robot base coordinate system through extrinsic transformations.
There are at least the following sources of error in this chain:
- Inaccurate pixel position predicted by the model;
- Noise or missing depth measurements;
- Inaccurate camera intrinsics or distortion correction;
- Calibration offset between the camera and the robot;
- Errors in robotic arm execution and end-effector contact.
Therefore, accurate image localization does not automatically mean accurate grasping. Engineering efforts should separately inspect perception errors, calibration errors, and execution errors, rather than attributing all failures to the model.
Under fixed depth and approximate camera model conditions, the spatial error in the horizontal direction can be roughly written as:
ΔX ≈ z × Δu / fx
This relationship shows that the same pixel deviation may correspond to different actual position deviations at different working distances. Evaluations should not only report image errors but also focus on whether the error in the operational space exceeds the tolerance allowed by the gripper and the target.
4. Why Carrying and Folding Require Different Localization Strategies
1. Carrying Tasks: Center Position is Not Everything
For the task of “putting the fruit basket on the mat,” the positions of the basket and the target area can be estimated separately, and the expected displacement calculated. However, mere center alignment is insufficient.
First, the geometric center of the basket does not necessarily equal its center of gravity. With uneven load distribution, both the grasping position and the carrying speed will affect stability.
Second, the usable area of the target mat may be smaller than its visual boundary. Planning must consider the basket’s footprint, placement orientation, and safety margins to avoid the basket’s center entering the target area while its edges remain suspended.
Third, the motion path must avoid obstacles. Correct start and end points do not guarantee a safe intermediate path.
Therefore, reliable carrying should simultaneously estimate the grasping region, object shape, target accommodation range, and path constraints.
2. Clothes Folding: Outline Localization is Just the Start
Clothing is a flexible object, and its shape changes after manipulation. The corner points and boundaries in the initial image may lose their original geometric meaning after the first fold.
When color differences are obvious, color segmentation can assist in extracting clothing contours; however, under similar background colors, shadows, or pattern interference, relying solely on color can easily lead to breakage or mis-segmentation.
A more robust approach is to combine appearance features, edge information, and task semantics to identify clothing regions, and then estimate key corners and folding lines. After each operation step, the current state should be re-observed to determine whether the grasp point needs adjustment or folding deviation compensation.
Such tasks particularly require a closed loop, rather than generating all actions at once based on the initial image.
5. How Mid-Scale Models Acquire Localization Capabilities Through Data
Data volume is important, but the effective coverage of data is more so. Repeatedly adding similar samples may not solve difficulties caused by occlusion, dense arrangement, or unfamiliar perspectives.
1. Establish Task-Consistent Annotation Specifications
Before annotating, the semantics of each field should be clarified. For example, does “target point” refer to the object center, a contactable position, or the placement position required by the task? If different annotators have different understandings, the model will learn conflicting supervision signals.
It is recommended to record:
- The correspondence between instructions and target objects;
- Target regions and operation keypoints;
- Visibility, degree of occlusion, and ambiguity;
- Image size and coordinate representation;
- The state when the target cannot be reliably determined.
For tasks with multiple valid grasping positions, feasible regions or multiple candidate points can be annotated instead of forcibly specifying a single answer.
2. Add Genuinely Valuable Hard Samples
The training set should cover similar objects side-by-side, partial occlusions, reflective surfaces, complex backgrounds, different scales, and instructions requiring relational judgment.
Samples with “target does not exist” or “description insufficient to determine target” should also be included to train the model to reject unreliable localization. One of the most dangerous behaviors for a robotic system is outputting a seemingly precise coordinate when lacking evidence.
3. Keep Image Augmentation and Spatial Labels Consistent
Cropping, rotating, and scaling can expand the training distribution, but keypoints, bounding boxes, and segmentation labels must be transformed synchronously. Otherwise, augmentation operations will directly create erroneous supervision.
Color jittering also needs to be used cautiously. If the task relies on color to distinguish objects, changing colors necessitates checking whether the instruction still holds true.
4. Prevent Information Leakage Between Training and Testing
When splitting data, isolation should be done by scene, object instance, collection batch, or task condition as much as possible, rather than randomly splitting highly similar continuous images.
Otherwise, the model might just memorize the background and arrangement, while the evaluation results are mistakenly interpreted as cross-scene generalization capability.
6. Evaluation Must Distinguish Between “Seeing Accurately” and “Doing Successfully”
A complete evaluation should include at least three layers.
The first layer is visual localization evaluation. Keypoint distance errors, region overlap, target selection accuracy, and performance under different occlusion and scale conditions can be calculated. Keypoint distance should ideally provide both pixel error and error normalized by target size.
The second layer is geometry and planning evaluation. Focus on checking 3D position errors, whether grasp candidates are reachable, whether placement results meet boundary constraints, and whether the path has collision risks.
The third layer is real execution evaluation. Results such as grasp success rate, placement success rate, task completion time, number of retries, and object damage need to be recorded.
When comparing different models, input images, instructions, downstream planners, and control strategies should be fixed. If a system uses a better depth sensor or additional manual rules, all gains cannot be attributed to the model itself.
Additionally, failure types should be reported. Two models with similar average scores might respectively suffer from “occasionally selecting the wrong target” and “small but stable position offset,” which require completely different fixing strategies.
7. Building a Recoverable Execution Closed-Loop
Engineering deployment cannot treat model outputs directly as final actions. A more reasonable process is:
Observe Scene → Predict Targets and Candidate Grasp Points → Validate Geometric Constraints → Plan and Execute → Re-observe → Judge Results.
Before execution, it should be verified whether the coordinates exceed the image range, whether the depth is valid, whether the target enters the robot arm’s workspace, and whether the approach path is safe.
If the model outputs a confidence score, this value cannot be directly treated as the success probability. Its relationship with the actual error rate should be checked through an independent validation set, and then rules for triggering re-verification or stopping execution should be determined.
After execution, visual, gripper status, and force feedback information can be combined to determine whether the object was successfully grasped, whether slipping occurred, and whether the placement position is correct. Upon detecting an anomaly, the system should re-localize or enter a safe recovery process rather than mechanically repeating the previous command.
For development teams, it is recommended to first validate the entire chain in low-risk scenarios with less object variation, and then gradually expand to occlusion, mixed placement, and flexible object tasks. Offline inference, shadow evaluation, and controlled real-machine testing should be basic steps before going live.
8. Conclusion: Capability Improvement Comes from a Complete System, Not a Single Metric
Visual localization is a crucial foundation for robotic manipulation, but it is not a sufficient condition for operational success. The model must translate target descriptions in language into reliable spatial information, the geometry module must correctly handle coordinates and constraints, and the control system must correct execution errors through feedback.
For mid-scale models, the direction worth prioritizing is not blindly expanding repetitive data, but improving task-related annotations, filling in hard scenarios, establishing reproducible evaluations, and integrating perception results into safe closed-loop control.
When these links can be measured, diagnosed, and improved independently, the team has the basis to determine whether the precision improvement comes from better localization, more reliable geometric processing, or more effective execution feedback. This technical route is closer to the stability and availability truly needed by robotic systems than simply pursuing parameter scale or isolated benchmark scores.
