LaGarNet: Latent World Models for Quasi-Static Pick-and-Place Garment Flattening

Halid A. Kadi, John Oyekan, Kasim TerzicarXiv 2026

TL;DR

Folding laundry is effortless for humans, yet cloth’s nearly infinite degrees of freedom make it a nightmare for robots. LaGarNet introduces a compact "world model" that lets a single-arm robot mentally simulate how a crumpled garment will deform when picked and placed, matching the accuracy of heavy 3D-mesh planners while running 17× faster with 5× fewer parameters. Trained entirely in simulation, a single unified policy transfers zero-shot to the real world to flatten shirts, trousers, skirts, and dresses.

A UR5e robot arm flattening a skirt using a parallel gripper.

What Problem Does This Paper Address?

Before a robot can fold or iron a shirt, it has to flatten it. Because fabric bends, wrinkles, and occludes itself, its state space is enormous. Existing learning-based solutions typically fall into two camps: behavior cloning (which requires massive human demonstration datasets or hand-crafted scripted experts that are nearly impossible to write for complex clothes) and model-based planning using 3D meshes (which reconstructs every fold explicitly at a steep computational cost).

Latent world models—neural networks that learn a compressed, internal physics engine from images—have thrived in continuous, frame-by-frame control tasks like video games or robotic locomotion. However, high-level cloth manipulation is quasi-static: a robot picks a point, moves it, lets go, and waits for the fabric to settle. Consecutive camera frames aren't smooth; each step is one massive, discontinuous deformation. Can a latent world model still learn useful physics when time jumps in giant leaps?

Methods

LaGarNet answers "yes" by pairing a standard Model Predictive Control (MPC) planner with three novel components:

  1. Goal-Conditioned Recurrent State-Space Model (GC-RSSM): Building on the standard PlaNet RSSM architecture, the authors inject a top-down image of the flattened goal garment directly into the latent state inference. Both the model's "imagination" (prior) and observation-updated belief (posterior) become goal-aware, allowing one network to handle multiple clothing shapes.
  2. Proximal Expert + Random Data Collection: Offline reinforcement learning fails if it never sees what success looks like, or if it only sees narrow expert paths. Instead of coding a brittle scripted oracle, the authors train a Diffusion Policy on just 50 human demonstrations to act as a "near-expert," mixing its trajectories 1:1 with a mask-biased random policy (which picks random pixels on the cloth and places them randomly in the workspace).
  3. Coverage-Alignment Reward: A clean, linear reward signal combining how much the cloth's surface area expanded (Normalised Coverage) with how well its silhouette matches the flattened goal (Maximum IoU). Because it only needs top-down segmentation masks, it works identically in simulation and reality.

At test time, the Cross-Entropy Method (CEM) samples candidate pick-and-place coordinates—strictly constrained so picks land on the cloth mask—and asks the GC-RSSM to score the immediate outcome.

Datasets

  • Simulation Benchmark: Built in SoftGym/PyFlex using garments from the Cloth3D dataset (longsleeved T-shirts, trousers, dresses, and skirts). The authors extend the simulator with realistic parallel-gripper failure modes like misgrasping and snagging multiple layers. Training uses 5,000 offline episodes (100,000 pick-and-place transitions).
Simulated Cloth3D garments showing crumpled initial states and flattened goal insets.
  • Real-World Evaluation: Zero-shot physical tests on four seen garment categories plus one out-of-distribution (OOD) garment—a soft, high-friction cream longsleeved dress unseen in shape and material during training.
Real-world evaluation garments with dimensions, including the unseen Out-of-Distribution dress.

Key Insights and Ideas

  • Lookahead is actually harmful here: Surprisingly, a greedy 1-step planning horizon ($H=1$) crushes multi-step planning—success drops monotonically from 73.3% at $H=1$ to 30.0% at $H=5$. Because a single pick-and-place causes such a dramatic deformation, prediction errors compound rapidly over multi-step rollouts.
  • Sampling constraints beat architecture tweaks: Ablations reveal a humbling hierarchy of what matters most: constraining sampled picks to the cloth mask is the #1 performance driver (dropping it collapses success to near zero), followed by the coverage-alignment reward, and then the GC-RSSM architecture.
  • Morphological diversity helps: Training one "All-Garment" model across all four clothing types actually outperforms task-specific models trained on a single garment type, showing that the latent space benefits from seeing diverse fabric geometries.

Key Results

  • Simulation (Longsleeve Benchmark, 20 steps): LaGarNet achieves a 76.7% success rate, outperforming model-free RL (6.7%), the closest RSSM baseline PlaNet-ClothPick (23.3%), Diffusion Policy behavior cloning (43.3%), and the state-of-the-art mesh planner MEDOR (70.0%).
  • Speed & Size: LaGarNet uses 7.11M parameters and takes ~6 seconds per action, compared to MEDOR's 37.5M parameters and ~103 seconds per action (17× faster).
  • Zero-Shot Real-World Transfer: Across 40 real-world trials (20 steps max), LaGarNet averages 90.3% Normalised Coverage, 80.7% Normalised Improvement, and 81.1% Max IoU (27/40 overall success vs. 9/40 for PlaNet-ClothPick). It achieves a 10/10 success rate on skirts and dresses, though narrow appendages prove tougher (4/10 on longsleeves, 3/10 on trousers).

Limitations and Future Work

  • It doesn't know when to stop: This is LaGarNet's Achilles' heel. While 76.7% of simulated longsleeve runs hit the success threshold within 20 steps, only 13.3% stay there on the final step (and 168 of 298 near-success steps in the real world end in a regression). Once a garment is flat, the reward predictor becomes noisy and the robot keeps poking at it. Adding a learned stopping criterion is an immediate next step.
  • Material & Topology Blindspots: Relying purely on geometry, the model failed (0/10 success) on the high-friction, soft OOD dress, and sometimes confuses topologies (e.g., pulling trouser legs outward like T-shirt sleeves).
  • Real-World Cycle Time: Full physical execution takes 24.5 seconds per step (~8 minutes for 20 steps), leaving room for engineering speedups and extensions to dual-arm manipulation or goal-directed folding.

Summary updated

BibTeX
@misc{kadi2026lagarnet,
  author = {Halid A. Kadi and John Oyekan and Kasim Terzic},
  title = {{LaGarNet: Latent World Models for Quasi-Static Pick-and-Place Garment Flattening}},
  year = {2026},
  eprint = {2611.37632},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.37632},
}
Figure