Weakly Supervised Discovery of Motion Styles for Compositional Robot Control
Organizations: Department of Computer Science and Technology, University of Cambridge
Abstract
When a robot possesses more degrees of freedom than a task requires, multiple trajectories can achieve the same objective using distinct motion styles. Compositional robot control aims to preserve a selected style while simultaneously executing an independent task command, effectively balancing these potentially competing objectives. In this paper, we present CODES, a framework for compositional robot control that discovers a coherent style repertoire from diverse recordings and composes it with independent commands. First, motion retargeting maps the recordings to motions executable by the target robot; next, weakly supervised consensus encoding and density-based clustering identify styles within and across recordings without a prescribed count; finally, reinforcement learning trains a policy to compose the discovered styles with independent commands. We evaluate CODES on a Unitree Go2 quadruped across two simulators and physical hardware. Compared to baselines, CODES significantly improves kinematic coherence. Furthermore, our controller successfully tracks velocity commands that generalize beyond the support of the recorded data, exhibiting robust and distinguishable style characteristics during both cross-simulator and real-world hardware deployments. Project website: https://www.proroklab.org/compositional-motion-styles/
Figures & tables
| Method | Loc. | Coverage (%) | Core switches (/min) | ||
| CODES (ours) | 16 | 10.19 | 12 | 72.8 | 1.36 |
| Loss ablations | |||||
| No coarse ( ) | 15 | 8.92 | 10 | 90.8 | 0.79 |
| Separation only ( ) | 15 | 7.40 | 9 | 91.3 | 1.01 |
| Uniform attraction ( ) | 7 | 3.42 | 7 | 95.9 | 0.00 |
| No reconstruction ( ) | 3 | 1.20 | 3 | 93.6 | 0.00 |
| Method | Coverage (%) | Silhouette | Cross-recording AUC |
|---|---|---|---|
| CODES (ours) | 72.8 | 0.329 | 0.832 |
| No coarse terms | 90.8 | 0.264 | 0.826 |
| VQ-VAE | 100.0 | -0.043 | 0.562 |
| Coverage and balance controls | |||
| CODES, full coverage | 100.0 | 0.246 | 0.790 |
| VQ-VAE, balanced | 100.0 | 0.022 | 0.680 |
| Dictionary | Median (m/s) | Complete (%) | Success (%) | |
|---|---|---|---|---|
| CODES (ours) | 16 | 0.114 | 98.1 | 74.2 |
| No coarse terms | 15 | 0.106 | 99.3 | 89.8 |
| VQ-VAE | 17 | 0.142 | 99.2 | 66.8 |
Robotic Control
Robotic control studies how machines use sensing and computation to produce reliable movement and interaction in changing environments.
See all 584 papers