LAMS: LLM-Driven Automatic Mode Switching for Assistive Teleoperation

Yiran Tao, Jehan Yang, Dan Ding, Zackory Erickson

TL;DR

This paper introduces LAMS, a novel system that uses Large Language Models (LLMs) to automatically switch control modes for robotic teleoperation. LAMS significantly reduces the need for manual mode switching, improves user experience, and learns from user interactions to become more effective over time, making complex robotic tasks more accessible.

What Problem Does This Paper Address?

Teleoperating high-degree-of-freedom (DoF) robotic manipulators, especially for assistive purposes (e.g., for individuals with motor impairments), is challenging. Users often rely on low-DoF controllers like joysticks, which require frequent switching between different "modes." Each mode maps the joystick's limited movements to specific robot actions (e.g., translation, rotation, gripper control). Manually performing these switches is cumbersome, inefficient, and cognitively demanding, interrupting the user's workflow and increasing frustration. Existing automatic mode-switching solutions are often task-specific, lack generalizability, or require extensive training data or hand-engineered rules. This paper aims to address this by developing a generalizable, adaptive, and user-friendly automatic mode-switching system.

Methods

The core of the proposed system, LAMS (LLM-Driven Automatic Mode Switching), leverages Large Language Models (LLMs) for its intelligence. The process involves:

  • LLM Input Generation: The current task state, including robot end-effector pose, task object poses, and the overall task instruction, is translated into a natural language prompt. This prompt is fed to an LLM.
  • LLM Output Processing: The LLM predicts the most likely mapping between joystick directions and robot action directions. Crucially, instead of just picking the single most probable action, LAMS considers the probability distribution of actions, allowing it to make more robust decisions, especially when multiple actions are equally plausible.
  • Incremental Improvement: LAMS learns from user interactions. When a user manually switches modes (indicating dissatisfaction with the LLM's prediction), this manual switch is captured as an example. These examples are then used to generate guiding rules, which are fed back into the LLM prompt for future predictions. This allows LAMS to adapt and improve its performance over time without requiring pre-collected task-specific demonstrations.

Datasets

The paper does not explicitly mention training datasets for the LLM itself, as it leverages pre-trained LLMs (GPT-4). The evaluation is primarily based on user studies and ablation studies conducted on specific tasks.

  • Evaluation Tasks:
    • Water Pouring: Open a bottle cap, pick up the bottle, and pour its contents into a bowl.
  • Book Storage: Pick up a book from a table with its spine facing up and place it into a bookshelf.

Key Insights and Ideas

  • LLMs as a Generalizable Mode Switcher: The paper demonstrates that LLMs, with their commonsense reasoning capabilities, can effectively predict mode switches for novel tasks without prior demonstrations, offering a significant advantage over task-specific methods.
  • Probabilistic Decision-Making for Robustness: By considering the probability distribution of LLM outputs rather than just the single most likely prediction, LAMS can handle ambiguous situations more gracefully, leading to fewer errors and a better user experience.
  • Incremental Learning from User Feedback: The system's ability to learn from user-initiated mode switches and translate them into guiding rules is a key innovation. This allows LAMS to adapt to individual user preferences and task nuances, improving its performance dynamically.
  • Natural Language Grounding is Key: Ablation studies showed that representing object states and robot poses using natural language descriptions (rather than just numerical values) significantly improved LLM performance.

Key Results

  • Reduced Manual Mode Switches: LAMS consistently reduced the number of manual mode switches compared to baseline methods (Grouped Mapping, Hand-Engineered Heuristics, and a Static LLM-based method). In trial 3 of the water pouring task, LAMS required an average of 3.9 switches, a 70.7% reduction compared to Grouped Mapping.
  • Improved Performance Over Time: LAMS showed a significant reduction in manual mode switches across trials, indicating its learning capability. This improvement was more pronounced than that of the static LLM-based method, supporting the hypothesis that incremental learning is beneficial.
  • User Preference: In user studies, LAMS was preferred by participants across multiple metrics, including least mental effort, ease of task completion, fewest corrections, ease of understanding, and overall satisfaction.
  • Early Improvement: Notably, LAMS showed improved performance even in the first trial, outperforming the static LLM-based method by reducing incorrect "Open/Close Gripper" mappings.

Limitations and Future Work

  • Differentiating Rotational Movements: LAMS struggled to consistently differentiate between yaw and roll rotations, even after learning. This is attributed to the inherent complexity of representing 3D rotations in natural language. Future work could explore alternative ways to express these rotations.
  • Text-Based Task Context Grounding: The reliance on natural language descriptions for task context might face challenges in environments with ambiguous object relevance. Future work could investigate adaptability in such complex scenarios.
  • LLM Call Costs: The paper acknowledges that LLM calls might be more expensive than methods relying on example libraries or nearest-neighbor searches. Future studies could formally compare these trade-offs between cost and generalizability.
  • Transferability of Rules: While rules are currently reset between tasks, the authors suggest exploring shared, adaptable rulesets that leverage cumulative user interactions across tasks for even greater efficiency.

Summary updated

Abstract

Teleoperating high degrees-of-freedom (DoF) robotic manipulators via low-DoF controllers like joysticks often requires frequent switching between control modes, where each mode maps controller movements to specific robot actions. Manually performing this frequent switching can make teleoperation cumbersome and inefficient. On the other hand, existing automatic mode-switching solutions, such as heuristic-based or learning-based methods, are often task-specific and lack generalizability. In this paper, we introduce LLM-Driven Automatic Mode Switching (LAMS), a novel approach that leverages Large Language Models (LLMs) to automatically switch control modes based on task context. Unlike existing methods, LAMS requires no prior task demonstrations and incrementally improves by integrating user-generated mode-switching examples. We validate LAMS through an ablation study and a user study with 10 participants on complex, long-horizon tasks, demonstrating that LAMS effectively reduces manual mode switches, is preferred over alternative methods, and improves performance over time. The project website with supplementary materials is at https://lams-assistance.github.io/.
BibTeX
@inproceedings{tao2025lams,
  author = {Yiran Tao and Jehan Yang and Dan Ding and Zackory Erickson},
  title = {{LAMS: LLM-Driven Automatic Mode Switching for Assistive Teleoperation}},
  booktitle = {Hri},
  year = {2025},
  doi = {10.1109/hri61500.2025.10974127},
}

Loading related content...

Figure