APRICOT: Active Preference Learning and Constraint-Aware Task Planning with LLMs

Huaxiaoyue Wang, Nathaniel Chin, Gonzalo Gonzalez-Pumariega, Xiangwan Sun, Neha Sunkara, Maximus Adrian Pace, Jeannette Bohg, Sanjiban Choudhury

Introduction

Deploying robots in domestic environments requires them to adhere to highly personalized user preferences, such as specific organizational rules for a refrigerator. However, inferring these "fridge rules" from limited demonstrations is challenging due to inherent ambiguity in human behavior and the physical constraints of the environment. Current Large Language Model (LLM) approaches often fail to resolve these ambiguities efficiently or ignore physical feasibility, leading to plans that are either incorrect or impossible to execute.

To address these challenges, we present APRICOT (Active Preference Learning and Constraint-Aware Task Planner). APRICOT is a framework designed to learn personalized preferences through minimal, high-utility interactions while ensuring that the resulting task plans are both preference-aligned and geometrically feasible.

The APRICOT Framework

APRICOT bridges the gap between high-level semantic reasoning and low-level physical execution through a three-stage pipeline.

The APRICOT framework integrates perception, active preference learning, and constraint-aware task planning to execute personalized robot tasks.

1. Active Preference Learning

Rather than attempting to guess a single preference from demonstrations, APRICOT uses an LLM to generate a set of $N$ diverse candidate preferences. It then employs a Bayesian Active Learning objective to identify the most informative questions to ask the user. By maximizing information gain, the system quickly narrows down the candidate set, resolving ambiguity with a minimal number of queries.

2. Constraint-Aware Task Planning

Once a preference is confirmed, the system generates a plan using a two-step process:

  • Semantic Planning: An LLM generates high-level instructions (e.g., pickandplace).
  • Geometric Grounding: A geometric planner uses beam search to map these instructions to 3D coordinates, checking for collisions and physical feasibility against a real-time world model.

3. Closed-Loop Reflection

If the geometric planner identifies a physical impossibility—such as a crowded shelf—it provides feedback to the LLM. The LLM then "reflects" on this failure, regenerating the plan to satisfy the user's preference as closely as possible within the environment's physical limits.

Experimental Evaluation

The framework was evaluated using a custom benchmark of 100 test cases across five complexity levels: Specific Location, General Location, Relative Position, Subcategory Exceptions, and Conditionals. Real-world testing was conducted on a 6-DoF Stretch Robot RE1 in fridge-organization scenarios ranging from "Easy" to "Hard" (highly crowded).

Results and Discussion

APRICOT demonstrates significant improvements in both accuracy and efficiency compared to non-interactive and naive interactive baselines.

Performance comparison showing APRICOT's superior preference accuracy and reduced query count across various task complexities.

Key findings include:

  • Efficiency: APRICOT achieved 58% preference accuracy, outperforming non-interactive baselines (35%) while requiring 71.9% fewer questions than standard LLM-based query systems.
  • Feasibility: In high-density "Hard" scenarios, the system maintained a 96% plan feasibility rate by successfully integrating geometric feedback.
  • Dynamic Adaptation: The closed-loop nature of the planner allows for real-time adjustments. If the environment changes during execution, APRICOT detects the discrepancy and replans to maintain the desired organizational state.

Conclusion

APRICOT highlights the necessity of "closing the loop" between high-level language reasoning and low-level physical constraints. While the system is robust, its performance remains dependent on the initial candidate set generated by the LLM. Future work will explore embedding LLMs as heuristics within formal search-based planners to provide stronger guarantees of constraint satisfaction.

Summary updated

BibTeX
@inproceedings{wang2024apricot,
  author = {Huaxiaoyue Wang and Nathaniel Chin and Gonzalo Gonzalez-Pumariega and Xiangwan Sun and Neha Sunkara and Maximus Adrian Pace and Jeannette Bohg and Sanjiban Choudhury},
  title = {{APRICOT: Active Preference Learning and Constraint-Aware Task Planning with LLMs}},
  booktitle = {Conference on Robot Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=rTIhIqasWw},
}
Figure