Ask-before-Plan: Proactive Language Agents for Real-World Planning

Xuan Zhang, Yang Deng, Zifeng Ren, See-Kiong Ng, Tat-Seng Chua

Abstract

Large Language Model (LLM) agents often struggle with real-world planning tasks due to underspecified or unfeasible user instructions. Instead of proactively seeking clarification, current agents frequently "guess" details or fail when encountering environmental constraints. This paper introduces Ask-before-Plan, a novel benchmark requiring agents to clarify uncertainties before committing to a plan. We propose the Clarification-Execution-Planning (CEP) framework, a multi-agent system that leverages environment feedback and specialized roles to improve planning success. Our results demonstrate that fine-tuned small-scale models (LLaMA-3-8B) can significantly outperform larger models in proactive planning tasks.

Introduction

Real-world human communication is inherently messy. When a user asks an LLM agent to "Plan a 3-day trip to San Diego," they often omit critical details like budget, origin, or specific dates. Conversely, they might provide over-specified instructions that are physically or economically impossible, such as requesting a luxury suite during a peak holiday for a budget price.

Standard planning agents typically fail in these scenarios because they lack the mechanism to "look" at the world through APIs and identify conflicts before generating a response. As illustrated in the comparison below, proactive agents must bridge the gap between user intent and environmental reality.

Comparison of standard planning vs. proactive information seeking and the proposed multi-agent system.

The Ask-before-Plan Task and Benchmark

To address these failures, we established the Ask-before-Plan benchmark. Built upon the TravelPlanner dataset, it consists of 2,000 samples featuring 11 distinct types of "indefinite details." These include missing information (e.g., origin) and unfeasible constraints (e.g., budget limits that do not match market reality).

Example of an initial query with missing and unfeasible details, and the resulting simulated clarification dialogue.

The task requires the agent to identify that an initial request may be insufficient or impossible, then engage in a dialogue to resolve these issues before finalizing the itinerary. For instance, if a budget is unfeasible, the agent must inform the user and seek an adjustment rather than hallucinating a cheaper trip.

The CEP Framework

We propose the Clarification-Execution-Planning (CEP) framework, which decomposes the proactive planning task into three specialized agents:

  1. Clarification Agent: Predicts if clarification is needed by analyzing the interaction history and environment feedback.
  2. Execution Agent: Interacts with external tools (APIs for flights, hotels, etc.) to gather necessary data. It can operate in a Static mode (batch tool calls) or a Dynamic mode (step-by-step reasoning).
  3. Planning Agent: Synthesizes the clarified details and environmental data into a structured final plan.

To enhance performance, we employ Trajectory Tuning, fine-tuning the Clarification and Execution agents on successful interaction paths. Additionally, a Memory Recollection mechanism allows dynamic agents to store self-reflective rationales, preventing redundant errors and improving inference efficiency.

Key Results

Our evaluation shows that the CEP framework, particularly when using a fine-tuned LLaMA-3-8B, achieves remarkable results:

  • Clarification Accuracy: The model reached a 99.4% Micro Clarification Accuracy, far exceeding the 62.3% achieved by zero-shot GPT-3.5.
  • Tool Use: In tool-use tasks, the framework achieved a 97.9% F1 score, outperforming brute-force baselines.
  • Constraint Satisfaction: The inclusion of a clarification step significantly improved the "Hard Constraint Pass Rate." Without proactive clarification, agents almost never met budget or accommodation constraints in scenarios where the initial user request was unfeasible.

Conclusion

Clarification is not merely a conversational courtesy; it is a functional requirement for robust real-world planning. By treating the environment as a supervisory signal and specializing agent roles, the CEP framework enables LLMs to navigate the ambiguity of human instructions. Future work will expand this benchmark to other complex domains like medical and legal planning.

Summary updated

BibTeX
@inproceedings{zhang2024ask,
  author = {Xuan Zhang and Yang Deng and Zifeng Ren and See-Kiong Ng and Tat-Seng Chua},
  title = {{Ask-before-Plan: Proactive Language Agents for Real-World Planning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.636},
}
Figure