Skip to content

From LLM-Generated Specifications to Learned Quadruped Locomotion

Sep 2026 · 0 citations · 46 references
Computer Science

TL;DR

This work studies whether large language models (LLMs) can fill this gap by generating Parametric Signal Temporal Logic (PSTL) specifications that are subsequently used for policy learning, and instantiate the parameters of the generated PSTL templates using expert trajectories and retain only specifications that are consistent with demonstrated expert behavior.

Abstract

Quadruped robot locomotion policies are often trained using reinforcement learning, which in turn relies heavily on hand-crafted reward functions. Designing reward functions requires substantial manual engineering, and it is often unclear which local rewards will induce the desired global behavior. Shaped rewards from formal specifications in languages like Signal Temporal Logic (STL) can make rewards more interpretable, but writing STL specifications itself still requires domain expertise. We study whether large language models (LLMs) can fill this gap by generating Parametric Signal Temporal Logic (PSTL) specifications that are subsequently used for policy learning. Given a natural language locomotion objective and a constrained specification grammar, GPT-5.5 and Qwen 3.6 independently propose STL templates for command tracking, safety, and gait structure. We instantiate the parameters of the generated PSTL templates using expert trajectories and retain only specifications that are consistent with demonstrated expert behavior. The resulting specifications are then transformed into smooth, finite-history reward functions and used to train a quadruped locomotion policy with Proximal Policy Optimization (PPO) in MuJoCo XLA (MJX). We evaluate both \emph{gait-aware} and \emph{gait-agnostic} settings. The former specifies walking-trot, trot, and bound regimes, while the latter allows contact patterns to emerge from the task objective. We compare against hand-engineered rewards, Text2Reward-style LLM-generated reward code, and an expert-switching oracle. Gait-aware Qwen 3.6 specifications achieved 100\% survival and command success across all tested speeds (0.3--2.1 m/s) and matched the target gait at high speeds, whereas Text2Reward achieved 0\% for both metrics at $\geq 1.9$ m/s. Videos: https://stl-locomotion.github.io/

View source

Similar papers

Preprint Sep 2026

MimicAgent: Quadruped Skills via Prompt-to-Trajectory Generation

We present MimicAgent, a prompt-to-trajectory generation framework for learning dynamic quadruped skills. Although reward shaping is extensively used when training quadruped policies, navigating the resulting reward landscape is notoriously difficult, requiring hours of"graduate student descent". Eureka attempts to aut...

L. Nayak, Narayanan Parameswaran, Neehar Peri et al. · 0 citations
Preprint Sep 2026

HuGo: LLMs as Whole-Body Policy Code Designers for Humanoid Loco-Manipulation

This work proposes a hierarchical approach to humanoid loco-manipulation that eliminates per-task requirements, and substantially outperforms a high-level reinforcement learning baseline and approaches the performance of a demonstration-based baseline.

Seoyeon Choi, Shi-Zhao Ye, N. Bui et al. · 0 citations
Preprint Aug 2026

Learning Loco-Manipulation From SMPC Demonstrations With Sparse Offline-to-Online RL

This work uses Sample-based Model Predictive Control entirely in simulation as an automated, rapidly tunable expert to generate massive offline datasets and validate the robustness of this sim-to-real framework by successfully deploying complex loco-manipulation skills across different morphologies.

Martin Schuck, Maks Sorokin, S. Manni et al. · 1 citation
Preprint Sep 2026

Model-Informed Safe Reinforcement Learning for Bipedal Locomotion via Step-to-Step Prediction

Humanoid robots promise versatile mobility in cluttered, human-centric environments, but real deployment demands principled safety. Classical model-based gait generators yield interpretable motions but often lack the robustness and adaptability of modern reinforcement learning (RL) based approaches. We propose a model-...

Victor Paredes, Ayonga Hereid · 0 citations
Preprint Aug 2026

Learning Highly Dynamic Skills Transition for Quadruped Jumping Through Constrained Space

This work proposes a hierarchical reinforcement learning pipeline that empowers the robots to perform aggressive locomotion through constrained obstacles--a narrow gate, extending the lifelike agility of legged robots to match that of their biological counterparts.

Zeren Luo, Jiahui Zhang, Yimin Han et al. · 1 citation
Preprint Aug 2026

Composing Learned Robot Behaviors with Temporal Logic at Runtime

This work separates behavior learning from temporal composition, allowing demonstrated behaviors to be reused in longer, previously unseen temporal compositions without retraining, and demonstrates reliable execution of complex temporal instructions and additional safety constraints, with substantial improvements over...

Moritz Zoellner, Anastasios Manganaris, A. H. Qureshi et al. · 1 citation

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.