Introduction
Real-Time Agent-Centered Search (RTACS) is a critical framework for pathfinding in unknown environments, such as robots navigating unmapped buildings or video game characters exploring a "fog of war." Unlike traditional search algorithms like A*, which often require a complete map and a preprocessing phase, RTACS agents must make decisions with limited computational power and only local visibility. A significant challenge in RTACS is the presence of "heuristic depressions"—regions where inaccurate distance estimates force agents to move back and forth repeatedly to learn the true terrain costs. This paper proposes a novel approach to mitigate this by identifying and "pruning" useless states online, using only local information.
Methodology: Expendable States and Swamps
The authors introduce two primary categories of states that can be safely ignored to improve search efficiency:
- Expendable States: A state is considered expendable if its removal does not disconnect any other pair of states in the graph. In practical terms, if all neighbors of a state can communicate without passing through it, the state is not a bottleneck and can be deleted if the goal is simply to find any valid path.
- Swamps: A more restrictive category, a swamp state is one whose removal does not increase the shortest path distance between any other two points. Pruning swamps is essential for agents required to find optimal (shortest) routes.
The core innovation lies in Local Detection. By employing a 1-step lookahead, agents can evaluate immediate neighbors to determine if a state is expendable or part of a swamp. For 8-connected grids, the authors developed efficient rules: if a state's unblocked neighbors are contiguous, the state is likely expendable.
Experimental Evaluation
The techniques were evaluated across several benchmarks, including real-world game maps from Dragon Age: Origins (DAO), mazes with narrow corridors, and random maps with 40% obstacle density. These tests covered both 8-connected and 16-connected grid movements to ensure robustness across different navigation models.
Key Results
The implementation of online pruning yielded substantial performance gains. In many scenarios, agents achieved up to a 10x speedup in both distance traveled and CPU time. For instance, on DAO maps using the LRTA* algorithm, the distance traveled dropped from approximately 133,000 units to just 14,500 units with expendable state pruning.
Furthermore, pruning acts as a form of "permanent learning." Once a state is identified as dead and "killed," the agent never revisits it, facilitating faster convergence to optimal paths in repeated trials. The effectiveness was most pronounced in structured maps like mazes and game levels compared to purely random noise maps.
Discussion and Future Work
While highly effective, the current local detection method is limited by its 1-step lookahead, potentially missing larger dead-end structures that a multi-step lookahead might identify. Additionally, the current framework assumes a static environment; in dynamic worlds where paths can open or close, an "expendable" state might become vital. Future research will focus on identifying entire clusters or "regions" of swamps and extending these techniques to non-grid graphs, such as 3D meshes or high-dimensional state spaces.
Summary updated