From LLM-Generated Specifications to Learned Quadruped Locomotion

📅 2026-09-07
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究使用大型语言模型生成PSTL规范,以替代手工设计奖励函数,指导四足机器人学习运动策略,通过专家轨迹调整参数并用PPO算法训练。
📝 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/
Problem

Research questions and friction points this paper is trying to address.

quadruped locomotion
reinforcement learning
reward function
signal temporal logic
large language models
Innovation

Methods, ideas, or system contributions that make the work stand out.

large language models
Parametric Signal Temporal Logic
quadruped locomotion
natural language objectives
reward shaping
🔎 Similar Papers
No similar papers found.
Merve Atasever
Merve Atasever
University of Southern California
Machine LearningReinforcement LearningRoboticsDifferential Geometry
K
Keyan Azbijari
Department of Computer Science, University of Southern California
C
Cagan Bakirci
Department of Computer Science, University of Southern California
A
Alfredo Reina Corona
Department of Computer Science, University of Southern California
T
Tolga Izdas
Department of Computer Science, University of Southern California
R
Richard Yang
University of Florida
E
Erdem Biyik
Department of Computer Science, University of Southern California
Jyotirmoy V. Deshmukh
Jyotirmoy V. Deshmukh
Associate Professor, University of Southern California
Cyberphysical systemsFormal/Statistical VerificationTemporal logicAI safetyReinforcement learning