Latent Jacobian Steer: Eliciting Contact-Rich Out-of-Distribution Behaviors from Pretrained Humanoid Controllers
Organizations: National University of Singapore · Indian Institute of Technology Kharagpur
Abstract
Given a pretrained general latent-conditioned whole-body humanoid controller, say a behavioral foundation model (BFM), how can we elicit complex and contact-rich out-of-distribution behaviors? Raw joint-action exploration enables direct, task-specific adjustments but can disrupt coordination learned by the pretrained controller, whereas latent exploration retains that coordination but is difficult to steer toward desired physical effects. To combine the complementary strengths of these exploration spaces, we propose Latent Jacobian Steer (LJS), which couples sampling in direct joint-action space with the semantics of the learned frozen controller's input latent space. For a task specified through desired physical effects, we sample task-relevant joint-action perturbations and map them through a damped local inverse of the policy Jacobian to obtain candidate latent () commands. These commands are executed through the frozen pretrained policy, while exploration is directed toward the physical outcomes required by the new task. Candidate outcomes are evaluated in simulation and composed into latent-command sequences that accomplish the task. Ablations show that neither action-space nor latent-space exploration alone provides the same capability as their coupling. Across diverse out-of-distribution tasks, simulation-based searching using this method produces contact-rich behaviors, including hurdling, manipulating articulated objects, and opening doors through non-prehensile contact. Over ten seeds, LJS completes more of each humanoid task than when searching in either space alone. Beyond humanoids, it also steers a goal-conditioned dexterous hand policy through four assembly tasks better than searching in goal space directly.
Figures & tables
| Method | Hurdle (10 effects) | Shutter (5 effects) | Door-cube (6 effects) |
|---|---|---|---|
| CEM-LJS | 6.20 3.43 (3/10) | 3.90 2.08 (7/10) | 6.00 0.00 (10/10) |
| CEM direct- | 4.60 2.99 (1/10) | 0.10 0.32 (0/10) | 4.90 1.45 (6/10) |
| CEM residual-BFM | 5.30 3.92 (3/10) | 1.50 1.08 (0/10) | 1.70 1.25 (0/10) |
| Mixed-Gaussian LJS | 3.60 3.53 (1/10) | 0.10 0.32 (0/10) | 4.10 2.47 (5/10) |
| Method | Beam, first part (3) | Beam, second part (4) | Screwing (4) | Insertion (3) |
|---|---|---|---|---|
| CEM-LJS | 3.00 0.00 (10/10) | 3.30 1.25 (7/10) | 3.80 0.63 (9/10) | 2.00 1.05 (5/10) |
| CEM direct-goal | 3.00 0.00 (10/10) | 2.30 1.49 (4/10) | 1.80 1.62 (3/10) | 1.80 1.03 (4/10) |
| Measure (per effect) | CEM-LJS | CEM residual-BFM | CEM-LJS better on |
|---|---|---|---|
| Mechanical power (W/kg) | 1.59 | 2.61 | 56/65 |
| Joint jerk, RMS (rad/s 3 ) | 782 | 1660 | 54/65 |
| Time at the motor torque limit | 0.06 | 0.20 | 43/65 |
| Foot slip under load (m/s) | 0.020 | 0.112 | 55/65 |
| Human-likeness (higher is better) | 0.89 | 2.40 | 57/65 |
| Task | CEM-LJS | CEM direct- | CEM residual-BFM | Mixed- Gaussian LJS | CEM-LJS time |
|---|---|---|---|---|---|
| Hurdle (10) | 10/10 | 6/10 | 7/10 | 2/10 | 479 s (221–856 s) |
| Shutter (5) | 10/10 | 6/10 | 0/10 | 3/10 | 328 s (137–887 s) |
| Door-cube (6) | 10/10 | 10/10 | 2/10 | 10/10 | 145 s (128–161 s) |
| All | 30/30 | 22/30 | 9/30 | 15/30 |
| Method | Runs completed | Mean points reached (of 10) |
|---|---|---|
| CEM-LJS | 12/15 | 9.1 |
| CEM direct- | 2/15 | 2.5 |
| CEM residual-BFM | 3/15 | 4.8 |
| Mixed-Gaussian LJS | 1/15 | 1.5 |
| Search | Shutter (5) | Hurdle (10) | Door-cube (6) |
|---|---|---|---|
| CEM-LJS | 7/10 , 3.9 | 3/10 , 6.2 | 10/10 , 6.0 |
| CEM-LJS, rotated proposal axes | 7/10, 3.6 | 0/10, 5.7 | 10/10, 6.0 |
| CEM over the Jacobian’s latent directions | 3/10, 1.6 | 0/10, 4.1 | 6/10, 4.8 |
| CEM direct- | 0/10, 0.1 | 1/10, 4.6 | 6/10, 4.9 |
| Random 29-D latent subspace | 0/10, 0.0 | 0/10, 0.8 | 0/10, 1.9 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | Hurdle | Shutter | Door-cube |
|---|---|---|---|
| CEM-LJS | 137 s (104 s) | 77 s (54 s) | 61 s (55 s) |
| CEM direct- | 152 s (152 s) | – | 72 s (58 s) |
| CEM residual-BFM | 89 s (80 s) | – | – |
| Mixed-Gaussian LJS | 189 s (189 s) | – | 82 s (62 s) |
| CEM-LJS vs. | Hurdle | Shutter | Door-cube |
|---|---|---|---|
| CEM direct- | 0.29 | 0.001 | 0.034 |
| CEM residual-BFM | 0.70 | 0.020 | 0.001 |
| Mixed-Gaussian LJS | 0.12 | 0.001 | 0.015 |
| Task | Method | 12 | 10 | 19 | 2027 | 2004 | 1264 | 2681 | 752 | 2360 | 2981 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Hurdle | CEM-LJS | 1/10 (88) | 8/10 (162) | 6/10 (157) | 10/10 (104) | 4/10 (104) | 10/10 (110) | 1/10 (88) | 10/10 (198) | 6/10 (78) | 6/10 (119) |
| CEM direct- | 6/10 (175) | 1/10 (45) | 10/10 (152) | 6/10 (98) | 6/10 (136) | 3/10 (113) | 6/10 (142) | 1/10 (108) | 6/10 (175) | 1/10 (35) | |
| CEM residual-BFM | 10/10 (93) | 1/10 (34) | 10/10 (94) | 7/10 (88) | 3/10 (115) | 3/10 (124) | 1/10 (31) | 7/10 (80) | 10/10 (80) | 1/10 (20) | |
| Mixed-Gaussian LJS | 1/10 (43) | 6/10 (130) | 1/10 (51) | 1/10 (46) | 1/10 (49) | 6/10 (152) | 1/10 (48) | 8/10 (244) | 10/10 (189) | 1/10 (58) | |
| Shutter | CEM-LJS | 4/5 (103) | 5/5 (86) | 5/5 (105) | 5/5 (61) | 0/5 (86) | 5/5 (75) | 5/5 (75) | 0/5 (84) | 5/5 (54) | 5/5 (83) |
| CEM direct- | 1/5 (122) | 0/5 (79) | 0/5 (80) | 0/5 (83) | 0/5 (80) | 0/5 (82) | 0/5 (83) | 0/5 (80) | 0/5 (78) | 0/5 (80) |
| Search | Shutter (5) | Hurdle (10) | Door-cube (6) |
|---|---|---|---|
| CEM-LJS | 7/10 , 3.9 | 3/10 , 6.2 | 10/10 , 6.0 |
| MPPI LJS | 4/10, 2.0 | 2/10, 6.3 | 9/10, 5.4 |
| LATTICE-style LJS | 3/10, 1.5 | 1/10, 3.6 | 7/10, 4.5 |
| Zero-mean refinement LJS | 2/10, 1.0 | 1/10, 4.4 | 2/10, 2.1 |
| Targeted-mean refinement LJS | 1/10, 0.5 | 0/10, 3.6 | 4/10, 4.2 |
| Gaussian-only LJS | 0/10, 0.1 | 1/10, 5.5 | 2/10, 3.0 |
| Search | Setting | Shutter (5) |
| CEM-LJS | default | 7/10 , 3.9 |
| scale | 2/10, 1.2 | |
| scale | 5/10, 2.9 | |
| damping | 7/10, 3.5 | |
| damping | 2/10, 1.0 | |
| CEM direct- | default | 0/10, 0.1 |
| Variant | Effects | Control steps |
|---|---|---|
| CEM-LJS (BFM-Zero) | 4/4 | 696,320 |
| PPO direct- | 0/4 | 1,310,720 training |
| PPO through LJS | 0/4 | 1,310,720 training |
| Mixed-Gaussian LJS with SONIC | 1/4 | 696,320 |
| Measure (per effect) | CEM-LJS | CEM residual-BFM | CEM-LJS better | |
| Mechanical power (W/kg) | 1.59 | 2.61 | 56/65 | |
| Joint jerk, RMS (rad/s 3 ) | 782 | 1660 | 54/65 | |
| Peak commanded torque / motor limit | 1.28 | 2.53 | 54/65 | |
| Time at the motor torque limit (fraction) | 0.06 | 0.20 | 43/65 | |
| Joint-target rate, RMS (rad/s) | 2.23 | 4.03 | 55/65 | |
| Peak base angular speed (rad/s) | 2.93 | 4.05 | 58/65 |
| Measure | With / without | Lower with discriminator | |
| Mechanical power | 0.71 | 54/79 | |
| Joint jerk, RMS | 0.80 | 49/79 | |
| Joint-target rate, RMS | 0.84 | 55/79 | |
| Peak base angular speed | 0.79 | 54/79 | |
| Peak joint speed / G1 limit | 0.89 | 49/79 | |
| RMS torque / motor limit | 0.92 | 51/79 |
| Method | Effects per start | Full shutter | Search time |
|---|---|---|---|
| CEM-LJS | 0, 5, 5, 5, 5, 1, 5, 5, 5, 5 | 8/10 | 84 s (57 s) |
| CEM direct- | 0, 0, 5, 0, 0, 0, 0, 0, 2, 0 | 1/10 | 158 s (158 s) |
| CEM residual-BFM | 1, 1, 1, 1, 4, 1, 1, 1, 1, 1 | 0/10 | – |
| Mixed-Gaussian LJS | 0, 0, 0, 0, 0, 5, 5, 0, 0, 0 | 2/10 | 95 s (93 s) |
| Method | Path 1 | Path 2 | Path 3 | All | Points reached (of 10) |
|---|---|---|---|---|---|
| CEM-LJS | 4/5 | 4/5 | 4/5 | 12/15 | 9.1 |
| CEM direct- | 1/5 | 1/5 | 0/5 | 2/15 | 2.5 |
| CEM residual-BFM | 2/5 | 0/5 | 1/5 | 3/15 | 4.8 |
| Mixed-Gaussian LJS | 1/5 | 0/5 | 0/5 | 1/15 | 1.5 |
| Task | CEM-LJS | CEM direct-goal | Time, CEM-LJS | Time, CEM direct-goal |
|---|---|---|---|---|
| Beam, first part | 10/10 | 10/10 | 62 s (29 s) | 46 s (29 s) |
| Beam, second part | 7/10 | 4/10 | 72 s (43 s) | 65 s (48 s) |
| Screwing | 9/10 | 3/10 | 93 s (52 s) | 132 s (88 s) |
| Insertion | 5/10 | 4/10 | 83 s (69 s) | 64 s (22 s) |
| All | 31/40 | 21/40 |
| Task | Method | 929560953 | 875095668 | 1769421694 | 1418357545 | 885480420 | 1284918341 | 747747906 | 2023936781 | 1602613270 | 1370732405 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Beam, first | CEM-LJS | 3/3 (106) | 3/3 (36) | 3/3 (47) | 3/3 (46) | 3/3 (35) | 3/3 (29) | 3/3 (66) | 3/3 (93) | 3/3 (62) | 3/3 (99) |
| CEM direct-goal | 3/3 (29) | 3/3 (76) | 3/3 (41) | 3/3 (96) | 3/3 (42) | 3/3 (51) | 3/3 (30) | 3/3 (34) | 3/3 (33) | 3/3 (33) | |
| Beam, second | CEM-LJS | 1/4 (107) | 3/4 (114) | 1/4 (98) | 4/4 (60) | 4/4 (75) | 4/4 (56) | 4/4 (119) | 4/4 (51) | 4/4 (96) | 4/4 (43) |
| CEM direct-goal | 2/4 (143) | 1/4 (142) | 1/4 (92) | 1/4 (86) | 1/4 (102) | 4/4 (51) | 4/4 (48) | 1/4 (130) | 4/4 (72) | 4/4 (91) | |
| Screwing | CEM-LJS | 4/4 (52) | 4/4 (110) | 4/4 (93) | 4/4 (140) | 4/4 (83) | 4/4 (76) | 4/4 (162) | 4/4 (64) | 4/4 (58) | 2/4 (156) |
| CEM direct-goal | 4/4 (88) | 4/4 (155) | 1/4 (125) | 1/4 (147) | 1/4 (121) | 2/4 (152) | 4/4 (152) | 0/4 (114) | 0/4 (123) | 1/4 (150) |
| Simulator | Table | Success |
|---|---|---|
| MuJoCo Warp (training) | Nominal | 496/512 (96.9%) |
| MuJoCo Warp (training) | Randomized placement, height and friction | 491/512 (95.9%) |
| MuJoCo, CPU (no retraining) | Randomized placement, height and friction | 48/48 |
| Contributor | Contribution |
|---|---|
| Human | Established the coding protocol: define one physical effect at a time for LJS with frozen BFM-Zero; implement measurements, progress scores, and acceptance conditions using the supplied MuJoCo interface; use simple scaled residuals; keep score and acceptance separate; and do not introduce joint-pose commands, inverse kinematics, motion tracking, fine-tuning, teleportation, or external forces. Any revised score must be rerun from the preceding accepted effect. |
| Gemini 3.8 Flash | Restated the protocol and requested the task geometry, entity identifiers, and first-stage instruction before generating code. |
| Human | Specified the fixed hurdle, crossing and lateral axes, right-leg lead, palm-normal conventions, collision-surface geometry, and contact-force convention. Requested the first effect: place both palms on the hurdle top, facing downward, with separate bilateral support, while keeping the robot within the usable width. Either hand could settle anywhere suitable; no exact hand target or extra foot-lifting stage was allowed. |
| Gemini 3.8 Flash | Proposed a complete first-stage module using collision geometry for palm placement, palm-normal alignment, per-hand contact loads, and pelvis centering, together with initial model-chosen tolerances. |
| Human | Corrected three implementation details: use each transformed hand geometry’s bounding-box center for horizontal placement and its minimum vertex for height; measure support only at the final frame rather than claiming a sustained five-frame hold; and evaluate all surface bounds in the hurdle’s live local frame instead of hardcoding its world center. |
| Gemini 3.8 Flash | Revised the measurements to use those distinct geometric statistics, instantaneous final-frame forces, and the hurdle transform recorded in each frame. |
| Point | Path 1 | Path 2 | Path 3 |
|---|---|---|---|
| 1 | (0.300, 0.050, 0.980) | (0.300, 0.050, 0.980) | (0.300, 0.050, 0.980) |
| 2 | (0.303, 0.350, 0.985) | (0.425, 0.323, 0.940) | (0.403, 0.332, 0.963) |
| 3 | (0.458, 0.607, 0.940) | (0.462, 0.621, 1.007) | (0.623, 0.535, 1.001) |
| 4 | (0.408, 0.903, 0.940) | (0.351, 0.899, 0.957) | (0.665, 0.832, 1.068) |
| 5 | (0.488, 1.192, 0.940) | (0.257, 1.184, 0.986) | (0.901, 1.017, 1.129) |
| 6 | (0.464, 1.491, 0.940) | (0.318, 1.478, 1.032) | (1.182, 1.124, 1.073) |