- We introduce a new formulation for Generative Pretrained Controllers that integrates the learnings from SuperMimic to drastically speed up training time for the Stage 1 motion tracker by about 8x (for full length, production-grade, training).
- We also introduce optimizations for the Stage 2 learning stage that cut its cost by 21x in GPU-hours (5.3x in training time, on one GPU instead of four).
- In addition, we demonstrate a better joystick sparse reward that learns much faster than previously demonstrated formulations on GPC.
- These optimizations together bring the whole pipeline down from ~8.5 days of training to about 30 hours on a single RTX 5090
- We train a “get down” task, with a simple reward to drive the robot to lie down on the floor smoothly, with minimal force impact (plus an AMP reward for style).
- We demonstrate a practical controller example that switches between task CoLAs at runtime, on the same prior.
- Lastly, we talk about the effect of the dataset on the motion prior, and some interesting open research questions.
Whole pipeline, hours of training
- Stage 1 tracker
- Stage 2 prior
- Joystick CoLA
Background
At Dollhouse Robotics, our mission is to fill the world with robot NPCs. We believe humanoids provide the best platform to build these robot characters and deliver entertainment to the general public, while fulfilling consumer-facing roles.
The main aspect we’ve been focusing on lately is how to answer one question: How do we get humanoids to feel more life-like, safe, and compliant around humans?
When GPC (Shi et al., 2026) came out, I got very excited!
The entire world of entertainment-oriented humanoid robotics, and pretty much all existing real-world deployments that I am personally aware of are built on the same approach: a generalized motion tracker, trained on a large motion reference corpus to follow a prescribed motion sequence, and a planner that generates those prescribed motions, usually by outputting the motor command targets to feed to the tracker.
This is widely known as planner-tracker, and more often than not today, the “planner” in these deployments is a deterministic state machine that feeds walking motions to the tracker for locomotion, and then plays prescribed motions like dances or emotive motions. In practice, in my experience, planner-tracker often has issues where there are noticeable mismatches in what the planner expects to happen, and how the tracker actually behaves. This usually is expressed in what I call “stutter stepping”, where the planner gives commands that the tracker ends up following too rigidly, resulting in a bunch of minor corrections.
Behavioral Foundation Models is a line of research that seeks to teach legged robots to follow behavior specification, rather than a directly prescribed motion. In the real world, we don’t actually care that the robot follows an ideal motion track within 0.25cm. When we want the robot to climb a ladder, we want it to put it’s foot on the next step, not at a specific point relative to it’s local frame! Even when the task is dancing, I would rather a robot deviate from the motion a bit to optimize for clear balance, instead of rigidly adhering to the motion reference and having to rapidly correct itself.
Most behavior foundation model work bootstraps off of large human motion data to help the robot learn in simulation how to achieve it’s task goals. BFM-Zero (Li et al., 2025) learns the task representation and dynamics directly, but it requires “style conditioning” to achieve more natural, human-like motion, and it doesn’t necessarily achieve it for certain important tasks out of the box (namely, the “get up from the floor” task, in which it learns to do the “get up like a zombie demon” motion).
MaskedMimic (Tessler et al., 2024) distills from a learned motion tracking teacher, and ScaleBFM (Zeng et al., 2026) trains masked motion tracking directly with PPO at scale. Both result in more natural motion. But, the conditioning for how behavior can be specified is baked in during the expensive training steps. Metatron (Tessler et al., 2026) takes a swing at this by extending the MaskedMimic concept and taking advantage of frontier coding agents’ ability to quickly output functioning code for specific tasks, and demonstrates using that pretrained interface to perform a variety of tasks with something that starts to look like “code as policy”, but on a humanoid.
GPC
GPC is an interesting in-between. It trains using a two-stage method:
- In the first stage, it trains a motion tracker on a motion tracking goal. But while it’s training that motion tracker, it’s also training a decoder for a latent space. The decoder is what outputs the final joint poses that the robot follows in its motor controllers.
- In the second stage, a prior is trained using a GPT, more or less the same architecture that LLMs have successfully used. But instead of text tokens, it writes motion tokens in this trained latent space: given the robot’s current state, it samples the next step’s code one token at a time. Unlike an LLM, it has no context window over past steps. Each step it sees only the robot’s current state (including the joint targets it produced last step), and the tracker’s decoder is what reads the recent sensor history.
The result is an interesting marriage of both worlds! This is technically planner-tracker: the GPT outputs a command to a tracker, and the tracker executes that on the robot while accounting for the dynamics of the real world. But those commands output from the GPT are not poses. Every 20 ms, the GPT writes a short discrete code (4 tokens), and the tracker’s decoder turns that code into joint targets, given what the robot is currently feeling. It’s hard to reason in your head about what one of these codes means, so here is a visualizer.
A code isn’t a pose or a named skill. It’s closer to a compressed intent for the next 20 ms, and the same code can mean different things depending on the robot’s state. Strung together step by step, the codes make whole movements. Because this GPT was trained on a large corpus of human motion data, it learns to do everything in a human-like, very natural-looking way. It acts as a foundation model that can be focused on particular task-behavior goals, not necessarily on tracking a particular motion.
Because the GPT outputs codes in a learned latent space instead of joint poses, the tracker decides the final joint targets from what the robot is actually feeling. It can be a lot more reactive in its response to perturbations and realities of the real world. The result is behavior optimized for task-specific behavior, but with that conditioning of doing it in a natural, human-like way. In essence, it is a behavior foundation model, but with strong human motion-prior conditioning.
It also has some other really nice properties that, as an engineer, I find attractive. Because the policy is always sampling a likely next motion, it is compliant out of the box by default! I forgot to record a video of this before my flight out for Thanksgiving, but you can try this out in simulation.
Loading simulation 0%
About 240 MB. It runs on your device.
Post-Trained Behavior via RLFT
Perhaps the most important one, though, is that the prior does not have any task conditioning or interface baked in during pre-training. If you deploy the unconditioned prior, the robot just kind of mozies around, doing random, but every human-like, motions as it samples a plausible next thing to do. It might lift it’s arm, and then start to dance. It might lean over a bit, and decide to do a summersault.
Conditioning the policy to do tasks such walking around with joystick control, or grabbing something, is done as a post-training step by training a LoRA that has the new, task-specific command observation interface as conditioning. These LoRAs are comparatively extremely cheap to train, and are very small. This also means you can have multiple of these task LoRAs loaded into memory on the robot, and switch between them at runtime to change the task behavior of the robot.
Runtime seamless behavior switching
If you do this transition properly, by interpolating between them, then we avoid another common problem with planner-tracker or policy-switching approaches to multi-task humanoid robotics: motion seams. When naively done, switching goals on a humanoid results in a noticeable “jump” as the new policy takes control of the motors. You can hide this with some clever engineering, but that is a short term hack.
With GPC, the policy is always sampling that next probable motion. All the LoRAs do is change the distribution that the policy is sampling that next motion from. Because there is no context-switching (it’s still the same policy, doing the same inference goal), the motion always comes out fluid and natural as it switches goals!
Because the behavior the model is capable of is already trained into the prior, training the task LoRAs is usually as simple as Reinforcement Learning Fine Tuning with a very sparse set of rewards. For example, for our joystick LoRA, the rewards are essentially:
- Be facing the commanded direction
- Be going the commanded speed in the commanded direction
- Be upright and standing
That’s it. The model doesn’t need to be taught how to walk, it already knows how to walk because it’s seen a bunch of motion references of humans walking around. It also doesn’t need to be taught how to get back up if it falls: it’s seen a bunch of motions of humans doing that too!
A common task in our deployments is “get down on the floor smoothly”. Usually, this is because operationally, we need to change the batteries every 2-3 hours. We train a “get down” LoRA by giving it no commands, just the rewards:
- Lie down on your back on the floor
- Do so without hitting the floor hard (penalize impact forces above a threshold)
That simple reward works fine on its own. For the version in this post, we also added an AMP (Peng et al., 2021) style reward toward one smooth lie-down clip, to polish how it looks. Again, it already knows how to lie down from its prior, it just needs a little nudge toward the motions that do what we want it to do.
Putting these two together, we can see the result on a real Unitree G1:
Training Speed
While working on this project, SuperMimic (Liao et al., 2026) was released, which demonstrated a massive speedup in training time for motion trackers using model-based RL using a learned dynamics world model for faster dynamics inference, and enabling first-order optimization for learning. We integrated this work, and a mix of the optimizations from follow up projects InstantTrack (Dao, 2026), and BlinkMimic (Chen, 2026), and demonstrate that the Stage 1 motion tracker in GPC can benefit from that same training speed improvement!
| Stage | Before | Now | Speedup |
|---|---|---|---|
| Stage 1 tracker | 132 h on 4 GPUs (PPO) | 16.8 h on 1× RTX 5090 | 7.9× |
| Stage 2 prior | 65 h on 4× RTX 5090 (≈260 GPU-hours) | 12.2 h on 1× RTX 5090 | 5.3× training time, 21× GPU-hours |
| Joystick CoLA | 6.1 h on 1× RTX 5090 | 46 min on 1× RTX 5090 | 8× |
| Whole pipeline | 203 h (8.5 days), ≈794 GPU-hours | 29.7 h, ≈30 GPU-hours | 6.8× training time, ≈26× GPU-hours |
Speedup by stage, before → now
Note: These numbers may seem very different than the SuperMimic numbers you often see thrown around. This is because SuperMimic and related works measure “completion” as the time to reach a 0.82 normalized return (SuperMimic’s headline result compares against a 0.90 return), while we train the policies until training fully plateaus. We are measuring to “production-deployable.”
To compare how quickly each run got most of the way there, here are the same runs measured by when each one reached 90% and 95% of the total improvement it made by its last iteration. Stage 1 and the joystick use their evaluation metric; Stage 2 uses its training cross-entropy loss.
| Stage (metric) | Before, 90% / 95% | Now, 90% / 95% |
|---|---|---|
| Stage 1 (eval success) | ≤6 h / ≈10.5 h | 0.66 h / 0.66 h |
| Stage 2 (training cross-entropy) | 3.0 h / 9.0 h | 0.37 h / 1.36 h |
| Joystick CoLA (eval success) | ≈2.8 h / ≈4.2 h | 0.34 h / 0.34 h |
| Whole pipeline | ≤12 h / ≈24 h | 1.4 h / 2.4 h |
These are real training runs, not a controlled benchmark. The motion corpora (about 225 hours before, 56 hours now), robot models and simulators differ. The old Stage 1 run has no recorded learning curve, so its 90/95% times come from an earlier PPO run, and the old joystick run used a different reward. Training times leave out outages and gaps between runs.
Stage 2 still trains the same way it did before. It’s a simple GPT-style cross entropy loss optimization learning to predict the next motion code (4 tokens per step) from a motion dataset containing about 56 hours of human reference motion, mostly from BONES-SEED (Bones Studio). We implemented several optimizations that brought the per-iteration time down from 10.7s -> 1.11s, and on a single RTX 5090 (the original GPC on the SOMA humanoid was trained over several days on a fleet of 24 A100s, for context).
Stage 2 prior, seconds per training iteration
- CUDA Graphs for environment calculations
- Async collection of rollout data
- TF32 compiled loss and fused AdamW
- Grouped environments that collection steps through in turn
- Several layers moved to BF16
- Using CUDA streams for collector/trainer
- Direct fp32 attention (PyTorch fused attention is optimized for much longer token streams, we have 4)
In theory, we could use the world model from Stage 1 and offload some of the simulator collection work using imagined trajectories. But the reality is, after these optimizations, the bottleneck is no longer the simulator for Stage 2, it’s the cross-entropy learner.
Challenges from Motion Dataset Mix
GPC is very sensitive to what the data looks like when you train the motion prior, and I have a few examples that illustrate this well.
During training of the Stage 2 prior, I tend to use Miniverse to manually evaluate the checkpoint a bit, by which I mean: bully the unconditioned simulated robot to see what it does. One useful test to see how it’s doing is to push it to the floor and see how it reacts. Does it get back up on its own? Does it just give up?
Earlier in this project, I was having trouble with the robot freaking out when it was on the floor. At first, I thought I didn’t have enough motion representation for references of on-the-floor motions, so I adjusted the dataset. This is something I already worked on dealing with for get-up and lie-down (of the ~142,000 motion clips in BONES-SEED, there are a sum total of 72 clips that involve getting down to the floor, or getting up from it), so I had to make our own dataset.
But no matter how I adjusted, the robot would still freak! Then, I did the thing again nobody does: I looked at my data.
Did you know there are 26 motions in BONES that are “person having a seizure on the floor”? Because now I do, and so do you. There are also 147 other similar motions that involve shaking uncontrollably (“get rid of bug”, “shivering”), things we never want the robot to do.
Loading recording
Removing those motions fixed the issue.
During recent testing, I noticed that the robot would randomly go into a T-pose all the time. I remembered that some of the BONES motions I’ve looked at had the actors start in a T-pose, and then perform the motion. So I had an agent go and find all those clips and measure how much that actually happened. Turns out, it’s a lot! 774 motions. The robot was learning that before starting locomotion, it should do a T-pose.
I had the agent trim out those segments from the motions, and I’ve published an open-source manifest and tool, bones-seed-tpose-trims, so you can trim them yourselves at home (the BONES license prohibits re-distribution of motion data).
The behavior of the policy is very heavily influenced by the proportions of class of motion in the dataset. Too much basic locomotion, and the policy doesn’t learn to just get up from the floor naturally easily. Too many floor motions, and getting the policy to jump might result in it belly-flopping instead most of the time. This is something the original GPC team is thinking about too; for the parkour-GPC they demonstrated at SIGGRAPH, they had to train it on a focused parkour dataset to get it to work. The behavior can still be guided with RLFT, but the quality and distribution of the pretrained prior affects how efficiently it learns that behavior, something I’ll seek to measure formally in a follow-up work.
Interesting Lines of Question
- How can we design the policy to learn the right amounts of each class of motion, without needing to manually tune the proportions it learns from?
- Relatedly, how can we have more agile motion (like parkour) in the same policy as basic locomotion?
- How much does better retargeting improve the pre-train? A LOT of work was done to curate a really well retargeted motion dataset for this project, but there’s still improvement to be had, especially as we add in non-flat terrain.
- Would using different collision geometry improve more agile motion? OmniRetarget (Yang et al., 2025) and LadderMan (Zhao et al., 2026) replace the sparse, standardized capsule colliders on the upper body simulated G1 with a closer fitting mesh approximation, and claimed improvements. I think there is more work to be done on collision geometry, that we can now afford with the vast improvements in training efficiency!
- How can we make the tracker more robust? It doesn’t like wearing shoes right now, for example.
The training code for this project is available on Github, and there are checkpoints for the Unitree G1 available on Hugging Face (note: we don’t use the wrists on the 29dof G1 at Dollhouse, so this is a 25DoF policy, and the wrists need to be damped and wrapped in place, or locked at zero in the controller).
Bibliography
- Chen, F. (2026). BlinkMimic: Training a Humanoid Motion Tracker in Minutes on a Single GPU. arXiv:2611.16422.
- Dao, H. Q. (2026). InstantTrack: Whole-Body Motion Tracking for the Unitree G1 in Minutes on One GPU. Software, doi:10.5281/zenodo.24461144.
- Li, Y., Luo, Z., Zhang, T., Dai, C., Kanervisto, A., et al. (2025). BFM-Zero: A Promptable Behavioral Foundation Model for Humanoid Control Using Unsupervised Reinforcement Learning. ICLR 2026. arXiv:2511.04131.
- Liao, Q., Shao, Y., Long, J., Zakka, K., Horowitz, R., Abbeel, P., and Sreenath, K. (2026). SuperMimic: Scaling Humanoid Whole-Body Control with One Differentiable World Model. CoRL 2026. arXiv:2610.28480.
- Peng, X. B., Ma, Z., Abbeel, P., Levine, S., and Kanazawa, A. (2021). AMP: Adversarial Motion Priors for Stylized Physics-Based Character Control. ACM Transactions on Graphics (SIGGRAPH 2021). arXiv:2104.02180.
- Shi, Y., Jiang, Y., Tessler, C., and Peng, X. B. (2026). GPC: Large-Scale Generative Pretraining for Transferable Motor Control. SIGGRAPH Conference Papers 2026. arXiv:2606.29148.
- Tessler, C., Guo, Y., Nabati, O., Chechik, G., and Peng, X. B. (2024). MaskedMimic: Unified Physics-Based Character Control Through Masked Motion Inpainting. ACM Transactions on Graphics (SIGGRAPH Asia 2024). arXiv:2409.14393.
- Tessler, C., Jiang, Y., Otto, A., Shi, Y., Iqbal, U., Chechik, G., and Peng, X. B. (2026). METATRON: A Promptable Whole-Body Execution Layer for Humanoids. arXiv:2610.38027.
- Yang, L., Huang, X., Wu, Z., Kanazawa, A., Abbeel, P., et al. (2025). OmniRetarget: Interaction-Preserving Data Generation for Humanoid Whole-Body Loco-Manipulation and Scene Interaction. ICRA 2026. arXiv:2509.26633.
- Zeng, W., Yin, K., Niu, X., Lu, S., Zhong, W., et al. (2026). Scaling Behavior Foundation Model for Humanoid Robots (ScaleBFM). Technical report, arXiv:2607.15163.
- Zhao, S., Zhang, Y., Lu, Z., Abbeel, P., Duan, R., et al. (2026). LadderMan: Learning Humanoid Perceptive Ladder Climbing. CoRL 2026. arXiv:2606.05873.
- Bones Studio. BONES-SEED: Skeletal Everyday Embodied Dataset. Motion capture dataset.