NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Planning in Answer Set Programming while Learning Action Costs for Mobile Robots

Fangkai Yang, Piyush Khandelwal, Matteo Leonetti, Peter StoneAAAI 2014

Introduction

High-level robotic planning often faces a disconnect between abstract logical rules and the unpredictable nature of the physical world. While a programmer can define a set of logical axioms—such as "to reach the laboratory, the robot must traverse the corridor"—the actual cost of these actions, measured in time or energy, is frequently unknown or subject to change. Traditional symbolic planners often struggle to incorporate these dynamic costs, leading to suboptimal performance in real-world scenarios. This paper proposes a novel framework that integrates Answer Set Programming (ASP) with a dynamic cost-learning module to bridge the gap between rigid logical reasoning and environmental uncertainty.

Problem Statement

The research addresses three primary challenges in robotic task planning:

  1. The Ramification Problem: The difficulty of reasoning about the indirect effects of actions, such as a robot becoming "adjacent" to a door simply by entering a room.
  2. Incomplete Information: The necessity of planning when environmental states are not fully known, requiring the robot to perform sensing actions (e.g., searching for a specific individual).
  3. Dynamic Costs: The reality that the "shortest" path on a static map may not be the most efficient due to temporary obstructions or human traffic.

Methodology

The proposed architecture consists of two distinct but interacting modules: a high-level planner and a low-level cost learner.

Answer Set Programming (ASP) Planner

The framework utilizes the CLINGO solver for high-level task planning. ASP was selected for its ability to represent complex "static laws" and recursive definitions, such as reachability, which are cumbersome in standard planning languages like PDDL. The planner is designed to generate sensing actions to resolve information gaps, allowing the robot to adapt its plan as new facts are discovered.

Dynamic Cost Learning

To handle environmental variability, a dedicated module monitors the robot's execution. For every action performed, the actual time elapsed is recorded. The system updates its cost estimates using an exponentially weighted moving average, ensuring that recent experiences have a greater impact on future planning decisions.

Exploration and Heuristics

To prevent the robot from becoming stuck in local optima, the researchers employed optimistic initialization. By starting with artificially low cost estimates, the robot is incentivized to explore various routes before converging on the most efficient path. Additionally, to manage the computational complexity of large environments, the authors implemented recursive heuristics (specifically the indacc or indirect accessibility predicate). These rules prune the search space by limiting the doors and rooms the solver considers, significantly accelerating the planning process.

Experimental Evaluation

The framework was tested in a high-fidelity GAZEBO simulation environment. The testbed featured a large-scale floor plan modeled after a university building, containing 20 rooms and 25 doors. The Robot Operating System (ROS) served as the middleware, facilitating communication between the ASP planner and the robot's low-level controllers.

Key Results

The experimental results demonstrate the framework's efficiency and adaptability:

  • Computational Efficiency: The introduction of domain-specific heuristics reduced average planning times from 23 seconds to 14.275 seconds, a significant improvement for real-time applications.
  • Convergence: In scenarios with multiple potential paths, the robot's cost estimates typically converged by the 30th episode, after which it consistently selected the optimal route.
  • Adaptability to Change: When a 20-second navigation delay was artificially introduced to a preferred path, the cost learner updated its estimates within 10 episodes. The ASP planner then automatically rerouted the robot to a more efficient alternative.

Conclusion and Future Work

This research successfully demonstrates that combining symbolic reasoning with empirical cost learning allows robots to navigate complex, dynamic environments more effectively. While the current system uses optimistic initialization for early exploration, future work will explore more robust strategies, such as ε-greedy exploration, to ensure the robot continues to re-evaluate alternative paths over time. Further optimization of ASP solvers for even larger-scale environments also remains a key area for development.

Summary updated

BibTeX
@inproceedings{yang2014planning,
  author = {Fangkai Yang and Piyush Khandelwal and Matteo Leonetti and Peter Stone},
  title = {{Planning in Answer Set Programming while Learning Action Costs for Mobile Robots}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
}
Figure