Object Count Generalization Is an Interface Problem: Warping a Frozen Skill Instead of Retraining It
Organizations: Fraunhofer Heinrich Hertz Institute, Berlin, Germany · Technische Universität Berlin, Germany · BIFOLD – Berlin Institute for the Foundations of Learning and Data, Germany · Robotics Institute Germany
Abstract
Reinforcement learning policies for robot manipulation degrade when the number of objects N in the scene grows beyond the training range. This is a covariate shift that also changes the dimension of the state. We propose WAVE (Warping Actions and Views of an Expert), which extends a pretrained single-object skill to many objects without updating its weights. WAVE has three parts. First, a selection policy picks the one object the robot works on next. Second, a warping policy reads a local view of the scene around that object, whose size does not depend on N. It emits a multiplier and an offset for every quantity the skill reads and every action it outputs. Third, the skill acts under this affine warp. It is shown a scene that holds a single object, while the warp steers it around the objects it is not shown and edits the actions that are sent to the robot. Both the selection and warping policies are trained with PPO on the multi-object reward and use the skill as a black box, so WAVE is task-general and skill-agnostic. It requires only that the skill was trained on the same embodiment and that every object has a goal pose. We also bound the number of attempts needed to place all N objects, assuming positive expected net progress per attempt, and measure this progress for each object count. We evaluate WAVE on cube arrangement tasks with a gantry robot and with a Franka Panda arm. Trained with at most nine cubes, it generalizes zero-shot to several times its training count, on the gantry to scenes of up to thirty cubes. Published methods that learn multi-object manipulation show count generalization up to six objects. Fine-tuning the skill, learning from the same local view without it, and an entity transformer, even when distilled from the pretrained skill, all collapse within their training counts under the same training budget.
Figures & tables
| line, | cube stacking ( ), | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| other objects | selection | 1 | 2 | 3 | 6 | 30 | 1 | 2 | 3 | 6 | 30 | ||
| WAVE | frozen | crop | learned | 1.00 | 1.00 | 1.00 | 1.00 | 0.90 | 1.00 | 1.00 | 1.00 | 1.00 | 0.48 |
| input edit fixed per episode | frozen | crop | learned | 1.00 | 0.93 | 0.98 | 0.75 | 0.25 | 1.00 | 0.98 | 1.00 | 0.90 | 0.00 |
| skill alone | frozen | none | scripted | 0.79 | 0.35 | 0.00 | 0.00 | 0.00 | 0.97 | 0.17 | 0.00 | 0.00 | 0.00 |
| TD7 on the crop | – | crop | scripted | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| fine-tuning on the crop, | fine-tuned | crop | scripted | 0.96 | 0.43 | 0.03 | 0.00 | 0.00 | 0.98 | 0.64 | 0.03 | 0.00 | 0.00 |
Appendix figures & tables24 assets
Supplementary material from the paper’s appendix.
Appendix
| stacking, | stacking, | line | square | pyramid | wall | |
|---|---|---|---|---|---|---|
| 1 | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) |
| 3 | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) |
| 5 | 0.95 (0.85–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 0.98 (0.95–1.00) |
| 7 | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 0.98 (0.95–1.00) | 0.92 (0.85–0.95) | 0.98 (0.95–1.00) |
| 10 | 0.98 (0.95–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 0.97 (0.95–1.00) | 0.90 (0.80–0.95) | 0.93 (0.85–1.00) |
| 12 | 0.98 (0.95–1.00) | 0.85 (0.80–0.95) | 0.97 (0.95–1.00) | 0.98 (0.95–1.00) | 0.80 (0.80–0.80) | 0.95 (0.90–1.00) |
| gripper | pusher | ||||
|---|---|---|---|---|---|
| stacking, | pyramid | wall | line | square | |
| 1 | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) | 0.98 (0.95–1.00) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) |
| 3 | 0.92 (0.85–1.00) | 0.90 (0.85–0.95) | 0.70 (0.65–0.75) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) |
| 5 | 0.87 (0.75–0.95) | 0.47 (0.15–0.65) | 0.23 (0.10–0.40) | 1.00 (1.00–1.00) | 1.00 (1.00–1.00) |
| 7 | 0.63 (0.60–0.70) | 0.28 (0.10–0.55) | 0.03 (0.00–0.10) | 0.98 (0.95–1.00) | 0.92 (0.75–1.00) |
| 9 | 0.38 (0.20–0.60) | 0.17 (0.10–0.20) | 0.00 (0.00–0.00) | 0.95 (0.90–1.00) | 0.60 (0.50–0.70) |
| 1 | 2 | 3 | 4 | 5 | 6 | 10 | 30 | |
| line | ||||||||
| WAVE | 1.00 | 1.00 | 1.00 | 0.98 | 1.00 | 1.00 | 1.00 | 0.90 |
| (1.00–1.00) | (1.00–1.00) | (1.00–1.00) | (0.95–1.00) | (1.00–1.00) | (1.00–1.00) | (1.00–1.00) | (0.80–1.00) | |
| input edit fixed per episode | 1.00 | 0.93 | 0.98 | 0.83 | 0.88 | 0.75 | 0.55 | 0.25 |
| (1.00–1.00) | (0.90–0.95) | (0.95–1.00) | (0.65–1.00) | (0.80–0.95) | (0.70–0.80) | (0.30–0.80) | (0.00–0.50) | |
| skill alone ( ) | 0.79 | 0.35 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| ends with | stacking, | stacking, | line | square | pyramid | wall | |
|---|---|---|---|---|---|---|---|
| 5 | success | 0.98 (0.97–1.00) | 0.99 (0.98–1.00) | 1.00 (1.00–1.00) | 0.99 (0.97–1.00) | 0.99 (0.97–1.00) | 0.99 (0.98–1.00) |
| time limit | 0.01 (0.00–0.02) | 0.00 (0.00–0.00) | 0.00 (0.00–0.00) | 0.00 (0.00–0.00) | 0.01 (0.00–0.03) | 0.01 (0.00–0.02) | |
| cube lost | 0.01 (0.00–0.02) | 0.01 (0.00–0.02) | 0.00 (0.00–0.00) | 0.01 (0.00–0.03) | 0.00 (0.00–0.00) | 0.00 (0.00–0.00) | |
| 10 | success | 0.94 (0.86–1.00) | 1.00 (1.00–1.00) | 0.99 (0.98–1.00) | 0.98 (0.97–1.00) | 0.91 (0.88–0.97) | 0.97 (0.95–1.00) |
| time limit | 0.05 (0.00–0.12) | 0.00 (0.00–0.00) | 0.01 (0.00–0.02) | 0.01 (0.00–0.02) | 0.09 (0.03–0.12) | 0.02 (0.00–0.05) | |
| cube lost | 0.01 (0.00–0.02) | 0.00 (0.00–0.00) | 0.01 (0.00–0.02) | 0.02 (0.00–0.03) | 0.00 (0.00–0.00) | 0.01 (0.00–0.02) |
| success | steps to (time [s]) | |||||||
| run | placed | released | placed | released | grasps | closes | cubes | stop |
| 1 | ✓ | ✓ | 373 (82) | 472 (102) | 5 | 5 | 5/5 | |
| 2 | ✓ | ✓ | 235 (53) | 402 (88) | 4 | 5 | 5/5 | |
| 3 | ✓ | ✓ | 276 (62) | 873 (184) | 5 | 5 | 5/5 | |
| 4 | ✓ | ✓ | 254 (57) | 259 (58) | 3 | 4 | 5/5 | |
| 5 | – | – | – | – | 2 | 8 | 4/5 | joint limit |
| Method | Trains on | Task | Counts (train test) | Best reported |
|---|---|---|---|---|
| Li et al. (2020) | MuJoCo Fetch, privileged state, attention graph network | stacking every block | curriculum 1–6 9 | 0.93 at 4, 0.84 at 5, 0.75 at 6, separate policies per count |
| ECRL ( Haramati et al., 2024 ) | IsaacGym, two RGB views to latent particles, end effector position deltas on a pusher | planar pushing, 2-D goals | 3 1–6 | 0.84 at 3, 0.40 at 6, and a 12 object sort is shown qualitatively only |
| HECRL ( Haramati et al., 2026 ) | MuJoCo adapted from OGBench, state and image variants | rearrangement, stacking | 3 1–6 (stacking 2–4) | 0.83 at 3 and 0.26 at 6 on rearrangement from state, 0.64 and 0.10 from images |
| EC-Diffuser ( Qi et al., 2025 ) | IsaacGym, two RGB views to latent particles, behavior cloning | pushing cubes and T blocks | 3 6 | 0.24 at 6, 0.83 at 3 by pushing cubes |
| SMORL ( Zadaianchuk et al., 2021 ) | MuJoCo, RGB to object slots | pushing and rearranging pucks | per count, 1–2 from pixels and 2–4 from state | — (transfer only downward, 2 to 1) |
| PAIR ( Li et al., 2022 ) | PyBullet, privileged state, discretized actions | six-cube stacking | 6 6 | 0.955 at 6, where success counts one target cube among six |
| Method | Trains on | Task | Counts (train test) | Best reported |
|---|---|---|---|---|
| Janisch et al. (2020) | symbolic block world, relational graph, no physics simulation | goal-conditioned reconfiguration | 5 2–30 | 0.78 at 20 and 0.54 at 30 |
| IL-GNN ( Lin et al., 2022 ) | PyBullet and a real Franka, privileged object graph, imitation over a predefined pick-and-place primitive | stacking, rearrangement | 3–4 9 with data | 0.75 averaged over counts up to 40, no per count value above 9, manipulation supplied by the primitive |
| Blocks Assemble! ( Ghasemipour et al., 2022 ) | MuJoCo, privileged state, virtual grippers that move blocks without grasping | magnetic block blueprints | 2–16 12–16 held out | 1.00 at 6, 0.99 at 12, 0.91 at 16, success up to a rigid motion of the structure |
| Transporter ( Zeng et al., 2020 ) | PyBullet, RGB-D, scripted two pose pick and place | palletizing 18 boxes into a zone | 18 18 | 0.98 at 18 with 1000 demonstrations, scored as the fraction of box volume inside the zone, no per box pose |
| QT-Opt ( Kalashnikov et al., 2018 ) | real arms, RGB, closed-loop grasping | clearing a bin | 4–10 28 | 0.76 over the first 30 grasps of a 28 object bin and 0.96 with replacement, no goal pose |
| Push Anything ( Bui et al., 2026 ) | real arm, contact implicit MPC, controller not learned | pushing to per-object goal poses | 1–4 | 0.98 at 2 and 0.79 at 4 within 2 cm and 0.1 rad |
| cube stacking, | |||||
| success | |||||
| 3 | 0.81 | 0.17 | 2 | 1.00 | |
| 7 | 0.84 | 0.32 | 4 | 0.98 | |
| 10 | 0.79 | 0.41 | 7 | 0.91 | |
| 20 | 0.75 | 0.55 | 6 | 0.73 | |
| 30 | 0.76 | 0.64 | 9 | 0.41 | |
| edit | channels | behavior | what follows |
|---|---|---|---|
| identity | , everywhere | unchanged | a solo episode |
| retargeting (a1) | offset on the goal | detour, hover, retreat, hold | a solo episode to the new goal |
| translation (a2) | equal offsets on all positions | the same task elsewhere in the arena | ’s solo success (gantry) |
| recalibration (a3) | constant , per channel | other sensor or actuator scaling | ’s solo success |
| small constant bias (b) | offset below | slightly shifted grasp or release | a bound, under an assumption |
| take-over (c) | on an output channel | release onto a stack, nudging | no statement |
| Method | Edit site | Edit form | The edit is a function of | Shift the edit absorbs |
|---|---|---|---|---|
| Residual RL ( Silver et al., 2018 ; Johannink et al., 2019 ; Yuan et al., 2025 ) | action | additive (bounded in Yuan et al. ) | the current state | same task, refined |
| Warp RL ( Hirschowitz & Ramos, 2026 ) | action distribution | monotone spline | the current state | dynamics |
| CLAE ( Das et al., 2026 ) | internal activations | affine | the current state | behavior mode |
| ZPRL ( Yu et al., 2026 ) | inserted latent | latent perturbation | the context, once per action chunk | same task, refined |
| DC-Ada ( Alqithami, 2026 ) | observation | residual network found by reward-only random search | the current observation, with parameters fixed per robot | sensor heterogeneity |
| APB ( Park & Lee, 2026 ) | before and after a backbone | linear | nothing; fixed per task | task (meta-transfer) |
| objects of other sizes and shapes | ||||
| cubes with 1.2 times the edge (five tasks) | 1.00 | 0.93 | 0.87 | 0.77 |
| cubes with 0.8 times the edge (five tasks) | 0.96 | 0.53 | 0.25 | 0.16 |
| boxes of cm (line, square) | 1.00 | 0.99 | 1.00 | 0.99 |
| cubes of 0.8, 1.0 and 1.2 times the edge in one scene (line, square) | 1.00 | 0.98 | 0.96 | 0.97 |
| cubes and boxes in one scene (line, square) | 1.00 | 0.99 | 0.98 | 0.99 |
| cubes that have to stay in place |
| whole-task success / placed after release | |||||
|---|---|---|---|---|---|
| cube stacking ( ) | 1.00 / 0.89 | 0.97 / 0.93 | 0.90 / 0.85 | 0.81 / 0.73 | 0.45 / 0.38 |
| cube stacking ( ) | 0.99 / 0.90 | 0.99 / 0.81 | 0.86 / 0.41 | 0.13 / 0.02 | 0.00 / 0.00 |
| line | 1.00 / 0.89 | 1.00 / 0.88 | 0.97 / 0.88 | 0.96 / 0.86 | 0.92 / 0.83 |
| square | 0.99 / 0.83 | 0.98 / 0.84 | 0.95 / 0.79 | 0.88 / 0.66 | 0.66 / 0.52 |
| pyramid | 0.99 / 0.87 | 0.91 / 0.78 | 0.61 / 0.53 | 0.43 / 0.41 | 0.06 / 0.05 |
| wall | 1.00 / 0.88 | 0.98 / 0.82 | 0.92 / 0.79 | 0.77 / 0.66 | 0.40 / 0.36 |
| Mean | |||||||
| cube stacking ( ), trained on one to seven cubes | |||||||
| minimum (WAVE) | 1.00 | 0.98 | 0.92 | 0.95 | 0.63 | 0.48 | 0.82 |
| mean | 0.95 | 0.88 | 0.80 | 0.35 | 0.40 | 0.05 | 0.55 |
| attention | 1.00 | 0.90 | 0.90 | 0.78 | 0.30 | 0.08 | 0.64 |
| pyramid, trained on one to six cubes | |||||||
| minimum (WAVE) | 0.92 | 0.90 | 0.60 | 0.35 | 0.20 | 0.08 | 0.47 |
Generalization in Robotic Manipulation
Generalization in robotic manipulation studies how robots transfer grasping and interaction skills to new objects, scenes, tasks, and embodiments.
See all 398 papers