Deep Imitation Learning of Sequential Fabric Smoothing Policies

Daniel Seita, Aditya Ganapathi, Ryan Hoque, Minho Hwang, Edward Cen, Ajay Kumar Tanwani, Ashwin Balakrishna, Brijen Thananjeyan, Jeffrey Ichnowski, Nawid Jamali, Katsu Yamane, Soshi Iba, John F. Canny, Ken Goldberg

TL;DR

This paper introduces a deep imitation learning approach for fabric smoothing, using a simulated environment and an algorithmic supervisor to train policies that learn to pick and pull fabric to maximize coverage. Their method, trained with domain randomization and DAgger, successfully transfers to a physical surgical robot, demonstrating the effectiveness of learned policies and the benefit of depth sensing.

What Problem Does This Paper Address?

Manipulating deformable objects like fabric is notoriously challenging for robots due to their infinite-dimensional configuration spaces and complex dynamics. This paper focuses on the specific task of fabric smoothing – transforming a rumpled fabric into a flat, spread-out state that maximizes its coverage on a surface. This has applications ranging from household chores like bed-making to delicate tasks in surgery. Existing methods often rely on specific assumptions about fabric states (e.g., nearly flat) or require extensive physical robot interaction for training. The authors aim to develop a robust, data-efficient method for learning fabric smoothing policies that can generalize from simulation to the real world.

Methods

The core of the paper is a deep imitation learning framework. They train policies using Dataset Aggregation (DAgger), a technique that iteratively improves a policy by collecting data from the current policy's execution and having a supervisor label it.

Key components of their approach include:

  • Fabric Simulator: A custom, low-fidelity Finite Element Method (FEM) simulator is developed to generate large amounts of training data. This simulator models fabric as a grid of point masses connected by springs, incorporating structural, shear, and flexion constraints, along with damping and collision handling.
  • Algorithmic Supervisor: To generate training data without human intervention, they create an "oracle" supervisor that has access to the complete fabric state (all point positions). This supervisor can identify fabric corners and pull them towards their target positions on the fabric plane.
  • Deep Imitation Learning Policy: A convolutional neural network (CNN) takes RGB, depth (D), or combined RGBD images as input and outputs a 4D action vector: a pick point (x, y) and a pull direction (Δx, Δy).
  • Domain Randomization: To bridge the sim-to-real gap, they randomize various aspects of the simulated environment, including fabric color, lighting, and camera pose, to make the learned policies more robust to variations in real-world sensory input.
  • DAgger Pipeline: After an initial "behavior cloning" phase (training on the supervisor's offline data), DAgger is used to further refine the policy by having the agent execute its learned actions in simulation and receiving corrective labels from the supervisor for states encountered.

Datasets

  • Simulated Dataset: The authors generated a large dataset of fabric smoothing episodes within their custom FEM fabric simulator. This dataset includes three tiers of difficulty for initial fabric configurations.
  • Physical Dataset: 180 physical experiments were conducted using the da Vinci Research Kit (dVRK) surgical robot. These experiments involved training and evaluating policies on real fabric samples.

Key Insights and Ideas

  • Algorithmic Supervisor is Sufficient: The paper demonstrates that an algorithmic supervisor, with access to full state information, can generate enough high-quality data to train effective fabric smoothing policies, eliminating the need for human demonstrations.
  • Depth Sensing is Crucial for Harder Tasks: While RGB policies perform well, the addition of depth information (RGBD) significantly improves performance, especially on more challenging, highly rumpled fabric starting states. This suggests that depth provides critical geometric cues that color alone cannot capture.
  • Domain Randomization Bridges Sim-to-Real: The extensive use of domain randomization in simulation proved effective in transferring learned policies to the physical robot, highlighting its importance for real-world robotic manipulation tasks.
  • DAgger Improves Performance: The DAgger training strategy, which iteratively collects and labels data from the agent's own executions, leads to substantial improvements in final coverage compared to initial behavior cloning.

Key Results

  • Simulation Performance: Learned policies achieved comparable or superior performance to analytic baselines in simulation. DAgger improved final coverage by an average of 6.1% over behavior cloning. RGB policies generally outperformed D policies in simulation.
  • Physical Experiment Performance:
    • RGBD policies trained in simulation achieved coverage of 83% to 95% on the dVRK robot, depending on the difficulty tier.
  • On Tier 1 (easiest) starting states, both RGB and RGBD policies achieved 92% coverage in all 20 episodes.
  • For harder starting states (Tier 2 and 3), RGBD policies showed stronger performance, achieving higher final coverage and approaching the performance of the oracle supervisor.
  • The paper also highlights that depth-only policies sometimes struggled, particularly with uneven textures or when encountering states not well-represented in training.

Limitations and Future Work

  • Limitations:
    • The fabric simulator is described as "low fidelity" compared to more advanced simulators.
  • Depth-only policies sometimes performed counter-productively, especially on nearly smooth fabrics or when encountering states not seen during training. This was attributed to issues like uneven texture and ambiguity in corner selection.
  • The physical experiments were conducted on fabric of similar color to the training data; performance on significantly different colors (like yellow) showed a degradation for RGB policies.
  • Future Work:
    • Investigate fabric shapes and configurations where corner-pulling policies might struggle.
  • Apply state-of-the-art deep reinforcement learning methods using the simulation environment to learn richer policies that can reason over multiple time steps and varying geometries.
  • Explore model-based approaches for improved sample efficiency.
  • Utilize higher-fidelity fabric simulators.
  • Extend the method to other deformable object manipulation tasks like folding and wrapping.
  • Address ambiguity in corner selection by augmenting depth with RGB information or using mixture models.

Summary updated

Abstract

Sequential pulling policies to flatten and smooth fabrics have applications from surgery to manufacturing to home tasks such as bed making and folding clothes. Due to the complexity of fabric states and dynamics, we apply deep imitation learning to learn policies that, given color (RGB), depth (D), or combined color-depth (RGBD) images of a rectangular fabric sample, estimate pick points and pull vectors to spread the fabric to maximize coverage. To generate data, we develop a fabric simulator and an algorithmic supervisor that has access to complete state information. We train policies in simulation using domain randomization and dataset aggregation (DAgger) on three tiers of difficulty in the initial randomized configuration. We present results comparing five baseline policies to learned policies and report systematic comparisons of RGB vs D vs RGBD images as inputs. In simulation, learned policies achieve comparable or superior performance to analytic baselines. In 180 physical experiments with the da Vinci Research Kit (dVRK) surgical robot, RGBD policies trained in simulation attain coverage of 83% to 95% depending on difficulty tier, suggesting that effective fabric smoothing policies can be learned from an algorithmic supervisor and that depth sensing is a valuable addition to color alone. Supplementary material is available at https://sites.google.com/view/fabric-smoothing.
BibTeX
@inproceedings{seita2020deep,
  author = {Daniel Seita and Aditya Ganapathi and Ryan Hoque and Minho Hwang and Edward Cen and Ajay Kumar Tanwani and Ashwin Balakrishna and Brijen Thananjeyan and Jeffrey Ichnowski and Nawid Jamali and Katsu Yamane and Soshi Iba and John F. Canny and Ken Goldberg},
  title = {{Deep Imitation Learning of Sequential Fabric Smoothing Policies}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2020},
  doi = {10.1109/iros45743.2020.9341608},
}
Figure