Revisiting Landmarks: Learning from Previous Plans to Generalize over Problem Instances
Abstract
Landmarks have greatly improved AI planning by identifying the must-reach states for any plan that solves an instance.
However, because landmarks are ground atoms, they are instance- and object-specific and thus do not capture general knowledge about the problem domain.
Moreover, landmark graphs often contain repetitive chains of landmarks, thereby increasing graph size.
We propose a new framework for discovering landmarks that automatically generalize across a domain.
These generalized landmarks are learned from a set of solved instances and describe intermediate goals for planning problems where traditional landmark extraction algorithms fall short.
Our generalized landmarks extend beyond the predicates of a domain by using state functions that are independent of the objects of a specific problem and apply to all similar objects, thus capturing repetition.
Based on these functions, we construct a directed generalized landmark graph that defines the landmark progression, including loops for repetitive subplans.
To use generalized landmarks for planning, we present a simple counting heuristic that exploits loop behavior and local landmark guides to find plans more efficiently.
For three domains, we construct the generalized landmark graph by hand and show that the heuristic scales across large and complex instances.
The learning algorithm iteratively identifies the earliest next landmark in training trajectories by selecting the state functions that describe it.
Our results show that we can learn generalized landmark graphs from a few small instances, which are also effective at solving some larger instances in the same domain, provided that a loop indicating repetition is identified.
Generalized landmarks thus provide a way to automate the use of domain knowledge, through hand-constructed graphs or learning from example plans.