Abstract
Robotic cloth manipulation presents significant challenges due to the high degrees of freedom and complex dynamics of deformable objects. This paper introduces ClothPPO, a reinforcement learning framework that enhances cloth unfolding by fine-tuning a pre-trained model using Proximal Policy Optimization (PPO). By utilizing an Observation-Aligned Action Space (OBAP) with over $10^6$ possible actions and a Spatial Policy Mask (SPM), ClothPPO achieves state-of-the-art garment coverage and demonstrates strong generalization across diverse clothing types.
Introduction
Manipulating "soft bodies" like clothing is a fundamental hurdle in robotics. Fabrics possess near-infinite degrees of freedom and non-linear dynamics, making traditional control methods difficult to apply. Existing approaches often rely on Supervised Learning (SL), which requires vast labeled datasets and struggles with out-of-distribution scenarios, or low-dimensional Reinforcement Learning (RL), which suffers from information loss by mapping complex visual inputs to a small set of discrete commands.
ClothPPO addresses these issues by allowing the robot to pick and place directly within the "pixel space" of its camera view. This approach provides the long-term strategic guidance necessary for effective unfolding while maintaining the direct spatial relationship between observation and action.
Methodology
The ClothPPO framework treats cloth unfolding as a Partially Observable Markov Decision Process (POMDP) and implements a two-stage training pipeline.
Phase 1: Self-Supervised Pre-training
The authors first train a U-Net-based baseline model to predict "good" grasp points based on local alignment. This provides a solid starting point for manipulation but lacks the "long-term" vision required to maximize final garment coverage.
Phase 2: PPO Fine-tuning
Using an Actor-Critic architecture, the policy is optimized via Proximal Policy Optimization. The "Actor" (the pre-trained model) suggests actions, while the "Critic" evaluates them based on the total surface area uncovered over multiple steps. This stage is analogous to Reinforcement Learning from Human Feedback (RLHF) used in Large Language Models.
Observation-Aligned Action Space (OBAP)
A core innovation of ClothPPO is the OBAP. Instead of a simple vector, the policy outputs a spatial map where every pixel is a potential action. By including different rotations and scales, the action space expands to $10^6$ possible choices. This preserves the spatial relationship between the visual input and the robot's reach.
Spatial Policy Mask (SPM)
To make the massive search space manageable, a mask is applied to filter out invalid actions, such as attempting to grasp the air outside the cloth. This forces the RL agent to focus exclusively on the garment itself, significantly improving training efficiency.
Experimental Results
The framework was developed and tested in Cloth Action Gym, a custom environment built on PyFleX and SoftGym. The model was trained exclusively on T-shirts from the Cloth3D dataset but tested on five categories: T-shirts, pants, jumpsuits, skirts, and dresses.
ClothPPO outperformed several state-of-the-art baselines, including Flingbot and Cloth Funnels:
- Superior Coverage: It achieved the highest final coverage in 4 out of 5 garment categories, reaching 86.56% coverage for dresses and 85.74% for skirts.
- Strategic Improvement: PPO fine-tuning significantly increased the "Percent Positive" metric, meaning the robot made fewer "wasted" moves that didn't improve coverage compared to the Phase 1 baseline.
- Generalization: A surprising finding was that a model trained only on shirts could successfully unfold dresses and jumpsuits, suggesting that the fundamental physics of unfolding is a transferable skill across different geometries.
Conclusion and Future Work
ClothPPO demonstrates that combining high-dimensional, pixel-aligned action spaces with a two-stage RL training process can effectively solve complex soft-body manipulation tasks. While currently limited to simulation, future work will address the sim-to-real gap by incorporating domain randomization for friction and sensor noise. Additionally, integrating more dynamic action primitives, such as "flinging" or "sliding," could further enhance performance.
Summary updated