Learned Cloth Optimizer · rerun of 23 November 2026

All ablations with history window 3

Every ablation of the optimizer network was trained again with a history window of 3. The network then reads the gradient and the applied update of each of the last 3 iterations, not only of the last one. This page compares each new model with the old model of the same variant.

Data as of 2026-11-23 20:12 UTC Trainings finished 38 of 38 Models with all results 38 of 38

Findings

All 38 models are trained and evaluated. “×” is the gradient norm at the end of the step relative to a baseline; below 1 is better.

  1. 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.
  2. The window helps most variants by about the same factor as the baseline. The baseline gains 0.77×. Of the 24 variants that complete all rollouts with both windows, 20 gain with window 3, most of them between 0.66× and 0.89×.
  3. No variant is clearly better than the window-3 baseline on all criteria. The three best variants are the standard GNN with edge latents (0.82×), context depth 3 (0.82×) and context depth 5 (0.83×). Each of them loses clean runs on 00756 (2, 1 and 0 of 3; the baseline has 3 of 3).
  4. The window and a larger context overlap. With window 1 the same three variants were at 0.71× to 0.75× of their baseline. With window 3 the gain is smaller (0.82× to 0.83×). Against the original baseline they reach 0.62× to 0.64×, the lowest gradient norms of all models.
  5. The window repairs some weak variants. “No current gradient” and “last update / RMS” failed their rollouts with window 1 and complete all four with window 3 (5.78× and 2.09×). Hinge edges (1.23× → 0.96×), the adaptive initial guess (1.15× → 1.00×) and per-node normalization + magnitude (1.84× → 0.94×) reach the level of the baseline. The last one has no clean run on 00756.
  6. A per-node step scale still fails. All 12 variants with a per-node scale diverge in the rollout, with both windows. In the fixed-state test 10 of the 12 miss less after 5 iterations than with window 1, but this does not carry over to a rollout.
  7. The window does not help the output-direction variants and the variants without a learned scale. “Direction / RMS, global scale” gets worse (1.07× → 2.02×, clean runs on 00756 from 2 of 3 to 0 of 3). “Unit direction per vertex” goes from 19× to 57×. “No scale” and “no iteration” stay far from the baseline.
  8. The history inputs still matter with window 3. Without the last updates the model is at 2.02×, without the previous gradients at 1.42×, without any gradient at 608×. The extra inputs (contact force, inertia gradient, position, cloth state, FiLM) stay within 0.92× to 1.13× of the baseline.

Window 1 against window 3, every variant

Each row is one variant. The two marks are the old model (window 1) and the new model (window 3) on the same axis: the gradient norm at the end of the step, relative to the baseline with window 1. It is the geometric mean over four sequences. The dashed lines are the two baselines. A mark left of its dashed line is better than the baseline of its window.

Window 1 (old model)Window 3 (new model)× rollout failed on at least one of the four sequences
0.5×1×2×5×10×20×gradient norm at the end of the step, relative to the baseline with window 1 (log scale, lower is better)above 20×rollout failedbaseline, window 1baseline, window 3 (0.77×)BaselineINPUTSNo current gradientNo previous gradientsNo gradientsNo last updatesLast update / RMS+ built-in cloth state+ contact force+ inertia gradient+ current positionMaterial via FiLMMESSAGE PASSINGContext window 0 (no neighbours)Context depth 3Context depth 5Attention over the 1-ringStandard GNN with edge latentsMean + hinge edges (bending stencil)INITIAL GUESS OF A TIME STEPInertia + gravity (x + dt v + dt² g)Adaptive (VBD warm start)STEP SCALEPer-iteration scaleNo scaleNo iterationNORMALIZATION × SCALEPer-node normalizationPer-node scaleBoth per nodeBaseline + magnitudePer-node normalization + magnitudePer-node scale + magnitudeBoth per node + magnitudePER-NODE SCALE WITH RING CONTEXT1-ring context2-ring context4-ring context8-ring context16-ring context32-ring contextOUTPUT DIRECTION NORMALIZATIONDirection / RMS, global scaleUnit direction per vertex, global scaleDirection / RMS, per-node scaleUnit direction per vertex, per-node scale

Verdicts that changed

A verdict compares a variant with the baseline of the same window, on the gradient norm at the end of the step: better (below 0.85×), similar, worse (above 1.15×), or fails (the rollout stopped on at least one of the four sequences). 32 variants keep their verdict with window 3. 6 variants change it:

VariantWith window 1, against the baseline with window 1With window 3, against the baseline with window 3
No current gradientfails 4 of 4worse 5.78×
Last update / RMSfails 3 of 4worse 2.09×
Mean + hinge edges (bending stencil)worse 1.23×similar 0.96×
Adaptive (VBD warm start)worse 1.15×similar 1.00×
Per-node normalization + magnitudeworse 1.84×similar 0.94×
Direction / RMS, global scalesimilar 1.07×worse 2.02×

All numbers

W1 is the old model (window 1), W3 the new model (window 3). Each window has its own baseline: width_96 for W1 and history_window_3 for W3. The columns “vs. baseline” show if a conclusion of the old ablation still holds. The column “W3 vs. W1, same variant” shows what the window gives to this variant; in the baseline row it is the gain of the window alone (0.77× on the gradient norm, 0.92× on the residual ratio). Green and red mark clear differences against the baseline of the same window.

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
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 gradientsnetwork_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_gradients11,197×608×0.04×54.62×59.42×1.00×75522.090 of 10 of 3125.8112.5125.9112.7109.43170.44
No last updatesnetwork_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
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
Context 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
Context 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
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×364×1.28×27.45×34.58×1.16×—44.210 of 30 of 3>999>999>999>9992.962.44
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

The three criteria per sequence

The window-3 models on each benchmark sequence: objective G, gradient norm ‖∇G‖2 at the end of the step, and residual ratio (gradient norm at the end divided by the gradient norm at the start of the step). Green is below 0.7× of the window-3 baseline, red is above 1.5×. The 00756 columns are the mean over the runs that stayed clean.

Median over the time steps

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
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 gradientshw3_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 updateshw3_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
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
Context depth 3hw3_context_window_context_window_34.9180.0210.0062.3930.1250.0283.8860.0320.0151.3250.0170.0169.0480.2930.055
Context depth 5hw3_context_window_context_windows_54.9190.0220.0062.3720.1120.0283.8770.0320.0141.3240.0200.017failed no clean run
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
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

Mean over the time steps

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
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 gradientshw3_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_gradients3,2913,583.61.0009,06317,694.41.0012,9075,128.91.0002,3133,424.31.000failed no clean run
No last updateshw3_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
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
Context depth 3hw3_context_window_context_window_35.0240.5010.0192.6611.9650.0763.9480.3690.0361.5090.0680.03711.40831.50.167
Context depth 5hw3_context_window_context_windows_55.0250.4690.0182.6611.4830.0613.9630.2930.0461.5100.0570.039failed no clean run
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
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

Method

What changed

Only network.history_window: 3. The first layer gets 12 more input channels. The latent width stays 96. Data, schedule (500,000 steps), and training without DAT are the same as for the old models. Each old gradient is divided by the RMS of the current gradient, each old update by the step scale of the last iteration.

The ablations of the width and of the window itself are not repeated.

Tests

benchmark
Full rollouts of five sequences: 00396, cc_05_06, cc_05_08, cc_05_16 and 00756. The “×” columns are the geometric mean over the first four of the per-sequence median, relative to a baseline.
00756
This sequence can tangle at random. It runs three times; a run is clean if its median gradient norm stays below 20.
5 it
00396 with 5 iterations per step: median gradient norm at the end of the step (absolute).
fixed state
272 saved states, one time step each, cold optimizer. Share of the energy decrease that is still missing after 5 and 10 iterations (lower is better; above 100 means the energy went up).

Marks

failed n/4
The rollout stopped (NaN or badly stretched edges) on n of the four sequences. No “×” value exists then.
3 of 3
Clean runs on 00756.
loss
Training loss at the end, mean over the last steps. Losses of different variants are not always comparable.

Models and configurations

One training per model. The configurations are in the repository under ablations/history-window-3/, with a mirror under ablations-xyz/. Each run is in runs/<name>/. The final weights and the configuration of every model are also kept in one folder, checkpoints/history-window-3/ of the task folder, as <name>.pt and <name>.yaml.

Model with window 3Training configurationSame variant with window 1
history_window_3ablations/history-window/history-window-3.yamlwidth_96
Inputs
No current gradienthw3_network_inputs_wo_current_gradientsablations/history-window-3/network-inputs-wo-current-gradients.yamlnetwork_inputs_wo_current_gradients
No previous gradientshw3_network_inputs_wo_previous_gradientsablations/history-window-3/network-inputs-wo-previous-gradients.yamlnetwork_inputs_wo_previous_gradients
No gradientshw3_network_inputs_wo_gradientsablations/history-window-3/network-inputs-wo-gradients.yamlnetwork_inputs_wo_gradients
No last updateshw3_network_inputs_wo_displacementsablations/history-window-3/network-inputs-wo-displacements.yamlnetwork_inputs_wo_displacements
Last update / RMShw3_network_inputs_RMS_displacementsablations/history-window-3/network-inputs-RMS-displacements.yamlnetwork_inputs_RMS_displacements
+ built-in cloth statehw3_network_inputs_cloth_state_combinedablations/history-window-3/network-inputs-cloth-state-combined.yamlnetwork_inputs_cloth_state_combined
+ contact forcehw3_network_inputs_w_contact_gradientablations/history-window-3/network-inputs-w-contact-gradient.yamlnetwork_inputs_w_contact_gradient
+ inertia gradienthw3_network_inputs_w_inertia_gradientablations/history-window-3/network-inputs-w-inertia-gradient.yamlnetwork_inputs_w_inertia_gradient
+ current positionhw3_network_inputs_w_positionablations/history-window-3/network-inputs-w-position.yamlnetwork_inputs_w_position
Material via FiLMhw3_network_inputs_material_filmablations/history-window-3/network-inputs-material-film.yamlnetwork_inputs_material_film
Message passing
Context window 0 (no neighbours)hw3_context_window_0ablations/history-window-3/context-window-context-window-0.yamlcontext_window_0
Context depth 3hw3_context_window_context_window_3ablations/history-window-3/context-window-context-window-3.yamlcontext_window_context_window_3
Context depth 5hw3_context_window_context_windows_5ablations/history-window-3/context-window-context-windows-5.yamlcontext_window_context_windows_5
Attention over the 1-ringhw3_arch_attentionablations/history-window-3/architecture-attention.yamlarch_attention
Standard GNN with edge latentshw3_arch_edge_gnnablations/history-window-3/architecture-edge-gnn.yamlarch_edge_gnn
Mean + hinge edges (bending stencil)hw3_arch_hinge_edgesablations/history-window-3/architecture-hinge-edges.yamlarch_hinge_edges
Initial guess of a time step
Inertia + gravity (x + dt v + dt² g)hw3_init_inertia_gravityablations/history-window-3/initial-guess-inertia-gravity.yamlinit_inertia_gravity
Adaptive (VBD warm start)hw3_init_adaptiveablations/history-window-3/initial-guess-adaptive.yamlinit_adaptive
Step scale
Per-iteration scalehw3_scale_per_iteration_scaleablations/history-window-3/scale-per-iteration-scale.yamlscale_per_iteration_scale
No scalehw3_scale_wo_scaleablations/history-window-3/scale-wo-scale.yamlscale_wo_scale
No iterationhw3_scale_wo_iterationablations/history-window-3/scale-wo-iteration.yamlscale_wo_iteration
Normalization × scale
Per-node normalizationhw3_norm_node_scale_globalablations/history-window-3/network-inputs-node-gradient-normalization.yamlnorm_node_scale_global
Per-node scalehw3_scale_per_node_scaleablations/history-window-3/scale-per-node-scale.yamlscale_per_node_scale
Both per nodehw3_norm_node_scale_nodeablations/history-window-3/scale-per-node-scale-node-gradient-normalization.yamlnorm_node_scale_node
Baseline + magnitudehw3_network_inputs_w_gradient_magnitudeablations/history-window-3/network-inputs-w-gradient-magnitude.yamlnetwork_inputs_w_gradient_magnitude
Per-node normalization + magnitudehw3_mag_norm_node_scale_globalablations/history-window-3/network-inputs-node-gradient-normalization-w-gradient-magnitude.yamlmag_norm_node_scale_global
Per-node scale + magnitudehw3_mag_norm_global_scale_nodeablations/history-window-3/scale-per-node-scale-w-gradient-magnitude.yamlmag_norm_global_scale_node
Both per node + magnitudehw3_mag_norm_node_scale_nodeablations/history-window-3/scale-per-node-scale-node-gradient-normalization-w-gradient-magnitude.yamlmag_norm_node_scale_node
Per-node scale with ring context
1-ring contexthw3_scale_per_node_ring1ablations/history-window-3/scale-per-node-scale-ring1.yamlscale_per_node_ring1
2-ring contexthw3_scale_per_node_ring2ablations/history-window-3/scale-per-node-scale-ring2.yamlscale_per_node_ring2
4-ring contexthw3_scale_per_node_ring4ablations/history-window-3/scale-per-node-scale-ring4.yamlscale_per_node_ring4
8-ring contexthw3_scale_per_node_ring8ablations/history-window-3/scale-per-node-scale-ring8.yamlscale_per_node_ring8
16-ring contexthw3_scale_per_node_ring16ablations/history-window-3/scale-per-node-scale-ring16.yamlscale_per_node_ring16
32-ring contexthw3_scale_per_node_ring32ablations/history-window-3/scale-per-node-scale-ring32.yamlscale_per_node_ring32
Output direction normalization
Direction / RMS, global scalehw3_dirnorm_rms_scale_globalablations/history-window-3/direction-rms-direction.yamldirnorm_rms_scale_global
Unit direction per vertex, global scalehw3_dirnorm_node_scale_globalablations/history-window-3/direction-node-direction.yamldirnorm_node_scale_global
Direction / RMS, per-node scalehw3_dirnorm_rms_scale_nodeablations/history-window-3/direction-rms-direction-per-node-scale.yamldirnorm_rms_scale_node
Unit direction per vertex, per-node scalehw3_dirnorm_node_scale_nodeablations/history-window-3/direction-node-direction-per-node-scale.yamldirnorm_node_scale_node