Abstract
This paper introduces Online Action Recognition (OAR), a framework for identifying agent actions in an "open world" where the observer starts with zero knowledge of the environment's rules. By combining logic unification with optimization (Weighted Partial MaxSAT), the authors present an algorithm that incrementally builds a library of first-order STRIPS actions from scratch, generalizing specific observations into broad, reusable action models in real-time.
Introduction
Most action recognition systems in AI planning assume the observer already has a "domain theory"—a manual or pre-learned list of all possible actions (like move, pick-up, etc.) and their requirements. In reality, an autonomous agent might enter a new environment where the underlying "physics" or rules are unknown.
The challenge is twofold: identifying which action caused a change in the world state (recognition) and learning the definition of that action (preconditions and effects) on the fly (acquisition), especially when the world is only partially observable. The authors tackle this "cold start" problem: how to recognize and categorize actions when you don't even have a list of action names to begin with.
Methodology
The authors propose two primary components to solve this problem:
- Action Unification (AU): This is the core engine. It takes two actions (or one action and a new observation) and tries to find the best way to merge them into a single, more general schema. It treats this as an optimization problem: "What is the simplest general rule that explains both instances while introducing the fewest new parameters?" This is solved using Weighted Partial MaxSAT (WPMS), which balances preserving known preconditions against the cost of adding complexity.
- Online Action Recognition through Unification (OARU): This is the high-level algorithm. For every new state transition observed, it creates a Trivial Grounded Action (TGA)—a hyper-specific "rule" that explains exactly what just happened. It then searches its existing library for the "closest" action and uses AU to merge the new observation into that existing action, effectively refining the library. If no match is found, it adds the TGA as a new category.
Evaluation and Results
The researchers evaluated their approach on 9 benchmark domains commonly used in the AI planning community, including Blocks World, Sokoban, Minecraft, and Gripper. The evaluation compared the learned models against expert-handcrafted "Ground Truth Models" (GTM).
Key findings include:
- Accuracy: In full-observability tests, OARU achieved near 100% precision and recall in several domains. Even in complex domains like Sokoban, precision remained around 90%.
- Efficiency: Despite the underlying problem being NP-Hard, the average time to process an observation was between 7ms and 158ms, confirming real-time capability.
- Robustness: Under partial observability, the system maintained high recall (often >85%), though it required more updates to stabilize its library.
Key Insights
- Learning without Labels: OARU discovers the structure of actions first and can assign labels later, unlike standard supervised learning.
- Distance Metric: A novel distance metric based on MaxSAT allows the system to distinguish between variations of known actions and entirely new ones.
- Handling Uncertainty: The TGA construction uses "k-flags" for uncertain predicates, allowing unification to resolve these as more data arrives.
Limitations and Future Work
The MaxSAT encoding currently grows quadratically with the number of objects, which may limit scalability in very large environments. Additionally, the model assumes deterministic STRIPS actions and does not yet account for stochastic outcomes. Future work aims to extend this to generalized planning and raw sensor data integration.
Summary updated