Skip to main content
QUICK REVIEW

[Paper Review] Simulation Results on Selector Adaptation in Behavior Trees

Blake Hannaford, Danying Hu|arXiv (Cornell University)|Jun 29, 2016
Artificial Intelligence in GamesComputer Science5 references14 citations
TL;DR

This paper proposes adaptive behavior tree (BT) selector nodes that learn and reorder child behaviors based on sensor-conditioned success probabilities, significantly improving task performance. Simulation results show that conditioning frequentist success probability estimates on sensor features outperforms static or greedy selection, with the greedy selector requiring prior training to be effective.

ABSTRACT

Behavior trees (BTs) emerged from video game development as a graphical language for modeling intelligent agent behavior. However as initially implemented, behavior trees are static plans. This paper adds to recent literature exploring the ability of BTs to adapt to their success or failure in achieving tasks. The "Selector" node of a BT tries alternative strategies (its children) and returns success only if all of its children return failure. This paper studies several means by which Selector nodes can learn from experience, in particular, learn conditional probabilities of success based on sensor information, and modify the execution order based on the learned iformation. Furthermore, a "Greedy Selector" is studied which only tries the child having the highest success probability. Simulation results indicate significantly increased task performance, especially when frequentist probability estimate is conditioned on sensor information. The Greedy selector was ineffective unless it was preceded by a period of training in which all children were exercised.

Motivation & Objective

  • To improve the performance of behavior tree (BT) selector nodes in robotic tasks by enabling adaptation based on experience.
  • To investigate whether conditioning success probability estimates on sensor information enhances BT task performance.
  • To evaluate the effectiveness of greedy selectors that prioritize the highest-probability child node.
  • To determine the conditions under which adaptive selectors outperform static or untrained selectors in complex tasks.
  • To explore the role of training periods in enabling effective greedy selector behavior.

Proposed method

  • The paper models selector nodes that dynamically reorder child behaviors based on learned success probabilities, using a frequentist estimate $ P_{Si} = \frac{\#\text{successes}}{T_i} $.
  • Success probabilities are conditioned on a discrete feature vector $ F(t) $ derived from sensor data, enabling context-aware reordering.
  • The system evaluates multiple reordering strategies: ranking by $ P(S) $, $ P(S|F) $, cost, and utility, with utility measured as negative cost.
  • A greedy selector is implemented that selects only the child with the highest estimated success probability, but only after a training phase where all children are exercised.
  • Simulations are conducted on two tasks: terrain navigation and firefighting, with performance measured by average ticks, cost, failures, and utility.
  • Feature space dimensionality is reduced via techniques like singular value decomposition or vector quantization to improve clustering of successful/failed behaviors.

Experimental results

Research questions

  • RQ1Can conditioning success probability estimates on sensor-derived features improve behavior tree selector performance?
  • RQ2How does a greedy selector that picks only the highest-probability child perform compared to other adaptive strategies?
  • RQ3What is the impact of a pre-training phase on the effectiveness of a greedy selector?
  • RQ4How do cost- and utility-based reordering strategies compare to probability-based reordering in complex tasks?
  • RQ5Does sensor-conditioned probability estimation lead to more robust and efficient task completion than static or untrained selectors?

Key findings

  • Conditioning success probability estimates on sensor information ($ P(S|F) $) led to the lowest average tick count (18) and highest performance in the terrain navigation task.
  • The greedy selector with prior training (S2g25) achieved the best performance, with only 167 average ticks in the firefighting task, outperforming all other selectors.
  • The untrained greedy selector performed poorly, with 900 average ticks and 100% failure rate in the firefighting task, highlighting the need for a training phase.
  • In the firefighting scenario, increasing the walk_limit from 120 to 150 reduced flight conversions from 57% to 0%, increasing average cost by 196 ticks due to more expensive flight actions.
  • Selectors using utility or cost ranking performed worse than $ P(S|F) $-based reordering, especially in negative cost mode, indicating that linear utility measures may not align well with performance optimization.
  • The Dumb Selector (fixed order) consistently underperformed all adaptive strategies, with 228 average ticks and 245 average cost in the terrain task.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.