A Virtual Reality Framework for Human-Robot Collaboration in Cloth Folding

Marco Moletta, Maciej K. Wozniak, Michael C. Welle, Danica Kragic

This paper, recently published by researchers at KTH Royal Institute of Technology, introduces a novel approach to one of the most stubborn challenges in robotics: manipulating deformable objects. Specifically, it tackles the task of cloth folding through a Virtual Reality (VR) framework designed for intuitive human-robot collaboration.

TL;DR

The authors present a VR framework that uses "skeleton" graph representations of garments to allow humans to easily teach robots folding plans. By defining these plans on a generalized skeleton rather than raw pixels, the system can automatically replicate folding actions on new, unseen items of the same class with minimal human intervention.

What Problem Does This Paper Address?

Robotic cloth manipulation is notoriously difficult because garments have effectively infinite degrees of freedom. They wrinkle, stretch, and self-occlude, making it hard for a robot to "know" where a sleeve ends or how high to lift a corner to achieve a neat fold.

While deep learning offers a path forward, it requires massive amounts of labeled data, which is expensive and time-consuming to collect for complex manipulation tasks. Furthermore, traditional 2D screen interfaces for teleoperation are often unintuitive for humans. There is a clear need for a system that allows a human to quickly demonstrate a task once and have the robot generalize that knowledge to similar objects.

Methods

The core of this framework is the skeleton representation. Instead of treating a garment as a collection of RGB pixels, the system extracts a graph where nodes represent key points (like shoulders, hems, or waistbands) and edges represent the garment's structure.

  1. Representation Extraction: The system takes an RGB image, binarizes it, and applies a thinning algorithm to create a skeleton. In the VR environment, the user can use a joystick to fine-tune these node positions if the automatic extraction is slightly off.
  2. The VR Interface: Using an Oculus Quest 2 and Unity, the user interacts with a virtual version of the garment. This immersive setup allows the user to define not just "pick and place" points, but also the 3D trajectory (the height and curve of the movement), which is critical for successful folding.
  3. Folding Plans: A "folding plan" is a sequence of these actions. Because the plan is tied to the skeleton's node indices (e.g., "pick node 5, place at node 2") rather than fixed coordinates, it can be mapped onto a new garment of the same class that has a similar skeleton topology.
Fig. 2: The framework enables the automation of a folding task (Automatic Folding Execution) while allowing the user to intervene (User Intervention) if the robot proposes wrong or different folding actions than the ones desired by the user.

Datasets

The authors evaluated their framework using two distinct approaches:

  • Physical Robot Experiments: They used a Baxter robot and a custom set of seven garments across three classes: short-sleeve tops, long-sleeve tops, and trousers.
  • Classification Task: To prove that skeletons are a robust way to represent clothing, they used a subset of the Deepfashion2 dataset, consisting of 25,102 images across 9 classes (vests, skirts, etc.). They compared skeleton-based unsupervised learning (using the MVGRL framework) against standard RGB-based learning (SimCLR).

Key Insights and Ideas

  • Topology over Pixels: The "aha moment" here is that while two t-shirts might look different in color or size, their underlying "skeleton" is topologically similar. By defining actions on this graph, the robot achieves a level of semantic understanding that survives changes in the object's appearance.
  • The Importance of Z-Axis: Most folding research assumes a fixed lifting height. This paper highlights that the final configuration of a garment varies significantly based on the trajectory height. VR provides the perfect medium for a human to intuitively "draw" these 3D paths.
  • Skeletons are Highly Discriminative: The classification experiment showed that skeletons retain almost as much class-specific information as full RGB images. This justifies using simplified graphs as a primary representation for manipulation.

Key Results

The quantitative results demonstrate a significant reduction in human workload:

  • Automation Success: In the physical experiments, the robot was highly successful at proposing correct actions for unseen items. For example, for short-sleeve tops, the robot achieved a 100% proposal accuracy on two out of three test items.
  • Classification Performance: The skeleton-based model achieved a 52.4% Top-1 accuracy in the unsupervised classification task, which is remarkably close to the 54.1% achieved by the full RGB model. This confirms that the skeleton captures the essential "essence" of the garment class.
Fig. 5: The dashboard the user uses to create, reset, and save folding actions and plans. The interface allows to visualize the number of actions in the saved folding plan, as well as the real-time video streaming of the robot.

Limitations and Future Work

The authors identify a few key areas for improvement:

  • Skeleton Consistency: If the automatic skeleton extraction produces a different graph structure for two items in the same class (e.g., an extra node on a sleeve), the folding plan replication fails and requires human intervention.
  • Bimanual Tasks: The current framework focuses on single-arm manipulation. Future versions aim to support two-handed folding, which is necessary for more complex garments.
  • Flattening: Before folding, clothes often need to be flattened. The authors plan to expand the framework to include these preparatory flattening tasks.

Overall, this work represents a practical step toward making robots more useful in domestic and industrial textile environments by leveraging the strengths of both human intuition (via VR) and robust geometric representations.

Summary updated

BibTeX
@inproceedings{moletta2023virtual,
  author = {Marco Moletta and Maciej K. Wozniak and Michael C. Welle and Danica Kragic},
  title = {{A Virtual Reality Framework for Human-Robot Collaboration in Cloth Folding}},
  booktitle = {Humanoids},
  year = {2023},
  doi = {10.1109/humanoids57100.2023.10375184},
}
Figure