Abstract
Goal recognition is the task of inferring an agent's intent from a sequence of observed actions. This paper evaluates the comparative strengths and weaknesses of model-based (planning) and model-free (machine learning) techniques. By testing these approaches across diverse benchmarks, including a novel financial domain, we demonstrate that while machine learning excels in handling numeric data and irrational behavior, traditional planning remains superior for tasks with high structural variety and complex logical constraints.
Introduction
Goal recognition serves as a form of artificial "mind-reading," allowing systems to predict a user's ultimate objective based on their preliminary actions. For instance, in a banking context, identifying that a customer is likely to apply for a mortgage based on their recent transfers and account inquiries can allow for proactive service. Historically, this has been approached through two paradigms: model-based planning, which uses a predefined domain model, and model-free learning, which identifies patterns in historical data. This study provides a head-to-head comparison to determine which approach is most effective for real-world applications, particularly in the financial sector.
Methodology
The authors evaluate three primary approaches to goal recognition:
- Landmark-based Goal Recognition (LGR): A model-based method that identifies "landmarks"—states or actions that must be achieved to reach a goal. It requires a predefined domain model but no training data.
- Long Short-Term Memory (LSTM): A recurrent neural network designed to process sequences, "remembering" previous actions to predict the final intent.
- XGBoost: A gradient-boosted tree algorithm. In this study, it was used to treat the set of observed actions as features, rather than focusing strictly on their chronological order.
Experimental Domains
The study utilizes four domains to test different "stress points" for the models:
- Blocks-words: A classic AI problem involving stacking blocks to spell specific words. This domain tests the ability to distinguish between highly similar goals. Example of the Blocks-words domain, where the goal is to stack blocks to spell specific words like 'DEAR' or 'READ'. Goal recognition via model-based and model-free techniques, page 6
- Logistics: This domain involves moving packages between cities via trucks and planes. It is characterized by "partial ordering," meaning many different action sequences can lead to the same result. The Logistics domain involves complex routing across cities, illustrating the structural variety that favors model-based planning. Goal recognition via model-based and model-free techniques, page 7
- Grid: A robot navigating a grid to find keys and unlock doors. This is a challenging domain for planners because it lacks clear, unique landmarks.
- Buy-domain: A novel financial domain created for this study. It includes continuous numeric variables (bank balances) and "noise" actions (like receiving a payroll) that do not directly contribute to the goal.
Key Insights and Results
The Rationality Gap and Noise
Planning-based models (LGR) typically assume that agents act rationally and efficiently. When the authors introduced "irrelevant" actions at the start of a sequence, LGR failed because it could not link these actions to the goal. In contrast, machine learning models effectively learned to ignore this noise and identify underlying correlations.
Structural Complexity vs. Numeric Handling
In the Logistics domain, the model-based LGR outperformed machine learning. The sheer variety of possible paths meant the ML models could not see enough examples to learn the underlying logic, whereas the planner's domain map allowed it to navigate the complexity easily. However, LGR failed entirely in the "Buy-domain" because it could not process continuous numeric variables. In this financial context, XGBoost achieved 100% accuracy with 70% observability, while LGR could not perform the task.
Performance and Efficiency
Model-free methods were significantly faster at inference time, making predictions in milliseconds, whereas LGR often required seconds or minutes. While LGR requires zero training data, the ML models required approximately 10,000 traces to reach peak performance.
Conclusion
The research highlights a clear trade-off: model-free methods are faster and better at handling numeric data and irrationality, while model-based methods are more data-efficient and robust in structurally complex environments. Future work should explore hybrid models that combine the logical reasoning of planning with the pattern-recognition capabilities of machine learning, as well as the use of attention mechanisms to better identify critical actions in a sequence.
Summary updated