NeIO on Newton's examples: the retrained rigid network
Neural Intrinsic Optimizer in place of SolverVBD inside Newton's own examples. Rerun of 2026-11-26 and 2026-11-27 (Pacific time).
Summary
- What this is. A rerun of the Newton examples that have rigid bodies, with the retrained rigid network of NeIO. 24 of the 33 examples of the earlier page have bodies. The other nine have only cloth or soft bodies; the rigid network does not act on them, so they are not on this page.
- Retrained network (
rigid_two_scalesin the port): training runabl_two_scales, checkpoint at step 40,000 of 500,000. The training has contact stiffness from 300 to 3e8 N/m, joint stiffness from 30 to 6e7 N/m, and the joint and contact dampers ofSolverVBDin half of the worlds. At step 40,000 the ramp of the contact stiffness is at about 40 %. The network has two step scales (translation, rotation) and reads a rotation as an arc length at the radius of gyration of the body. - Earlier network:
rigid_eat step 270,000, the network of the earlier page. - Two starts of the iterate. The default of the port is the inertial target with gravity
(
inertia-full). The networks trained with the startx + dt v(inertia-velocity-only). - Result. The retrained network with the start
x + dt vhas 4 blow-ups and 29 runs at or below 5 %.rigid_ewith the default start has 5 and 26.basic_shapes, the example with a contact stiffness of 1e8 N/m and a contact damping of 5e5 N s/m, goes from 21.49 % to 2.89 % with 5 iterations, and from 251 % to 0.12 % with 30 iterations. - The retrained network needs the start
x + dt v. With the default start, the five-box stack of the demo scenes flies apart and some cable examples fail. The cause is under Why the start matters. - Not on this page. The training finished on 2026-11-27 at 11:09 Pacific time. The checkpoint at step 500,000 exists; it is not run here.
How to read the page
- The scene of an example is not changed. Each example runs as it ships; where it constructs
SolverVBD, it gets aSolverNeIO. All other settings are those of the earlier page: joints as a plain penalty, one normalisation group per world, history carried over the time steps, the cubic contact law with a band of 5 mm for body-body contact. - Two iteration counts per example: the count of the example itself (1 to 30), and 30.
- Mean body distance to the shipped run: the distance of each body to its position in the shipped run, mean over all frames and all bodies, in percent of the scene size (the diagonal of the bounding box at the first frame).
- The distance is not an error. The shipped run is not a converged reference, and it uses another contact
law. An earlier check against
SolverVBDwith 100 iterations showed that the shipped runs ofcable_y_junctionandvbd_dat_rigid_softare not converged. - Three classes. Blow-up: the state became not finite and the run stopped. Above
5 %: another motion, or a failure that stays finite. At or below 5 %: close to the shipped run.
balance_birdhas one body and no scene size, so it has no number. - Error left: for every time step, the gradient norm at the final iterate divided by the gradient norm at the first iteration; the median over the steps. 100 % means no progress.
- Videos. Each video has four panels that play in step. Top left: the shipped run. Top right:
rigid_ewith the default start. Bottom left: the retrained network with the default start. Bottom right: the retrained network with the startx + dt v. The configurationrigid_ewith the startx + dt vhas numbers only.
Totals
24 examples with bodies, two iteration counts each, 48 runs per configuration.
| NeIO rigid configuration | Blow-up | Above 5 % | At or below 5 % | No number |
|---|---|---|---|---|
| rigid_e, default start | 5 | 15 | 26 | 2 |
| rigid_e, start x + dt v | 8 | 11 | 27 | 2 |
| retrained, default start | 6 | 13 | 27 | 2 |
| retrained, start x + dt v | 4 | 13 | 29 | 2 |
All runs
Mean distance of the bodies to the shipped run, in percent of the scene size. Select an example name to go to its videos.
| Example | Iterations | rigid_e, default start | rigid_e, start x + dt v | retrained, default start | retrained, start x + dt v |
|---|---|---|---|---|---|
balance_bird | 10 (own) | n/a | n/a | n/a | n/a |
| 30 | n/a | n/a | n/a | n/a | |
basic_conveyor | 1 (own) | blow-up at 0.10 s | blow-up at 0.05 s | blow-up at 0.22 s | blow-up at 0.10 s |
| 30 | 0.59 % | 10.88 % | 2.14 % | 0.55 % | |
basic_joints | 2 (own) | 1.12 % | 1.85 % | 8.30 % | 8.49 % |
| 30 | 0.06 % | 0.02 % | 0.02 % | 0.02 % | |
basic_shapes | 5 (own) | 21.49 % | 1.52 % | 1.87 % | 2.89 % |
| 30 | 251 % | 0.34 % | 0.53 % | 0.12 % | |
basic_urdf | 2 (own) | blow-up at 0.47 s | blow-up at 0.27 s | blow-up at 1.13 s | blow-up at 0.82 s |
| 30 | 9.18 % | 8.35 % | 6.39 % | 6.33 % | |
cable_bundle_hysteresis | 5 (own) | 2.37 % | 2.07 % | 2.23 % | 3.68 % |
| 30 | 4.14 % | 3.63 % | 2.15 % | 2.81 % | |
cable_cross_slide_table | 5 (own) | blow-up at 0.08 s | blow-up at 0.08 s | 0.32 % | 0.31 % |
| 30 | 0.24 % | 0.23 % | blow-up at 0.02 s | 6.62 % | |
cable_pile | 5 (own) | 1320 % | blow-up at 0.22 s | blow-up at 0.32 s | blow-up at 0.23 s |
| 30 | 1202 % | blow-up at 1.08 s | blow-up at 0.25 s | blow-up at 0.25 s | |
cable_plectoneme | 20 (own) | 2.87 % | 2.62 % | 3.44 % | 3.03 % |
| 30 | 2.91 % | 2.65 % | 3.51 % | 2.88 % | |
cable_twist_buckling | 10 (own) | 1.55 % | 1.58 % | 1.51 % | 1.54 % |
| 30 | 1.55 % | 1.55 % | 1.55 % | 1.55 % | |
cable_twist | 5 (own) | 0.11 % | 0.12 % | 0.12 % | 0.12 % |
| 30 | 0.12 % | 0.12 % | 0.12 % | 0.12 % | |
cable_y_junction | 5 (own) | 18.31 % | 20.91 % | 17.22 % | 20.94 % |
| 30 | 20.56 % | 20.91 % | 20.32 % | 20.96 % | |
cloth_franka | 5 (own) | 0.02 % | 0.02 % | 0.02 % | 0.02 % |
| 30 | 0.02 % | 0.02 % | 0.02 % | 0.02 % | |
cloth_poker_cards | 10 (own) | 0.00 % | 0.00 % | 0.00 % | 0.00 % |
| 30 | 0.00 % | 0.00 % | 0.00 % | 0.00 % | |
domino_spiral | 10 (own) | 0.46 % | 0.45 % | 0.51 % | 0.44 % |
| 30 | 0.47 % | 0.49 % | 0.49 % | 0.50 % | |
newton_cradle | 10 (own) | 0.80 % | 0.78 % | 0.74 % | 0.72 % |
| 30 | 0.81 % | 0.81 % | 0.81 % | 0.79 % | |
proxy_joint_gripper | 30 (own) | 1.77 % | 2.36 % | 2.39 % | 2.59 % |
| 30 | 0.92 % | 2.07 % | 2.76 % | 2.59 % | |
rigid_soft_contact | 10 (own) | 18.49 % | 6.89 % | 28.80 % | 8.09 % |
| 30 | 10.51 % | 19.36 % | 11.27 % | 8.98 % | |
softbody_franka | 5 (own) | 0.00 % | 0.00 % | 0.00 % | 0.00 % |
| 30 | 0.00 % | 0.00 % | 0.00 % | 0.00 % | |
vbd_dat_rigid_soft | 8 (own) | 500 % | 221 % | 7.25 % | 7.23 % |
| 30 | 10.48 % | 8.06 % | 16.26 % | 9.22 % | |
vbd_gripper_soft_grid | 5 (own) | 0.28 % | 0.34 % | 0.37 % | 0.39 % |
| 30 | 0.26 % | 0.30 % | 0.27 % | 0.32 % | |
vbd_rigid_rigid_contact | 15 (own) | 8.45 % | 7.28 % | 8550 % | 2.69 % |
| 30 | 5.86 % | 9.53 % | 6.54 % | 4.04 % | |
vbd_soft_rigid_contact | 15 (own) | blow-up at 0.25 s | blow-up at 0.05 s | 2846 % | 683 % |
| 30 | blow-up at 0.27 s | blow-up at 1.03 s | blow-up at 3.30 s | 177 % | |
vbd_soft_rigid_mix_contact | 15 (own) | 6.58 % | blow-up at 0.92 s | 6.62 % | 7.83 % |
| 30 | 6.91 % | 9.17 % | 6.57 % | 7.94 % |
Demo scenes with bodies, 30 iterations
The six scenes of the first NeIO page that have rigid bodies. The reference is SolverVBD with 30 iterations on the same scene.
Each cell: error left of the bodies (median), and the mean distance of the bodies to the reference. The error left is relative to the gradient at the first iteration, and the two starts give different first gradients. Compare the error left only between columns with the same start.
| Scene | rigid_e, default start | rigid_e, start x + dt v | retrained, default start | retrained, start x + dt v |
|---|---|---|---|---|
box_stack | 0.34 %, 10.6 mm | 0.87 %, 10.6 mm | 230 %, 18812 mm | 0.65 %, 10.6 mm |
rigid_chain | 2.22 %, 146 mm | 2.78 %, 148 mm | 1.62 %, 140 mm | 2.41 %, 142 mm |
chain_on_ground | 0.08 %, 4.0 mm | 61.02 %, 4.0 mm | 0.06 %, 4.7 mm | 61.28 %, 5.7 mm |
cloth_on_boxes | 0.02 %, 17.8 mm | 19.46 %, 17.4 mm | 0.02 %, 18.1 mm | 19.45 %, 18.0 mm |
box_on_soft | 0.09 %, 1.8 mm | 9.86 %, 1.0 mm | 0.07 %, 1.1 mm | 4.75 %, 0.9 mm |
grasp | 0.68 %, 1.0 mm | 4.08 %, 1.6 mm | 0.52 %, 1.0 mm | 4.69 %, 1.6 mm |
box_stack. Top: SolverVBD; rigid_e, default start. Bottom: retrained, default start; retrained, start x + dt v.rigid_chain. Top: SolverVBD; rigid_e, default start. Bottom: retrained, default start; retrained, start x + dt v.chain_on_ground. Top: SolverVBD; rigid_e, default start. Bottom: retrained, default start; retrained, start x + dt v.cloth_on_boxes. Top: SolverVBD; rigid_e, default start. Bottom: retrained, default start; retrained, start x + dt v.box_on_soft. Top: SolverVBD; rigid_e, default start. Bottom: retrained, default start; retrained, start x + dt v.grasp. Top: SolverVBD; rigid_e, default start. Bottom: retrained, default start; retrained, start x + dt v.Rigid bodies
balance_bird
1 bodies; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 10 | n/a | 0.10 % | 78 |
| rigid_e, start x + dt v | 10 | n/a | 1.37 % | 174 |
| retrained, default start | 10 | n/a | 0.14 % | 88 |
| retrained, start x + dt v | 10 | n/a | 1.30 % | 102 |
| rigid_e, default start | 30 | n/a | 0.03 % | 223 |
| rigid_e, start x + dt v | 30 | n/a | 1.32 % | 522 |
| retrained, default start | 30 | n/a | 0.03 % | 230 |
| retrained, start x + dt v | 30 | n/a | 1.28 % | 243 |
basic_conveyor
19 bodies, scene size 5.23 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 1 | blow-up at 0.10 s | 662812 % | 19 |
| rigid_e, start x + dt v | 1 | blow-up at 0.05 s | 661 % | 36 |
| retrained, default start | 1 | blow-up at 0.22 s | 98036 % | 41 |
| retrained, start x + dt v | 1 | blow-up at 0.10 s | 92.51 % | 18 |
| rigid_e, default start | 30 | 0.59 % | 0.61 % | 270 |
| rigid_e, start x + dt v | 30 | 10.88 % | 4.43 % | 604 |
| retrained, default start | 30 | 2.14 % | 0.67 % | 274 |
| retrained, start x + dt v | 30 | 0.55 % | 9.85 % | 305 |
basic_joints
6 bodies, scene size 6.13 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 2 | 1.12 % | 114 % | 17 |
| rigid_e, start x + dt v | 2 | 1.85 % | 47.66 % | 48 |
| retrained, default start | 2 | 8.30 % | 64.28 % | 23 |
| retrained, start x + dt v | 2 | 8.49 % | 63.27 % | 14 |
| rigid_e, default start | 30 | 0.06 % | 0.67 % | 218 |
| rigid_e, start x + dt v | 30 | 0.02 % | 1.17 % | 554 |
| retrained, default start | 30 | 0.02 % | 0.67 % | 163 |
| retrained, start x + dt v | 30 | 0.02 % | 1.09 % | 205 |
basic_shapes
7 bodies, scene size 12 length units; 5 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 21.49 % | 5.72 % | 19 |
| rigid_e, start x + dt v | 5 | 1.52 % | 13.68 % | 58 |
| retrained, default start | 5 | 1.87 % | 11.49 % | 26 |
| retrained, start x + dt v | 5 | 2.89 % | 18.38 % | 19 |
| rigid_e, default start | 30 | 251 % | 0.36 % | 124 |
| rigid_e, start x + dt v | 30 | 0.34 % | 9.10 % | 258 |
| retrained, default start | 30 | 0.53 % | 0.19 % | 105 |
| retrained, start x + dt v | 30 | 0.12 % | 22.64 % | 85 |
basic_urdf
1300 bodies, scene size 0.754 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 2 | blow-up at 0.47 s | 184 % | 29 |
| rigid_e, start x + dt v | 2 | blow-up at 0.27 s | 156 % | 67 |
| retrained, default start | 2 | blow-up at 1.13 s | 175 % | 54 |
| retrained, start x + dt v | 2 | blow-up at 0.82 s | 62.79 % | 21 |
| rigid_e, default start | 30 | 9.18 % | 0.17 % | 375 |
| rigid_e, start x + dt v | 30 | 8.35 % | 5.63 % | 861 |
| retrained, default start | 30 | 6.39 % | 0.14 % | 368 |
| retrained, start x + dt v | 30 | 6.33 % | 3.00 % | 422 |
domino_spiral
30 bodies, scene size 1.56 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 10 | 0.46 % | 8.76 % | 96 |
| rigid_e, start x + dt v | 10 | 0.45 % | 6.59 % | 213 |
| retrained, default start | 10 | 0.51 % | 9.43 % | 99 |
| retrained, start x + dt v | 10 | 0.44 % | 13.82 % | 101 |
| rigid_e, default start | 30 | 0.47 % | 0.89 % | 232 |
| rigid_e, start x + dt v | 30 | 0.49 % | 1.75 % | 579 |
| retrained, default start | 30 | 0.49 % | 0.94 % | 253 |
| retrained, start x + dt v | 30 | 0.50 % | 2.23 % | 249 |
newton_cradle
5 bodies, scene size 1.14 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 10 | 0.80 % | 0.12 % | 90 |
| rigid_e, start x + dt v | 10 | 0.78 % | 1.09 % | 194 |
| retrained, default start | 10 | 0.74 % | 0.14 % | 89 |
| retrained, start x + dt v | 10 | 0.72 % | 1.34 % | 103 |
| rigid_e, default start | 30 | 0.81 % | 0.11 % | 228 |
| rigid_e, start x + dt v | 30 | 0.81 % | 1.11 % | 543 |
| retrained, default start | 30 | 0.81 % | 0.12 % | 236 |
| retrained, start x + dt v | 30 | 0.79 % | 1.16 % | 274 |
vbd_rigid_rigid_contact
6 bodies, scene size 0.734 length units; 5 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 15 | 8.45 % | 0.22 % | 64 |
| rigid_e, start x + dt v | 15 | 7.28 % | 1.06 % | 143 |
| retrained, default start | 15 | 8550 % | 222 % | 76 |
| retrained, start x + dt v | 15 | 2.69 % | 0.78 % | 81 |
| rigid_e, default start | 30 | 5.86 % | 0.02 % | 114 |
| rigid_e, start x + dt v | 30 | 9.53 % | 0.38 % | 228 |
| retrained, default start | 30 | 6.54 % | 0.02 % | 132 |
| retrained, start x + dt v | 30 | 4.04 % | 0.27 % | 132 |
Cables (rigid bodies on cable joints)
cable_bundle_hysteresis
284 bodies, scene size 3.94 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 2.37 % | 59.81 % | 46 |
| rigid_e, start x + dt v | 5 | 2.07 % | 72.62 % | 105 |
| retrained, default start | 5 | 2.23 % | 39.97 % | 66 |
| retrained, start x + dt v | 5 | 3.68 % | 72.70 % | 58 |
| rigid_e, default start | 30 | 4.14 % | 5.83 % | 285 |
| rigid_e, start x + dt v | 30 | 3.63 % | 31.99 % | 622 |
| retrained, default start | 30 | 2.15 % | 2.91 % | 380 |
| retrained, start x + dt v | 30 | 2.81 % | 50.16 % | 271 |
cable_cross_slide_table
115 bodies, scene size 0.606 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | blow-up at 0.08 s | 45.15 % | 69 |
| rigid_e, start x + dt v | 5 | blow-up at 0.08 s | 39.66 % | 128 |
| retrained, default start | 5 | 0.32 % | 54.86 % | 58 |
| retrained, start x + dt v | 5 | 0.31 % | 54.01 % | 47 |
| rigid_e, default start | 30 | 0.24 % | 36.95 % | 283 |
| rigid_e, start x + dt v | 30 | 0.23 % | 35.17 % | 406 |
| retrained, default start | 30 | blow-up at 0.02 s | 21.73 % | 739 |
| retrained, start x + dt v | 30 | 6.62 % | 20.74 % | 264 |
cable_pile
4000 bodies, scene size 2.78 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 1320 % | 62.09 % | 94 |
| rigid_e, start x + dt v | 5 | blow-up at 0.22 s | 48.06 % | 192 |
| retrained, default start | 5 | blow-up at 0.32 s | 42.53 % | 109 |
| retrained, start x + dt v | 5 | blow-up at 0.23 s | 45.81 % | 91 |
| rigid_e, default start | 30 | 1202 % | 71.18 % | 482 |
| rigid_e, start x + dt v | 30 | blow-up at 1.08 s | 80.38 % | 991 |
| retrained, default start | 30 | blow-up at 0.25 s | 42.47 % | 583 |
| retrained, start x + dt v | 30 | blow-up at 0.25 s | 9.75 % | 569 |
cable_plectoneme
80 bodies, scene size 1.48 length units; 8 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 20 | 2.87 % | 4.15 % | 136 |
| rigid_e, start x + dt v | 20 | 2.62 % | 40.26 % | 291 |
| retrained, default start | 20 | 3.44 % | 5.18 % | 185 |
| retrained, start x + dt v | 20 | 3.03 % | 41.05 % | 130 |
| rigid_e, default start | 30 | 2.91 % | 2.63 % | 183 |
| rigid_e, start x + dt v | 30 | 2.65 % | 39.96 % | 421 |
| retrained, default start | 30 | 3.51 % | 3.47 % | 217 |
| retrained, start x + dt v | 30 | 2.88 % | 40.88 % | 159 |
cable_twist_buckling
64 bodies, scene size 4.73 length units; 6 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 10 | 1.55 % | 4.33 % | 53 |
| rigid_e, start x + dt v | 10 | 1.58 % | 11.71 % | 110 |
| retrained, default start | 10 | 1.51 % | 5.84 % | 63 |
| retrained, start x + dt v | 10 | 1.54 % | 15.57 % | 53 |
| rigid_e, default start | 30 | 1.55 % | 1.44 % | 141 |
| rigid_e, start x + dt v | 30 | 1.55 % | 5.85 % | 276 |
| retrained, default start | 30 | 1.55 % | 1.47 % | 170 |
| retrained, start x + dt v | 30 | 1.55 % | 6.02 % | 111 |
cable_twist
192 bodies, scene size 8.23 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 0.11 % | 29.28 % | 43 |
| rigid_e, start x + dt v | 5 | 0.12 % | 48.45 % | 92 |
| retrained, default start | 5 | 0.12 % | 34.62 % | 52 |
| retrained, start x + dt v | 5 | 0.12 % | 47.53 % | 54 |
| rigid_e, default start | 30 | 0.12 % | 5.46 % | 190 |
| rigid_e, start x + dt v | 30 | 0.12 % | 48.37 % | 495 |
| retrained, default start | 30 | 0.12 % | 5.69 % | 237 |
| retrained, start x + dt v | 30 | 0.12 % | 47.86 % | 240 |
cable_y_junction
60 bodies, scene size 1.34 length units; 20 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 18.31 % | 38.31 % | 63 |
| rigid_e, start x + dt v | 5 | 20.91 % | 43.98 % | 183 |
| retrained, default start | 5 | 17.22 % | 41.09 % | 89 |
| retrained, start x + dt v | 5 | 20.94 % | 43.83 % | 79 |
| rigid_e, default start | 30 | 20.56 % | 12.70 % | 377 |
| rigid_e, start x + dt v | 30 | 20.91 % | 44.11 % | 1046 |
| retrained, default start | 30 | 20.32 % | 14.08 % | 550 |
| retrained, start x + dt v | 30 | 20.96 % | 44.15 % | 417 |
Coupling of bodies with cloth and soft bodies
cloth_franka
9 bodies, 6436 particles, scene size 126 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 0.02 % | n/a | 114 |
| rigid_e, start x + dt v | 5 | 0.02 % | n/a | 79 |
| retrained, default start | 5 | 0.02 % | n/a | 225 |
| retrained, start x + dt v | 5 | 0.02 % | n/a | 94 |
| rigid_e, default start | 30 | 0.02 % | n/a | 509 |
| rigid_e, start x + dt v | 30 | 0.02 % | n/a | 528 |
| retrained, default start | 30 | 0.02 % | n/a | 1059 |
| retrained, start x + dt v | 30 | 0.02 % | n/a | 414 |
cloth_poker_cards
2 bodies, 1820 particles, scene size 0.446 length units; 20 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 10 | 0.00 % | n/a | 952 |
| rigid_e, start x + dt v | 10 | 0.00 % | n/a | 912 |
| retrained, default start | 10 | 0.00 % | n/a | 1329 |
| retrained, start x + dt v | 10 | 0.00 % | n/a | 945 |
| rigid_e, default start | 30 | 0.00 % | n/a | 2606 |
| rigid_e, start x + dt v | 30 | 0.00 % | n/a | 2580 |
| retrained, default start | 30 | 0.00 % | n/a | 2702 |
| retrained, start x + dt v | 30 | 0.00 % | n/a | 2624 |
proxy_joint_gripper
3 bodies, 32 particles, scene size 0.256 length units; 6 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 30 | 1.77 % | 0.03 % | 265 |
| rigid_e, start x + dt v | 30 | 2.36 % | 0.23 % | 172 |
| retrained, default start | 30 | 2.39 % | 0.43 % | 650 |
| retrained, start x + dt v | 30 | 2.59 % | 5.57 % | 208 |
| rigid_e, default start | 30 | 0.92 % | 0.03 % | 250 |
| rigid_e, start x + dt v | 30 | 2.07 % | 0.22 % | 177 |
| retrained, default start | 30 | 2.76 % | 0.55 % | 559 |
| retrained, start x + dt v | 30 | 2.59 % | 5.95 % | 211 |
rigid_soft_contact
1 bodies, 2541 particles, scene size 3.39 length units; 32 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 10 | 18.49 % | 147 % | 650 |
| rigid_e, start x + dt v | 10 | 6.89 % | 0.25 % | 803 |
| retrained, default start | 10 | 28.80 % | 118 % | 832 |
| retrained, start x + dt v | 10 | 8.09 % | 0.24 % | 556 |
| rigid_e, default start | 30 | 10.51 % | 110 % | 1637 |
| rigid_e, start x + dt v | 30 | 19.36 % | 0.19 % | 2057 |
| retrained, default start | 30 | 11.27 % | 118 % | 3799 |
| retrained, start x + dt v | 30 | 8.98 % | 0.22 % | 1332 |
softbody_franka
9 bodies, 2734 particles, scene size 0.703 length units; 10 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 0.00 % | n/a | 80 |
| rigid_e, start x + dt v | 5 | 0.00 % | n/a | 82 |
| retrained, default start | 5 | 0.00 % | n/a | 154 |
| retrained, start x + dt v | 5 | 0.00 % | n/a | 62 |
| rigid_e, default start | 30 | 0.00 % | n/a | 363 |
| rigid_e, start x + dt v | 30 | 0.00 % | n/a | 364 |
| retrained, default start | 30 | 0.00 % | n/a | 720 |
| retrained, start x + dt v | 30 | 0.00 % | n/a | 312 |
vbd_dat_rigid_soft
6 bodies, 2357 particles, scene size 2.59 length units; 4 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 8 | 500 % | 1.26 % | 98 |
| rigid_e, start x + dt v | 8 | 221 % | 1.48 % | 116 |
| retrained, default start | 8 | 7.25 % | 17.69 % | 108 |
| retrained, start x + dt v | 8 | 7.23 % | 28.49 % | 96 |
| rigid_e, default start | 30 | 10.48 % | 2.91 % | 295 |
| rigid_e, start x + dt v | 30 | 8.06 % | 4.61 % | 362 |
| retrained, default start | 30 | 16.26 % | 1.61 % | 571 |
| retrained, start x + dt v | 30 | 9.22 % | 1.76 % | 279 |
vbd_gripper_soft_grid
4 bodies, 4 particles, scene size 0.296 length units; 20 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 5 | 0.28 % | 47.86 % | 457 |
| rigid_e, start x + dt v | 5 | 0.34 % | 48.97 % | 458 |
| retrained, default start | 5 | 0.37 % | 61.55 % | 573 |
| retrained, start x + dt v | 5 | 0.39 % | 54.42 % | 462 |
| rigid_e, default start | 30 | 0.26 % | 12.11 % | 2499 |
| rigid_e, start x + dt v | 30 | 0.30 % | 8.87 % | 2523 |
| retrained, default start | 30 | 0.27 % | 9.45 % | 2902 |
| retrained, start x + dt v | 30 | 0.32 % | 8.71 % | 2495 |
vbd_soft_rigid_contact
6 bodies, 3126 particles, scene size 0.572 length units; 5 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 15 | blow-up at 0.25 s | 343 % | 335 |
| rigid_e, start x + dt v | 15 | blow-up at 0.05 s | 0.01 % | 325 |
| retrained, default start | 15 | 2846 % | 8.15 % | 490 |
| retrained, start x + dt v | 15 | 683 % | 3.72 % | 327 |
| rigid_e, default start | 30 | blow-up at 0.27 s | 205 % | 639 |
| rigid_e, start x + dt v | 30 | blow-up at 1.03 s | 0.00 % | 634 |
| retrained, default start | 30 | blow-up at 3.30 s | 15.79 % | 1009 |
| retrained, start x + dt v | 30 | 177 % | 2.60 % | 646 |
vbd_soft_rigid_mix_contact
5 bodies, 2041 particles, scene size 0.313 length units; 5 steps per frame of 1/60 s
| NeIO rigid configuration | Iterations | Mean body distance to the shipped run | Bodies: error left, median | Time per frame [ms] |
|---|---|---|---|---|
| rigid_e, default start | 15 | 6.58 % | 32.11 % | 335 |
| rigid_e, start x + dt v | 15 | blow-up at 0.92 s | 0.00 % | 323 |
| retrained, default start | 15 | 6.62 % | 19.31 % | 481 |
| retrained, start x + dt v | 15 | 7.83 % | 22.95 % | 328 |
| rigid_e, default start | 30 | 6.91 % | 12.56 % | 639 |
| rigid_e, start x + dt v | 30 | 9.17 % | 14.64 % | 635 |
| retrained, default start | 30 | 6.57 % | 11.97 % | 931 |
| retrained, start x + dt v | 30 | 7.94 % | 15.52 % | 633 |
What still fails
The retrained network with the start x + dt v: runs that blow up, and runs that stay finite but end more than 100 % of the scene size away.
basic_conveyor, 1 iteration: blow-up at 0.10 s.basic_urdf, 2 iterations: blow-up at 0.82 s.cable_pile, 5 iterations: blow-up at 0.23 s.cable_pile, 30 iterations: blow-up at 0.25 s.vbd_soft_rigid_contact, 15 iterations: 683 % away.vbd_soft_rigid_contact, 30 iterations: 177 % away.
Two runs of the same configuration
The retrained network with the start x + dt v ran twice: once with video (the run on this page), once before without video. The runs are not deterministic. The table has the rows where the two runs differ by more than a factor of two. On these examples, one run is not enough for a conclusion.
| Example | Iterations | Run on this page | Earlier run |
|---|---|---|---|
cable_cross_slide_table | 30 | 6.62 % | 23.35 % |
vbd_dat_rigid_soft | 8 | 7.23 % | 417 % |
vbd_dat_rigid_soft | 30 | 9.22 % | 47.52 % |
vbd_soft_rigid_contact | 15 | 683 % | 152 % |
vbd_soft_rigid_contact | 30 | 177 % | 8784 % |
Why the start matters
- With the default start (the inertial target with gravity), a body in free flight has no gradient.
- The retrained network then lowers its translation step scale to 1e-18 within twelve time steps. The rotation step scale stays near 1e-8.
- At the first contact, the rotation scale rises to 0.8 m within one time step. The translation scale does not recover. The boxes of the stack then turn by about 1 rad per iteration.
- With the start
x + dt v, each time step has the gravity step to make. This keeps the step scale alive, and the stack stands. - Cross-check: the solver of the training code with this checkpoint also keeps the stack at rest. The checkpoint is sound.
One difference between the training and the port
- Training: the contact damper acts on the growth of the penetration over the time step. Its force is zero at the moment a contact closes.
- Port: the contact damper is that of
SolverVBD: the damping constant times the approach speed of the contact points, in full as soon as the contact carries load. - The port is not changed. This is an open decision.