Synthesizing Reactive Character Behaviors for Continuous Games via Programmatic Policy Search

📅 2026-09-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
该研究提出了一种通过程序化策略搜索合成连续游戏中角色行为的方法,旨在解决手动编写行为树效率低和强化学习生成控制器不透明的问题。
📝 Abstract
We present a method for synthesizing reactive character behaviors for continuous games as compact, human-readable programs. Game AI practice still relies heavily on manually authored behavior trees, state machines, and scripts, while academic reinforcement learning typically produces opaque neural controllers that are expensive to train and difficult to edit. Our approach bridges this gap by searching directly over a domain-specific language for continuous-space game policies. The language is designed around reactive geometric decisions and includes higher-order constructs such as direction maximization. These constructs help discretize a continuous behavior space into enumerable program structures. To make program search practical, we introduce a large set of synthesis antipatterns that remove redundant program forms while preserving behavioral coverage. We further combine bottom-up symbolic enumeration with top-down guidance from a coding agent. Our resulting method, agentic sketching, has the agent propose high-level policy structure and call an enumerator to complete local program slots. We evaluate the method on a benchmark of 14 continuous games, ranging from classic control tasks to multi-agent football. We find that pure enumeration is often more efficient than using a coding agent alone, while the combined method substantially outperforms both. Our results suggest that programmatic policy search can be a practical authoring tool for game AI: designers specify reward functions, and the system discovers editable behaviors that are effective, portable, and often surprising.
Problem

Research questions and friction points this paper is trying to address.

reactive character behaviors
continuous games
programmatic policy search
game AI
behavior trees
Innovation

Methods, ideas, or system contributions that make the work stand out.

programmatic policy search
domain-specific language
synthesis antipatterns
agentic sketching
🔎 Similar Papers
No similar papers found.