English

Trajectory Adaptation using Large Language Models

Robotics 2025-04-18 v1 Artificial Intelligence

Abstract

Adapting robot trajectories based on human instructions as per new situations is essential for achieving more intuitive and scalable human-robot interactions. This work proposes a flexible language-based framework to adapt generic robotic trajectories produced by off-the-shelf motion planners like RRT, A-star, etc, or learned from human demonstrations. We utilize pre-trained LLMs to adapt trajectory waypoints by generating code as a policy for dense robot manipulation, enabling more complex and flexible instructions than current methods. This approach allows us to incorporate a broader range of commands, including numerical inputs. Compared to state-of-the-art feature-based sequence-to-sequence models which require training, our method does not require task-specific training and offers greater interpretability and more effective feedback mechanisms. We validate our approach through simulation experiments on the robotic manipulator, aerial vehicle, and ground robot in the Pybullet and Gazebo simulation environments, demonstrating that LLMs can successfully adapt trajectories to complex human instructions.

Keywords

Cite

@article{arxiv.2504.12755,
  title  = {Trajectory Adaptation using Large Language Models},
  author = {Anurag Maurya and Tashmoy Ghosh and Ravi Prakash},
  journal= {arXiv preprint arXiv:2504.12755},
  year   = {2025}
}

Comments

Accepted to CoRL LangRob workshop 2024

R2 v1 2026-06-28T23:01:43.874Z