Robots learn to handle cloth far better when training can use information that the real robot will never see. In simulation the position of every cloth particle is known. A standard trick, the asymmetric actor-critic, lets a "critic" network score the robot's progress from this privileged simulator state during training, while the "actor" network that actually drives the robot learns only from camera images. Because the images are rendered with randomized lighting, textures and physics, a technique called domain randomization, the actor can transfer to a real robot with no real-world training. This works for rigid blocks. For cloth it has never been made to work, for two reasons. A critic that reads a flat list of particle coordinates fails to learn, so it needs a graph neural network (a network that passes messages between neighboring particles). And a graph critic over thousands of particles, run across hundreds of randomized simulators at once, runs out of GPU memory.
This note proposes to make the full-resolution particle-graph critic affordable and then test whether it matters. The method recomputes edge activations instead of storing them and groups particles into learned subgraphs. The test runs on a standardized cloth benchmark extended with domain randomization and a matched real-robot protocol. The claim is falsifiable. If a critic over a coarsely downsampled graph does as well at equal memory, then critic resolution does not matter, and the benchmark will show that plainly. The decisive comparison is therefore not GNN versus MLP. It is how a fixed GPU memory budget should be split between critic resolution and the number of randomized environments.
Core Claim
Under a fixed GPU budget, an asymmetric actor-critic for deformable manipulation hits a three-way trade-off. The budget has to cover critic graph resolution, the number of parallel randomized environments, and the update batch size. Roughly, peak critic memory scales as $B \cdot L \cdot E \cdot d$, where $B$ is the update batch, $L$ the number of message-passing layers, $E$ the number of particle and contact edges per state, and $d$ the hidden width. This form follows from storing one $d$-dimensional activation per edge per layer for backpropagation, which is the dominant cost identified by Understanding GNN Computational Graph.
Today one must shrink the batch, shrink the graph, or shrink the randomization. We hypothesize that on crumpled and multi-layer cloth, shrinking the graph is the costly choice. The critic's value estimate depends on interior folds and on contact between cloth layers, and a downsampled graph erases both. Our method removes the $L \cdot E$ storage term so that full resolution and wide randomization coexist. We predict this is the gap that keeps pixel actors near zero on folding tasks.
Prior Work and Its Role
Three papers motivate the proposal. Asymmetric Actor Critic for Image-Based Robot Learning trains a state-fed critic and a randomized-image actor and reports zero-shot Fetch pick, push and move at 5/5 real successes, while symmetric image-only training stayed under 40% in simulation. Its critic reads a low-dimensional rigid-object state vector, and we replace that with a particle graph. SoftGym shows two failures on cloth: image RL (CURL-SAC, DrQ) flatlines near zero on FoldCloth after a million steps, and a flat-particle MLP oracle "performed poorly." SoftGym names graph architectures over particles as open work and ships no randomization, both of which we supply. DaxBench likewise calls for graph state representations. Its checkpointing is applied to simulator rollouts, not to a learned critic.
Two papers supply the method. Understanding GNN Computational Graph moves linear transforms from edges onto vertices, fuses the scatter and gather steps, and recomputes edge features in the backward pass. It reports up to 7.73× lower memory, with training that previously needed a 24GB GPU fitting on 8GB. Let's Group selects top-$K$ nodes per learned anchor vector, cutting pairwise cost from $O(N^2)$ to $O(N+K^2)$. It reports a 56.4% average memory reduction with equal or better accuracy on traffic graphs. That evidence comes from fixed sensor graphs with a few hundred nodes, so we treat transfer to cloth, whose contact graph changes every step and whose physics is randomized, as an open question rather than an assumption.
One paper constrains the design. When Heterophily Meets Heterogeneity finds that partitioning a graph breaks models that depend on relations between dissimilar nodes. In folded cloth, the contact between two layers is exactly such a relation, because the particles are close in space but far apart along the cloth. We therefore use overlapping subgraphs, aggregated as in Let's Group's feature aggregation module, together with an always-kept set of contact edges.
Two papers are the main competitors on data regime and philosophy. SSFold folds real cloth with a graph network over a voxelized point cloud, trained from 21 hours of human video. It skips simulation entirely, and its authors note that it fails under multi-layer occlusion. Intersection-free Robot Manipulation with Soft-Rigid Coupled Incremental Potential Contact argues that accurate contact simulation makes randomization unnecessary.
Research Program
We first build the benchmark substrate. We add dynamics randomization to SoftGym's cloth tasks (SpreadCloth, FoldCloth, FoldCrumpledCloth, DropFoldCloth) covering stiffness, bending resistance, friction, mass, particle radius and actuation latency. We add visual randomization of texture, lighting and camera pose in the spirit of (CAD)²RL. Every result is reported under a memory-matched protocol: performance is plotted against peak training VRAM, on a fixed 24GB card, rather than at whatever configuration each method happens to fit. This reporting axis is the benchmarking contribution, and it is what makes the downsampling alternative a fair test rather than a straw man.
Second, we build the critic. It is an edge-based graph network over all simulator particles. Mesh edges come from the cloth's rest topology, and radius-based contact edges are recomputed every step. Memory is controlled by vertex-first operator reordering with edge recomputation. Learned anchor subgraphs bound the cost of the contact-edge computation when particle counts grow. The actor is a small convolutional image policy trained only on randomized renders, so the critic never runs on the robot.
Third, we analyze how far the critic's value estimates fall from Monte Carlo returns as resolution varies. We stratify this by state type: flat states versus crumpled or folded states with self-contact. This tests the mechanism directly, before any policy result.
Baselines
The naive reference point is SoftGym's own image RL, CURL-SAC or DrQ trained end to end on the same randomized renders. SoftGym reports this flatlining near zero on FoldCloth after one million steps; the file gives no exact value for this baseline, and "no reported result found on Lacuna" applies to a numeric score. We rerun it with the same environment steps and the same tuning budget, a fixed number of hyperparameter trials per method.
The strongest simulated competitor is the asymmetric actor-critic of Pinto et al. with its original critic design, an MLP over a flattened particle vector. For the rigid case this method reports 5/5 real transfer and near-perfect simulation success. On cloth, SoftGym's equivalent flat oracle performed poorly. It gets the same actor, randomization, step count and VRAM cap.
The key ablation, and the real threat, is the same graph critic over a downsampled graph. We use farthest-point sampling to 64, 128 and 256 nodes, which is roughly the voxelized regime of SSFold, with batch size and environment count raised to fill the same 24GB. A second ablation keeps full resolution with only generic per-layer checkpointing, without operator reordering or anchor subgraphs. A third replaces anchor subgraphs with fixed spatial grid partitions at equal memory. The anchor-subgraph component counts as earning its place only if it beats the grid partition; otherwise we drop it in favor of recomputation alone.
The strongest real-world reference is SSFold on a UR5. It reports 100% on single fold, 100% on double inward fold, 83.3% on double triangle fold, 83.3% on shorts fold and 66.7% on T-shirt fold. Its data regime is human video rather than simulation, so we compare it on the same task definitions and garment types with 18 trials per condition. We do not claim strict fairness. Beating our simulated baselines means a statistically clear gain in normalized SoftGym performance at equal VRAM on FoldCrumpledCloth and DropFoldCloth. Beating SSFold means matching it on single and double folds with zero real-robot data, which would be a meaningful result even without surpassing it.
Why not just…?
Why not just downsample the cloth to a few hundred nodes and skip the memory engineering? This is the alternative most likely to succeed, and we do not argue around it. SoftGym's evidence that corner keypoints fail on crumpled cloth argues against extreme reduction, but 256 well-spread points is a different regime. The memory-matched curves and the per-state-type value error decide it. If downsampled critics match full resolution on crumpled and folded states, the conclusion is that randomization width, not resolution, is the bottleneck, and we report it as such.
Why not just use an MLP or keypoint critic? SoftGym tested both as oracles. The flat-particle MLP performed poorly, and keypoints failed completely on spreading crumpled cloth. We still rerun them under randomization because randomized physics might change the picture, but we expect them to lower-bound the graph critics.
Why not just shrink the batch, or use stock gradient checkpointing? Shrinking the batch keeps the per-sample edge cost $L \cdot E \cdot d$ and makes value estimates noisier, so it trades one problem for another. Stock checkpointing is a genuine competitor and is an explicit ablation. Zhang et al. attribute much of their saving to operator reordering and kernel fusion that generic checkpointing lacks, but whether that saving changes policy quality is exactly what we measure.
Why not just collect human demonstrations, as SSFold does? SSFold shows this works on a few garments at 21 hours of collection, but its success drops on multi-step folds and it fails under multi-layer occlusion. Our simulation pipeline costs no human time per new task. The real-robot comparison on shared task definitions shows whether it pays off.
Why not just simulate contact more accurately instead of randomizing? Incremental potential contact is a credible rival philosophy. Within budget, we will train one condition with randomization narrowed to near zero, to measure how much transfer depends on randomization at all in our simulator.
Decisive Checks
The project succeeds or fails on three outcomes. The first is whether value error on crumpled and folded states falls with critic resolution at fixed memory, while staying flat on flat-cloth states. That pattern is the signature of the hypothesized mechanism, and its absence falsifies it. The second is whether the full-resolution critic beats the 256-node critic at equal VRAM on FoldCrumpledCloth and DropFoldCloth. The third is whether the resulting image actor reaches real single-fold and double-fold success comparable to SSFold's reported 100% on a UR5 or Franka with randomized towels, using no real training data. We additionally report crumpled-spread coverage, where we expect the largest gap over downsampled critics.
References
- Understanding GNN Computational Graph: A Coordinated Computation, IO, and Memory Perspective
- Asymmetric Actor Critic for Image-Based Robot Learning
- SoftGym: Benchmarking Deep Reinforcement Learning for Deformable Object Manipulation
- DaxBench: Benchmarking Deformable Object Manipulation with Differentiable Physics
- Let's Group: A Plug-and-Play SubGraph Learning Method for Memory-Efficient Spatio-Temporal Graph Modeling
- When Heterophily Meets Heterogeneity: Challenges and a New Large-Scale Graph Benchmark
- SSFold: Learning to Fold Arbitrary Crumpled Cloth Using Graph Dynamics from Human Demonstration
- Intersection-Free Robot Manipulation With Soft-Rigid Coupled Incremental Potential Contact
- CAD2RL: Real Single-Image Flight Without a Single Real Image