A latent control model for realistic rodent motion
Organizations: Google, Paradigms of Intelligence Team · Mila – Quebec AI Institute · School of Computer Science, McGill University · Harvard University ·
Abstract
The development of embodied models of animal behavior is a major goal of the neuro-AI community. Embodied models will enhance our ability to make direct comparisons between biological and artificial agents. To make such comparisons effective, though, we need embodied models that actually move like animals. Previous work has developed virtual animal bodies and techniques for training realistic motion through imitation. However, to date, there is no system for embodied animal modeling that produces natural movements both during trained goal-directed behavior, and during exploration driven by random generation. Here, we introduce Simulated Control via Augmented Motor Priors for Embodied Reinforcement learning (SCAMPER), a system for training an embodied virtual rat model, enabling natural movements during both goal-directed behavior and random exploration. SCAMPER uses a variational architecture with two distinct priors, a motion prior for control and a behavior prior for exploration. We show that combining both of these priors allows SCAMPER to generate realistic behavior during exploration and exploit the task structure effectively. SCAMPER can also learn from sparse rewards as a result of the diverse movements induced by the behavior prior, allowing the system to model realistic sparse-reward tasks from experimental neuroscience. Altogether, SCAMPER provides the neuro-AI community with an effective new system for training embodied models of rodents on realistic tasks.
Figures & tables
| Walk | Trot | Gallop | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Method | Coord. | Pattern | All | Coord. | Pattern | All | Coord. | Pattern | All |
| SCAMPER | 1.49 | 0.95 | 0.59 | 1.27 | 1.40 | 1.19 | 1.35 | 2.29 | 1.91 |
| MIMIC-MJX | 1.83 | 1.68 | 1.28 | 5.15 | 3.62 | 2.72 | 1.96 | 2.51 | 2.74 |
| Scratch | 4.83 | 6.55 | 3.44 | 7.84 | 14.69 | 11.01 | 5.93 | 8.28 | 5.91 |
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Group | Hyperparameter | Value |
| Environment | Solver | Newton |
| Solver iterations | 5 | |
| Line-search iterations | 5 | |
| Max contacts ( ) | 256 | |
| Max constraint rows ( ) | 128 | |
| Simulation timestep | s (500 Hz) |
| Group | Hyperparameter | Value |
| Distillation loss | AR(1) smoothness weight | |
| Gradient clip threshold (global norm) | ||
| Encoder / prior logvar clamp | ||
| KL schedule | Schedule type | linear ramp, then hold |
| Start weight | ||
| End weight |
| Group | Hyperparameter | Value |
|---|---|---|
| Distillation loss | KL weight | |
| Gradient clip threshold (global norm) | ||
| Network architecture | Latent size (inherited from Stage 2) | |
| Behavior prior hidden sizes | ||
| Training | Parallel environments | |
| Total environment steps |
| Group | Hyperparameter | Value |
| Task / environment | Episode length | control steps |
| Evaluation interval | env steps | |
| Number of treats per episode | ||
| Treat sphere radius | m | |
| Treat height | m | |
| Minimum spawn radius | Variable |
| Group | Hyperparameter | Value |
| Task / environment | Episode length | control steps |
| Evaluation interval | env steps | |
| Target forward speed | Variable | |
| Forward-velocity reward weight | ||
| Network architecture | Task policy hidden sizes | |
| Critic hidden sizes |
| Group | Hyperparameter | Value |
| Task / environment | Episode length | control steps |
| Evaluation interval | env steps | |
| Target position | m | |
| -tolerance for success | m | |
| -tolerance for success | m | |
| Required hold duration | s |
| Group | Hyperparameter | Value |
| Architecture | Encoder hidden sizes | |
| Decoder hidden sizes | ||
| Latent dimensionality | ||
| Activation | SiLU | |
| Layer normalization | yes | |
| Regularization | Dropout rate |
| Wasserstein Distance ( ) | |||||||
|---|---|---|---|---|---|---|---|
| Prior Networks | |||||||
| Behavior Prior | .0085 | .0054 | .0045 | .0092 | .0106 | .0129 | .0162 |
| Motion Prior | .0116 | .0121 | .0115 | .0099 | .0126 | .0171 | .0173 |
| Variant | Setting | Mean treats collected |
|---|---|---|
| Fixed schedule (warmup / ramp) | / | |
| / | ||
| / | ||
| Linear interpolation ( ) | ||
| Empirical | SCAMPER (MP) | SCAMPER (BP) | MIMIC-MJX | Scratch | ( ) | |||||||||||||||
| Gait | Metric | SCAMPER (MP) | SCAMPER (BP) | MIMIC-MJX | Scratch | |||||||||||||||
| Walk | Stride Duration (ms) | 308 | 91 | 332 | 16 | 313 | 34 | 374 | 23 | 255 | 293 | 0.27 | 0.06 | 0.73 | 0.58 | |||||
| Step Frequency (Hz) | 3.46 | 0.75 | 3.02 | 0.15 | 3.22 | 0.33 | 2.69 | 0.26 | 4.61 | 2.62 | 0.58 | 0.31 | 1.02 | 1.53 | ||||||
| Stance LH (ms) | 182 | 82 | 191 | 21 | 178 | 26 | 221 | 36 | 223 | 295 | 0.11 | 0.05 | 0.48 | 0.50 | ||||||
| Stance RH (ms) | 175 | 66 | 183 | 9 | 208 | 59 | 247 | 31 | 80 | 0 | 0.12 | 0.51 | 1.09 | 1.45 | ||||||
| Stance LF (ms) | 171 | 71 | 172 | 32 | 137 | 11 | 153 | 15 | 20 | 10 | 0.02 | 0.48 | 0.25 | 2.12 | ||||||
Latent Action Learning
Latent action learning discovers compact representations of behavior from observations or trajectories to support control, planning, and transfer.
See all 113 papers