Preference-Conditioned Language-Guided Abstraction

Andi Peng, Andreea Bobu, Belinda Z. Li, Theodore Sumers, Ilia Sucholutsky, Nishanth Kumar, Thomas L. Griffiths, Julie Shah

TL;DR

This paper introduces Preference-Conditioned Language-Guided Abstraction (PLGA), a novel framework that leverages Large Language Models (LLMs) to infer and incorporate human preferences into robot state abstractions. By observing changes in human behavior and querying LLMs, PLGA can learn more robust and generalizable policies, even when human preferences are not explicitly stated in the task description.

What Problem Does This Paper Address?

Teaching robots complex tasks through demonstrations is a common approach, but it often suffers from "spurious feature correlations" – the robot learns to associate irrelevant visual cues with desired actions. Language-Guided Abstraction (LGA) attempts to mitigate this by using LLMs to identify task-relevant features based on a natural language description. However, LGA struggles when human preferences are not explicitly mentioned in the language, leading to suboptimal or incorrect abstractions. For instance, a robot might not know to avoid a specific object if the instruction is simply "throw away the can," even if the human demonstrator consistently avoids electronics. This paper addresses the challenge of capturing these latent, unexpressed human preferences to create more effective state abstractions for robot learning.

Methods

The core of PLGA lies in its two-stage use of LLMs:

  1. Preference Inference: Given a task description and a pair of demonstrated trajectories that exhibit a behavioral difference not explained by the language alone, PLGA queries an LLM to infer potential hidden preferences that could explain this discrepancy. The LLM is prompted with information about the task, the observed states, and the behavioral change.
  2. Preference-Conditioned Abstraction: Once a likely preference is identified (either by the LLM's confidence or through active querying of the human), PLGA uses this preference to query the LLM again. This time, the LLM is asked to construct a state abstraction that specifically incorporates the inferred preference.

PLGA also includes an "active" component: if the LLM is uncertain about the inferred preference, it can actively query the human for clarification, making the interaction more natural and less effortful than traditional methods. The framework then uses these preference-conditioned abstractions to train a robot policy.

Datasets

The paper utilizes simulated experiments within the VIMA environment for robotic manipulation tasks (pick, place, sweep). They also conducted a user study and real-world experiments on a Spot robot. For simulated experiments, they generated datasets by creating scenarios where specific preferences were present or absent, and compared policies trained on these datasets. The user study involved participants specifying preferences in natural language for new tasks.

Key Insights and Ideas

  • Behavior as a Window into Preferences: The fundamental insight is that how humans behave reveals their underlying preferences and how they abstract the world. Changes in behavior, even when not explicitly explained by language, are strong signals of these latent preferences.
  • LLMs as Preference Elicitors: LLMs, with their vast knowledge of human language and common sense, can be effectively used to infer these hidden preferences by analyzing behavioral differences.
  • Active Querying for Natural Interaction: When LLMs are uncertain, actively querying the human in natural language is a more intuitive and less burdensome interaction than manually filtering features. This makes the system more user-friendly.
  • Preference-Conditioned Abstractions Lead to Better Generalization: By explicitly incorporating human preferences into state abstractions, robots can learn policies that generalize better to new situations and variations, even those not seen during training.

Key Results

  • Simulated Experiments: PLGA consistently outperformed baseline methods (LGA and GCBC) in policy success rates across various simulated manipulation tasks, demonstrating better generalization due to preference-conditioned abstractions. Significance was observed in four out of four tasks.
  • User Study: Active PLGA was rated significantly more favorably by users in terms of mental demand, physical demand, feeling rushed, frustration, and effort compared to an active LGA baseline. This suggests a more natural and less effortful user interaction experience.
  • Real-World Spot Robot: PLGA successfully enabled a Spot robot to perform mobile manipulation tasks, demonstrating non-trivial generalization capabilities, such as learning to avoid new objects (laptops) based on learned preferences from avoiding different objects (drills).

Limitations and Future Work

  • Limited Behavioral Information: The current work primarily uses initial states and behavioral differences, not the full trajectory information. Future work could explore richer trajectory features (e.g., obstacle avoidance distances) for more nuanced preference inference.
  • Non-Iterative Learning: PLGA is not inherently iterative, meaning it doesn't continuously learn preferences over time. Future research could explore iterative preference learning and adaptation.
  • Focus on Language Priors: The current framework relies heavily on LM priors for preference inference. Future work could investigate more sophisticated methods for preference elicitation, including iterative approaches that sequentially update the preference model.
  • Captioning Errors: In real-world experiments, failures were sometimes attributed to errors in the image segmentation and captioning modules, highlighting the dependency on these upstream components.

Summary updated

BibTeX
@inproceedings{peng2024preference,
  author = {Andi Peng and Andreea Bobu and Belinda Z. Li and Theodore Sumers and Ilia Sucholutsky and Nishanth Kumar and Thomas L. Griffiths and Julie Shah},
  title = {{Preference-Conditioned Language-Guided Abstraction}},
  booktitle = {HRI},
  year = {2024},
  doi = {10.1145/3610977.3634930},
}
Figure