How good does it become?¶
A swap that runs and trains like the shipped component has not shown one point of AP. Here a few are trained to the end of their recipe and scored on the whole GraspNet-1Billion test split, as the model zoo scores a method. It is the one check that measures what a swap is worth, and so the one that says what the two cheaper checks are worth.
One training per row, seed 0. Trained three times from one config and seed, GSNet moved by up to 1.12 AP and EconomicGrasp by up to 1.75: a difference below about 1 AP is not a finding.
Scene encoders under GSNet¶
GSNet with another scene encoder and nothing else changed: the recipe, the data and the
evaluator are GSNet's. AP on RealSense, 23,040 frames, as seen / similar / novel; Loss is
the total training loss over the last epoch. sunet14 is the encoder GSNet ships.
| Encoder | Parameters | Collision filter off | On | Loss |
|---|---|---|---|---|
sunet14 |
15.4 M | 69.46 / 60.71 / 25.42 | 71.69 / 62.77 / 26.59 | 0.76 |
spunet |
39.9 M | 68.84 / 60.22 / 25.04 | 70.98 / 62.22 / 26.36 | 0.79 |
ptv3 |
46.4 M | 59.07 / 52.55 / 21.91 | 62.28 / 55.62 / 23.48 | 0.96 |
litept |
12.9 M | 55.23 / 50.03 / 21.60 | 59.18 / 53.50 / 23.04 | 1.18 |
- SpUNet: no difference shown. With 2.6 times the parameters it ends 0.2 to 0.7 AP below the shipped encoder, inside what one seed moves.
- PTv3: 10.4 AP lower on seen scenes, and under-trained. After ten epochs its training loss, 0.96, is above the shipped encoder's after five, 0.85. GSNet's recipe is Adam at 1e-3 from the first step, without weight decay, tuned for a sparse CNN: the row measures an encoder under a recipe made for another one.
- LitePT: 14.2 AP lower on seen scenes, and unsteady. Its training loss rose from 1.34 after the second epoch to 1.66 after the fourth, and ends at 1.18.
Encoder or recipe¶
The shipped encoder, PTv3 and LitePT again, under the recipe PTv3 is trained with
elsewhere: the preset adamw-onecycle, AdamW with weight decay, a
warm-up, then a cosine down to almost zero (one-cycle below).
| Encoder | Recipe | Collision filter off | On | Loss |
|---|---|---|---|---|
sunet14 |
GSNet's | 69.46 / 60.71 / 25.42 | 71.69 / 62.77 / 26.59 | 0.76 |
sunet14 |
one-cycle | 70.41 / 61.48 / 24.83 | 72.63 / 63.54 / 26.19 | 0.74 |
ptv3 |
GSNet's | 59.07 / 52.55 / 21.91 | 62.28 / 55.62 / 23.48 | 0.96 |
ptv3 |
one-cycle | 65.85 / 57.95 / 24.58 | 68.50 / 60.40 / 25.92 | 0.84 |
litept |
GSNet's | 55.23 / 50.03 / 21.60 | 59.18 / 53.50 / 23.04 | 1.18 |
litept |
one-cycle | 60.94 / 54.55 / 23.48 | 64.89 / 57.94 / 24.97 | 1.02 |
- Shipped encoder: the recipe is not shown to matter. +0.95 AP on seen and −0.59 on novel scenes without the collision filter, inside what one seed moves.
- PTv3: the recipe was more than half of the gap. It gains 6.8 AP on seen scenes and ends 4.6 AP below the shipped encoder under the same recipe; on novel scenes the two are 0.25 apart. Its loss, 0.84, stays above the shipped encoder's 0.74.
- LitePT: steadier, and a third of the gap closed. Its loss now falls in every epoch and ends at 1.02. It gains 5.7 AP on seen scenes and ends 9.5 AP below the shipped encoder under the same recipe.
The same swap under EconomicGrasp¶
EconomicGrasp with PTv3 and nothing else changed, under EconomicGrasp's recipe: Adam at 1e-3 as GSNet's, on a cosine that ends at zero. The first row is the model zoo's.
| Encoder | Collision filter off | On | Loss |
|---|---|---|---|
sunet14 |
69.34 / 61.41 / 26.21 | 71.05 / 62.54 / 26.81 | 2.98 |
ptv3 |
65.52 / 57.11 / 23.91 | 67.14 / 58.43 / 24.49 | 3.31 |
- PTv3: 3.8 AP lower on seen scenes. The gap GSNet keeps under one-cycle (4.6), not the one under its own recipe (10.4). Both recipes with the smaller gap anneal the rate to almost zero; one run each does not say that this is why. Three trainings of the first row lie within 0.50 AP on seen scenes: the gap is not their spread.
- Under-trained here too. After ten epochs its loss, 3.31, is where the shipped encoder was after four (3.33).
GSNet's encoder under GraspNet-baseline¶
The swap the other way: GraspNet-baseline with GSNet's sparse U-Net in place of its PointNet++ and nothing else changed, under GraspNet-baseline's recipe. The first row is the model zoo's.
| Encoder | Collision filter off | On | Loss |
|---|---|---|---|
pointnet2 |
31.76 / 26.18 / 10.19 | 46.81 / 41.90 / 16.74 | 0.50 |
sunet14 |
32.41 / 27.88 / 10.99 | 47.40 / 43.05 / 17.26 | 0.48 |
- The sparse U-Net: 0.5 to 1.7 AP higher on every split. GraspNet-baseline was trained once, and training again moves two other methods by up to 1.12 and 1.75 AP: likely a gain, not shown.
- Not what separates the two methods. With the same encoder GSNet ends at 68.83 AP on seen scenes and GraspNet-baseline at 32.41: of the 37.07 AP between them, the encoder accounts for 0.65.
What the cheaper checks had said¶
| Swap | Does it run? | Trains like shipped? | Trained in full: seen, filter off |
|---|---|---|---|
spunet |
runs | on a par | −0.62 AP, within a seed |
ptv3 |
runs | on a par | −10.39 AP; −4.56 under one-cycle |
litept |
runs | on a par | −14.23 AP; −9.47 under one-cycle |
All three passed both, and so did PTv3 under EconomicGrasp. In 250 iterations on eight frames PTv3 under GSNet brought the graspness loss lower than the shipped encoder did; over ten epochs on 25,600 frames it fell behind. The short checks sort out the combinations that fail or diverge. They do not rank the ones that pass.
FineGrasp's changes, one at a time¶
FineGrasp is EconomicGrasp with three changes, each a group of config entries: graspness normalised per object, normals as encoder input, and a crop at four radii. Each is switched on alone, and all three together, under EconomicGrasp's recipe. A row trained again repeats the row above it from the same config and seed: the yardstick.
| Change | Collision filter off | On |
|---|---|---|
| none: EconomicGrasp | 69.34 / 61.41 / 26.21 | 71.05 / 62.54 / 26.81 |
| none, trained again | 69.01 / 60.02 / 25.09 | 70.65 / 61.10 / 25.74 |
| none, trained a third time | 68.84 / 61.59 / 25.70 | 70.53 / 62.85 / 26.38 |
graspness |
70.03 / 61.03 / 26.21 | 71.47 / 62.12 / 26.73 |
graspness, trained again |
69.42 / 60.66 / 26.06 | 70.94 / 61.82 / 26.64 |
normals |
68.05 / 60.78 / 26.23 | 70.11 / 62.00 / 26.77 |
normals, trained again |
68.09 / 60.98 / 26.08 | 69.94 / 62.36 / 26.65 |
multi-scale |
68.10 / 58.63 / 24.05 | 69.84 / 59.77 / 24.71 |
multi-scale, trained again |
67.21 / 56.68 / 23.35 | 69.09 / 57.92 / 24.06 |
graspness+multi-scale |
68.07 / 59.53 / 24.89 | 69.65 / 60.68 / 25.49 |
normals+multi-scale |
68.93 / 59.25 / 25.40 | 70.47 / 60.21 / 25.95 |
all |
70.54 / 61.27 / 25.41 | 71.72 / 62.09 / 25.96 |
all, trained again |
69.25 / 60.34 / 25.66 | 70.67 / 61.36 / 26.24 |
- No change alone shows a gain; two show a loss.
graspnessends +0.66 / −0.16 / +0.47 AP from EconomicGrasp between the means;normalsends below all three trainings of EconomicGrasp on seen scenes, by 0.75 to 1.29 AP;multi-scalebelow all three on every split, by 1.41 / 3.35 / 1.97 AP between the means. - All three: no difference from EconomicGrasp is shown. Trained twice, it ends +0.83 / −0.20 / −0.13 AP from EconomicGrasp between the means. That is 1.0 to 3.3 AP below the authors' checkpoint, where FineGrasp with its own recipe is 1.2 to 3.1 below: the recipe does not explain the gap.
- The crop needs both other changes. With per-object graspness alone it still ends below all three trainings of EconomicGrasp on every split, with normals alone on similar scenes only, one run each; with both it loses nothing.
- Trainings spread. Those of EconomicGrasp,
multi-scaleandalllie up to 1.75, 1.95 and 1.29 AP apart.
Run it¶
Each experiment is a sweep file under
projects/, with no code
beside it and the result records of every row:
grasppanda sweep projects/encoder_comparison/gsnet_encoders.yaml --gpus 0,1,2,3 \
--opts evaluation.num_workers=8
grasppanda sweep projects/finegrasp_ablation/changes.yaml --gpus 0,1,2,3 \
--opts evaluation.num_workers=8