Neural cloth simulators are networks trained to predict how a garment moves on an animated body. They often let fabric pass through itself. Most of the time a small crossing is harmless and disappears within a few frames. Occasionally one grows into a tangle that spreads across the sleeve and never recovers. Fracture and friction mechanics have a precise language for this split behavior. A local flaw stays contained until it exceeds a critical nucleation length, the size at which released elastic energy outpaces local resistance, and above that length it runs away. We propose to test whether self-intersections in learned cloth simulators obey the same kind of threshold. The threshold would be a contour length $L^*$ below which the simulator's own local repulsion heals the crossing and above which it cascades. We also propose to predict $L^*$ from a linearized elastic analysis of the fabric.
If this holds, it has a direct practical use. The methods that reliably untangle deep crossings are expensive: volume-based analysis in SENC and intersection-contour losses in ContourCraft. A measured, material-dependent threshold would let us spend that cost only on supercritical crossings and leave subcritical ones to cheap local terms. The linear-elasticity assumption plays a specific role here. It is the tool used to derive the threshold. Where it fails, at large folds and compressive buckling, is itself one of the things we measure.
Core Claim
The claim has three parts. First, in a trained neural cloth simulator with only local proximity-based collision terms, intersection contours planted at length $L$ show a sharp transition in their fate: they shrink when $L < L^*$ and grow or persist when $L > L^*$. Second, $L^*$ is set by the fabric's elastic length scale and does not depend on garment or motion. Third, gating an expensive global untangling loss on this threshold matches the collision quality of always applying it, at a fraction of the training cost.
This differs from the closest work in what it asks. ContourCraft detects intersecting triangle pairs, groups them into contours, and minimizes contour length uniformly. It treats length as a penalty, not as a stability variable. SENC computes the actual overlap volume through Global Intersection Analysis, which caps open holes and traces intersection loops, and adds 2 cm spatial edges to the graph network. Its own diagnosis motivates our hypothesis: local surface gradients invert once a surface crosses another. That inversion should happen only beyond some depth or size, so a threshold ought to exist. Neither paper asks which crossings would heal on their own.
Where the threshold idea comes from
The analogy is borrowed, and we use it as method rather than decoration. Spatschek et al. linearize coupled elastic and rate-and-state frictional equations, meaning friction that depends on slip rate and contact history. They derive a nucleation length $L_c \approx 2\pi\sqrt{\bar G H D / |\partial\tau_{ss}/\partial\log v|}$, a square root of stiffness times thickness times slip distance over weakening rate. They show it is independent of loading history, and that is exactly the property that would make a cloth threshold transferable. de Geus et al. show that a Griffith-type balance controls when collective asperity failures nucleate slip, with a critical radius diverging as $(\sigma-\sigma_c)^{-2}$. That result tells us to expect the threshold to sharpen or drift near a critical drive, here the body velocity. Chambolle et al. prove that in smooth elastic bodies a crack appears discontinuously at a finite length rather than growing from zero. This supports treating "heal versus cascade" as a jump rather than a smooth trend.
These papers supply the form of the analysis. None of them involves discretized meshes or self-contact, and that is the regime we move it into.
For fabric, the natural elastic scale is the bending length
$$l_b = \left(\frac{B}{\rho g}\right)^{1/3},$$
where $B$ is bending stiffness, $\rho$ is areal density and $g$ is gravity. Our working hypothesis is $L^* = c\, l_b$ with a single constant $c$. A linearized plate analysis with small-strain Cauchy elasticity gives the scaling. The constant is fit on one fabric and then held fixed. The direct, model-specific estimate comes from linearizing the learned one-step map $x_{t+1} = F_\theta(x_t)$ around a state carrying a planted contour of length $L$. Let $\lambda(L)$ be the growth rate of the perturbation mode that lengthens the contour. We then define $L^*$ by $\lambda(L^*) = 0$.
Research Program
We first build a controlled intersection-planting protocol. Starting from collision-free frames of t-shirts, pants and skirts driven by AMASS motions, we fold a local patch through an adjacent layer so that it produces a single intersection contour of prescribed length. We vary the length, the fabric parameters ($B$, $\rho$, stretch stiffness) and the body speed. We then roll out a HOOD-style hierarchical graph simulator trained with non-linear stretching energy of the Saint Venant–Kirchhoff (StVK) type, as in SNUG, plus a local proximity repulsion term. Over 30 frames we record whether contour length shrinks to zero, stays, or grows. For each condition, the empirical $L^*$ is the length at which the probability of healing crosses one half. The transition width tells us whether "threshold" is the right word at all.
Second, we compare three estimates of $L^*$. The first is empirical. The second is the linear-elastic closed form $c\, l_b$. The third is the Jacobian-based $\lambda(L)$ obtained with automatic differentiation. Where the closed form and the empirical value diverge, we test the specific failure modes the file documents for linear elasticity. These are buckling under concentrated contact loads, reported in Minimal Work, and the compressive instability of StVK. We do this by sorting the residuals by local compressive strain.
Third, we train a gated simulator. The full SENC volume loss, or the ContourCraft contour loss, is evaluated only on contours longer than the predicted $L^*$. Everything else receives local repulsion only.
Baselines
The do-nothing reference is the same graph simulator with local repulsion only. It is essentially HOOD, which SENC reports at a t-shirt self-collision loss of 26.10, with up to 33% of frames above the 0.1 collision threshold for prior methods.
The strongest existing method is SENC applied to every contour. SENC reports a self-collision loss of 1.80 and 0% of frames above 0.1 on t-shirts (SENC). The second strong baseline is the ContourCraft contour loss applied everywhere. For ContourCraft's penetrating-triangle-pair counts, no reported numerical result was found on Lacuna, so we will rerun it. All methods share one backbone, the same AMASS training split, the same garment set, an identical number of optimizer steps and the same hyperparameter search budget. Wall-clock time is measured on the same hardware.
Beating SENC means one of two outcomes at equal training steps. Either we match its frame-level collision rate within one percentage point with at least a 3× reduction in training wall-clock, or we achieve a lower collision rate at equal wall-clock.
Two ablations isolate the key ingredient. The first gates the expensive loss on a randomly chosen subset of contours of the same expected size as the subset selected by $L^*$. The second gates on penetration depth instead of contour length. To test multi-layer transfer we evaluate on the five held-out BEDLAM outfits that ContourCraft uses.
Why not just…?
Why not just tune a fixed length threshold instead of predicting one from elasticity? This is the real threat. Within a single fabric, a tuned constant will probably do as well as our prediction. The physics only earns its place if it transfers. We therefore tune the constant on one fabric, fix it, and compare it against $c\, l_b$ on fabrics whose bending length differs by up to an order of magnitude. If the measured $L^*$ does not scale with $l_b$, we drop the physical claim and report gating as a tuned heuristic.
Why not just apply SENC or ContourCraft everywhere and accept the cost? SENC's volume analysis requires hole capping and loop tracing at every iteration, and its authors identify this as a training bottleneck. The hole-capping heuristics also fail on open skirts. Gating reduces how often those fragile steps run. The equal-wall-clock comparison above settles whether this matters.
Why not just raise the penalty weight or use barrier contact? Soft distance penalties give no guarantee of non-penetration and fail in fast or multi-layer motion (Loy et al.). Heavy penalties also tend to oversmooth wrinkles. Barrier contact of the kind used in BFEMP is undefined on states that already intersect, so it cannot clean up planted or learned crossings. We include a high-penalty-weight variant in the comparison so this question is answered by measurement rather than argument.
Decisive Checks
The proposal stands or falls on three measurements. The first is whether the probability of healing versus contour length shows a transition narrow relative to $L^*$ itself, say a 10–90% width under 30% of $L^*$. The second is whether $L^*/l_b$ stays constant within roughly 25% across fabrics and garments. The third is whether the gated model reaches SENC's reported collision quality at substantially lower cost.
A wide transition would mean intersections do not nucleate, and the analogy should be abandoned. A narrow but material-independent threshold would mean the elasticity derivation is wrong while gating may still be useful.
References
- ContourCraft: Learning to Resolve Intersections in Neural Multi-Garment Simulations
- SENC: Handling Self-collision in Neural Cloth Simulation
- Instabilities at frictional interfaces: Creep patches, nucleation, and rupture fronts
- How collective asperity detachments nucleate slip at frictional interfaces
- Crack Initiation in Brittle Materials
- AMASS: Archive of Motion Capture As Surface Shapes
- HOOD: Hierarchical Graphs for Generalized Modelling of Clothing Dynamics
- SNUG: Self-Supervised Neural Dynamic Garments
- Minimal Work: A Grasp Quality Metric for Deformable Hollow Objects
- BEDLAM: A Synthetic Dataset of Bodies Exhibiting Detailed Lifelike Animated Motion
- Towards Multi-Layered 3D Garments Animation
- BFEMP: Interpenetration-Free MPM-FEM Coupling with Barrier Contact