TL;DR
Researchers at Meta have developed LLMPlan, a day-planning system that leverages Large Language Models to handle the messy, vague constraints of human life. By combining LLMs with a self-reflection loop, the system matches the logical accuracy of traditional symbolic planners while significantly outperforming them in user satisfaction (70.5% vs. 40.4%) due to its superior commonsense reasoning.
What Problem Does This Paper Address?
Traditional automated planning is a "hard" logic problem. To schedule a robot, you must formally define every state, action, and constraint in a rigid language like PDDL. However, human-centered planning—like organizing your daily to-do list—is different. Users often provide vague or implicit constraints: "I need a coffee break after lunch," or "I want a relaxed afternoon."
Symbolic planners (the traditional approach) excel at logic but fail when inputs are ambiguous or when "commonsense" (like not scheduling lunch at 9:00 AM) isn't explicitly defined. Conversely, LLMs are great at natural language and commonsense but have historically struggled with the strict structural requirements of scheduling. This paper explores whether LLMs can bridge this gap to create personal AI assistants that actually understand how humans want to live.
Methods
The authors compare three primary approaches:
- LLMPlan: An LLM-based planner using in-context learning. Its "secret sauce" is a Self-Reflection loop. After the LLM generates an initial plan, a symbolic checker identifies violations (e.g., overlapping events or missed constraints). These violations are verbalized into natural language feedback, and the LLM is prompted to fix them.
- SymPlan: A traditional symbolic planner that treats the day as a temporal scheduling problem. It uses a Simple Temporal Network (STN) to find valid time windows and a backtracking search to finalize the schedule.
- SymPlan+ (Hybrid): An extension of the symbolic planner that uses an LLM to "fill in the blanks" by inferring commonsense constraints (e.g., typical durations for meals) before the symbolic solver takes over.
Datasets
The researchers introduced two new benchmarks for day planning:
- Synthetic Dataset: 100 personas generated by prompting ChatGPT with seed data from real users. It contains roughly 10 events and 21 constraints per user, providing a high-density test for constraint satisfaction.
- Real-user Dataset: Data from a study with 40 participants (designers, engineers, researchers) who interacted with the planners to refine their own daily schedules. This dataset captured the "vagueness" of real human requests.
Key Insights and Ideas
- Self-Reflection Closes the Logic Gap: Raw LLMs often make "silly" mistakes, like ignoring a fixed meeting time. The iterative self-reflection process (Figure 1) allows the LLM to correct these, bringing its accuracy within 2% of a perfect symbolic solver.
- Commonsense is a Hard Constraint: A symbolic planner might technically satisfy all rules but produce a "weird" plan, such as putting a meal at a random time if not told otherwise. LLMs naturally "know" that breakfast happens in the morning and lunch follows work.
- Vagueness is the Norm: In the user study, 47% of constraints were vague or open-ended. LLMs handled these natively, whereas symbolic systems required a complex "extractor" to translate natural language into logic, which often failed to capture the user's intent.
- Hallucination as a Feature: Interestingly, LLMs sometimes "hallucinated" helpful events like "free time" or renamed tasks to be more natural. While technically an error in a rigid system, users found this behavior helpful and more "human."
Key Results
- Correctness: On the synthetic dataset, GPT-4 with self-reflection achieved a 97.09% average correctness score, nearly matching SymPlan’s 99.06%.
- User Preference: In the interactive study, users gave LLMPlan a 70.5% positive feedback rating, compared to only 40.5% for the hybrid symbolic approach (SymPlan+).
- Handling Complexity: LLMPlan significantly outperformed symbolic methods on "open-ended" requirements (72.5% vs 45% positive rate), though both struggled with highly complex logical requests like "break this demo into two separate meetings."
Limitations and Future Work
- Complex Logic: The authors note that "complex" requirements (12.4% of user requests) remain a challenge for current LLMs. They suggest Chain-of-Thought reasoning as a potential fix.
- Cost and Latency: Relying on commercial LLM APIs is currently slow and expensive for real-time scheduling. Moving to locally hosted models like Llama is a suggested next step.
- Personalization: The current system doesn't "remember" a user's history. Future iterations should incorporate long-term context, such as how a specific user has handled similar constraints in the past.
Summary updated