Abstract
Manipulating deformable objects like fabric is a significant challenge in robotics due to high-dimensional configuration spaces and complex dynamics. GPT-Fabric demonstrates that large-scale Vision-Language Models (VLMs) like GPT-4V can be leveraged for low-level robotic manipulation without task-specific training. By integrating visual prompting, hierarchical reasoning, and a closed-loop evaluation module, the system achieves state-of-the-art fabric smoothing and competitive folding performance.
Introduction
Fabric manipulation is often considered a "grand challenge" because cloth possesses an infinite-dimensional configuration space, complex internal dynamics, and frequent self-occlusions from wrinkles and folds. Traditional approaches typically rely on heavy engineering of specific hardware or data-hungry learning methods requiring thousands of interactions. GPT-Fabric explores a different path: can the "common sense" geometry and reasoning embedded in pre-trained foundation models be used to skip massive data collection?
System Architecture
The GPT-Fabric pipeline uses GPT-4V to directly output low-level "pick-and-place" actions. The system employs several "scaffolding" techniques to bridge the gap between high-level reasoning and low-level control:
- Image Preprocessing & Annotation: The system masks backgrounds using depth data and detects corners to annotate images with numbered points and bounding boxes. This "Set-of-Mark" prompting helps the VLM reason about specific coordinates.
- Hierarchical Prompting: For folding, the model generates natural language instructions from subgoal images, which are then translated into precise pixel coordinates.
- Evaluation Module: A critical feedback loop checks proposed actions against high-level strategies before execution. If an action is deemed incorrect, the system prompts the VLM for a correction.
Experimental Evaluation
The researchers evaluated GPT-Fabric in both simulation (SoftGym) and real-world settings using a 6-DOF Kinova Jaco robot arm. The system was tested against benchmarks like the Foldsformer subgoal sequences, covering tasks such as Double Triangle, Double Straight, and All Corners Inward.
Key Results
- Smoothing: In simulation, GPT-Fabric achieved a Normalized Improvement (NI) of 0.986, matching state-of-the-art models (like VCD) that were trained on thousands of actions.
- Folding: The system proved highly competitive on simpler folds. For the "Double Triangle" fold, in-context learning reduced mean particle distance error to 43.43mm, significantly outperforming FabricFlowNet (~102mm).
- Real-World Performance: The system successfully smoothed crumpled cloths to >85% coverage in 60% of trials and maintained a high success rate for basic folding tasks.
Discussion and Insights
A primary finding is that general-purpose VLMs can infer effective manipulation strategies for deformable geometry without explicit training. In many cases, GPT-Fabric's zero-shot performance matched or exceeded models trained on thousands of interactions, suggesting that "reasoning" can be more efficient than "brute-force learning" for generalization.
However, several challenges remain. The system exhibits a "center bias," occasionally struggling to distinguish between internal points in complex folds. Furthermore, the success of the method relies heavily on "scaffolding" (annotation and evaluation modules); naive prompting alone yields poor results.
Limitations and Future Work
Current limitations include high latency (approx. 18 seconds per action) and significant API costs. Additionally, the current single-arm setup cannot perform bimanual tasks like folding a shirt. Future research will focus on bimanual coordination, extending the framework to other deformable objects like ropes, and optimizing API usage to reduce cost and latency.
Summary updated