A Physics-Informed Demonstration-Guided Learning Framework for Granular Material Manipulation

Minglun Wei, Xintong Yang, Yu‐Kun Lai, Seyed Amir Tafrishi, Ze Ji

TL;DR

This paper introduces a novel physics-informed learning framework for robots to manipulate granular materials, like sand or sugar. By combining a differentiable physics simulator with automatically generated demonstrations, their approach overcomes the instability and data-intensive challenges of previous methods, enabling robust and efficient granular material handling in both simulation and the real world.

What Problem Does This Paper Address?

Manipulating granular materials (e.g., pouring flour, scooping sugar) is a common task for humans but a significant challenge for robots. This difficulty stems from the complex, non-linear, and often unpredictable physical properties of granular matter, which arise from the interactions of countless individual particles. Traditional robot learning approaches either ignore these physical properties, leading to brittle policies, or rely on computationally expensive surrogate models. Learning directly from physical information is desirable but hampered by the inherent instability of gradients when simulating granular materials, making direct optimization infeasible. This paper aims to bridge this gap by developing a method that leverages precise physical simulation to learn robust granular manipulation skills without requiring extensive real-world data collection or complex manual demonstrations.

Methods

The core of the proposed framework is a differentiable physics-based simulator built using the Taichi programming language. This simulator employs the Moving Least Squares Material Point Method (MLS-MPM) with the Drucker-Prager (DP) yield criterion to accurately model the complex behaviors of granular materials. A key innovation is the automatic demonstration generation module. Instead of relying on human demonstrations, this module generates "expert" trajectories by performing gradient-based optimization on simpler, non-granular materials (like fluids) within the differentiable simulator. The resulting fluid trajectories, which are more stable to optimize, are then used as demonstrations to train a demonstration-guided reinforcement learning (RL) module. This RL module, based on the Soft Actor-Critic (SAC) algorithm, is augmented with a dedicated replay buffer for demonstrations, allowing it to learn from both expert examples and its own exploration. For complex, multi-stage tasks, a skill-chaining approach is used, where policies for individual sub-tasks are learned and then seamlessly connected.

Datasets

The paper does not explicitly mention pre-existing datasets for training or evaluation. Instead, the framework relies on:

  • Simulated data: Generated by the authors' differentiable MLS-MPM simulator. This includes both fluid-based trajectories for demonstration generation and granular material simulations for RL training.
  • Real-world data: Used for validation of the trained policies on a physical robot.

The authors highlight that their approach eliminates the need for costly data collection and model training of prior methods, implying that their framework generates its own training data through simulation.

Key Insights and Ideas

  • Leveraging fluid dynamics for granular manipulation: The idea of using stable gradient-based optimization on fluid dynamics to generate demonstrations for the more unstable granular material manipulation is a clever workaround for gradient instability.
  • Differentiable simulation as a powerful tool: The use of Taichi's AutoDiff capabilities to create a fully differentiable physics simulator is crucial for enabling gradient-based optimization, even if indirectly through demonstration generation.
  • Skill chaining for long-horizon tasks: Decomposing complex manipulation tasks into simpler sub-tasks and chaining their learned policies is an effective strategy for tackling long-horizon problems that are challenging for standard RL.
  • Importance of physical information: The ablation studies strongly suggest that incorporating both particle position and velocity information is critical for robust granular manipulation, underscoring the value of physics-informed learning.

Key Results

  • The proposed framework successfully trains robust policies capable of executing complex granular material transportation tasks (scooping, translating, pouring) in both simulated and real-world environments.
  • The method outperforms standard RL algorithms (PPO, SAC, DDPG, TD3), imitation learning methods (BC, GAIL), and a prior GNN-based granular manipulation approach [11] in terms of task completion scores.
  • The automatically generated demonstrations significantly accelerate the learning process, requiring only 50-150 episodes for demonstration generation and RL training.
  • The framework demonstrates robustness to variations in granular material properties (stiffness, compressibility, friction), maintaining effective performance.
  • Real-world experiments with a Kuka robot successfully transferred learned policies for tasks involving salt, sugar, and flour.

Limitations and Future Work

  • Gradient instability in granular simulation: While the paper proposes a solution through demonstration generation, the inherent gradient instability in granular material simulation remains a fundamental challenge that the framework circumvents rather than directly solves.
  • Limited scope of current tasks: The current study focuses on four kitchen-related tasks. The authors express interest in expanding the framework to broader application scenarios like gardening and beach environments.
  • Potential for further RL algorithm integration: The paper notes that their framework is not bound to a specific RL backbone (like SAC) and can generalize across learning frameworks, suggesting future work could explore other RL algorithms.
  • Exploration of more complex material behaviors: While the framework handles varying material properties, future work could explore even more complex phenomena like cohesion and adhesion in greater detail.

Summary updated

BibTeX
@article{wei2025physics,
  author = {Minglun Wei and Xintong Yang and Yu‐Kun Lai and Seyed Amir Tafrishi and Ze Ji},
  title = {{A Physics-Informed Demonstration-Guided Learning Framework for Granular Material Manipulation}},
  journal = {IEEE Transactions on Neural Networks and Learning Systems},
  year = {2025},
  doi = {10.1109/tnnls.2025.3622482},
}
Figure