Global Search with Bernoulli Alternation Kernel for Task-oriented Grasping Informed by Simulation

Rika Antonova, Mia Kokic, Johannes A. Stork, Danica Kragic

Introduction

Task-oriented grasping (TOG) is a fundamental challenge in robotics, requiring agents to manipulate objects in specific ways to facilitate subsequent actions—such as grasping a tool by its handle to use it or by its head to hand it over. While simulation provides a safe and scalable environment for training TOG models, the "reality gap"—discrepancies in friction, mass distribution, and sensor noise—often renders simulation-trained policies ineffective in the real world. This paper presents a novel Bayesian Optimization (BO) framework that leverages simulation-informed priors while maintaining the robustness necessary to overcome inaccuracies in those priors.

Methodology

The proposed system bridges the gap between offline simulation and online real-world adaptation through a two-stage pipeline.

Task-Oriented Grasp (TOG) CNN

First, a 3D Convolutional Neural Network (CNN) is trained on a large-scale simulated dataset. The network processes a voxelized 3D mesh of an object and a proposed grasp configuration to predict a task suitability score ($\zeta$) and three distinct grasp stability scores ($\xi_1, \xi_2, \xi_3$). This multi-faceted output provides a more informative landscape for optimization than a single binary success label.

Bayesian Optimization with Bernoulli Alternation Kernel (BO-BAK)

The core of the approach is the Bernoulli Alternation Kernel (BO-BAK). Standard BO often struggles when prior knowledge is inaccurate; an "informed" kernel $k_\phi$ based on a flawed simulation can trap the search in sub-optimal regions. BO-BAK addresses this by alternating between a standard, uninformed Squared Exponential kernel ($k_{SE}$) and the simulation-informed kernel ($k_\phi$).

System architecture overview showing the vision-to-control pipeline.

At each iteration, the algorithm flips a biased coin (Bernoulli trial). With a 50% probability, it uses $k_{SE}$ to ensure global exploration, and with 50% probability, it uses $k_\phi$ to exploit simulation-guided insights. Data from both types of trials update a shared Gaussian Process posterior, allowing the robot to rapidly refine its strategy in the real world.

Key Insights and Ideas

A central finding of this work is that alternating kernels is superior to blending them. Simply summing kernels ($k_{SE} + k_\phi$) allows a highly inaccurate simulation to bias the entire optimization process. By strictly alternating, BO-BAK guarantees that half of the exploration is free from simulation bias, enabling the system to "recover" from local minima caused by the reality gap.

Furthermore, the use of multiple stability metrics provides a significantly richer signal for the BO algorithm. Instead of a sparse "success/fail" reward, the CNN predicts nuanced physical properties of the grasp, creating a smoother and more searchable objective function.

Visualization of task suitability and multiple stability scores predicted by the CNN.

Evaluation and Results

The framework was evaluated on both synthetic benchmarks and real-world hardware.

  • Synthetic Benchmarks: On complex 10D functions like Ackley and Rastrigin, BO-BAK outperformed both purely uninformed and purely informed BO, demonstrating superior global search capabilities and avoiding stagnation.
  • Hardware Experiments: Using an ABB Yumi robot, the system was tested on the Everyday Objects Dataset (EOD). While top-rated grasps from simulation often failed due to unmodeled tabletop collisions or physics discrepancies, BO-BAK consistently found successful, task-compliant grasps within 4 to 5 real-world attempts. For instance, in a constrained "spatula handover" task where the handle must remain clear, the robot successfully adapted and found a valid grasp by the 4th trial, even when the top 20 simulation-predicted grasps were unsuccessful.

Conclusion

BO-BAK provides a robust mechanism for integrating simulation-based learning into real-world robotic tasks. By treating simulation as a guide rather than an absolute truth, the Bernoulli Alternation Kernel allows robots to exploit prior knowledge while maintaining the flexibility to explore and correct for the reality gap. Future work will focus on extending this approach to cluttered environments and providing formal theoretical guarantees for the alternation strategy.

Summary updated

BibTeX
@inproceedings{antonova2018global,
  author = {Rika Antonova and Mia Kokic and Johannes A. Stork and Danica Kragic},
  title = {{Global Search with Bernoulli Alternation Kernel for Task-oriented Grasping Informed by Simulation}},
  booktitle = {Conference on Robot Learning},
  year = {2018},
}
Figure