Material-Agnostic Shaping of Granular Materials with Optimal Transport

Nikhilesh Alatur, Olov Andersson, Roland Siegwart, Lionel Ott

Abstract

Manipulating granular materials—such as sand, gravel, or wood chips—presents a significant challenge for robotics due to the complex, near-infinite degrees of freedom and varying internal dynamics of the grains. Traditional approaches rely on computationally expensive simulations or material-specific learning models that often fail to generalize. This paper discusses a novel robotic planner developed by researchers at ETH Zurich that leverages Optimal Transport (OT) theory to achieve material-agnostic shaping. By treating material piles as probability distributions, the system calculates efficient mass-redistribution plans and executes them via a reactive "Next-Best-Sweep" heuristic. Experiments in both simulation and real-world hardware demonstrate that this approach effectively shapes diverse materials without requiring prior knowledge of their physical properties.

Introduction

The manipulation of granular materials is a "grand challenge" in the field of robotics. Unlike rigid bodies, granular substances exhibit behaviors that shift based on grain size, friction, moisture, and density. Current methodologies generally fall into two categories: high-fidelity Discrete Element Method (DEM) simulations, which are too slow for real-time planning, and learning-based models, which often struggle to generalize across different material types.

To bridge this gap, a higher-level planning layer is required—one that can reason about the macroscopic movement of mass rather than the microscopic interactions of individual grains. The proposed framework utilizes Optimal Transport to provide a robust, material-agnostic solution for shaping granular matter into target distributions.

Methodology

Height Map Representation

The system perceives the workspace through an Eulerian lens, representing the environment as a 2D grid height map. Each cell in the grid stores the height of the material at that specific location, allowing the robot to treat the volume as a continuous distribution.

Optimal Transport and Earth Mover’s Distance

The core innovation lies in treating the normalized height map as a probability distribution. By applying Optimal Transport theory, the researchers calculate the Earth Mover’s Distance (EMD) between the current material state and the target shape. This calculation yields an "optimal transport map"—a mathematical blueprint indicating how mass should be redistributed to reach the target state with minimal effort.

The Next-Best-Sweep Planner

While the OT map provides a theoretical ideal for mass movement, a physical robot equipped with a spatula cannot move infinitesimal amounts of mass in arbitrary directions. To translate theory into action, the authors developed a "Next-Best-Sweep" planner. This heuristic-based system samples potential straight-line sweeps and scores them based on their alignment with the OT transport map. The scoring function specifically includes a penalty for "overshooting" to prevent the robot from displacing material that has already reached its target destination.

Reactive Feedback Loop

Rather than relying on a long-horizon sequence of moves that would necessitate a complex physics model, the system operates in a closed-loop. The robot performs a single "next-best" sweep, re-scans the pile to update the height map, and recalculates the next move. This reactive approach allows the system to naturally correct for errors and adapt to the specific flow characteristics of different materials in real-time.

Experimental Validation

Simulation

The method was validated using Nvidia’s Isaac simulator with Position-Based Dynamics. The planner was tested against five initial distributions (including single and multiple blobs, Gaussian, and Uniform distributions) to evaluate its versatility in gathering and separating material.

Real-World Hardware

Experiments were conducted using a Franka-Emika Panda robot. To test material agnosticism, the researchers utilized three distinct materials:

  • Gravel: Rounded and relatively uniform.
  • Grit: Sharp, jagged stones.
  • Wood Chips: Large, irregular, and lightweight.

Results and Discussion

The proposed method was compared against two baselines: MAX-OT (a naive application of OT) and DIFF-MAP (a heuristic based on simple height differences).

  • Performance: In simulation, the framework consistently achieved the lowest EMD error and the highest Intersection over Union (IoU) across all tasks. It demonstrated significantly faster convergence and lower variance than the baselines.
  • Hardware Success: The system successfully performed complex tasks on physical hardware, such as "writing" the letters E, T, and H using grit stones and performing separation tasks across all three material types. Notably, no parameter tuning was required when switching between gravel, grit, and wood chips.

Limitations

While robust, the current system assumes materials are incompressible and have low cohesion, meaning it may struggle with substances like wet clay. Additionally, the planner currently requires a clear, top-down view of the workspace and is limited to planar, obstacle-free environments.

Conclusion

By abstracting away micro-physics in favor of macroscopic geometric goals, this Optimal Transport-based planner provides a powerful tool for granular material manipulation. The transition from abstract mathematical theory to a reactive physical heuristic allows for a truly material-agnostic system capable of handling the unpredictable nature of granular flow. Future work will look toward extending these principles to 3D volumes and more complex robotic primitives such as digging and scooping.

Summary updated

BibTeX
@inproceedings{alatur2023material,
  author = {Nikhilesh Alatur and Olov Andersson and Roland Siegwart and Lionel Ott},
  title = {{Material-Agnostic Shaping of Granular Materials with Optimal Transport}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10342505},
}
Figure