Abstract
Robotic garment folding is a challenging task due to the high deformability of cloth and the lack of large-scale, annotated datasets. We present FoldNet, a framework that addresses these challenges through keypoint-driven asset synthesis and a novel training strategy called Keypoint-Gated DAgger (KG-DAgger). By generating a massive synthetic dataset of 15,000 trajectories and training a closed-loop diffusion policy with error-recovery capabilities, FoldNet achieves a 75% success rate in real-world folding tasks, significantly outperforming existing benchmarks.
Introduction
Robotic manipulation of deformable objects like garments is notoriously difficult. Unlike rigid objects, clothes lack a fixed shape, creating a significant challenge for traditional vision and control systems. Current research faces two primary bottlenecks:
- Data Scarcity: Existing datasets are often small, lack precise keypoint annotations, or suffer from a significant "reality gap" due to unrealistic textures.
- Policy Brittleness: Most policies are trained on perfect demonstrations. In the real world, a single missed grasp or slight misalignment often leads to total task failure because the robot enters an "unseen state" it cannot recover from.
Methodology
FoldNet introduces a three-pillar approach to achieve robust, generalizable garment folding.
Keypoint-Driven Asset Synthesis
To overcome data scarcity, we developed an automated pipeline for generating diverse, high-quality synthetic garments. We use geometric templates controlled by semantic keypoints (e.g., shoulders, hems). To ensure realism, Stable Diffusion 3.5 generates diverse textures based on VLM-generated prompts. A Vision-Language Model (VLM) then filters these assets to ensure physical plausibility, resulting in a dataset of 6,000 unique garment instances across four categories: t-shirts, vests, hoodies, and trousers.
Keypoint-Gated DAgger (KG-DAgger)
The core innovation of FoldNet is KG-DAgger, a training strategy designed to handle failures. During simulation-based training, the system uses ground-truth keypoint locations to detect grasp failures or misalignments. When an error is detected, a recovery strategy is triggered to reset the garment to a manageable state. These recovery trajectories are incorporated into the training data, teaching the model not just how to fold, but how to retry after a mistake.
Closed-Loop Diffusion Policy
The final control policy is a CNN-based Diffusion Policy. Unlike open-loop systems that execute fixed sequences, this closed-loop model processes real-time visual feedback to predict the next action. This allows the robot to react dynamically to the garment's movement and state changes.
Experimental Results
FoldNet was evaluated on a large synthetic dataset and through extensive real-world robot trials.
- Real-World Performance: The system achieved a 75% success rate on real-world garments, demonstrating strong sim-to-real transfer.
- Impact of Recovery Training: The inclusion of KG-DAgger provided a 25% boost in success rates compared to models trained only on successful demonstrations.
- Generalization: The model successfully handled various garment types and textures it had never seen in reality, validating the effectiveness of the generative AI-driven texture synthesis.
- VLA Integration: We demonstrated that the FoldNet dataset can effectively fine-tune large Vision-Language-Action (VLA) models, such as $\pi_0$, enhancing their performance in specialized manipulation tasks.
Conclusion
FoldNet demonstrates that combining large-scale, high-fidelity synthetic data with error-aware training strategies can overcome the inherent difficulties of deformable object manipulation. While current physical simulators still have limitations regarding complex friction and snagging, FoldNet provides a scalable path toward more capable and resilient robotic home assistants. Future work will explore more complex folding patterns and expanded action spaces for finer manipulation.
Summary updated