Goal-intention ranking
Also known as ol_rp, op_rp, goal intention
heuristic planning-heuristics
Goal-intention ranking treats planning as goal recognition: it asks how well the facts a search path made true match the goal. It samples many relaxed plans to the goal and gives each fact a probability P(q | G) from how often its achievers appear in them; a second set of samples gives P(q | ¬G) for plans that do not aim at the goal. ol_rp ranks a path by the negative log likelihood of its observed facts, and op_rp by the negative log ratio of the two probabilities; lower means more goal-directed. These are ranking keys, not distances: they are not admissible and never prove a dead end. Use them as a tie-breaker in search, for example in BFWS, with IntentionTracker to carry them along each path.
Pseudocode
algorithm GoalIntention(s₀, G, N)input: initial state s₀, goal facts G, sample count Noutput: fact probabilities PG = P(q | G) and PN = P(q | ¬G)PG ← probabilities(sample-plans(s₀, G, N))PN ← probabilities(sample-plans(s₀, reachable-non-goal-facts(s₀), N))return PG, PNfunction sample-plans(s₀, T, N)SAMPLES ← ∅for each i in 1, …, N doC ← T ∖ s₀A ← ∅DONE ← ∅for each layer k of the relaxed planning graph, from the top down to 0 doNEXT ← ∅while C ≠ ∅ doq ← pop(C)a ← choose-achiever(q, k) ▷ layer ≤ k, least h_add, least used, randomA ← A ∪ {a}DONE ← DONE ∪ {q}NEXT ← NEXT ∪ (pre(a) ∖ s₀ ∖ DONE)C ← C ∖ (add(a) ∖ pre(a)) ▷ facts a surely adds need no supporterNEXT ← NEXT ∖ (add(a) ∖ pre(a))C ← NEXT ▷ the conditions go one layer downSAMPLES ← SAMPLES ∪ {A}return SAMPLESfunction probabilities(SAMPLES)for each operator a dop[a] ← the fraction of SAMPLES that contain afor each fact q doP[q] ← 1 − ∏ (1 − p[a]) over achievers a of qreturn Pfunction likelihood-cost(O)return ∑ −ln PG[q] over q ∈ O ▷ ol_rp: lower is more goal-directedfunction posterior-cost(O)return ∑ (ln PN[q] − ln PG[q]) over q ∈ O ▷ op_rpIn the crates
planning-heuristicsGoal-intention ranking keys from sampled relaxed plans, with a path tracker.
Lineage
Comes from
builds on Fact probability vector based goal recognition (Wilken et al. 2024)
Led to
Nothing on this site.
Papers
- Planning as Goal Recognition: Deriving Heuristics from Intention Models -- Extended Version Giacomo Rosa, Jean Honorio, Nir Lipovetzky, Sebastian Sardina · 2026· arXiv preprint