Learned Cloth Optimizer · ablations of November 2026

LeCO ablation results

Every model is trained for 500,000 steps with the same data and then runs the same test scene. This page shows which changes still give a usable solver at inference, and which do not.

Data as of 2026-11-23 20:12 UTC Trainings finished 77 of 77 Inference runs finished 204 of 204

Findings

  1. All ablations again with history window 3 (new, 2026-11-23): the old conclusions hold. 32 of the 38 variants keep their verdict against the baseline when both have window 3. Most variants gain about as much from the window as the baseline (0.77×). No variant is clearly better than the window-3 baseline: the standard GNN with edge latents and context depth 3 and 5 are at 0.82× to 0.83×, but each loses clean runs on 00756. All 12 variants with a per-node step scale still diverge. See all ablations with history window 3 and the separate page.
  2. History window (new, 2026-11-21): the network needs one iteration of history; more gives a small gain. With no history input (window 0) every rollout breaks within 6 to 453 time steps. Windows 2, 3 and 5 lower the median end gradient norm to 0.88×, 0.77× and 0.75× of the baseline (window 1) and converge faster in the first 5 to 10 iterations of the fixed-state test. The gain is of the same size as the gain from width 256 or from 3 message-passing rounds, at +0.5 % to +2 % parameters. One training per model: the order between 2, 3 and 5 is not resolved. See History window.
  3. History window × latent width (new, 2026-11-21): a wider network adds little on top of a longer window. The median end gradient norm with windows 3 and 5 is 0.77× and 0.75× at width 96, 0.77× and 0.79× at width 128, and 0.71× and 0.73× at width 192 (window 1: 1.00×, 0.92×, 0.83×). The gains do not multiply, and width 192 costs 3.9× the parameters. See window × width.
  4. Hinge edges and more inputs (contact gradient, inertia gradient, current position, material through FiLM): none of them beats the baseline. All are level at 15 to 30 iterations; at 5 iterations only the inertia input stays level and the others are worse. The material FiLM model is the one that never tangled on 00756 in three runs.
  5. Initial guess of a time step: starting the iterations with gravity added (x + dt v + dt² g) or with the adaptive warm start of vertex block descent is not better than the baseline start x + dt v. Both are level at 15 to 30 iterations, slightly worse at 5 iterations, and tangle more often on 00756.
  6. New ablations of the block and of the output direction: only one is better than the baseline per iteration: the standard GNN block with edge latents. It is lower in ratio on most sequences and never tangled on 00756 in three runs, but it costs 3.3 times the time per iteration, and at equal time the baseline is ahead. Without neighbour information (context window 0) the model is worse on every sequence, most at few iterations. Attention over the 1-ring is level with the neighbour mean and 38 % slower per iteration. Dividing the output direction by its RMS is level; a unit direction per vertex is much worse; neither rescues the per-node scale.
  7. Five-sequence benchmark (00756, 00396, cc_05_06, cc_05_08, cc_05_16) with the example configurations: the baseline is level with or better than every other width, and the per-node scale models fail on all five. Context windows 3 and 5 are lower in ratio on two sequences. Per-node gradient normalization is level or worse. On 00756 a run either stays clean or tangles: in three runs each the released checkpoint tangled 3 times and the baseline once, while context window 3 and per-node normalization with the magnitude input never did.
  8. A per-vertex step scale does not work at inference. Every model with a per-node scale breaks within the first 60 to 180 of 4,040 steps. This holds at 5, 10 and 30 iterations, with DAT and without DAT, with per-node gradient normalization, with the gradient magnitude input, and with a ring context of 1 to 32 rings. The truncated scale does not rescue them: the positions stay finite, but more than 5 % of the edges are badly stretched after 60 to 180 steps.
  9. Per-node gradient normalization with a global scale works. It finishes every setting. At 5 iterations it is at least as good as the baseline (end distance 21 to 26 mm against 32 to 49 mm, depth 1.6 to 2.9 mm against 1.8 to 10.3 mm). At 10 and 30 iterations the two are equal. Two runs per model are not enough to call it better, and on the criteria of the paper (gradient norm and residual ratio per step) it is level with the baseline.
  10. The gradient magnitude input does not help. With global normalization it makes the 5-iteration result clearly worse (109 to 116 mm from the reference at 25 % of the sequence). At 10 iterations it equals the baseline. With per-node normalization the result is about the same as the baseline.
  11. Width 96 or more is safe. Below 96 the 5-iteration solver is not reliable. Widths 96, 128, 192 and 256 give the same quality. Width 64 keeps good edge numbers but loses a garment at 5 iterations. Width 32 breaks, width 24 gives NaN, width 16 ends far off. At 10 iterations every width finishes. No width above 96 is better than 96.
  12. The other ablations confirm the main design. Each removed input makes the result worse or unstable. The per-iteration scale and the model without scale finish, but with lower accuracy. A context window of 3 equals the baseline within the run-to-run spread.
  13. A context window of 5 gives the closest 5-iteration result. Its end distance is 20 to 21 mm, against 32 to 49 mm for the baseline and 21 to 26 mm for per-node normalization. It costs 5 message-passing rounds per iteration, so it is not a free gain.
  14. The fixed-state test of the code base separates two things. Almost every model can solve a single time step in 30 iterations, also the per-node scale models. Their failure appears only in rollouts. From a cold start the per-node normalization with the magnitude input is the fastest model (6 % of the energy decrease missing after 5 iterations, baseline 31 %).
  15. On the criteria of the paper no ablation beats the baseline at 5 iterations. Objective, gradient norm and residual ratio per time step are level for all stable models. At 10 iterations the larger context windows are about 30 % lower; at 30 iterations all are equal.

Still open: the model without iteration (in training).

How to read the tables

Test

Scene dlayers_00396 (layered dress on a moving body), 4,040 solver steps. DAT is on with dynamic collision detection. “5 it · 15 mm” means 5 network iterations per step and a 15 mm collision query radius. Every model runs on the same PyTorch network path. Each line in a cell is one run.

Numbers

edge
Largest edge stretch in the run (length / rest length). The baseline reaches about 2 to 6.
depth
Deepest body penetration in the run, in mm.
dist.
Median vertex distance to the reference, in mm, at 25 % of the sequence / at the end. The reference is the released checkpoint at 30 iterations.

Outcome

OK
Finished, close to the reference (below 50 mm at 25 % and below 150 mm at the end).
far off
Finished, but far from the reference. lost means more than 1 m: a garment left the body.
NaN
Positions became NaN at this step.
broken
Stopped at this step: more than 5 % of the edges were badly stretched.
time limit
No result: the run was too slow on a GPU shared with trainings. It is shown only if no rerun gave a result.

All ablations with history window 3

Every ablation of this page, trained again with a history window of 3: the network reads the gradient and the applied update of each of the last 3 iterations. The latent width stays 96. The window is the only change; data, schedule (500,000 steps), and training without DAT are the same. Width and the window itself are not repeated here. W1 is the old model (window 1), W3 the new one. Each window has its own baseline: width_96 for W1 and history_window_3 for W3. Columns 'vs. baseline': geometric mean over 00396, cc_05_06, cc_05_08 and cc_05_16 of the per-sequence median, relative to the baseline of the same window (below 1 is better). They show if a conclusion of the old ablation still holds. Column 'W3 vs. W1, same variant' compares the new model with the old model of the same variant; it shows what the window gives to this variant. The baseline row of that column is the gain of the window alone. 00396 with 5 iterations: median gradient norm at the end of the step (absolute). 00756 can tangle at random: runs that stayed clean, of three. Fixed state: share of the energy decrease that is still missing (lower is better). Green and red mark clear differences (15 % for the benchmark columns). One training per model.

38 of 38 window-3 models have their training and their evaluation.

Variant run with window 1, run with window 3Gradient norm at the end of the step (×)Residual ratio (×)00396 with 5 iterations: median ‖∇G‖00756: clean runsFixed state: missing after 5 it (%)Fixed state: missing after 10 it (%)Training loss
W1 vs. baseline W1W3 vs. baseline W3W3 vs. W1, same variantW1 vs. baseline W1W3 vs. baseline W3W3 vs. W1, same variantW1W3W1W3W1W3W1W3W1W3
Baselinewidth_96history_window_31.00×1.00×0.77×1.00×1.00×0.92×0.960.842 of 33 of 331.123.36.03.10.230.16
Normalization × scale
Per-node normalizationnorm_node_scale_globalhw3_norm_node_scale_global1.91×1.79×0.72×1.66×1.24×0.68×1.192.002 of 32 of 365.951.310.35.90.200.35
Per-node scalescale_per_node_scalehw3_scale_per_node_scalefailed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 3>999431.3230.337.61.731.14
Both per nodenorm_node_scale_nodehw3_norm_node_scale_nodefailed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 3510.1255.444.419.71.720.77
Baseline + magnitudenetwork_inputs_w_gradient_magnitudehw3_network_inputs_w_gradient_magnitude1.37×1.23×0.69×1.31×1.41×0.99×3.770.771 of 33 of 311.89.02.71.10.440.37
Per-node normalization + magnitudemag_norm_node_scale_globalhw3_mag_norm_node_scale_global1.84×0.94×0.39×1.95×1.10×0.52×1.020.743 of 30 of 36.24.61.00.80.230.41
Per-node scale + magnitudemag_norm_global_scale_nodehw3_mag_norm_global_scale_nodefailed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 312.816.11.91.41.550.87
Both per node + magnitudemag_norm_node_scale_nodehw3_mag_norm_node_scale_nodefailed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 3105.8391.86.927.00.870.68
Per-node scale with ring context
1-ring contextscale_per_node_ring1hw3_scale_per_node_ring1failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 3312.7116.534.015.60.880.78
2-ring contextscale_per_node_ring2hw3_scale_per_node_ring2failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 3224.889.213.87.00.810.62
4-ring contextscale_per_node_ring4hw3_scale_per_node_ring4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 3123.768.513.66.70.620.57
8-ring contextscale_per_node_ring8hw3_scale_per_node_ring8failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 3126.965.19.07.60.420.44
16-ring contextscale_per_node_ring16hw3_scale_per_node_ring16failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 370.447.94.95.50.210.35
32-ring contextscale_per_node_ring32hw3_scale_per_node_ring32failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 10 of 353.139.44.75.00.260.33
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_globalhw3_dirnorm_rms_scale_global1.07×2.02×1.46×0.99×1.05×0.98×0.870.932 of 30 of 3>999>999485.6186.20.290.42
Unit direction per vertex, global scaledirnorm_node_scale_globalhw3_dirnorm_node_scale_global19.32×56.97×2.26×10.32×12.96×1.15×43553.780 of 30 of 3133.693.825.522.50.990.58
Direction / RMS, per-node scaledirnorm_rms_scale_nodehw3_dirnorm_rms_scale_nodefailed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 30 of 3>999897.2328.194.21.571.04
Unit direction per vertex, per-node scaledirnorm_node_scale_nodehw3_dirnorm_node_scale_nodefailed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failed 4/4failedfailed0 of 30 of 3347.3257.633.421.61.851.30
Message passing
Context window 0 (no neighbours)context_window_0hw3_context_window_01.52×1.60×0.81×1.59×1.48×0.85×16.2288.362 of 33 of 384.356.411.37.80.450.40
Attention over the 1-ringarch_attentionhw3_arch_attention0.96×0.97×0.78×0.97×1.02×0.96×1.330.680 of 32 of 331.822.44.04.10.360.34
Standard GNN with edge latentsarch_edge_gnnhw3_arch_edge_gnn0.74×0.82×0.86×0.72×0.87×1.11×1.940.823 of 32 of 313.248.1-0.10.20.130.07
Mean + hinge edges (bending stencil)arch_hinge_edgeshw3_arch_hinge_edges1.23×0.96×0.60×1.11×1.08×0.90×5.380.782 of 31 of 325.518.53.81.60.330.44
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravityhw3_init_inertia_gravity1.02×1.05×0.79×1.13×1.16×0.95×1.150.891 of 33 of 330.522.34.12.60.270.15
Adaptive (VBD warm start)init_adaptivehw3_init_adaptive1.15×1.00×0.66×1.12×1.05×0.87×1.140.810 of 33 of 325.726.14.52.30.390.28
Step scale
Per-iteration scalescale_per_iteration_scalehw3_scale_per_iteration_scale6.43×4.57×0.55×2.62×1.70×0.60×5.642.691 of 32 of 3147.346.37.85.00.350.30
No scalescale_wo_scalehw3_scale_wo_scale6.65×9.19×1.06×4.03×4.90×1.12×3.927441 of 33 of 3>999381.5200.527.50.410.24
No iterationscale_wo_iterationhw3_scale_wo_iteration218.40×364.11×1.28×27.45×34.58×1.16×—44.210 of 30 of 3>999>999>999>9992.962.44
Inputs
No current gradientnetwork_inputs_wo_current_gradientshw3_network_inputs_wo_current_gradientsfailed 4/45.78×—failed 4/43.93×—79.881270 of 13 of 393.5670.118.155.21.090.61
No previous gradientnetwork_inputs_wo_previous_gradientshw3_network_inputs_wo_previous_gradients1.34×1.42×0.81×1.31×1.23×0.86×14.102.293 of 32 of 311.126.01.84.30.350.55
No gradientsnetwork_inputs_wo_gradientshw3_network_inputs_wo_gradients11197.18×608.13×0.04×54.62×59.42×1.00×75522.090 of 10 of 3125.8112.5125.9112.7109.43170.44
No last updatenetwork_inputs_wo_displacementshw3_network_inputs_wo_displacements3.48×2.02×0.45×3.04×1.44×0.44×13.622.083 of 33 of 3207.5>99929.3137.70.560.25
Last update / RMSnetwork_inputs_RMS_displacementshw3_network_inputs_RMS_displacementsfailed 3/42.09×—failed 3/40.96×—failed1.020 of 10 of 387.925.79.92.40.390.47
+ built-in cloth statenetwork_inputs_cloth_state_combinedhw3_network_inputs_cloth_state_combined0.86×0.97×0.86×0.97×1.03×0.97×3211512 of 22 of 322.224.53.32.50.240.23
+ contact forcenetwork_inputs_w_contact_gradienthw3_network_inputs_w_contact_gradient0.93×1.13×0.93×1.13×1.23×0.99×5.050.841 of 30 of 34.66.51.11.70.220.15
+ inertia gradientnetwork_inputs_w_inertia_gradienthw3_network_inputs_w_inertia_gradient0.93×0.92×0.76×0.95×0.96×0.92×1.070.880 of 32 of 332.615.73.41.20.260.28
+ current positionnetwork_inputs_w_positionhw3_network_inputs_w_position1.02×1.06×0.80×1.02×1.04×0.93×2.450.890 of 33 of 327.724.83.92.60.180.38
Material via FiLMnetwork_inputs_material_filmhw3_network_inputs_material_film1.03×0.99×0.74×0.98×1.02×0.96×3.460.873 of 33 of 333.118.44.82.40.160.19
Context window
Depth 3context_window_context_window_3hw3_context_window_context_window_30.75×0.82×0.83×0.83×0.83×0.93×1.000.623 of 31 of 321.735.62.42.20.380.18
Depth 5context_window_context_windows_5hw3_context_window_context_windows_50.71×0.83×0.89×0.72×0.85×1.08×0.860.870 of 30 of 321.936.91.32.60.280.43

The three criteria of the paper, median over the time steps objective G, gradient norm ‖∇G‖2 at the end of the step, residual ratio ‖∇G(K)‖ / ‖∇G(0)‖ · 00756: average over the runs that stayed clean · window-3 models; green and red are against the baseline with window 3

Model00396 · 30 itcc_05_06 · 30 itcc_05_08 · 15 itcc_05_16 · 20 it00756 · 30 it · clean runs
G‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratio
Baseline with window 3history_window_34.9190.0320.0092.3760.1170.0233.8810.0360.0181.3330.0240.0218.7220.3790.061
Normalization × scale
Per-node normalizationhw3_norm_node_scale_global4.9180.0270.0072.3740.0630.0144.6710.5640.0621.3260.0360.0339.2300.8600.111
Per-node scalehw3_scale_per_node_scalefailed step 17 of 4,040failed step 21 of 4,690failed step 46 of 3,870failed step 37 of 2,890failed no clean run
Both per nodehw3_norm_node_scale_nodefailed step 91 of 4,040failed step 166 of 4,690failed step 119 of 3,870failed step 380 of 2,890failed no clean run
Baseline + magnitudehw3_network_inputs_w_gradient_magnitude4.9170.0570.0152.3760.1170.0333.8800.0410.0231.3270.0270.0298.7440.3900.068
Per-node normalization + magnitudehw3_mag_norm_node_scale_global4.9180.0360.0082.4260.0770.0243.8760.0400.0191.3300.0240.030failed no clean run
Per-node scale + magnitudehw3_mag_norm_global_scale_nodefailed step 18 of 4,040failed step 26 of 4,690failed step 41 of 3,870failed step 35 of 2,890failed no clean run
Both per node + magnitudehw3_mag_norm_node_scale_nodefailed step 37 of 4,040failed step 70 of 4,690failed step 83 of 3,870failed step 90 of 2,890failed no clean run
Per-node scale with ring context
1-ring contexthw3_scale_per_node_ring1failed step 17 of 4,040failed step 19 of 4,690failed step 46 of 3,870failed step 53 of 2,890failed no clean run
2-ring contexthw3_scale_per_node_ring2failed step 28 of 4,040failed step 35 of 4,690failed step 94 of 3,870failed step 77 of 2,890failed no clean run
4-ring contexthw3_scale_per_node_ring4failed step 34 of 4,040failed step 37 of 4,690failed step 85 of 3,870failed step 96 of 2,890failed no clean run
8-ring contexthw3_scale_per_node_ring8failed step 45 of 4,040failed step 32 of 4,690failed step 105 of 3,870failed step 146 of 2,890failed no clean run
16-ring contexthw3_scale_per_node_ring16failed step 83 of 4,040failed step 87 of 4,690failed step 176 of 3,870failed step 161 of 2,890failed no clean run
32-ring contexthw3_scale_per_node_ring32failed step 89 of 4,040failed step 112 of 4,690failed step 210 of 3,870failed step 166 of 2,890failed no clean run
Output direction normalization
Direction / RMS, global scalehw3_dirnorm_rms_scale_global4.9170.0270.0062.3710.0890.0124.6190.5720.0451.3280.0400.032failed no clean run
Unit direction per vertex, global scalehw3_dirnorm_node_scale_global4.6911.0810.1512.4090.9440.11723.31369.60.5091.3820.4900.252failed no clean run
Direction / RMS, per-node scalehw3_dirnorm_rms_scale_nodefailed step 42 of 4,040failed step 64 of 4,690failed step 62 of 3,870failed step 92 of 2,890failed no clean run
Unit direction per vertex, per-node scalehw3_dirnorm_node_scale_nodefailed step 15 of 4,040failed step 17 of 4,690failed step 44 of 3,870failed step 24 of 2,890failed no clean run
Message passing
Context window 0 (no neighbours)hw3_context_window_04.9290.0730.0192.3660.1210.0233.8730.0500.0201.3300.0500.0448.8200.8660.104
Attention over the 1-ringhw3_arch_attention4.9190.0290.0082.3740.0980.0233.8860.0400.0201.3310.0250.0238.6020.3790.065
Standard GNN with edge latentshw3_arch_edge_gnn4.9180.0310.0082.3740.0910.0233.8800.0340.0161.3280.0160.0168.6900.3130.059
Mean + hinge edges (bending stencil)hw3_arch_hinge_edges4.9190.0280.0072.3720.1030.0243.8890.0420.0271.3240.0230.02314.7563.3610.227
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)hw3_init_inertia_gravity4.9180.0340.0092.3880.1140.0273.8770.0420.0231.3370.0250.0268.6870.3580.063
Adaptive (VBD warm start)hw3_init_adaptive4.9190.0340.0102.3740.1120.0253.8770.0350.0181.3300.0240.0229.1340.4280.068
Step scale
Per-iteration scalehw3_scale_per_iteration_scale4.9090.2470.0142.3700.1480.0313.8720.5000.0341.3290.0780.0458.5820.8400.106
No scalehw3_scale_wo_scale5.1360.6410.0612.3900.6960.1414.0160.5050.0671.3740.1040.08110.2754.4200.349
No iterationhw3_scale_wo_iteration6.90966.20.7362.4075.1480.5497.02549.20.2721.3943.4651.044failed no clean run
Inputs
No current gradienthw3_network_inputs_wo_current_gradients4.9390.4530.0692.3580.3630.0473.8770.1890.0711.3330.1190.0849.9192.7840.180
No previous gradienthw3_network_inputs_wo_previous_gradients4.9160.0280.0072.4340.1340.0293.9520.1240.0321.3260.0290.0288.6600.3170.064
No gradientshw3_network_inputs_wo_gradients4.50424.31.0002.12314.11.00015.945156.61.0001.4328.4051.000failed no clean run
No last updatehw3_network_inputs_wo_displacements4.9150.0730.0112.3610.3080.0423.8720.0620.0251.3300.0400.0318.5980.5870.070
Last update / RMShw3_network_inputs_RMS_displacements4.9180.0330.0082.3740.0920.0134.2580.6540.0271.3250.0320.024failed no clean run
+ built-in cloth statehw3_network_inputs_cloth_state_combined4.9150.0270.0062.3820.1140.0253.8770.0390.0271.3250.0240.02220.21110.80.252
+ contact forcehw3_network_inputs_w_contact_gradient4.9170.0380.0102.3820.1350.0333.8770.0400.0201.3250.0270.027failed no clean run
+ inertia gradienthw3_network_inputs_w_inertia_gradient4.9180.0270.0072.3750.0970.0233.8810.0390.0191.3310.0240.0218.7040.3380.058
+ current positionhw3_network_inputs_w_position4.9180.0320.0092.3760.1150.0253.8980.0490.0201.3230.0240.0219.0170.4390.070
Material via FiLMhw3_network_inputs_material_film4.9180.0320.0092.3720.1050.0253.8790.0390.0181.3280.0250.02213.9423.1510.213
Context window
Depth 3hw3_context_window_context_window_34.9180.0210.0062.3930.1250.0283.8860.0320.0151.3250.0170.0169.0480.2930.055
Depth 5hw3_context_window_context_windows_54.9190.0220.0062.3720.1120.0283.8770.0320.0141.3240.0200.017failed no clean run

The three criteria of the paper, mean over the time steps objective G, gradient norm ‖∇G‖2 at the end of the step, residual ratio ‖∇G(K)‖ / ‖∇G(0)‖ · 00756: average over the runs that stayed clean · window-3 models; green and red are against the baseline with window 3

Model00396 · 30 itcc_05_06 · 30 itcc_05_08 · 15 itcc_05_16 · 20 it00756 · 30 it · clean runs
G‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratio
Baseline with window 3history_window_35.0240.6130.0232.6661.1520.0553.9700.5730.0601.5130.0900.03710.17519.90.150
Normalization × scale
Per-node normalizationhw3_norm_node_scale_global5.0240.1780.0122.6450.7920.0359.3607.0780.1271.5110.0940.04412.22732.90.179
Per-node scalehw3_scale_per_node_scalefailed step 17 of 4,040failed step 21 of 4,690failed step 46 of 3,870failed step 37 of 2,890failed no clean run
Both per nodehw3_norm_node_scale_nodefailed step 91 of 4,040failed step 166 of 4,690failed step 119 of 3,870failed step 380 of 2,890failed no clean run
Baseline + magnitudehw3_network_inputs_w_gradient_magnitude5.0230.6990.0312.6581.7930.0713.9730.6250.0691.5120.0750.04610.51419.70.155
Per-node normalization + magnitudehw3_mag_norm_node_scale_global5.0240.3570.0162.6992.6740.0643.9980.3800.0651.5120.1790.044failed no clean run
Per-node scale + magnitudehw3_mag_norm_global_scale_nodefailed step 18 of 4,040failed step 26 of 4,690failed step 41 of 3,870failed step 35 of 2,890failed no clean run
Both per node + magnitudehw3_mag_norm_node_scale_nodefailed step 37 of 4,040failed step 70 of 4,690failed step 83 of 3,870failed step 90 of 2,890failed no clean run
Per-node scale with ring context
1-ring contexthw3_scale_per_node_ring1failed step 17 of 4,040failed step 19 of 4,690failed step 46 of 3,870failed step 53 of 2,890failed no clean run
2-ring contexthw3_scale_per_node_ring2failed step 28 of 4,040failed step 35 of 4,690failed step 94 of 3,870failed step 77 of 2,890failed no clean run
4-ring contexthw3_scale_per_node_ring4failed step 34 of 4,040failed step 37 of 4,690failed step 85 of 3,870failed step 96 of 2,890failed no clean run
8-ring contexthw3_scale_per_node_ring8failed step 45 of 4,040failed step 32 of 4,690failed step 105 of 3,870failed step 146 of 2,890failed no clean run
16-ring contexthw3_scale_per_node_ring16failed step 83 of 4,040failed step 87 of 4,690failed step 176 of 3,870failed step 161 of 2,890failed no clean run
32-ring contexthw3_scale_per_node_ring32failed step 89 of 4,040failed step 112 of 4,690failed step 210 of 3,870failed step 166 of 2,890failed no clean run
Output direction normalization
Direction / RMS, global scalehw3_dirnorm_rms_scale_global5.0250.6080.0202.6571.5420.0449.9465.7920.1651.5110.0840.044failed no clean run
Unit direction per vertex, global scalehw3_dirnorm_node_scale_global4.9483.4820.2072.6943.1730.16468.298117.20.5751.6003.7390.334failed no clean run
Direction / RMS, per-node scalehw3_dirnorm_rms_scale_nodefailed step 42 of 4,040failed step 64 of 4,690failed step 62 of 3,870failed step 92 of 2,890failed no clean run
Unit direction per vertex, per-node scalehw3_dirnorm_node_scale_nodefailed step 15 of 4,040failed step 17 of 4,690failed step 44 of 3,870failed step 24 of 2,890failed no clean run
Message passing
Context window 0 (no neighbours)hw3_context_window_05.0280.6770.0312.6401.1480.0483.9720.5290.0561.5140.1110.05512.22032.40.202
Attention over the 1-ringhw3_arch_attention5.0240.5040.0222.6601.6850.0614.0180.4670.0451.5130.0710.03810.21522.70.150
Standard GNN with edge latentshw3_arch_edge_gnn5.0240.3250.0172.6571.7900.0643.9480.4090.0411.5100.0760.0349.97321.20.154
Mean + hinge edges (bending stencil)hw3_arch_hinge_edges5.0230.6310.0212.6591.8990.0704.0740.9470.0921.5090.0670.03915.93835.00.273
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)hw3_init_inertia_gravity5.0230.4700.0232.6721.1820.0613.9990.7130.0371.5150.0720.04010.62624.10.162
Adaptive (VBD warm start)hw3_init_adaptive5.0260.8880.0272.6611.8040.0643.9490.5200.0571.5130.0590.03812.89748.20.184
Step scale
Per-iteration scalehw3_scale_per_iteration_scale5.0171.1360.0922.6440.9820.0583.9912.6380.3991.5120.2960.12210.46934.90.222
No scalehw3_scale_wo_scale5.1305.2150.1302.6742.0700.2204.2101.4090.2151.5390.2760.16111.48522.60.386
No iterationhw3_scale_wo_iteration6.94973.40.8102.6857.7430.5796.57150.10.2971.5724.0401.120failed no clean run
Inputs
No current gradienthw3_network_inputs_wo_current_gradients5.0482.2160.0902.6372.0780.0843.9201.3880.1241.5311.0720.13411.24125.80.238
No previous gradienthw3_network_inputs_wo_previous_gradients5.0250.3710.0182.76711.60.0974.1831.5830.0991.5100.0880.04810.91024.00.156
No gradientshw3_network_inputs_wo_gradients32913583.61.000906317694.41.00129075128.91.00023133424.31.000failed no clean run
No last updatehw3_network_inputs_wo_displacements5.0210.7750.0232.6381.6840.0793.9610.6030.0711.5120.1280.04910.54331.80.199
Last update / RMShw3_network_inputs_RMS_displacements5.0240.4530.0202.6540.9400.0484.9442.1510.0561.5090.0690.039failed no clean run
+ built-in cloth statehw3_network_inputs_cloth_state_combined5.0230.4770.0212.6661.7530.0684.1110.8250.0861.5100.0620.03724.89435.90.299
+ contact forcehw3_network_inputs_w_contact_gradient5.0230.4930.0222.6641.6240.0773.9460.3960.0521.5090.0760.040failed no clean run
+ inertia gradienthw3_network_inputs_w_inertia_gradient5.0240.6670.0222.6421.0640.0524.1400.9480.0611.5110.0620.03711.84745.10.187
+ current positionhw3_network_inputs_w_position5.0240.5360.0232.6541.4050.0594.0120.5550.0651.5080.0610.03610.96723.70.165
Material via FiLMhw3_network_inputs_material_film5.0250.8020.0252.6572.1350.0683.9570.3450.0601.5100.0610.03617.47738.10.274
Context window
Depth 3hw3_context_window_context_window_35.0240.5010.0192.6611.9650.0763.9480.3690.0361.5090.0680.03711.40831.50.167
Depth 5hw3_context_window_context_windows_55.0250.4690.0182.6611.4830.0613.9630.2930.0461.5100.0570.039failed no clean run

Reading

  • The old conclusions hold. 32 of the 38 variants keep their verdict against the baseline when both have window 3. The window changes the level of the results, not their order.
  • The window helps most variants by about the same factor as the baseline (0.77×). Of the 24 variants that complete all rollouts with both windows, 20 gain.
  • No variant is clearly better than the window-3 baseline on all criteria. The standard GNN with edge latents and context depth 3 and 5 are at 0.82× to 0.83×, but each loses clean runs on 00756. With window 1 they were at 0.71× to 0.75×: the window and a larger context overlap.
  • The window repairs some weak variants. “No current gradient” and “last update / RMS” now complete all rollouts. Hinge edges, the adaptive initial guess and per-node normalization + magnitude reach the level of the baseline.
  • A per-node step scale still fails: all 12 variants diverge in the rollout.
  • No gain for the output-direction variants, “no scale” and “no iteration”.
  • The same results with a chart and all findings are on a separate page: all ablations with history window 3.

History window

How many earlier iterations the network reads. Window K gives the network the gradient and the applied update of each of the last K iterations, next to the current gradient. The baseline is window 1 (last gradient, last update). Window 0 reads the current gradient only; the accumulated step scale stays, because it is a state of the optimizer and not an input. Every old gradient is divided by the RMS of the current gradient, every old update by the step scale of the last iteration, so the network sees how the sizes changed. Only the first layer grows (576 weights per extra pair). Everything else equals the baseline: width 96, one message-passing round, same data, 500,000 training steps, trained without DAT. Benchmark columns: geometric mean over 00396, cc_05_06, cc_05_08 and cc_05_16 of the per-sequence median relative to the baseline (below 1 is better). 00756 can tangle, so it has its own column: runs that stayed clean, of three. Fixed-state columns: share of the energy decrease that is still missing after 5, 10 and 30 iterations (lower is better), and the gradient norm after 10 iterations relative to the start. Green and red mark clear differences against the baseline.

ModelInput channelsParametersTraining lossBenchmark, 4 sequences (× baseline)00756: clean runsFixed-state test, without DAT (%)Time per iteration, same code path (ms)
residual ratiogradient norm5 it10 it30 itresid. 10 it
Window 0current gradient onlyhistory_window_03112,9982.81failed 4 of 4 runs stopped, after 6 to 453 steps0 of 323.512.84.259.4—
Window 1baselinewidth_969113,5740.231.00×1.00×2 of 331.16.00.063.20.79
Window 2history_window_215114,1500.321.01×0.88×3 of 318.11.60.057.80.84 1.06×
Window 3history_window_321114,7260.160.92×0.77×3 of 323.33.10.054.50.78 0.99×
Window 5history_window_533115,8780.280.94×0.75×1 of 317.71.80.156.60.86 1.09×

The three criteria of the paper, median over the time steps objective G, gradient norm ‖∇G‖2 at the end of the step, residual ratio ‖∇G(K)‖ / ‖∇G(0)‖ · 00756: average over the runs that stayed clean

Model00396 · 30 itcc_05_06 · 30 itcc_05_08 · 15 itcc_05_16 · 20 it00756 · 30 it · clean runs
G‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratio
Window 0current gradient onlyhistory_window_0failed step 7 of 4,040failed step 453 of 4,690failed step 12 of 3,870failed step 6 of 2,890failed no clean run
Window 1baselinewidth_964.9170.0550.0082.3680.1110.0233.8770.0460.0231.3270.0340.0268.7870.4100.065
Window 2history_window_24.9170.0400.0102.3730.1130.0243.8890.0470.0211.3430.0270.0238.6570.4420.058
Window 3history_window_34.9190.0320.0092.3760.1170.0233.8810.0360.0181.3330.0240.0218.7220.3790.061
Window 5history_window_54.9180.0310.0092.3750.1160.0233.8860.0340.0191.3240.0240.0238.6090.3690.062

The three criteria of the paper, mean over the time steps objective G, gradient norm ‖∇G‖2 at the end of the step, residual ratio ‖∇G(K)‖ / ‖∇G(0)‖ · 00756: average over the runs that stayed clean

Model00396 · 30 itcc_05_06 · 30 itcc_05_08 · 15 itcc_05_16 · 20 it00756 · 30 it · clean runs
G‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratio
Window 0current gradient onlyhistory_window_0failed step 7 of 4,040failed step 453 of 4,690failed step 12 of 3,870failed step 6 of 2,890failed no clean run
Window 1baselinewidth_965.0230.4250.0162.6421.1090.0453.9581.0030.0771.5110.0960.04411.01429.10.173
Window 2history_window_25.0230.5280.0222.6501.5710.0553.9851.3900.0701.5150.0770.0409.73015.80.132
Window 3history_window_35.0240.6130.0232.6661.1520.0553.9700.5730.0601.5130.0900.03710.17519.90.150
Window 5history_window_55.0260.6490.0262.6811.5950.0633.9680.3970.0621.5090.0680.03910.06322.70.158

History window × latent width does a wider network use the longer history better? Windows 1, 3 and 5 at widths 96, 128 and 192; everything else as above

Gradient norm at the end of the step geometric mean over the four stable sequences of the per-sequence median, relative to window 1 at width 96

ModelWidth 96Width 128Width 192
Window 11.00×0.92×0.83×
Window 30.77×0.77×0.71×
Window 50.75×0.79×0.73×

Residual ratio geometric mean over the four stable sequences of the per-sequence median, relative to window 1 at width 96

ModelWidth 96Width 128Width 192
Window 11.00×0.97×0.90×
Window 30.92×1.01×0.91×
Window 50.94×1.01×0.89×

All nine models

ModelInput channelsParametersTraining lossBenchmark, 4 sequences (× baseline)00756: clean runsFixed-state test, without DAT (%)
residual ratiogradient norm5 it10 it30 itresid. 10 it
Window 1baselinewidth_969113,5740.231.00×1.00×2 of 331.16.00.063.2
Window 3width 96history_window_321114,7260.160.92×0.77×3 of 323.33.10.054.5
Window 5width 96history_window_533115,8780.280.94×0.75×1 of 317.71.80.156.6
Window 1width 128width_1289200,5820.220.97×0.92×0 of 331.92.40.057.1
Window 3width 128history_window_3_width_12821202,1180.341.01×0.77×2 of 322.12.70.055.3
Window 5width 128history_window_5_width_12833203,6540.251.01×0.79×0 of 314.31.90.152.9
Window 1width 192width_1929448,3260.310.90×0.83×0 of 231.52.30.066.8
Window 3width 192history_window_3_width_19221450,6300.390.91×0.71×3 of 323.23.30.053.9
Window 5width 192history_window_5_width_19233452,9340.280.89×0.73×3 of 318.43.30.051.6

The three criteria of the paper, median over the time steps objective G, gradient norm ‖∇G‖2 at the end of the step, residual ratio ‖∇G(K)‖ / ‖∇G(0)‖ · 00756: average over the runs that stayed clean

Model00396 · 30 itcc_05_06 · 30 itcc_05_08 · 15 itcc_05_16 · 20 it00756 · 30 it · clean runs
G‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratio
Window 1baselinewidth_964.9170.0550.0082.3680.1110.0233.8770.0460.0231.3270.0340.0268.7870.4100.065
Window 3width 96history_window_34.9190.0320.0092.3760.1170.0233.8810.0360.0181.3330.0240.0218.7220.3790.061
Window 5width 96history_window_54.9180.0310.0092.3750.1160.0233.8860.0340.0191.3240.0240.0238.6090.3690.062
Window 1width 128width_1284.9180.0440.0072.3860.1190.0233.8770.0440.0241.3310.0300.024failed no clean run
Window 3width 128history_window_3_width_1284.9190.0330.0092.3940.1110.0293.8790.0380.0191.3320.0240.0238.4773.7430.225
Window 5width 128history_window_5_width_1284.9190.0360.0102.3750.1220.0273.8800.0360.0201.3230.0240.022failed no clean run
Window 1width 192width_1924.9170.0330.0072.3740.1160.0223.8770.0410.0211.3300.0290.024failed no clean run
Window 3width 192history_window_3_width_1924.9180.0300.0082.3830.1020.0253.8780.0350.0161.3320.0220.0228.9630.3700.063
Window 5width 192history_window_5_width_1924.9190.0320.0092.3700.0900.0223.8780.0360.0171.3300.0260.0228.6830.3710.068

The three criteria of the paper, mean over the time steps objective G, gradient norm ‖∇G‖2 at the end of the step, residual ratio ‖∇G(K)‖ / ‖∇G(0)‖ · 00756: average over the runs that stayed clean

Model00396 · 30 itcc_05_06 · 30 itcc_05_08 · 15 itcc_05_16 · 20 it00756 · 30 it · clean runs
G‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratioG‖∇G‖ratio
Window 1baselinewidth_965.0230.4250.0162.6421.1090.0453.9581.0030.0771.5110.0960.04411.01429.10.173
Window 3width 96history_window_35.0240.6130.0232.6661.1520.0553.9700.5730.0601.5130.0900.03710.17519.90.150
Window 5width 96history_window_55.0260.6490.0262.6811.5950.0633.9680.3970.0621.5090.0680.03910.06322.70.158
Window 1width 128width_1285.0260.6480.0182.6711.0350.0433.9341.3260.0751.5100.0710.037failed no clean run
Window 3width 128history_window_3_width_1285.0230.6210.0252.6512.3240.0763.9680.5250.0461.5130.0640.03916.46491.50.292
Window 5width 128history_window_5_width_1285.0250.6580.0282.6701.7670.0683.9780.5760.0551.5090.0690.036failed no clean run
Window 1width 192width_1925.0190.1920.0112.6491.0150.0413.9610.8020.0651.5120.0700.038failed no clean run
Window 3width 192history_window_3_width_1925.0240.5110.0222.6881.1430.0583.9460.4470.0471.5140.0670.03910.95627.80.170
Window 5width 192history_window_5_width_1925.0250.5790.0242.6561.4430.0573.9670.4580.0501.5120.0610.03911.28531.10.185

Reading: window × width

  • A wider network adds little on top of a longer window. At width 128 the gain of the window is the same as at width 96 (0.77× and 0.79× against 0.77× and 0.75×). At width 192 it is a little larger (0.71× and 0.73×). If the two gains multiplied, width 192 with window 3 would reach about 0.64×.
  • The step from width 96 to width 192 with a window of 3 or 5 gives 3 to 8 % in the median gradient norm for 3.9× the parameters. Each model has one training, so this is inside the spread between trainings.
  • The residual ratio does not move: 0.89× to 1.01× for all window and width pairs.
  • The fixed-state test follows the window and not the width: after 5 iterations 22 to 23 % is missing at window 3 and 14 to 18 % at window 5, at every width (window 1: 31 to 32 %).
  • One place where both together help: the 5-iteration run on 00396. The median gradient norm is 0.96 for the baseline, 0.84 and 0.86 for windows 3 and 5 at width 96, and 0.65 and 0.71 at width 192. Width alone is worse there (1.14 at width 128, 1.15 at width 192). This is one sequence and one training per model.
  • 00756: windows 3 and 5 at width 192 stayed clean in 3 of 3 runs; width 128 gave 2 of 3 (window 3) and 0 of 3 (window 5). The pinch is random, so this does not rank the models.

Reading

  • Window 0 (no history input) does not work. It learns worse (training loss 2.81 against 0.23) and every benchmark run stops after 6 to 453 time steps. From a fixed state it still lowers the energy, but slowly: 4.2 % of the decrease is missing after 30 iterations, where the baseline misses 0.0 %.
  • The table “Network inputs” has the two cases between window 0 and window 1. Without the previous gradient the model finishes with a 1.3× higher gradient norm. Without the last update it finishes with a 3.5× higher gradient norm. Without both it fails. The network needs one iteration of history, and the last update is the more important part.
  • Windows 2, 3 and 5 give a small gain over window 1. All three finish every run on the four stable sequences. The median gradient norm at the end of a time step is 0.88×, 0.77× and 0.75× of the baseline. The residual ratio stays level (1.01×, 0.92×, 0.94×). The mean over the time steps shows no gain (1.18×, 0.95×, 0.89×), because a few hard time steps set the mean.
  • The three criteria of the paper, per sequence (windows 2, 3 and 5 against window 1):
    • Objective G: level on the four stable sequences (within 1.5 % in the mean and 1.2 % in the median). On the clean runs of 00756 the mean is 8 to 12 % lower with a longer window; the median is within 2 %.
    • Gradient norm, median: windows 3 and 5 are lower on 00396, cc_05_08 and cc_05_16 (0.56× to 0.79×); window 2 is between 0.72× and 1.03× there. All are level on cc_05_06 (1.02× to 1.06×) and near level on the clean runs of 00756 (0.90× to 1.08×).
    • Residual ratio, median: level on cc_05_06, 10 to 18 % higher on 00396, and 5 to 21 % lower on cc_05_08, cc_05_16 and 00756.
    • Means: mixed. The mean gradient norm is higher on 00396 and cc_05_06 (1.04× to 1.53×) and lower on cc_05_16 and 00756 (0.54× to 0.94×). On cc_05_08 windows 3 and 5 are lower (0.57×, 0.40×) and window 2 is higher (1.39×). A few hard time steps set the mean.
    • No window is better on all three criteria on all sequences.
  • The fixed-state test agrees at low iteration counts: after 5 iterations 18 to 23 % of the energy decrease is missing (baseline 31 %), after 10 iterations 1.6 to 3.1 % (baseline 6.0 %). After 30 iterations all are at 0.
  • The gain is of the same size as the gain from width 256 or from 3 message-passing rounds (0.77× and 0.75× on the same measure). Each model has one training, so the order between windows 2, 3 and 5 is not resolved. The numbers show no clear gain beyond window 3.
  • 00756: windows 2 and 3 stayed clean in 3 of 3 runs, window 5 in 1 of 3, the baseline in 2 of 3. The pinch on this sequence is random; three runs do not separate the models.
  • Cost: 576 more weights per extra pair (+0.5 % to +2 % parameters). Time: the window has no measurable cost. On the same code path one iteration takes 0.79 ms at window 1 and 0.84, 0.78 and 0.86 ms at windows 2, 3 and 5; the spread between repeats is about 0.04 ms (00396, one GPU, two repeats, from the difference between 30- and 10-iteration runs, all work of an iteration included). One limit: windows above 1 run on the Python step path today. The baseline on its captured step graph takes 0.35 ms per iteration. A window above 1 needs the same captured graph before it can match that; this is engineering work and no change of the network.

Benchmark on five sequences

The ablation benchmark: every model on the sequences 00756, 00396, cc_05_06, cc_05_08 and cc_05_16, each with its example configuration of the code base (examples/configs/, unchanged: iteration count, DAT, body motion staging). The recorder of the code base logs the three criteria of the paper at every time step. Each metric has its mean and median over the steps. With body motion staging the ratio is taken against the gradient at the start of the last body stage, as in the summary script of the code base. “max edge” is the largest edge stretch in the run. A run counts as failed when any value becomes non-finite. Green is 30 % or more below the baseline, red is 50 % or more above; G has no colour.

Sequence 00756 K = 30 iterations, body motion staging, 2,640 steps · the numeric columns show the first run; the last column shows every run (green: clean, amber: tangled)

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2max edgeall runs: median ‖∇G‖2
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_9610899.993363240.8020.98424.1324 0.4 0.4
Released checkpointreleased11546.887801320.7670.92238.9132 485 180
Normalization × scale
Per-node normalizationnorm_node_scale_global13.528.5751010.8010.2140.1139.60.8 116 0.9
Per-node scalescale_per_node_scalefailed stopped at step 20 of 2,640
Both per nodenorm_node_scale_nodefailed stopped at step 58 of 2,640
Baseline + magnitudenetwork_inputs_w_gradient_magnitude10.838.61126.440.4160.1780.0586.90.4 failed failed
Per-node normalization + magnitudemag_norm_node_scale_global10.338.65221.500.4810.1580.0747.50.5 0.5 0.5
Per-node scale + magnitudemag_norm_global_scale_nodefailed stopped at step 18 of 2,640
Both per node + magnitudemag_norm_node_scale_nodefailed stopped at step 31 of 2,640
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed stopped at step 33 of 2,640
2-ring contextscale_per_node_ring2failed stopped at step 42 of 2,640
4-ring contextscale_per_node_ring4failed stopped at step 36 of 2,640
8-ring contextscale_per_node_ring8failed stopped at step 69 of 2,640
16-ring contextscale_per_node_ring16failed stopped at step 105 of 2,640
32-ring contextscale_per_node_ring32failed stopped at step 118 of 2,640
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global11883.745314530.8000.99623.7453 3.0 2.6
Unit direction per vertex, global scaledirnorm_node_scale_global1487138214837580.8870.99473.1758 214 735
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed stopped at step 22 of 2,640
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed stopped at step 19 of 2,640
Message passing
Context window 0 (no neighbours)context_window_013.9912.1627.921.5710.1960.1248.01.6 2374 2.1
Attention over the 1-ringarch_attention1173146375819180.8130.99841.41918 failed 383
Standard GNN with edge latentsarch_edge_gnn10.028.59419.890.2860.1390.0499.30.3 0.3 0.3
Mean + hinge edges (bending stencil)arch_hinge_edges10.118.72520.380.4060.1470.0529.60.4 401 0.4
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity11.788.61740.100.3980.1800.05910.40.4 128 11068
Adaptive (VBD warm start)init_adaptive33811614252350.7820.93452.1235 8186 258
Width
Width 16width_16failed stopped at step 957 of 2,640
Width 24width_249.8198.69117.360.5960.1600.0747.40.6 0.7 0.6
Width 32width_32running
Width 64width_6411.278.54941.910.4100.1800.0569.30.4 232 0.5
Width 128width_128791527325318040.7970.99448.91804 83 231
Width 192width_19229210712621920.7820.96739.5192 112
Width 256width_25610.188.60421.460.3710.1410.0567.20.4 0.4 0.4
Step scale
Per-iteration scalescale_per_iteration_scale1871679288290.8190.98647.5829 405 19.2
No scalescale_wo_scale14397.545393030.8420.97069.3303 5.0 1240
No iterationscale_wo_iteration25173.9010781610.9450.97741.5161 862 2106
Inputs
No current gradientnetwork_inputs_wo_current_gradientsfailed stopped at step 94 of 2,640
No previous gradientnetwork_inputs_wo_previous_gradients12.9512.7822.181.5380.2040.1277.21.5 0.5 0.5
No gradientsnetwork_inputs_wo_gradients3417561436217231.0001.00015.21723
No last updatenetwork_inputs_wo_displacements11.519.31330.562.5040.4220.2018.02.5 2.1 2.9
Last update / RMSnetwork_inputs_RMS_displacementsfailed stopped at step 4 of 2,640
+ built-in cloth statenetwork_inputs_cloth_state_combined26.5313.1637.371.4920.2770.16713.21.5 3.8
+ contact forcenetwork_inputs_w_contact_gradient10.368.62022.320.3910.1530.0597.30.4 failed 378
+ inertia gradientnetwork_inputs_w_inertia_gradient57423120538010.8040.99145.2801 5066 failed
+ current positionnetwork_inputs_w_position1731318002800.8160.96535.3280 176 387
Material via FiLMnetwork_inputs_material_film40.389.90360.650.4950.2410.07011.70.5 0.6 0.4
Context window
Depth 3context_window_context_window_310.388.68128.830.1930.1410.04210.30.2 0.2 0.8
Depth 5context_window_context_windows_52172079916730.7940.98852.5673 2274 279
History window (baseline: 1)
Window 0 (no history input)history_window_0failed stopped at step 433 of 2,640
Window 2history_window_29.7328.67815.540.4160.1300.0558.60.4 0.5 0.4
Window 3history_window_310.088.72418.390.3740.1450.0607.80.4 0.4 0.4
Window 5history_window_510.068.60922.730.3690.1580.06210.50.4 177 418
Window 3, width 128history_window_3_width_12822.738.3201577.0360.4320.37617.87.0 failed 0.4
Window 3, width 192history_window_3_width_19211.119.21427.250.4270.1720.06710.40.4 0.4 0.3
Window 5, width 128history_window_5_width_12812127.4573256.430.7850.95137.056 failed failed
Window 5, width 192history_window_5_width_19211.088.75428.370.3660.1750.0647.80.4 0.4 0.4

Sequence 00396 K = 30 iterations, body motion staging, 4,040 steps

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2max edge
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_965.0234.9170.4250.0550.0160.0081.9
Released checkpointreleased5.0194.9160.4710.0840.0160.0091.9
Normalization × scale
Per-node normalizationnorm_node_scale_global5.0264.9170.6200.1790.0450.0322.3
Per-node scalescale_per_node_scalefailed stopped at step 10 of 4,040
Both per nodenorm_node_scale_nodefailed stopped at step 35 of 4,040
Baseline + magnitudenetwork_inputs_w_gradient_magnitude5.0254.9201.1350.0850.0230.0091.9
Per-node normalization + magnitudemag_norm_node_scale_global5.0334.9400.7460.1290.0360.0251.9
Per-node scale + magnitudemag_norm_global_scale_nodefailed stopped at step 11 of 4,040
Both per node + magnitudemag_norm_node_scale_nodefailed stopped at step 33 of 4,040
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed stopped at step 20 of 4,040
2-ring contextscale_per_node_ring2failed stopped at step 32 of 4,040
4-ring contextscale_per_node_ring4failed stopped at step 21 of 4,040
8-ring contextscale_per_node_ring8failed stopped at step 43 of 4,040
16-ring contextscale_per_node_ring16failed stopped at step 85 of 4,040
32-ring contextscale_per_node_ring32failed stopped at step 95 of 4,040
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global5.0254.9170.6720.0280.0200.0052.6
Unit direction per vertex, global scaledirnorm_node_scale_global6.8805.0405.5531.0110.1760.13215.8
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed stopped at step 18 of 4,040
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed stopped at step 12 of 4,040
Message passing
Context window 0 (no neighbours)context_window_05.0214.9401.1310.0800.0370.0182.2
Attention over the 1-ringarch_attention5.0254.9180.4080.0470.0170.0091.9
Standard GNN with edge latentsarch_edge_gnn5.0244.9170.1950.0250.0100.0051.9
Mean + hinge edges (bending stencil)arch_hinge_edges5.0184.9180.4750.0920.0180.0101.9
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity5.0274.9180.4700.0540.0170.0092.1
Adaptive (VBD warm start)init_adaptive5.0264.9170.5910.0780.0190.0101.9
Width
Width 16width_164.9054.7611.2150.1180.0450.0234.1
Width 24width_244.9144.8071.9020.0960.0600.0132.8
Width 32width_324.9364.8180.8260.1090.0220.0122.3
Width 64width_645.0174.9150.6490.1150.0160.0111.9
Width 128width_1285.0264.9180.6480.0440.0180.0072.0
Width 192width_1925.0194.9170.1920.0330.0110.0071.9
Width 256width_2565.0254.9170.4970.0290.0160.0071.9
Step scale
Per-iteration scalescale_per_iteration_scale4.9974.9204.0990.6080.5800.0653.7
No scalescale_wo_scale5.0084.8612.7380.4040.0880.0413.2
No iterationscale_wo_iteration6.7366.56650.5546.250.9770.8676.9
Inputs
No current gradientnetwork_inputs_wo_current_gradientsfailed stopped at step 176 of 4,040
No previous gradientnetwork_inputs_wo_previous_gradients4.9544.8021.6900.0550.0720.0112.6
No gradientsnetwork_inputs_wo_gradients350523743018121.0001.00026.9
No last updatenetwork_inputs_wo_displacements5.0384.9241.4760.1330.1170.0312.4
Last update / RMSnetwork_inputs_RMS_displacements5.0214.9170.4660.0620.0210.0111.9
+ built-in cloth statenetwork_inputs_cloth_state_combined5.0224.9170.2520.0350.0120.0072.0
+ contact forcenetwork_inputs_w_contact_gradient5.0264.9170.3540.0350.0140.0071.9
+ inertia gradientnetwork_inputs_w_inertia_gradient5.0244.9170.4680.0430.0160.0081.9
+ current positionnetwork_inputs_w_position5.0234.9190.4890.0510.0160.0091.9
Material via FiLMnetwork_inputs_material_film5.0214.9170.8680.0550.0170.0071.9
Context window
Depth 3context_window_context_window_35.0234.9180.3650.0300.0140.0071.9
Depth 5context_window_context_windows_55.0234.9180.6600.0330.0200.0071.9
History window (baseline: 1)
Window 0 (no history input)history_window_0failed stopped at step 7 of 4,040
Window 2history_window_25.0234.9170.5280.0400.0220.0101.9
Window 3history_window_35.0244.9190.6130.0320.0230.0091.9
Window 5history_window_55.0264.9180.6490.0310.0260.0093.0
Window 3, width 128history_window_3_width_1285.0234.9190.6210.0330.0250.0092.0
Window 3, width 192history_window_3_width_1925.0244.9180.5110.0300.0220.0081.9
Window 5, width 128history_window_5_width_1285.0254.9190.6580.0360.0280.0101.9
Window 5, width 192history_window_5_width_1925.0254.9190.5790.0320.0240.0092.5

Sequence cc_05_06 K = 30 iterations, body motion staging, 4,690 steps

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2max edge
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_962.6422.3681.1090.1110.0450.0234.1
Released checkpointreleased2.6512.3751.3640.1400.0480.0265.5
Normalization × scale
Per-node normalizationnorm_node_scale_global2.6652.3830.8660.1700.0440.0275.9
Per-node scalescale_per_node_scalefailed stopped at step 14 of 4,690
Both per nodenorm_node_scale_nodefailed stopped at step 66 of 4,690
Baseline + magnitudenetwork_inputs_w_gradient_magnitude2.6552.3791.2220.1480.0670.0347.1
Per-node normalization + magnitudemag_norm_node_scale_global2.6532.3801.1460.2030.0820.0414.8
Per-node scale + magnitudemag_norm_global_scale_nodefailed stopped at step 20 of 4,690
Both per node + magnitudemag_norm_node_scale_nodefailed stopped at step 30 of 4,690
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed stopped at step 23 of 4,690
2-ring contextscale_per_node_ring2failed stopped at step 31 of 4,690
4-ring contextscale_per_node_ring4failed stopped at step 26 of 4,690
8-ring contextscale_per_node_ring8failed stopped at step 33 of 4,690
16-ring contextscale_per_node_ring16failed stopped at step 52 of 4,690
32-ring contextscale_per_node_ring32failed stopped at step 179 of 4,690
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global2.6632.3772.0800.1150.0680.0166.1
Unit direction per vertex, global scaledirnorm_node_scale_global5.6312.67315.981.0170.3300.1269.6
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed stopped at step 18 of 4,690
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed stopped at step 12 of 4,690
Message passing
Context window 0 (no neighbours)context_window_02.6562.3800.9890.1500.0460.0278.1
Attention over the 1-ringarch_attention2.6682.3821.5320.1060.0590.0227.4
Standard GNN with edge latentsarch_edge_gnn2.6452.3691.3070.1080.0520.0204.9
Mean + hinge edges (bending stencil)arch_hinge_edges2.6582.3832.1120.1240.0860.0266.2
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity2.6522.3791.5150.1290.0570.0286.2
Adaptive (VBD warm start)init_adaptive2.6362.3651.1700.1180.0460.0244.0
Width
Width 16width_162.6332.3641.5410.1600.0700.0283.8
Width 24width_242.6382.3671.2870.1370.0660.0304.5
Width 32width_322.6412.3721.2870.1380.0560.0314.0
Width 64width_642.6372.3681.8590.1290.0620.0284.3
Width 128width_1282.6712.3861.0350.1190.0430.0236.8
Width 192width_1922.6492.3741.0150.1160.0410.0225.1
Width 256width_2562.6432.3701.4560.1110.0490.0244.1
Step scale
Per-iteration scalescale_per_iteration_scale2.6382.3681.1050.1700.0770.0284.7
No scalescale_wo_scale2.6692.3982.9640.6210.1800.1195.6
No iterationscale_wo_iteration2.7622.5148.0125.8420.6010.5485.2
Inputs
No current gradientnetwork_inputs_wo_current_gradientsfailed stopped at step 299 of 4,690
No previous gradientnetwork_inputs_wo_previous_gradients2.6292.3581.7920.1540.1110.0295.0
No gradientsnetwork_inputs_wo_gradients4683106104405171.0001.00021.7
No last updatenetwork_inputs_wo_displacements2.7082.4243.3200.4960.3530.0885.6
Last update / RMSnetwork_inputs_RMS_displacementsfailed stopped at step 4 of 4,690
+ built-in cloth statenetwork_inputs_cloth_state_combined2.6352.3650.9780.1070.0390.0233.7
+ contact forcenetwork_inputs_w_contact_gradient2.6612.3831.4830.1580.0690.0427.8
+ inertia gradientnetwork_inputs_w_inertia_gradient2.6452.3740.9280.1160.0460.0235.9
+ current positionnetwork_inputs_w_position2.6342.3641.0600.1170.0410.0223.8
Material via FiLMnetwork_inputs_material_film2.6662.4072.8000.1290.0850.0316.5
Context window
Depth 3context_window_context_window_32.6612.3841.6980.1360.0680.0256.6
Depth 5context_window_context_windows_52.6382.3651.8220.1380.0690.0223.9
History window (baseline: 1)
Window 0 (no history input)history_window_0failed stopped at step 453 of 4,690
Window 2history_window_22.6502.3731.5710.1130.0550.0244.4
Window 3history_window_32.6662.3761.1520.1170.0550.0237.0
Window 5history_window_52.6812.3751.5950.1160.0630.0237.1
Window 3, width 128history_window_3_width_1282.6512.3942.3240.1110.0760.0294.7
Window 3, width 192history_window_3_width_1922.6882.3831.1430.1020.0580.0257.8
Window 5, width 128history_window_5_width_1282.6702.3751.7670.1220.0680.0277.0
Window 5, width 192history_window_5_width_1922.6562.3701.4430.0900.0570.0226.0

Sequence cc_05_08 K = 15 iterations, 3,870 steps

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2max edge
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_963.9583.8771.0030.0460.0770.0235.7
Released checkpointreleased3.9693.8751.3320.0610.0820.0266.3
Normalization × scale
Per-node normalizationnorm_node_scale_global3.9603.8800.2990.0510.0530.0196.0
Per-node scalescale_per_node_scalefailed stopped at step 32 of 3,870
Both per nodenorm_node_scale_nodefailed stopped at step 124 of 3,870
Baseline + magnitudenetwork_inputs_w_gradient_magnitude3.9463.8791.5030.0680.1300.0324.8
Per-node normalization + magnitudemag_norm_node_scale_global3.9813.8780.5200.0600.0690.02818.8
Per-node scale + magnitudemag_norm_global_scale_nodefailed stopped at step 39 of 3,870
Both per node + magnitudemag_norm_node_scale_nodefailed stopped at step 71 of 3,870
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed stopped at step 58 of 3,870
2-ring contextscale_per_node_ring2failed stopped at step 91 of 3,870
4-ring contextscale_per_node_ring4failed stopped at step 76 of 3,870
8-ring contextscale_per_node_ring8failed stopped at step 106 of 3,870
16-ring contextscale_per_node_ring16failed stopped at step 121 of 3,870
32-ring contextscale_per_node_ring32failed stopped at step 224 of 3,870
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global6.0674.0892.8370.0970.0910.03714.4
Unit direction per vertex, global scaledirnorm_node_scale_global7.2035.5978.8363.0650.3820.31510.7
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed stopped at step 58 of 3,870
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed stopped at step 33 of 3,870
Message passing
Context window 0 (no neighbours)context_window_03.9573.8820.5820.0670.0670.0288.6
Attention over the 1-ringarch_attention4.0043.8850.7790.0530.0610.0245.3
Standard GNN with edge latentsarch_edge_gnn3.9753.8770.6810.0530.0480.0194.3
Mean + hinge edges (bending stencil)arch_hinge_edges3.9543.8772.7970.0620.0940.0263.8
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity3.9893.8771.0380.0450.0490.02820.7
Adaptive (VBD warm start)init_adaptive3.9323.8861.6150.0530.0840.0284.6
Width
Width 16width_163.9843.8701.1130.1120.0800.0326.1
Width 24width_243.9553.8791.0850.0550.0850.0244.4
Width 32width_324.0233.8770.9530.0740.0780.02427.4
Width 64width_643.9513.8762.4360.0560.0960.0326.1
Width 128width_1283.9343.8771.3260.0440.0750.0247.4
Width 192width_1923.9613.8770.8020.0410.0650.0216.9
Width 256width_2563.9603.8771.2790.0390.0840.0236.5
Step scale
Per-iteration scalescale_per_iteration_scale3.9843.8865.3201.4670.2710.05119.8
No scalescale_wo_scale4.3484.0671.7030.7730.2100.08016.5
No iterationscale_wo_iteration5.7005.27838.3532.940.2970.26215.0
Inputs
No current gradientnetwork_inputs_wo_current_gradientsfailed stopped at step 112 of 3,870
No previous gradientnetwork_inputs_wo_previous_gradients4.0273.8872.1000.1100.1340.03810.3
No gradientsnetwork_inputs_wo_gradients43771316922549281.0001.00032.2
No last updatenetwork_inputs_wo_displacements3.9663.8881.5420.3030.1540.07213.8
Last update / RMSnetwork_inputs_RMS_displacementsfailed stopped at step 441 of 3,870
+ built-in cloth statenetwork_inputs_cloth_state_combined4.0263.8801.9250.0480.0950.0285.7
+ contact forcenetwork_inputs_w_contact_gradient3.9343.8750.5190.0420.0520.0186.7
+ inertia gradientnetwork_inputs_w_inertia_gradient3.9473.8740.3930.0440.0680.0224.4
+ current positionnetwork_inputs_w_position3.9933.8870.9240.0560.0720.0275.3
Material via FiLMnetwork_inputs_material_film3.9473.8771.9260.0470.0720.0204.4
Context window
Depth 3context_window_context_window_33.9653.8820.5130.0420.0520.0184.5
Depth 5context_window_context_windows_53.9653.8790.6270.0340.0520.0158.2
History window (baseline: 1)
Window 0 (no history input)history_window_0failed stopped at step 12 of 3,870
Window 2history_window_23.9853.8891.3900.0470.0700.02113.0
Window 3history_window_33.9703.8810.5730.0360.0600.01810.9
Window 5history_window_53.9683.8860.3970.0340.0620.0195.3
Window 3, width 128history_window_3_width_1283.9683.8790.5250.0380.0460.01911.2
Window 3, width 192history_window_3_width_1923.9463.8780.4470.0350.0470.0164.0
Window 5, width 128history_window_5_width_1283.9783.8800.5760.0360.0550.02011.7
Window 5, width 192history_window_5_width_1923.9673.8780.4580.0360.0500.0176.2

Sequence cc_05_16 K = 20 iterations, body motion staging, 2,890 steps

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2max edge
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_961.5111.3270.0960.0340.0440.0263.4
Released checkpointreleased1.5121.3300.1070.0330.0460.0253.1
Normalization × scale
Per-node normalizationnorm_node_scale_global1.5091.3270.1740.0820.0670.0545.2
Per-node scalescale_per_node_scalefailed stopped at step 21 of 2,890
Both per nodenorm_node_scale_nodefailed stopped at step 137 of 2,890
Baseline + magnitudenetwork_inputs_w_gradient_magnitude1.5091.3250.0920.0390.0540.0323.3
Per-node normalization + magnitudemag_norm_node_scale_global1.5111.3240.1030.0680.0670.0573.1
Per-node scale + magnitudemag_norm_global_scale_nodefailed stopped at step 29 of 2,890
Both per node + magnitudemag_norm_node_scale_nodefailed stopped at step 52 of 2,890
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed stopped at step 49 of 2,890
2-ring contextscale_per_node_ring2failed stopped at step 73 of 2,890
4-ring contextscale_per_node_ring4failed stopped at step 74 of 2,890
8-ring contextscale_per_node_ring8failed stopped at step 111 of 2,890
16-ring contextscale_per_node_ring16failed stopped at step 197 of 2,890
32-ring contextscale_per_node_ring32failed stopped at step 260 of 2,890
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global1.5101.3310.1450.0390.0530.0344.0
Unit direction per vertex, global scaledirnorm_node_scale_global3.4551.4276.7660.4210.3380.2449.5
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed stopped at step 29 of 2,890
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed stopped at step 24 of 2,890
Message passing
Context window 0 (no neighbours)context_window_01.5301.3420.2080.0630.0740.0524.1
Attention over the 1-ringarch_attention1.5091.3240.0750.0300.0350.0223.1
Standard GNN with edge latentsarch_edge_gnn1.5111.3250.0720.0200.0330.0163.3
Mean + hinge edges (bending stencil)arch_hinge_edges1.5091.3240.0770.0310.0400.0253.7
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity1.5101.3310.0990.0330.0440.0273.7
Adaptive (VBD warm start)init_adaptive1.5111.3250.0990.0340.0440.0273.1
Width
Width 16width_161.5181.3230.3940.0510.0650.0393.5
Width 24width_241.5131.3270.2260.0430.0510.0363.5
Width 32width_321.5091.3300.1130.0400.0440.0303.7
Width 64width_641.5101.3250.1080.0380.0470.0283.6
Width 128width_1281.5101.3310.0710.0300.0370.0244.3
Width 192width_1921.5121.3300.0700.0290.0380.0243.3
Width 256width_2561.5121.3290.0840.0260.0410.0244.5
Step scale
Per-iteration scalescale_per_iteration_scale1.5101.3250.6030.1070.3290.0572.6
No scalescale_wo_scale1.5651.4200.2500.0960.1400.0768.0
No iterationscale_wo_iteration1.8331.6055.6942.4350.6610.5133.3
Inputs
No current gradientnetwork_inputs_wo_current_gradientsfailed stopped at step 1,181 of 2,890
No previous gradientnetwork_inputs_wo_previous_gradients1.5181.3350.2050.0330.0480.0283.6
No gradientsnetwork_inputs_wo_gradients24347.069360072.391.0001.00012.9
No last updatenetwork_inputs_wo_displacements1.5461.3730.4700.0700.1690.0493.7
Last update / RMSnetwork_inputs_RMS_displacementsfailed stopped at step 6 of 2,890
+ built-in cloth statenetwork_inputs_cloth_state_combined1.5101.3280.0680.0290.0370.0233.4
+ contact forcenetwork_inputs_w_contact_gradient1.5111.3220.1690.0310.0530.0342.9
+ inertia gradientnetwork_inputs_w_inertia_gradient1.5111.3310.0880.0340.0360.0223.9
+ current positionnetwork_inputs_w_position1.5111.3290.0950.0300.0420.0243.3
Material via FiLMnetwork_inputs_material_film1.5131.3340.0800.0320.0370.0245.3
Context window
Depth 3context_window_context_window_31.5111.3230.0710.0180.0330.0163.0
Depth 5context_window_context_windows_51.5101.3240.0620.0160.0310.0143.1
History window (baseline: 1)
Window 0 (no history input)history_window_0failed stopped at step 6 of 2,890
Window 2history_window_21.5151.3430.0770.0270.0400.0234.7
Window 3history_window_31.5131.3330.0900.0240.0370.0214.0
Window 5history_window_51.5091.3240.0680.0240.0390.0233.3
Window 3, width 128history_window_3_width_1281.5131.3320.0640.0240.0390.0234.7
Window 3, width 192history_window_3_width_1921.5141.3320.0670.0220.0390.0223.1
Window 5, width 128history_window_5_width_1281.5091.3230.0690.0240.0360.0223.0
Window 5, width 192history_window_5_width_1921.5121.3300.0610.0260.0390.0224.1

Reading

  • On four of the five sequences (00396, cc_05_06, cc_05_08, cc_05_16) the baseline is not beaten by any width. Widths 64 to 256 are level with it in median gradient norm and ratio. Widths 16 to 32 finish here, because these configurations use 15 to 30 iterations.
  • Context windows 3 and 5 are lower on two sequences: median ratio 0.015 to 0.018 against 0.023 on cc_05_08, and 0.014 to 0.016 against 0.026 on cc_05_16. They are level on 00396 and cc_05_06. They cost 3 and 5 message-passing rounds per iteration.
  • Per-node gradient normalization is not better at these iteration counts. It is level on cc_05_06 and cc_05_08 and worse on 00396 (median ratio 0.032 against 0.008) and cc_05_16 (0.054 against 0.026).
  • Failed on every sequence: all ten per-node scale models and the model without the current gradient. The last update divided by its RMS fails on four of five. The model without gradient inputs finishes but makes no progress (ratio 1.0).
  • The retrained baseline matches the released checkpoint on 00396, cc_05_06, cc_05_08 and cc_05_16: the median ratios differ by at most 15 %.
  • 00756 separates the models, and it needs repeated runs. Around steps 660 to 990 a run either stays clean (median gradient norm below 1) or tangles and does not recover (above 100, edge stretch above 20). Out of three runs each: the released checkpoint tangled 3 times, the baseline once, context window 5 and width 128 3 times, width 64 and per-node normalization once. Never tangled in three runs: context window 3, per-node normalization with the magnitude input, widths 24 and 256, and the models without the previous gradient or without the last update. Three runs are a small sample, so read this as a tendency.
  • Width 32 fails on 00756 in all three runs, and the magnitude input alone fails in two of three.
  • Output direction normalization. Direction divided by its RMS, with the global scale, is level with the baseline: its median ratio is lower on 00396 and cc_05_06 (0.005 and 0.016 against 0.008 and 0.023) and higher on cc_05_08 and cc_05_16 (0.037 and 0.034 against 0.023 and 0.026). A unit direction at every vertex with the global scale is much worse on every sequence (median ratio 0.13 to 0.99). With the per-node scale both normalizations fail on every sequence within 12 to 72 steps, so normalizing the direction does not rescue the per-node scale.
  • Context window 0 (no neighbour information) finishes every sequence but is worse on all of them: the median ratio is 1.2 to 2.3 times the baseline at 15 to 30 iterations. At 5 iterations on 00396 its median gradient norm is 16 against 0.96. Neighbour information matters most when iterations are few.
  • Attention over the 1-ring is level with the neighbour mean on four sequences and at 10 and 30 iterations on 00396. At 5 iterations it is worse (median ratio 0.190 against 0.123). It costs 38 % more time per iteration (0.47 ms against 0.34 ms). On 00756 it tangled twice and failed once.
  • The built-in cloth-state inputs are level with the baseline at 10 iterations and more, and break down at 5 iterations on 00396 (median gradient norm 321).
  • The standard GNN block with edge latents is the only variant that is lower than the baseline on most sequences. Median ratio 0.005, 0.020, 0.019 and 0.016 against 0.008, 0.023, 0.023 and 0.026, and it stayed clean on 00756 in all three runs (median gradient norm 0.3 each). On 00396 it is better at 10 iterations (0.026 against 0.037) and worse at 5 iterations (0.201 against 0.123). It costs 3.3 times the time per iteration (1.13 ms against 0.34 ms) and has twice the parameters. At equal time the baseline is far ahead on 00396: the baseline at 30 iterations takes about as long as the standard GNN at 10 and reaches a ratio of 0.002 against 0.026. The edge block uses plain PyTorch operations, not a tuned kernel like the neighbour mean, so its cost can come down.
  • Initial guess of a time step. The baseline starts the iterations at x + dt v. Starting at x + dt v + dt² g (inertia + gravity) or at the adaptive warm start of vertex block descent gives no gain. Both are level with the baseline on 00396, cc_05_06, cc_05_08 and cc_05_16 at 15 to 30 iterations, and about 20 % worse in median gradient norm at 5 iterations on 00396 (1.15 and 1.14 against 0.86 to 0.96). On 00756 they tangled more often in three runs: inertia + gravity twice, adaptive three times, the baseline once. The ratio column divides by the gradient at the start point, which this ablation changes, so the gradient norm is the number to compare here.
  • Hinge edges in the graph (opposite vertex to opposite vertex of every bending hinge, one round): level with the baseline on 00396, cc_05_06, cc_05_08 and cc_05_16, and worse at 5 iterations on 00396 (median gradient norm 5.4 against 0.86 to 0.96). On 00756 it tangled once in three runs, like the baseline.
  • More inputs. The inertia gradient, the current position and the material through FiLM are level with the baseline at 15 to 30 iterations. The contact gradient is level on three sequences and worse on cc_05_06 (median ratio 0.042 against 0.023). At 5 iterations on 00396 only the inertia input stays level (1.07); position (2.5), FiLM (3.5) and the contact gradient (5.1) are worse. On 00756 the material FiLM model stayed clean in all three runs; the position model tangled three times, the inertia model twice and failed once, and the contact model had one clean run, one tangled and one failed.

Criteria of the paper

The three criteria of the paper, recorded at every time step of the rollout on dlayers_00396 (4,040 steps, DAT on, 15 mm): the objective G after K iterations, the gradient norm ‖∇XG‖2 over the free vertices, and the gradient norm after K iterations divided by the gradient norm at the start of the step. The recorder is the one of the code base (experiments/ablation_statistics/run.py), changed only to accept a sewn scene. Both gradients use the final contact set of the step. Each metric has its mean and its median over the steps. A run counts as failed when any value becomes non-finite, as in the summary script of the code base. Green is 30 % or more below the baseline, red is 50 % or more above; G has no colour.

K = 5 iterations per time step

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_965.0484.9345.600.960.1790.123
Released checkpointreleasednot run
Normalization × scale
Per-node normalizationnorm_node_scale_global5.0344.9375.021.190.1740.127
Per-node scalescale_per_node_scalefailed non-finite at step 50 of 4,040
Both per nodenorm_node_scale_nodefailed non-finite at step 107 of 4,040
Baseline + magnitudenetwork_inputs_w_gradient_magnitude4.2904.17410.173.770.1180.063
Per-node normalization + magnitudemag_norm_node_scale_global5.3725.00017.931.020.2010.133
Per-node scale + magnitudemag_norm_global_scale_nodefailed non-finite at step 48 of 4,040
Both per node + magnitudemag_norm_node_scale_nodefailed non-finite at step 100 of 4,040
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed non-finite at step 100 of 4,040
2-ring contextscale_per_node_ring2failed non-finite at step 151 of 4,040
4-ring contextscale_per_node_ring4failed non-finite at step 118 of 4,040
8-ring contextscale_per_node_ring8failed non-finite at step 158 of 4,040
16-ring contextscale_per_node_ring16failed non-finite at step 203 of 4,040
32-ring contextscale_per_node_ring32failed non-finite at step 418 of 4,040
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global5.0284.8965.520.870.2010.126
Unit direction per vertex, global scaledirnorm_node_scale_global7137475684350.9020.990
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed non-finite at step 72 of 4,040
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed non-finite at step 50 of 4,040
Message passing
Context window 0 (no neighbours)context_window_07.0265.51641.2416.220.4240.428
Attention over the 1-ringarch_attention5.0424.9147.291.330.2410.190
Standard GNN with edge latentsarch_edge_gnn5.5035.32821.911.940.2380.201
Mean + hinge edges (bending stencil)arch_hinge_edges4.9724.98411.595.380.1770.117
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity5.1945.1779.641.150.2370.186
Adaptive (VBD warm start)init_adaptive5.2185.2725.741.140.1920.142
Width
Width 16width_16failed non-finite at step 3,370 of 4,040
Width 24width_24failed non-finite at step 421 of 4,040
Width 32width_32failed non-finite at step 419 of 4,040
Width 64width_644.7474.31014.738.810.1670.125
Width 128width_1285.0334.8895.901.140.2030.145
Width 192width_1925.0144.8685.681.150.1800.127
Width 256width_2565.1845.3586.411.060.1940.127
Step scale
Per-iteration scalescale_per_iteration_scale5.2524.93320.695.640.2460.146
No scalescale_wo_scale5.1915.26811.963.920.1890.098
No iterationscale_wo_iterationnot run
Inputs
No current gradientnetwork_inputs_wo_current_gradients9.6027.77210079.880.7160.721
No previous gradientnetwork_inputs_wo_previous_gradients5.3664.74725.5914.100.3260.234
No gradientsnetwork_inputs_wo_gradients349622542497551.0001.000
No last updatenetwork_inputs_wo_displacements5.6425.29826.4613.620.3660.359
Last update / RMSnetwork_inputs_RMS_displacementsfailed non-finite at step 252 of 4,040
+ built-in cloth statenetwork_inputs_cloth_state_combined91415634463210.8230.890
+ contact forcenetwork_inputs_w_contact_gradient7.5366.14444.035.050.1570.050
+ inertia gradientnetwork_inputs_w_inertia_gradient5.0314.9335.441.070.2110.159
+ current positionnetwork_inputs_w_position5.0444.91412.402.450.1980.132
Material via FiLMnetwork_inputs_material_film4.9394.9088.443.460.1110.051
Context window
Depth 3context_window_context_window_35.0254.9204.821.000.2130.162
Depth 5context_window_context_windows_55.0324.9304.380.860.2040.159
History window (baseline: 1)
Window 0 (no history input)history_window_0failed non-finite at step 53 of 4,040
Window 2history_window_25.0234.9393.570.890.1400.105
Window 3history_window_35.0154.9243.160.840.1590.108
Window 5history_window_55.0194.9164.250.860.1660.123
Window 3, width 128history_window_3_width_1285.0174.9313.580.770.1560.106
Window 3, width 192history_window_3_width_1925.0314.9212.550.650.1490.100
Window 5, width 128history_window_5_width_1285.0034.9192.880.890.1510.108
Window 5, width 192history_window_5_width_1925.0194.9292.500.710.1410.102

K = 10 iterations per time step

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_965.0214.9171.170.190.0600.037
Released checkpointreleasednot run
Normalization × scale
Per-node normalizationnorm_node_scale_global5.0344.9251.290.160.0490.034
Per-node scalescale_per_node_scalefailed non-finite at step 29 of 4,040
Both per nodenorm_node_scale_nodefailed non-finite at step 65 of 4,040
Baseline + magnitudenetwork_inputs_w_gradient_magnitude5.0224.9131.710.250.0750.048
Per-node normalization + magnitudemag_norm_node_scale_global5.0294.9281.100.210.0590.039
Per-node scale + magnitudemag_norm_global_scale_nodefailed non-finite at step 32 of 4,040
Both per node + magnitudemag_norm_node_scale_nodefailed non-finite at step 39 of 4,040
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed non-finite at step 53 of 4,040
2-ring contextscale_per_node_ring2failed non-finite at step 78 of 4,040
4-ring contextscale_per_node_ring4failed non-finite at step 68 of 4,040
8-ring contextscale_per_node_ring8failed non-finite at step 80 of 4,040
16-ring contextscale_per_node_ring16failed non-finite at step 115 of 4,040
32-ring contextscale_per_node_ring32failed non-finite at step 242 of 4,040
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global5.0234.9171.030.220.0640.040
Unit direction per vertex, global scaledirnorm_node_scale_global40.06337.28358.6342.220.5620.599
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed non-finite at step 43 of 4,040
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed non-finite at step 29 of 4,040
Message passing
Context window 0 (no neighbours)context_window_05.1765.3063.310.420.0840.050
Attention over the 1-ringarch_attention5.0274.9211.160.200.0510.032
Standard GNN with edge latentsarch_edge_gnn5.0244.9190.860.150.0420.026
Mean + hinge edges (bending stencil)arch_hinge_edges4.9084.7923.420.330.1000.044
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity5.0224.9181.400.210.0600.045
Adaptive (VBD warm start)init_adaptive5.0234.9191.590.210.0610.037
Width
Width 16width_164.7974.8484.500.470.0840.051
Width 24width_245.0275.0346.750.440.1250.071
Width 32width_325.0184.8733.910.290.1100.052
Width 64width_645.0114.9132.200.270.0810.044
Width 128width_1285.0284.9271.690.190.0570.036
Width 192width_1925.0224.9161.370.200.0510.034
Width 256width_2565.0184.9121.500.180.0560.034
Step scale
Per-iteration scalescale_per_iteration_scale4.9284.9367.862.610.2460.082
No scalescale_wo_scale5.0534.9415.480.740.1280.052
No iterationscale_wo_iterationnot run
Inputs
No current gradientnetwork_inputs_wo_current_gradientsfailed non-finite at step 58 of 4,040
No previous gradientnetwork_inputs_wo_previous_gradients5.0104.9835.200.590.1280.056
No gradientsnetwork_inputs_wo_gradients350423742988111.0001.000
No last updatenetwork_inputs_wo_displacements5.1605.1987.681.720.1810.132
Last update / RMSnetwork_inputs_RMS_displacementsfailed non-finite at step 273 of 4,040
+ built-in cloth statenetwork_inputs_cloth_state_combined5.0274.9321.050.180.0580.033
+ contact forcenetwork_inputs_w_contact_gradient5.0324.9321.770.180.0520.033
+ inertia gradientnetwork_inputs_w_inertia_gradient5.0274.9211.130.170.0470.031
+ current positionnetwork_inputs_w_position5.0304.9371.660.200.0590.037
Material via FiLMnetwork_inputs_material_film5.0284.9192.500.220.0630.037
Context window
Depth 3context_window_context_window_35.0184.9150.840.140.0380.024
Depth 5context_window_context_windows_55.0174.9150.540.130.0340.021
History window (baseline: 1)
Window 0 (no history input)history_window_0failed non-finite at step 3,528 of 4,040
Window 2history_window_25.0204.9161.210.170.0450.032
Window 3history_window_35.0224.9161.160.150.0370.025
Window 5history_window_55.0184.9190.570.170.0360.026
Window 3, width 128history_window_3_width_1285.0204.9181.110.160.0380.026
Window 3, width 192history_window_3_width_1925.0224.9191.090.150.0360.025
Window 5, width 128history_window_5_width_1285.0164.9160.700.160.0350.025
Window 5, width 192history_window_5_width_1925.0194.9210.630.140.0320.024

K = 30 iterations per time step

ModelG‖∇XG‖2‖∇XG(K)‖2 / ‖∇XG(0)‖2
meanmedianmeanmedianmeanmedian
Baseline (width 96)width_965.0224.9180.520.010.0070.002
Released checkpointreleasednot run
Normalization × scale
Per-node normalizationnorm_node_scale_global5.0224.9180.290.020.0060.003
Per-node scalescale_per_node_scalefailed non-finite at step 10 of 4,040
Both per nodenorm_node_scale_nodefailed non-finite at step 41 of 4,040
Baseline + magnitudenetwork_inputs_w_gradient_magnitude5.0244.9180.840.010.0080.003
Per-node normalization + magnitudemag_norm_node_scale_global5.0264.9190.150.020.0060.003
Per-node scale + magnitudemag_norm_global_scale_nodefailed non-finite at step 14 of 4,040
Both per node + magnitudemag_norm_node_scale_nodefailed non-finite at step 29 of 4,040
Per-node scale with ring context
1-ring contextscale_per_node_ring1failed non-finite at step 17 of 4,040
2-ring contextscale_per_node_ring2failed non-finite at step 26 of 4,040
4-ring contextscale_per_node_ring4failed non-finite at step 21 of 4,040
8-ring contextscale_per_node_ring8failed non-finite at step 33 of 4,040
16-ring contextscale_per_node_ring16failed non-finite at step 51 of 4,040
32-ring contextscale_per_node_ring32failed non-finite at step 82 of 4,040
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global5.0224.9180.560.010.0090.002
Unit direction per vertex, global scaledirnorm_node_scale_global8.9075.33918.263.970.2320.141
Direction / RMS, per-node scaledirnorm_rms_scale_nodefailed non-finite at step 17 of 4,040
Unit direction per vertex, per-node scaledirnorm_node_scale_nodefailed non-finite at step 12 of 4,040
Message passing
Context window 0 (no neighbours)context_window_05.0304.9310.740.030.0160.005
Attention over the 1-ringarch_attention5.0244.9180.520.010.0070.002
Standard GNN with edge latentsarch_edge_gnn5.0224.9180.150.010.0040.001
Mean + hinge edges (bending stencil)arch_hinge_edges5.0224.9180.860.010.0070.002
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity5.0234.9170.320.010.0050.002
Adaptive (VBD warm start)init_adaptive5.0244.9180.720.020.0080.002
Width
Width 16width_165.0044.9131.360.040.0210.006
Width 24width_245.0224.9170.560.020.0120.004
Width 32width_325.0244.9170.310.020.0100.004
Width 64width_645.0224.9170.760.020.0080.003
Width 128width_1285.0244.9190.650.010.0070.002
Width 192width_1925.0224.9180.160.010.0040.002
Width 256width_2565.0234.9190.440.010.0050.001
Step scale
Per-iteration scalescale_per_iteration_scale5.0445.0326.091.010.2410.031
No scalescale_wo_scale5.0014.8161.560.380.0890.045
No iterationscale_wo_iterationnot run
Inputs
No current gradientnetwork_inputs_wo_current_gradientsfailed non-finite at step 702 of 4,040
No previous gradientnetwork_inputs_wo_previous_gradients4.9194.7770.840.030.0340.005
No gradientsnetwork_inputs_wo_gradients350423742988111.0001.000
No last updatenetwork_inputs_wo_displacements5.0235.0162.190.170.0680.021
Last update / RMSnetwork_inputs_RMS_displacementsfailed non-finite at step 856 of 4,040
+ built-in cloth statenetwork_inputs_cloth_state_combined5.0234.9180.170.010.0060.002
+ contact forcenetwork_inputs_w_contact_gradient5.0234.9180.200.010.0060.002
+ inertia gradientnetwork_inputs_w_inertia_gradient5.0224.9180.420.020.0100.003
+ current positionnetwork_inputs_w_position5.0234.9180.210.010.0050.002
Material via FiLMnetwork_inputs_material_film5.0244.9180.920.010.0080.002
Context window
Depth 3context_window_context_window_35.0214.9180.380.010.0050.002
Depth 5context_window_context_windows_55.0224.9180.160.010.0040.001
History window (baseline: 1)
Window 0 (no history input)history_window_0failed non-finite at step 7 of 4,040
Window 2history_window_25.0234.9190.540.010.0060.002
Window 3history_window_35.0234.9200.410.010.0050.002
Window 5history_window_55.0214.9170.530.010.0060.001
Window 3, width 128history_window_3_width_1285.0224.9190.710.010.0060.002
Window 3, width 192history_window_3_width_1925.0234.9180.740.010.0060.001
Window 5, width 128history_window_5_width_1285.0224.9200.390.010.0050.002
Window 5, width 192history_window_5_width_1925.0224.9190.420.010.0050.001

Reading

  • At 5 iterations no stable model is clearly below the baseline in gradient norm or in the residual ratio. Per-node normalization is level with it (median ratio 0.127 against 0.123), and so are widths 128 to 256 and both context windows. The magnitude input has a lower ratio but a 4 times larger gradient norm: its run drifted away, so its start gradients are larger and its ratio is not comparable.
  • At 10 iterations the context windows 3 and 5 are about 30 % lower in median gradient norm and ratio. The other stable models stay level with the baseline.
  • At 30 iterations all stable models with the full inputs are equal: median gradient norm about 0.01 to 0.02, median ratio 0.001 to 0.004.
  • Failed by the strict rule: every per-node scale model at every K, the last update divided by its RMS, the model without the current gradient at 10 and 30 iterations, and widths 16, 24 and 32 at 5 iterations.
  • The mean gradient norm is several times the median in every row. A few steps with large gradients dominate the mean, so the median is the steadier number.
  • G is comparable only while the trajectories stay together. A garment that slides down lowers G: width 64 and the magnitude input at 5 iterations have the lowest G and are the runs that ended far from the reference.

Fixed-state test

The direct test of the code base (experiments/checkpoints/checkpoint_progress.py). Every model solves the same 300 saved states, each one time step, with fresh optimizer history. The states come from two motions of the repository's test split, simulated by the baseline at 60 iterations. Numbers are in percent; lower is better. “5 it”, “10 it”, “30 it”: share of the energy decrease that is still missing, median over the states. 100 % of the decrease is what the baseline reaches after 60 iterations on the same state. A value above 100 means the energy went up. “resid.”: gradient norm after 10 iterations relative to the start. “failed”: share of states with a non-finite result. Green is clearly better than the baseline, red is clearly worse. Two limits. The optimizer starts cold in every state (step scale 1e-4, no history), so the 5-iteration column mostly shows how fast a model finds its step size; in a rollout the history carries over. The trainings used all motions (split: all), so this is a like-for-like loss on fixed states, not a held-out test.

ModelWithout DAT (as in training)With DAT
5 it10 it30 itresid. 10 itfailed5 it10 it30 itresid. 10 itfailed
Baseline (width 96)width_9631.16.00.063.2014.03.80.024.80
Released checkpointreleasednot run
Normalization × scale
Per-node normalizationnorm_node_scale_global65.910.30.162.0028.87.00.023.20
Per-node scalescale_per_node_scale>9992300.497.9044037.90.131.80
Both per nodenorm_node_scale_node51044.40.174.6013413.40.024.70
Baseline + magnitudenetwork_inputs_w_gradient_magnitude11.82.70.159.508.82.60.027.70
Per-node normalization + magnitudemag_norm_node_scale_global6.21.00.041.306.11.10.019.40
Per-node scale + magnitudemag_norm_global_scale_node12.81.90.354.1010.41.90.124.40
Both per node + magnitudemag_norm_node_scale_node1066.90.264.7034.93.80.123.90
Per-node scale with ring context
1-ring contextscale_per_node_ring131334.00.075.101109.70.128.40
2-ring contextscale_per_node_ring222513.80.176.1058.65.50.130.20
4-ring contextscale_per_node_ring412413.60.181.7040.05.10.028.20
8-ring contextscale_per_node_ring81279.00.073.5044.84.30.027.00
16-ring contextscale_per_node_ring1670.44.90.074.4022.12.30.025.40
32-ring contextscale_per_node_ring3253.14.70.067.0022.33.10.025.60
Output direction normalization
Direction / RMS, global scaledirnorm_rms_scale_global>99948616.2233016415.30.037.90
Unit direction per vertex, global scaledirnorm_node_scale_global13425.53.358.0053.715.12.828.30
Direction / RMS, per-node scaledirnorm_rms_scale_node>99932829.0141012032.36.336.30
Unit direction per vertex, per-node scaledirnorm_node_scale_node34733.41.475.5010313.40.329.70
Message passing
Context window 0 (no neighbours)context_window_084.311.30.274.5019.85.80.327.30
Attention over the 1-ringarch_attention31.84.00.057.1013.12.60.023.90
Standard GNN with edge latentsarch_edge_gnn13.2-0.1-0.555.707.40.1-0.122.30
Mean + hinge edges (bending stencil)arch_hinge_edges25.53.80.165.7012.43.20.028.40
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)init_inertia_gravity30.54.10.072.9013.02.30.025.90
Adaptive (VBD warm start)init_adaptive25.74.50.160.4013.23.20.026.50
Width
Width 16width_1641.04.80.567.4021.95.50.226.30
Width 24width_2428.72.80.268.7013.62.80.123.90
Width 32width_3223.73.00.073.1014.82.50.027.40
Width 64width_6433.04.10.167.5014.53.40.025.80
Width 128width_12831.92.40.057.1014.22.10.024.40
Width 192width_19231.52.30.066.8013.12.20.024.40
Width 256width_25622.72.00.062.4011.71.80.024.70
Step scale
Per-iteration scalescale_per_iteration_scale1477.80.195.8020.73.90.028.60
No scalescale_wo_scale>9992005.0138072.711.92.134.60
No iterationscale_wo_iteration>999>999>9995800>9996845321860
Inputs
No current gradientnetwork_inputs_wo_current_gradients93.518.15.284.0051.519.75.552.80
No previous gradientnetwork_inputs_wo_previous_gradients11.11.80.551.7015.72.70.124.70
No gradientsnetwork_inputs_wo_gradients12612612610801081081081010
No last updatenetwork_inputs_wo_displacements20829.30.887.9024.18.40.628.20
Last update / RMSnetwork_inputs_RMS_displacements87.99.90.093.5024.83.30.033.40
+ built-in cloth statenetwork_inputs_cloth_state_combined22.23.30.155.7013.22.50.023.90
+ contact forcenetwork_inputs_w_contact_gradient4.61.10.141.306.41.20.120.50
+ inertia gradientnetwork_inputs_w_inertia_gradient32.63.40.057.8013.42.50.124.50
+ current positionnetwork_inputs_w_position27.73.90.061.1014.33.70.026.00
Material via FiLMnetwork_inputs_material_film33.14.80.069.0012.22.80.024.70
Context window
Depth 3context_window_context_window_321.72.40.059.9010.51.10.024.10
Depth 5context_window_context_windows_521.91.30.159.5012.31.40.021.80
History window (baseline: 1)
Window 0 (no history input)history_window_023.512.84.259.4026.416.86.940.00
Window 2history_window_218.11.60.057.8011.51.50.024.20
Window 3history_window_323.33.10.054.5011.12.50.024.00
Window 5history_window_517.71.80.156.6010.82.40.024.70
Window 3, width 128history_window_3_width_12822.12.70.055.3012.11.90.025.70
Window 3, width 192history_window_3_width_19223.23.30.053.9013.42.10.021.20
Window 5, width 128history_window_5_width_12814.31.90.152.909.51.70.023.00
Window 5, width 192history_window_5_width_19218.43.30.051.6012.02.10.020.90

Reading

  • All models except three solve a single step: after 30 iterations they reach the same energy as the baseline. The exceptions are the model without gradient inputs (it never lowers the energy), the model without the current gradient and the model without a step scale (each 5 % missing).
  • Per-node scale models do not fail here. They start badly (after 5 iterations the energy is far above the start) and are level with the baseline after 30 iterations. Their rollouts break within 200 steps. So the per-node scale can solve one step from a cold start; the failure is in the rollout, where the scale carries over from step to step. More rings make the cold start better: 1 ring 34 % missing after 10 iterations, 32 rings 5 %.
  • Fastest from a cold start: per-node normalization with the magnitude input (6 % missing after 5 iterations, baseline 31 %). The magnitude input alone and the model without the previous gradient are also faster than the baseline here.
  • Per-node normalization without the magnitude input is slower from a cold start (66 % missing after 5 iterations), although its rollouts are the best. The magnitude input removes this.
  • Width has a small effect: 16 is the slowest; 96 to 256 are equal after 10 iterations.
  • The ranking differs from the rollout tables. A cold start rewards a fast step-size search; a rollout rewards stability over thousands of steps. Both are needed.

Gradient normalization × step scale

Gradient normalization: the gradient input is divided by the RMS of the whole mesh (global) or by the size of the gradient of that vertex (per node). Step scale: one learned scale per axis for the whole mesh (global) or one per vertex (per node). Magnitude input: log10 of the divisor as one more input channel.

Without the gradient magnitude input
global scale
per-node scale
global normalization
width_96
5 it OK10 it OK5 it 7 mm OK30 it OK
scale_per_node_scale
5 it NaN10 it NaN5 it 7 mm NaN30 it NaN
per-node normalization
norm_node_scale_global
5 it OK10 it OK5 it 7 mm OK30 it OK
norm_node_scale_node
5 it NaN10 it NaN5 it 7 mm NaN30 it NaN
With the gradient magnitude input
global scale
per-node scale
global normalization
network_inputs_w_gradient_magnitude
5 it far off10 it OK5 it 7 mm NaN
mag_norm_global_scale_node
5 it NaN10 it NaN5 it 7 mm NaN
per-node normalization
mag_norm_node_scale_global
5 it OK10 it OK5 it 7 mm OK
mag_norm_node_scale_node
5 it NaN10 it NaN5 it 7 mm NaN
Variant5 it · 15 mm
edgedepthdist.
10 it · 15 mm
edgedepthdist.
5 it · 7 mm
edgedepthdist.
30 it · 15 mm
edgedepthdist.
Baselinewidth_96
OK6.110.311 / 49
OK2.71.810 / 32
OK1.97.46 / 11
OK4.11.215 / 47
OK1.95.73 / 5
Per-node normalizationnorm_node_scale_global
OK4.72.911 / 26
OK4.21.610 / 21
OK2.25.95 / 5
OK4.02.617 / 123
OK1.96.83 / 4
Per-node scalescale_per_node_scale
NaN · step 60
NaN · step 60
NaN · step 60
NaN · step 60
NaN · step 60
Both per nodenorm_node_scale_node
NaN · step 120
NaN · step 120
NaN · step 60
NaN · step 120
NaN · step 60
Baseline + magnitudenetwork_inputs_w_gradient_magnitude
far off7.931.7116 / 202
far off9.210.3109 / 255
OK1.95.17 / 10
NaN · step 4040
–
Per-node normalization + magnitudemag_norm_node_scale_global
OK7.810.813 / 61
OK7.16.513 / 50
OK2.63.36 / 10
OK7.84.322 / 42
–
Per-node scale + magnitudemag_norm_global_scale_node
NaN · step 60
NaN · step 60
NaN · step 60
NaN · step 60
–
Both per node + magnitudemag_norm_node_scale_node
NaN · step 120
NaN · step 120
NaN · step 60
NaN · step 120
–

Reading

  • The column decides the result. Both models with a global scale work. All models with a per-node scale fail, with either normalization.
  • Per-node normalization with a global scale is better than the baseline row at 5 iterations and equal to it at 10 and 30 iterations. At 7 mm its end distance is larger (123 mm against 47 mm); one run each.
  • The magnitude input makes the baseline worse at 5 iterations and changes nothing at 10 iterations. With per-node normalization it changes little.

Per-node step scale: k-ring context and truncated scale

The scale head of a vertex reads the mean of its k-ring neighbourhood (network.scale_context_rings). “cut s” means solver.truncated_scale: true: at inference the per-vertex scale follows the DAT cut. All these models were trained without DAT.

Variant5 it · 15 mm5 it · 15 mm · cut s10 it · 15 mm10 it · 15 mm · cut s5 it · 7 mm5 it · 7 mm · cut s30 it · 15 mm30 it · 15 mm · cut s
Per-node scaleno neighbourhoodscale_per_node_scale
NaN · step 60
NaN · step 60
broken · step 120
broken · step 120
NaN · step 60
broken · step 120
NaN · step 60
broken · step 120
NaN · step 60
broken · step 60
1-ring contextscale_per_node_ring1
NaN · step 120
NaN · step 120
broken · step 180
broken · step 120
NaN · step 60
broken · step 120
NaN · step 120
broken · step 120
NaN · step 60
broken · step 60
2-ring contextscale_per_node_ring2
NaN · step 180
NaN · step 180
broken · step 360
broken · step 180
NaN · step 120
broken · step 240
NaN · step 180
broken · step 300
NaN · step 60
broken · step 60
4-ring contextscale_per_node_ring4
NaN · step 180
NaN · step 180
broken · step 300
broken · step 180
NaN · step 120
broken · step 120
NaN · step 180
broken · step 180
NaN · step 60
broken · step 60
8-ring contextscale_per_node_ring8
NaN · step 180
NaN · step 180
broken · step 180
broken · step 180
NaN · step 120
broken · step 120
NaN · step 180
broken · step 240
NaN · step 60
broken · step 120
16-ring contextscale_per_node_ring16
broken · step 240
NaN · step 240
broken · step 240
broken · step 240
NaN · step 120
broken · step 120
NaN · step 240
broken · step 240
NaN · step 60
broken · step 120
32-ring contextscale_per_node_ring32
broken · step 300
NaN · step 300
broken · step 300
broken · step 360
NaN · step 300
broken · step 240
broken · step 360
broken · step 300
NaN · step 120
broken · step 120

Check without DAT

Variant5 it · no DAT
edgedepthdist.
30 it · no DAT
edgedepthdist.
Baselinewidth_96
OK4.62.427 / 69
OK2.04.18 / 18
Per-node normalizationnorm_node_scale_global
OK3.74.116 / 31
OK1.95.58 / 18
Per-node scalescale_per_node_scale
NaN · step 60
NaN · step 60
Both per nodenorm_node_scale_node
broken · step 180
broken · step 120

Reading

  • No per-node scale model survives 200 steps. A neighbourhood of 1 to 32 rings for the scale head does not change this.
  • With the truncated scale the run no longer gives NaN, but the mesh is badly stretched at the first checks. So the cut is not the only cause.
  • DAT is not the cause: the same models also break without DAT, where the global-scale models run without problems.
  • The trainings already show the problem (see the last table): per-node scale runs restart 1.1 to 2.8 times as many episodes as the baseline. A larger ring count lowers this number.
  • The cause is not yet known.

Latent width

Same network and training, only the latent width changes. Width 96 is the main configuration.

Variant5 it · 15 mm
edgedepthdist.
10 it · 15 mm
edgedepthdist.
5 it · 7 mm
edgedepthdist.
30 it · 15 mm
edgedepthdist.
Width 16width_16
far off12.614.1156 / 179
far off10.97.6165 / 164
OK5.23.326 / 40
far off8.817.7137 / 157
–
Width 24width_24
NaN · step 420
NaN · step 480
NaN · step 480
OK4.63.538 / 114
NaN · step 1200
–
Width 32width_32
broken · step 240
broken · step 360
OK3.01.311 / 51
broken · step 240
–
Width 64width_64
lost4.31.5250 / 5.2 m
lost4.21.3230 / 7.5 m
OK1.94.88 / 14
lost8.21.488 / 7.1 m
–
Width 96baselinewidth_96
OK6.110.311 / 49
OK2.71.810 / 32
OK1.97.46 / 11
OK4.11.215 / 47
OK1.95.73 / 5
Width 128width_128
OK6.04.513 / 44
OK9.016.115 / 54
OK1.95.87 / 9
OK7.011.414 / 48
–
Width 192width_192
OK4.13.48 / 34
OK6.07.88 / 39
OK1.96.04 / 8
OK5.95.311 / 53
OK1.95.73 / 4
Width 256width_256
OK6.55.017 / 46
OK5.311.717 / 43
OK1.95.010 / 14
OK8.111.918 / 53
–

Reading

  • At 10 iterations widths 64 to 256 are equal (end distance 8 to 14 mm).
  • At 5 iterations only widths 96, 128, 192 and 256 stay on the reference. Width 64 keeps the mesh intact but a garment slides off the body.
  • Widths 16 to 32 need 10 iterations to finish, and 16 and 24 are then less accurate.
  • Widths 128, 192 and 256 give no clear gain over 96 on this scene.

Step scale mode

The scale ablations of ablations/2026_11.md.

Variant5 it · 15 mm
edgedepthdist.
10 it · 15 mm
edgedepthdist.
5 it · 7 mm
edgedepthdist.
30 it · 15 mm
edgedepthdist.
Global scalebaselinewidth_96
OK6.110.311 / 49
OK2.71.810 / 32
OK1.97.46 / 11
OK4.11.215 / 47
OK1.95.73 / 5
Per-iteration scalescale_per_iteration_scale
far off7.16.5100 / 167
far off8.425.7119 / 181
OK5.42.523 / 80
far off9.511.250 / 163
–
Per-node scalescale_per_node_scale
NaN · step 60
NaN · step 60
NaN · step 60
NaN · step 60
NaN · step 60
No scalescale_wo_scale
OK5.34.738 / 76
broken · step 2160
OK4.64.931 / 56
OK7.27.138 / 106
–
No iterationno scale, 1 iteration per stepscale_wo_iteration
far off58.417.3280 / 711
far off12.222.7293 / 786
far off13.28.3283 / 625
lost16.622.4249 / 4.2 m
lost24.16.1180 / 6.4 m

Reading

  • The global scale is the best mode.
  • The per-iteration scale finishes every run but ends far from the reference at 5 iterations.
  • Without a scale, one of the two runs at 5 iterations and 15 mm breaks. The runs that finish are about 3 times as far from the reference at 25 % of the sequence.
  • The model without iteration is still in training. It needs its own test with 1 iteration per step.

Network inputs

One input removed or changed at a time.

Variant5 it · 15 mm
edgedepthdist.
10 it · 15 mm
edgedepthdist.
5 it · 7 mm
edgedepthdist.
30 it · 15 mm
edgedepthdist.
All inputsbaselinewidth_96
OK6.110.311 / 49
OK2.71.810 / 32
OK1.97.46 / 11
OK4.11.215 / 47
OK1.95.73 / 5
No current gradientnetwork_inputs_wo_current_gradients
NaN · step 2220
NaN · step 2160
NaN · step 120
NaN · step 1320
–
No previous gradientnetwork_inputs_wo_previous_gradients
lost7.019.1180 / 8.7 m
NaN · step 3900
OK4.26.623 / 68
far off5.35.8164 / 242
–
No gradientscurrent and previous removednetwork_inputs_wo_gradients
broken · step 2220
broken · step 2400
––
No last updatenetwork_inputs_wo_displacements
broken · step 1740
OK11.423.629 / 90
OK6.03.312 / 34
broken · step 1200
–
Last update / RMSinstead of / step scalenetwork_inputs_RMS_displacements
NaN · step 360
NaN · step 180
NaN · step 2340
OK4.214.515 / 78
–
+ gradient magnitudenetwork_inputs_w_gradient_magnitude
far off7.931.7116 / 202
far off9.210.3109 / 255
OK1.95.17 / 10
NaN · step 4040
–

Reading

  • Without the current gradient the solver gives NaN in every setting.
  • Without the previous gradient the 5-iteration runs end far from the reference; one loses a garment and one gives NaN. At 10 iterations it finishes.
  • Without both gradients the mesh breaks at 5 and at 10 iterations. This model also did not learn (see the training table).
  • Without the last update it breaks in two of three runs at 5 iterations. At 10 iterations it finishes.
  • The last update divided by its RMS (instead of by the step scale) gives NaN at 15 mm.
  • The gradient magnitude as an added input makes the 5-iteration result worse.

Context window

Number of message-passing rounds per iteration.

Variant5 it · 15 mm
edgedepthdist.
10 it · 15 mm
edgedepthdist.
5 it · 7 mm
edgedepthdist.
30 it · 15 mm
edgedepthdist.
Depth 1baselinewidth_96
OK6.110.311 / 49
OK2.71.810 / 32
OK1.97.46 / 11
OK4.11.215 / 47
OK1.95.73 / 5
Depth 3shared weightscontext_window_context_window_3
OK3.817.711 / 71
OK4.54.512 / 42
OK2.28.04 / 5
OK3.11.719 / 42
–
Depth 5shared weightscontext_window_context_windows_5
OK3.90.89 / 20
OK4.81.89 / 21
OK2.15.03 / 6
OK5.40.512 / 33
OK2.46.33 / 4

Reading

  • Depth 3 equals the baseline within the run-to-run spread.
  • Depth 5 is closer to the reference than the baseline at 5 iterations (end distance 20 to 21 mm against 32 to 49 mm) and equal at 10 and 30 iterations.
  • Depth 3 and 5 cost 3 and 5 message-passing rounds per iteration. A fair comparison needs equal time, which this page does not have.

Training side

Loss: median over the last 50,000 steps of the logged loss (energy after the update; the samples change, so small differences mean nothing). Restarts: how often the training pool started a new episode. Each run sees the same data, so more restarts than the baseline mean that more rollouts were cut short.

RunStateLossRestarts per 1,000 stepsvs. baseline
width_16done0.58371.0×
width_24done0.51361.0×
width_32done0.46361.0×
width_64done0.43361.0×
width_96done0.23361.0×
width_128done0.22361.0×
width_192done0.31361.0×
width_256done0.31361.0×
norm_node_scale_globaldone0.20361.0×
scale_per_node_scaledone1.731002.8×
norm_node_scale_nodedone1.72681.9×
network_inputs_w_gradient_magnitudedone0.44361.0×
mag_norm_node_scale_globaldone0.23351.0×
mag_norm_global_scale_nodedone1.55942.6×
mag_norm_node_scale_nodedone0.87601.7×
scale_per_node_ring1done0.88641.8×
scale_per_node_ring2done0.81521.5×
scale_per_node_ring4done0.62501.4×
scale_per_node_ring8done0.42411.1×
scale_per_node_ring16done0.21371.0×
scale_per_node_ring32done0.26361.0×
scale_per_iteration_scaledone0.35361.0×
scale_wo_scaledone0.41361.0×
scale_wo_iterationdone2.9670919.8×
network_inputs_wo_current_gradientsdone1.09391.1×
network_inputs_wo_previous_gradientsdone0.35351.0×
network_inputs_wo_gradientsdone109.432587.2×
network_inputs_wo_displacementsdone0.56371.0×
network_inputs_RMS_displacementsdone0.39361.0×
context_window_context_window_3done0.38361.0×
context_window_context_windows_5done0.28361.0×
history_window_0done2.81411.1×
history_window_2done0.32361.0×
history_window_3done0.16361.0×
history_window_5done0.28361.0×
history_window_3_width_128done0.34361.0×
history_window_3_width_192done0.39361.0×
history_window_5_width_128done0.25361.0×
history_window_5_width_192done0.28361.0×

Reading

  • All global-scale runs restart about 36 episodes per 1,000 steps. This is the normal rate.
  • Per-node scale runs restart more often: 100 for the plain per-node scale, 41 to 64 with a ring context.
  • The model without gradient inputs did not learn (loss above 100). The model without iteration restarts most often.
  • The loss alone does not predict the inference result: widths 32 and 64 have a normal loss but fail at 5 iterations.