Tabletop Robot Arm Evaluation and Closed-Loop Engineering

    Reliable tabletop manipulation requires more than successful grasps. This article explains how to evaluate complete tasks, structure task-level programs above a safety-constrained motion layer, verify perception and state, and implement bounded recovery. It also outlines reproducible experiments and an improvement sequence focused on closed-loop execution rather than model size alone.

    Tabletop robot manipulation is often treated as an entry point for embodied AI: the workspace is limited, object types are controlled, and failures are relatively easy to observe. What separates systems, however, is usually not whether they can move an object, but how many tasks in a suite of roughly eight composite skills they can complete from initial setup to a stable final state.

    A common evaluation outcome is partial credit on tasks such as shape sorting because grasping or alignment fails midway. An improved system may complete the same task end to end. The score captures the result; the engineering question is whether the execution loop is genuinely closed.

    What Does the Evaluation Measure?

    A tabletop manipulation evaluation should first define three things: the initial-state distribution, the success criteria, and the permitted human intervention.

    If a person places objects in ideal poses before every run, a high score says little about performance outside that setup. Success criteria should use verifiable geometric or logical conditions—for example, a block must sit fully inside its matching slot without knocking over adjacent blocks—not simply “it looks inserted.”

    Partial credit should correspond to interpretable subgoals: successful localization, successful grasping, transport without dropping the object, or an insertion attempt that remains incomplete. Full credit should be awarded only when all subgoals are satisfied in sequence and the final state is stable.

    When one version partially completes a task and another finishes it, a few additional prompt instructions rarely provide a sufficient explanation. More likely contributors include:

    • Lower variance in visual pose estimates.
    • Grasp points that no longer sit near object edges.
    • Insertion changed from an open-loop action to staged force- or position-feedback control.
    • Recovery and retry behavior instead of immediate shutdown after failure.

    Separating these factors is more useful than reporting a single aggregate score.

    Evaluation must also distinguish capability from luck. Use a fixed set of random seeds and a defined number of scene variants for each task, then report mean performance, a lower-tail performance quantile, and the proportion of each failure category. A single demonstration video cannot establish whether a system reliably completes six tasks or happened to complete six out of eight once.

    Task Decomposition: Completing a Shape-Sorting Task

    Consider placing blocks into slots that match their shapes. A complete operation includes at least six stages:

    1. Scene understanding: Distinguish blocks from slots while handling background reflections and occlusion.
    2. Target assignment: Assign each block to exactly one empty slot, avoiding duplicate assignments.
    3. Grasping: Choose an approach direction, gripper motion, and contact points that make the resulting object pose predictable.
    4. Transport: Avoid objects already placed and reduce speed near the slot opening.
    5. Insertion and release: Account for tight slot tolerances; an open-loop descent can leave the block caught on an edge.
    6. Verification: Use vision or a simple height check to confirm that the block has settled before moving to the next one.

    Systems that earn partial credit often fail between transport and insertion. The object is successfully lifted, but alignment error exceeds the slot tolerance, or the gripper releases too early.

    When an improved system completes the entire task, it indicates that errors are handled at stages where they can still be corrected rather than accumulated into one final open-loop motion.

    Other tabletop skills—pushing, flicking, pouring, opening lids, stacking, and tool use—can follow the same decomposition template. Rather than inventing a separate, incomparable success narrative for every skill, use a common subgoal-logging framework.

    Why Task-Level Programs Are More Reliable Than Direct Joint-Angle Output

    Asking an AI coding tool or large language model to generate joint-angle sequences directly produces trajectories that are difficult to interpret and constrain safely.

    A more robust approach is to let the model generate only a task-level program while kinematics, collision detection, and velocity constraints remain in the execution layer. The program describes an operation such as:

    “Grasp object A, move above slot B, descend slowly along the vertical axis until contact or a depth threshold is reached, then open the gripper.”

    The execution layer handles interpolation, singularity avoidance, and emergency stopping.

    The following pseudocode illustrates the control hierarchy; it is not an interface for a specific platform:

    1. observe -> bind_targets -> plan_skill_sequence
    2. for skill in sequence:
    3. precheck_workspace_and_gripper()
    4. execute_via_motion_layer(skill, speed_limit, collision_map)
    5. verify_postcondition()
    6. if failed and retries_left: recover_to_known_pose()
    7. else: abort_and_log()

    This separation allows the motion layer to reject travel-limit violations, excessive speeds, and obvious collisions even when the model makes a mistake. The model handles semantics and sequencing, not millisecond-level servo control.

    Perception and State: Prerequisites for Complete Tasks

    Tabletop scenes look simple, but several concentrated sources of error can dominate performance.

    • Calibration: A camera-to-robot-base extrinsic calibration drift of a few millimeters can cause systematic insertion failures. Perform calibration with a fixed calibration board before each experiment and record the residual error.
    • Object representation: Shape sorting depends on contours or keypoints. Reflections, similarly colored backgrounds, and toppled blocks can cause a 2D detector to confuse “graspable” with “aligned.”
    • Occlusion and multiple objects: Prioritize objects with a large exposed area that can be grasped without disturbing neighbors. Do not blindly follow descending detection confidence.
    • Post-grasp state: An object may rotate between the fingertips. Aligning it with a slot using its pre-grasp pose then introduces downstream error. A short-range observation after grasping, or a size estimate from gripper opening width, is often more useful than another round of language-model tuning.

    State estimation does not require a perfect reconstruction. It does need to answer three questions: Is the object in the gripper? Is the slot empty? Did the previous action change the scene?

    If the system cannot answer those questions, it should not continue executing open-loop actions.

    Failure Categories and Recovery Strategies

    Recording failures as explicit categories supports iteration better than labeling every problem “the model failed.”

    • Perception failure: Missed detections, incorrect target assignments, or abrupt pose-estimate changes. Recover by observing again, not by increasing movement speed.
    • Grasp failure: Empty grasps, slipping, or deformation caused by excessive clamping. Return to an observation pose and change the approach direction or grasp point.
    • Transport collision: A path ignores objects already placed. Update the occupancy map and replan. If necessary, move an obstacle to a safe area; if the task prohibits that, record a failure.
    • Insertion failure: Edge catching, tilted insertion, or an object bouncing out after release. Lift slightly, shift laterally, and retry within a fixed attempt limit to avoid scraping or damaging the slot.
    • Sequencing error: An earlier action blocks the only access path. Recovery depends on whether the task permits undoing prior actions. If not, record a strategy failure.

    Recovery itself must be evaluated. Unlimited retries can turn a failed attempt into an eventual success and overstate capability. Define a retry limit and total time limit for each task, and specify whether human resetting counts as failure.

    Safety and Workspace Constraints

    A tabletop robot arm can still pinch cables, hit travel limits, or push objects off the table. Before deployment, implement at least the following safeguards:

    • Joint-space and Cartesian velocity and acceleration limits, with further speed reduction near the tabletop and slot openings.
    • A workspace bounding box that rejects any planned point outside its limits.
    • Emergency stopping and communication timeouts. If the control cycle is interrupted, engage the brake or stop at the current position rather than continuing along the last command.
    • Gripper force limits so that crushing a thin-walled object cannot still count as a successful grasp.
    • Operating procedures that keep personnel outside the robot’s motion envelope. Evaluation can be automated, but debugging requires supervision.

    These constraints belong to motion control and experimental safety. A generative program should not decide them for itself.

    Designing Reproducible Experiments

    For each evaluation, fix the object set, slot board, lighting, tabletop texture, camera resolution, and robot kinematic parameters. Generic hardware classes are sufficient; the evaluation does not need to be tied to a particular brand.

    Record random seeds, photographs of initial placements, timestamps for each subgoal, and failure categories.

    When comparing two strategies, change only one factor—for example, the task program’s alignment strategy or the perception model. Do not simultaneously replace the gripper, lighting, and prompt. Otherwise, it becomes impossible to explain why complete-task success increased from a minority of tasks to a majority.

    The regression set should include previous failures, not just visually appealing starting configurations. For shape sorting, it should cover at least:

    • Toppled blocks.
    • Two blocks placed close together.
    • Partially occluded slots.
    • Target slots near the edge of the arm’s reach.

    An improvement limited to centered, unobstructed scenes does not demonstrate transfer to more challenging conditions.

    Data and logs can be stored in general-purpose object storage. Monitoring and alerts can track timeouts and collision counts, while version control preserves experiment configurations.

    If a team already uses object storage, logging, and monitoring services on Baidu AI Cloud, treat those services as infrastructure for storing and observing experimental assets. Do not present evaluation results as performance guarantees for a cloud product.

    Improvement Priorities: Close the Loop Before Changing the Model

    A practical order of investment is:

    1. Convert success criteria and partial-credit rules into automated checks to reduce disagreements in manual scoring.
    2. Establish calibration, occupancy mapping, speed limits, and timeout-triggered stopping.
    3. Give every skill an explicit postcondition and a recovery path to a known pose.
    4. Then adjust task programs or perception models, targeting tight-tolerance stages such as insertion and stacking.
    5. Track complete-task success on a fixed regression set rather than grasp success alone.

    High grasp success combined with low complete-task success points to error accumulation later in the sequence. In that situation, switching to a larger generative model often helps less than making the final two centimeters slow, verifiable, and closed-loop.

    Common Gaps in Team Collaboration

    When algorithms, control, and experiment records belong to different people, the detail most easily lost is what the scene looked like at the time of failure.

    Without initial photographs and joint logs, a team cannot reliably distinguish perception drift from a trajectory that struck an adjacent block. Automatically save the following for every failure:

    • A front-view image.
    • A crop around the gripper center.
    • The planned path.
    • Deviations of the actual trajectory from the planned path.
    • The gripper-width trace.

    During review, agree on the failure category before deciding whether to change the model, parameters, or task rules.

    Also avoid inferring general capability from demonstration tasks. Completing six of eight tabletop tasks establishes that the strategy worked under that distribution and those hardware tolerances. Changes in gripper stroke, slot tolerance, or lighting should be treated as a new evaluation, not as conditions that automatically inherit the previous result.

    Conclusion

    High scores in tabletop robot manipulation should reflect verifiable completion of entire tasks, not isolated grasps or unreproducible demonstrations.

    Shape sorting connects perception error, grasp uncertainty, and insertion tolerance in one sequence, making it especially useful for exposing the difference between partial completion and a complete closed loop.

    Separating semantic task programs from a safety-constrained motion layer—and using subgoals, bounded retries, and failure categories to guide iteration—turns evaluation into a tool for improving the system rather than a one-off headline number.