<p>In complex terrain, quadruped robot trajectories are susceptible to foot-to-ground contact transients and multi-scale temporal dependencies. Traditional Transformers struggle to simultaneously characterize short-term impacts and long-range gait patterns under real-time constraints. To address this, this paper proposes an improved Transformer temporal modeling algorithm for motion prediction in complex terrain. It systematically integrates multi-scale hybrid attention mechanisms for quadruped trajectory prediction, validating the potential advantages of Transformers in modeling contact transients. The method uses a local-sparse global hybrid attention to capture short-term ground-touching impacts and long-range gait dependencies, adapts non-uniform sampling with relative temporal encoding, and highlights key transient features and fuses information from different time domains in parallel through a dynamic gated feedforward network and a multi-scale temporal encoder. Experiments show that the proposed method achieves a short-term FDE of 0.018&#xa0;m, a reduction of 0.017&#xa0;m compared to the traditional Transformer, and reaches 0.095&#xa0;m and 0.130&#xa0;m in gravel and sloping terrains, respectively, while maintaining an inference latency of 12.45&#xa0;ms. The results show that the proposed framework balances real-time performance and high accuracy in complex terrain and can significantly improve the stability and reliability of future trajectory prediction for quadruped robots.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Motion trajectory prediction of quadruped robots in complex terrain by improving the transformer temporal modeling algorithm

  • XiaoChuan Qian,
  • XiaoBin Lan,
  • HaiMing Zhu,
  • Honglai Yan

摘要

In complex terrain, quadruped robot trajectories are susceptible to foot-to-ground contact transients and multi-scale temporal dependencies. Traditional Transformers struggle to simultaneously characterize short-term impacts and long-range gait patterns under real-time constraints. To address this, this paper proposes an improved Transformer temporal modeling algorithm for motion prediction in complex terrain. It systematically integrates multi-scale hybrid attention mechanisms for quadruped trajectory prediction, validating the potential advantages of Transformers in modeling contact transients. The method uses a local-sparse global hybrid attention to capture short-term ground-touching impacts and long-range gait dependencies, adapts non-uniform sampling with relative temporal encoding, and highlights key transient features and fuses information from different time domains in parallel through a dynamic gated feedforward network and a multi-scale temporal encoder. Experiments show that the proposed method achieves a short-term FDE of 0.018 m, a reduction of 0.017 m compared to the traditional Transformer, and reaches 0.095 m and 0.130 m in gravel and sloping terrains, respectively, while maintaining an inference latency of 12.45 ms. The results show that the proposed framework balances real-time performance and high accuracy in complex terrain and can significantly improve the stability and reliability of future trajectory prediction for quadruped robots.