OVITA: Open-Vocabulary Interpretable Trajectory Adaptations

Anurag Maurya, Tashmoy Ghosh, Anh Nguyen, Ravi PrakashIEEE RA-L 2025 · DOI

TL;DR

This paper introduces OVITA, a novel framework that allows robots to adapt their planned trajectories in real-time using natural language instructions. By leveraging Large Language Models (LLMs) to interpret open-vocabulary commands and generate executable code, OVITA enables intuitive, flexible, and interpretable trajectory adjustments for complex tasks, bridging the gap between high-level human intent and low-level robot motion.

What Problem Does This Paper Address?

Robots are increasingly deployed in dynamic and unstructured environments, requiring them to adapt their movements on the fly. While traditional methods rely on pre-programmed trajectories or extensive demonstrations, these approaches struggle with novel situations and user preferences. Existing attempts to use natural language for robot control often fall short, either requiring rigid command structures, complex mathematical formulations, or producing trajectories that are difficult to interpret or debug. This leaves a gap in enabling non-expert users to easily and intuitively guide robot movements in real-time, especially for complex, multi-step adjustments.

Methods

OVITA tackles this challenge through a four-phase pipeline:

  1. Prompt Grounding: User instructions, environmental observations (object positions, dimensions, descriptions), and the initial trajectory are combined into a "grounded prompt" for an LLM. This phase ensures the LLM has sufficient context to understand the user's intent within the robot's operational environment.
  2. Code-Policy Generation and Execution: An LLM generates both a high-level plan and Python code that acts as an "adaptation policy." This code translates the LLM's understanding of the instruction into specific waypoint modifications and speed adjustments. The generated code is then executed to produce an adapted trajectory.
  3. User Visualization: The adapted trajectory is visualized alongside the original, and the LLM's high-level plan and extracted parameters are presented. A key innovation here is a "code explainer" module that uses another LLM to translate the generated code into human-readable explanations, enhancing transparency.
  4. Feedback Integration: A closed-loop feedback mechanism allows users to provide natural language corrections. This feedback is used to iteratively refine the trajectory, addressing potential LLM hallucinations or misinterpretations and ensuring adherence to user preferences.

A Constraint Satisfaction Module (CSM) is integrated to ensure the adapted trajectories are physically feasible, respecting workspace, obstacle avoidance, and velocity constraints. This module formulates trajectory optimization as a convex Quadratic Program (QP).

Datasets

The paper utilizes a subset of the LaTTe (Language Trajectory Transformer) [30] dataset, which focuses on three instruction types: Cartesian waypoint changes, speed adjustments, and positional shifts relative to objects. The authors extend this dataset with more complex, open-vocabulary, and multi-step instructions. They also include trajectories from simulated and real-world environments involving wheeled, aerial, and manipulator robots, creating a diverse benchmark.

Key Insights and Ideas

  • Code as an Adaptation Policy: The core idea of using LLM-generated code as a direct adaptation policy is powerful. It allows for flexible, interpretable, and executable modifications to trajectories, moving beyond simple parameter adjustments.
  • Interpretable LLM Outputs: The "code explainer" module is crucial for making LLM-driven robotics accessible. By explaining how the robot is adapting, it builds user trust and facilitates effective feedback.
  • Open-Vocabulary and Multi-Step Commands: OVITA's ability to handle complex, natural language instructions that go beyond predefined templates is a significant step towards more natural human-robot interaction.
  • Feedback Loop for Robustness: The iterative feedback mechanism is essential for correcting LLM errors and ensuring the final trajectory truly reflects user intent, especially given the inherent ambiguity in natural language.

Key Results

  • OVITA achieved an 81.4% average success rate across various datasets, with particularly high performance on complex, open-vocabulary instructions.
  • The framework demonstrated 92.9% executable code generation rate, highlighting its robustness.
  • User studies showed high interpretability scores (average 4.1/5), indicating that the code explanations effectively help users understand trajectory adaptations.
  • Feedback significantly improved success rates, demonstrating the importance of the closed-loop system.
  • Qualitative results show OVITA successfully adapting trajectories for diverse tasks and robot platforms, including drones and robotic arms, often outperforming baseline methods like LaTTe and ExTraCT.

Limitations and Future Work

The authors acknowledge several limitations:

  • LLM-Generated Code Errors: While feedback helps, LLM-generated code can still contain syntax or mathematical errors, or deviate from desired function structures.
  • Global Optimality: OVITA doesn't guarantee globally optimal paths; performance is dependent on the precision of user input.
  • QP Solver Limitations: QP solvers may fail to find feasible solutions under overly restrictive or conflicting constraints.

Future work directions include:

  • Integrating trajectory generation with adaptation.
  • Extending the framework to dynamic environments.
  • Incorporating multimodal instructions (e.g., sketching via simulators or AR/VR).
  • Further exploring the use of OVITA for generating high-fidelity synthetic data for robot training.

Summary updated

BibTeX
@article{maurya2025ovita,
  author = {Anurag Maurya and Tashmoy Ghosh and Anh Nguyen and Ravi Prakash},
  title = {{OVITA: Open-Vocabulary Interpretable Trajectory Adaptations}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2025.3606309},
}
Figure