Simulation-based Bayesian inference for robotic grasping

Norman Marlier, Olivier Brüls, Gilles Louppe

TL;DR

Robotic grasping under real-world uncertainty is notoriously hard due to nonsmooth contact physics and noisy sensor data. This paper reframes 6-DoF grasp synthesis as an amortized, simulation-based Bayesian inference problem, estimating the likelihood-to-evidence ratio with deep neural networks and finding the maximum a posteriori (MAP) grasp pose via Riemannian optimization on $\mathbb{R}^3 \times S^3$. The resulting system achieves a ~91% grasp success rate in simulation and transfers directly to a physical UR5 manipulator with a 90% success rate without fine-tuning.

What Problem Does This Paper Address?

Planning reliable 6-DoF grasps for unknown objects is difficult because contact dynamics are discontinuous (nonsmooth), friction coefficients are uncertain, and depth cameras produce noisy point clouds. While classical methods often rely on analytical approximations or simplified likelihood surrogates, full forward physical simulators (like PyBullet) can accurately simulate contacts, friction, and sensor noise. However, these simulators produce an implicit likelihood function: you can easily sample forward outcomes, but you cannot evaluate or backpropagate through the probability density $p(\text{success} \mid \text{grasp pose}, \text{sensor data})$.

Methods

The authors frame grasping as finding the Maximum A Posteriori (MAP) hand configuration $h^* = \arg\max_h p(h \mid S=1, V)$ given a successful grasp ($S=1$) and a Truncated Signed Distance Function (TSDF) voxel grid $V$:

  1. Amortized Neural Ratio Estimation (NRE): Instead of tractable likelihoods or slow non-amortized sampling like Approximate Bayesian Computation (ABC), they train a neural classifier $d_\phi$ to distinguish between joint samples $(S, h, V) \sim p(S, h \mid V)$ and marginal samples $(S, h, V) \sim p(S \mid V)p(h \mid V)$. The classifier's output directly approximates the intractable likelihood-to-evidence ratio: $$\hat{r}(S \mid h, V) = \frac{d_\phi(S, h, V)}{1 - d_\phi(S, h, V)}$$ An ensemble of four neural networks is used to obtain well-calibrated, conservative posteriors.

  2. Informed Priors:

  3. Position: Uniformly distributed over the object's axis-aligned bounding box.
  4. Orientation: Formulated on the quaternion 3-sphere $S^3$ using a mixture of 20 antipodally symmetric power-spherical distributions encoding viable top-down and side approaches.
  5. Riemannian Manifold Optimization: Standard Euclidean gradient descent on rotation representations causes singularities or gimbal lock. The authors compute analytic prior gradients and backpropagate ratio gradients, projecting the Euclidean gradient onto the Riemannian tangent space of $\mathcal{M} = \mathbb{R}^3 \times S^3$ before applying an exponential map update step: $$h_{k+1} = \exp_{h_k}(-\alpha_k \operatorname{grad} f(h_k))$$

Datasets

  • Simulation: Generated using the PyBullet physics engine using the 3D object CAD asset library from the Volumetric Grasping Network (VGN). Heavy domain randomization was applied to object placement, table pose, finger torque, lateral friction ($\mu \sim \mathcal{U}(1, 2)$), spinning friction, and camera depth noise.
  • Physical Robot: Evaluated on 10 tabletop objects (household items like boxes, cans, and bottles; a mix of seen and novel geometries) using an Intel RealSense D435i depth camera.

Key Insights and Ideas

  • Simulation-Based Inference (SBI) for Robotics: Rather than simplifying physics to make likelihoods tractable, SBI leverages high-fidelity stochastic simulators as generative models, learning a neural likelihood ratio offline that can be evaluated in seconds online.
  • Why Bayesian Priors Matter: The Bayesian MAP formulation outperformed Maximum Likelihood Estimation (MLE). A weakly informative prior over valid approach directions (e.g., top-down and orthogonal side approaches) regularizes optimization away from physically awkward configurations that brittle classifiers might otherwise assign high success probabilities to.
  • Geometric Consistency: Treating hand orientation natively on $S^3$ via Riemannian gradient descent avoids the topological artifacts and singularities inherent to Euler angles.

Key Results

  • Simulation Success Rate: The proposed MAP approach achieved a ~91% grasping and lifting success rate, outperforming the MLE baseline (87.3%).
  • Zero-Shot Real Robot Transfer: Tested over 100 physical trials using a 6-DoF UR5 arm equipped with a Robotiq 3-finger gripper, the model achieved a 90% grasp success rate without any real-world fine-tuning.
  • Multi-Modal Adaptability: The learned posterior captured multiple grasp modes (e.g., top-down vs. side grasps). When a motion planner failed to reach a specific grasp trajectory, the system could switch to an alternative high-probability mode.

Limitations and Future Work

  • Single-Object Tabletop Limitation: Experiments were limited to isolated rigid objects on a clear tabletop; the framework has not yet been validated in dense clutter.
  • Failure Modes: Around half of all failure cases stemmed from path planning/inverse kinematics failures rather than incorrect grasp predictions (the remaining half were due to finger slippage).
  • Future Directions: The authors plan to scale the method to multi-object cluttered environments and improve trajectory planning integration.

Summary updated

BibTeX
@inproceedings{marlier2022simulation,
  author = {Norman Marlier and Olivier Brüls and Gilles Louppe},
  title = {{Simulation-based Bayesian inference for robotic grasping}},
  booktitle = {PRDL @ IROS},
  year = {2022},
  url = {https://openreview.net/forum?id=q7vnfJK4UBo},
}
Figure