Research
Flip Anything with Agentic Robotics Self-Learning
Flipping an object over — rotating it 180° about an axis parallel to the table so it lands in a stable pose, like turning a coin from heads to tails — is a common industrial need but a hard one to…

- arXiv
- 2611.11941 · Preprint · not peer-reviewed
- Published
- 2026-11-09
- Authors
- Shuangyu Xie, Kaiyuan Chen, Ken Goldberg
In plain words
Flipping an object over — rotating it 180° about an axis parallel to the table so it lands in a stable pose, like turning a coin from heads to tails — is a common industrial need but a hard one to program, because different geometries demand fundamentally different strategies (a hammer needs a hand-to-hand handover, a wide multimeter needs coordinated pushing and toppling).
AI summary
Overview
Research area: Robotic manipulation — specifically bimanual dexterous manipulation and the emerging area of "agentic robotics," where a large-language-model coding agent writes and iteratively repairs robot control code rather than training a neural policy.
Technical level: Advanced. The paper assumes familiarity with physics simulation, URDF/CAD assets, graph-based policy representations, and sim-to-real transfer, although its central idea (an agent that rewrites its own robot program after watching it fail) is easy to state.
Scope (one sentence): A short benchmark and case study showing that a coding agent, given only a natural-language task description, 24 object CAD models, and a bimanual YAM arm URDF, can autonomously evolve an executable "graph-as-policy" program from 24.7% to 95.0% success on a 180° object-flipping task across 360 simulated evaluation episodes, with zero-shot transfer to three unseen real objects.
What This Paper Is About
Flipping an object over — rotating it 180° about an axis parallel to the table so it lands in a stable pose, like turning a coin from heads to tails — is a common industrial need but a hard one to program, because different geometries demand fundamentally different strategies (a hammer needs a hand-to-hand handover, a wide multimeter needs coordinated pushing and toppling). The authors ask whether a coding agent can discover that diversity on its own, without any human demonstrations, by repeatedly writing code, testing it in physics simulation, reading the failure traces, and revising.
Key Contributions
-
FlipAnything benchmark and case study. A 24-object, 360-episode evaluation suite (15 episodes per object, randomized object positions) for bimanual 180° flipping, built on RoboSimStudio, the Newton rigid-body simulator with a MuJoCo-based solver, and CoACD for convex decomposition of object meshes.
-
A demonstration that self-learning can happen in code rather than in weights. Using the Graph-as-Policy (GaP) harness with Claude Fable 5.1 as the coding agent, the authors produce 36 successive versions of an executable policy graph, each frozen before evaluation, where the learned artifact is conditional logic and control parameters rather than a trained network.
-
Emergent strategy diversity from a single policy. The final graph routes each RGB-D observation through plan selection into distinct strategy components — in-air bimanual handover, stand-and-topple, coordinated fingertip pushing, pre-flip repositioning, and guarded-contact grasping — rather than applying one grasp-and-rotate motion to every object.
-
Quantified improvement plus zero-shot sim-to-real transfer. Success rises from 24.7% (89/360) to 95.0% (342/360), and the simulation-learned code runs without object-specific tuning on three real objects never seen in simulation.
Main Findings
-
Self-learning drives a large performance gain. The initial handover-only controller succeeded on 24.7% (89/360) of episodes. Adding stand-and-topple and push-based flipping raised this to 80.6% (290/360). Further iterations refining grasp stability, geometric reasoning, contact handling, and recovery reached 95.0% (342/360) in the best tuned controller.
-
The agent discovered different strategies for different geometries. Long-handled objects like the claw hammer use an in-air bimanual handover (14/15). Compact objects like the lock nuts, where a second grasp is hard, use table-supported manipulation — standing the object on its edge then pushing it past its tipping point (15/15 on both lock nuts). Wide objects like multimeters are flipped by coordinated fingertip pushing with no stable grasp required (15/15).
-
Workspace constraints trigger repositioning. When a handover is infeasible, the graph first moves the object, as with tape measures (14/15) and pipe wrenches (13/15).
-
Thin objects were the hardest failure mode. Surgical scissors failed at 0/15 in earlier code versions and reached 13/15 in the final controller after the agent introduced guarded-contact grasping and slower rotation to prevent slippage.
-
Closed-loop recovery behaviors emerged. The final code includes in-hand pose correction, grip verification, and extra pushing when an object only partially flips.
-
The learned graph transfers zero-shot to unseen real objects. Without object-specific tuning: clamp 2/3 trials, blue tape 3/3 trials, foldable helix screwdriver 1/3 trials. The screwdriver trial shown in the paper's keyframes failed.
-
Grasp selection is genuinely perceptual. In the offline grasp-selection run over all 24 objects, everything is computed from camera height maps; the object mesh is never read.
Methodology in Plain English
The researchers handed a coding agent four things: an English description of the flipping task, CAD models of 24 objects, the robot model (bimanual YAM arms with grippers), and access to a physics simulator's execution context — spatial information and execution results. The agent then entered a loop:
- Write code. It produced an initial Graph-as-Policy program that attempted flipping via bimanual handover.
- Evaluate. Each frozen code version was run on all 24 objects with randomized object positions, 15 episodes each, 360 episodes total.
- Analyze. The agent examined success rates, execution traces, and a failure census covering infeasible grasps, lost contacts, failed handovers, and incorrect orientation estimates, along with per-object comparisons and targeted probes.
- Revise. It edited perception, grasp selection, motion primitives, strategy selection, and recovery logic, then re-evaluated to catch regressions.
The key design point: the diagnosis data feeds only the revision step, never the policy itself. The policy at runtime sees just RGB-D images and robot proprioception. The loop ran for 36 code versions. Unlike gradient-based policy training, no demonstrations were used and no neural policy was trained — the output is a program whose branching logic a human could read.
Why This Matters
Impact on research: The paper offers an alternative to the dominant pattern of training one visuomotor policy per task or per object. It suggests that for tasks requiring qualitatively different action modes across instances, structured, inspectable code that an agent can debug may be a better substrate than a monolithic learned policy — and that the "learning signal" can be failure traces rather than gradients or human demos.
Real-world applications (as motivated in the paper):
- Parts inspection, where a part must be flipped to expose its other face to a camera or sensor.
- Mechanical assembly, where components must be oriented correctly before mating.
- Tool use, where a grasped tool must be reoriented in hand.
- Extensions the paper does not claim but which its framing invites: sorting and bin-picking lines where arbitrary objects arrive in unknown orientations.
Industry relevance: Warehouses and manufacturing cells handle long-tail object sets where collecting demonstrations for every geometry is impractical. A workflow of "describe the task, supply CAD, let an agent self-tune in simulation, deploy" would cut engineering time versus hand-coding bimanual strategies. The three real-world objects tested — clamp, blue tape, foldable helix screwdriver — are ordinary shop-floor items, and the 3/3 and 2/3 results show the approach is not purely a simulation artifact, though the 1/3 screwdriver result is a clear caution.
Future Directions
- Generalization to unseen objects is explicitly deferred. The authors state they "will study generalization to unseen objects in future work," and the 1/3 screwdriver result shows this is the main open gap.
- Improving thin and small-object manipulation. The scissors went from 0/15 to 13/15 only after guarded-contact grasping and slower rotation were discovered; whether the agent can find such solutions faster, or without the same number of iterations, is unresolved.
- Scaling the benchmark. With 24 objects and 360 episodes per iteration, it is unknown how the approach behaves on much larger or more varied object sets, and whether strategy discovery saturates.
- Understanding when code beats learned policies. The paper does not compare graph-as-policy against a trained visuomotor or vision-language-action baseline on the same objects; such a comparison would clarify where structured code has an advantage and where it does not.
Target Audience
Robotics researchers working on manipulation, sim-to-real transfer, and LLM-based coding agents for robot control; industrial automation engineers facing high-mix, low-volume object handling; and students interested in an accessible case study of agentic self-improvement that produces inspectable, editable artifacts rather than opaque weights. Readers without a robotics background can follow the problem and results, but the method sections assume comfort with simulation tooling and policy representations.
Authors’ abstract
Flipping is a fundamental robotic manipulation skill that requires reorienting a target object in a stable pose on a planar support surface by rotating it 180$^\circ$ about an axis parallel to the support surface -- think of flipping a coin from heads to tails. Although flipping is a common objective in industrial tasks such as parts inspection, mechanical assembly, and tool use, coding a bimanual robot with grippers to flip diverse objects is a significant challenge. In…
The full abstract on arXivRelated papers
- A Controlled Study of Models, Skills, Feedback, and Curriculum in Agentic Robotics 2026-11-06 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- VABAR: A Variational Automation Benchmark for Agentic Robotics 2026-11-04 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- RoboSimStudio: An Interactive Toolkit for Human and Agent Rapid Real2Sim of Robot Manipulation Tasks 2026-10-13 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- KiRoSe: Using Kinematic Data for Efficient Segmentation of Robot Demonstrations 2026-10-22 · cs.RO · Also by Kaiyuan Chen, Ken Goldberg +1
- META-Robot: Self-Cognition and Capability Scaling in Agentic Robots 2026-10-30 · cs.RO · Key terms of the title in common