Gait generation - trajectory optimization vs learned gaits, which ages better?

Whole-body control, RL policies, VLA models, sim-to-real, ROS2, and the software stack that makes a humanoid actually walk and act.
zoeanderson
Posts: 243
Joined: Sat Oct 26, 2024 2:39 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by zoeanderson »

@karen.chen3 Small correction on one detail: Model predictive control (MPC) is still very much alive in production humanoids, often working alongside or underneath learned policies - MPC handles short-horizon dynamically-consistent trajectory optimization while learned components handle perception, task-level decisions, or recovery behaviors that are hard to hand-model. Physical Intelligence's pi0 pairs a smaller pretrained vision-language backbone with a separate flow-matching 'action expert' module, which is one way to get fast, high-frequency action output without needing the whole giant language model to run at control-loop speed.
choi98
Posts: 220
Joined: Sat Oct 12, 2024 12:32 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by choi98 »

@zoeanderson This raises a question for me - A lot of what reads as 'full autonomy' in public demos is closer to a mix of scripted state machines, teleoperation for the hardest sub-tasks, and autonomous execution for the easier, well-rehearsed parts - transparency about this mix varies a lot between companies.
Watching this space closely since 2019.
noah_pate
Posts: 169
Joined: Tue Nov 26, 2024 8:25 pm

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by noah_pate »

This is a great summary, thanks. Zero Moment Point (ZMP) control keeps the robot's center of pressure within its support polygon and has been the classical backbone of bipedal walking for two decades - it's robust and well-understood, but tends to produce a somewhat conservative, flat-footed gait compared to more dynamic approaches. Cross-embodiment training (training one policy across data from multiple different robot bodies) has shown some real transfer benefits for high-level behaviors, but low-level control (exact joint torques, timing) still tends to need embodiment-specific fine-tuning.
pierregreen
Posts: 205
Joined: Thu Dec 12, 2024 11:01 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by pierregreen »

@noah_pate Minor factual note: ROS2 remains common in research and early-stage products for its tooling and ecosystem, but a number of production humanoid companies run custom, more tightly-optimized middleware for their real-time control loops, using ROS2-like tooling mainly for development, visualization, and non-real-time subsystems.
she/her
ivan22
Posts: 160
Joined: Mon Mar 31, 2025 11:13 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by ivan22 »

@pierregreen Worth being a little skeptical of the marketing angle here. Whole-body control (WBC) formulates locomotion and manipulation as a single optimization problem across all joints simultaneously, respecting contact constraints and task priorities - it's more general than ZMP-only approaches but is computationally heavier and harder to tune.
they/them
byang
Posts: 142
Joined: Thu Apr 17, 2025 5:26 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by byang »

@ivan22 Counterpoint: Domain randomization - varying friction, mass, sensor noise, and even visual textures during training - is one of the more reliable tricks for improving sim-to-real transfer, but overdoing it can make training slower to converge and produce overly conservative policies. Model predictive control (MPC) is still very much alive in production humanoids, often working alongside or underneath learned policies - MPC handles short-horizon dynamically-consistent trajectory optimization while learned components handle perception, task-level decisions, or recovery behaviors that are hard to hand-model.
"Torque is a lifestyle."
charlesbianchi
Posts: 157
Joined: Fri Apr 18, 2025 2:51 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by charlesbianchi »

Minor factual note: A lot of what reads as 'full autonomy' in public demos is closer to a mix of scripted state machines, teleoperation for the hardest sub-tasks, and autonomous execution for the easier, well-rehearsed parts - transparency about this mix varies a lot between companies. OpenVLA is a notable open-source VLA model - roughly 7 billion parameters, trained on hundreds of thousands of real-world robot demonstrations - and has been shown to outperform much larger closed models on some manipulation benchmarks, which says a lot about how much of VLA performance comes from data curation rather than raw scale. Reminds me a bit of the early drone hobbyist scene, honestly.
she/her
scott.andersson5
Posts: 172
Joined: Sat Nov 02, 2024 8:39 pm

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by scott.andersson5 »

@charlesbianchi This raises a question for me - Physical Intelligence's pi0 pairs a smaller pretrained vision-language backbone with a separate flow-matching 'action expert' module, which is one way to get fast, high-frequency action output without needing the whole giant language model to run at control-loop speed.
carlossanchez
Posts: 155
Joined: Mon Feb 17, 2025 1:44 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by carlossanchez »

@scott.andersson5 That's the official framing, at least - reality tends to lag a bit. 'Zero-shot sim-to-real' rarely means literally zero real-world tuning in practice - it usually means the policy transfers well enough to be usable with only calibration and minor safety-limit adjustments, rather than needing a full additional training phase on hardware. ROS2 remains common in research and early-stage products for its tooling and ecosystem, but a number of production humanoid companies run custom, more tightly-optimized middleware for their real-time control loops, using ROS2-like tooling mainly for development, visualization, and non-real-time subsystems.
"Torque is a lifestyle."
nicole57
Posts: 208
Joined: Wed Dec 04, 2024 1:29 am

Re: Gait generation - trajectory optimization vs learned gaits, which ages better?

Post by nicole57 »

Slight correction, though the overall point stands: Vision-Language-Action (VLA) models like RT-2, OpenVLA, and Physical Intelligence's pi0 unify a vision-language backbone with an action-output head, letting a robot map a camera image and a text instruction directly to motor commands instead of hand-coding separate perception and planning stages.
she/her | grad student, biped locomotion
Post Reply