Rollout IW
Also known as Rollout IW(1)
search width-search
Rollout IW(1) is a depth-first form of IW(1) for problems where breadth-first layers are too wide, such as Atari games. It repeats random rollouts: walks down from the root, each step to a random child that is not solved (a solved node needs no more search). For each feature it keeps the smallest depth at which a node reached it. A rollout enters a new node only if the node reaches some feature at a smaller depth than before; otherwise it labels the node solved. Like IW(1), it reaches every goal of width 1, but its plans need not be shortest; this version runs until it finds a goal or the root is solved, while the paper uses it to choose actions within a time budget.
Pseudocode
algorithm Rollout IW(s₀)input: initial state s₀output: a plan to a goal state, or failureif goal(s₀) thenreturn empty pland[f] ← ∞ for each feature f, and 0 for each f ∈ features(s₀)while not solved(s₀) don ← s₀while true do ▷ one rolloutif children[n] = nil thenchildren[n] ← successors(n), each at depth[n] + 1if some child c of n is a goal thenreturn plan-to(c)if every child of n is solved thensolve(n)breakn ← a random child of n that is not solvedif not novel(n) thensolve(n)breakreturn failurefunction novel(n)if visited[n] then ▷ keep it only if no shallower node took its featuresreturn ∃ f ∈ features(n) with d[f] = depth[n]visited[n] ← trueF ← {f ∈ features(n) : depth[n] < d[f]}for each f in F dod[f] ← depth[n]return F ≠ ∅procedure solve(n)label n solvedwhile n has a parent p and every child of p is solved dolabel p solvedn ← pIn the crates
width-searchDepth-first rollouts that prune a node unless it reaches some feature at a smaller depth than before, running until a goal is found or the root is solved.
Lineage
Comes from
builds on IW
Led to
Nothing on this site.
Papers
- Planning With Pixels in (Almost) Real Time Wilmer Bandres, Blai Bonet, Hector Geffner · 2018· Proceedings of the AAAI Conference on Artificial Intelligence