Skip to main content
QUICK REVIEW

[Paper Review] pomdp_py: A Framework to Build and Solve POMDP Problems

Kaiyu Zheng, Stefanie Tellex|arXiv (Cornell University)|Apr 21, 2020
Robotic Path Planning AlgorithmsComputer Science19 references13 citations
TL;DR

This paper introduces pomdp_py, a Python and Cython-based framework that simplifies the development and solving of Partially Observable Markov Decision Process (POMDP) problems. It provides intuitive, object-oriented interfaces for modeling POMDPs and integrates natively with ROS, enabling real-world deployment—demonstrated by a torso-actuated robot successfully performing 3D object search using PO-UCT planning within 3-second planning budgets.

ABSTRACT

In this paper, we present pomdp_py, a general purpose Partially Observable Markov Decision Process (POMDP) library written in Python and Cython. Existing POMDP libraries often hinder accessibility and efficient prototyping due to the underlying programming language or interfaces, and require extra complexity in software toolchain to integrate with robotics systems. pomdp_py features simple and comprehensive interfaces capable of describing large discrete or continuous (PO)MDP problems. Here, we summarize the design principles and describe in detail the programming model and interfaces in pomdp_py. We also describe intuitive integration of this library with ROS (Robot Operating System), which enabled our torso-actuated robot to perform object search in 3D. Finally, we note directions to improve and extend this library for POMDP planning and beyond.

Motivation & Objective

  • To address the lack of accessible, high-performance POMDP libraries that support complex, real-world robotics applications.
  • To reduce barriers to prototyping POMDPs by providing a simple, extensible interface in Python with Cython-optimized performance.
  • To enable seamless integration with ROS for real-time robot control and sensor feedback in POMDP-based decision-making.
  • To support both discrete and continuous state/action spaces, including factored and object-oriented POMDPs (OO-POMDPs).
  • To foster community-driven development by providing modular, reusable code structures and extensible solver interfaces.

Proposed method

  • The framework uses a modular object-oriented design with distinct classes for states, actions, observations, and models (transition, observation, reward, policy).
  • It implements core POMDP components using a belief update mechanism based on Bayes' rule, with support for both tabular and particle-based belief representations.
  • The library includes out-of-the-box solvers such as POMCP and PO-UCT, and provides a generic Planner interface for integrating new anytime algorithms.
  • It supports OO-POMDPs by factoring state and observation spaces into objects with attributes, enabling linear-scale belief representation instead of exponential growth.
  • ROS integration is achieved via rospy, allowing real-time action execution and observation collection through message-passing between POMDP control nodes and robot control nodes.
  • A recommended package structure is provided to promote code organization, reusability, and community sharing across domains.

Experimental results

Research questions

  • RQ1Can a POMDP library be both accessible to researchers and performant enough for real-world robotics applications?
  • RQ2How can POMDPs with continuous or high-dimensional state spaces be effectively modeled and solved using a high-level language like Python?
  • RQ3To what extent can POMDP planning be efficiently integrated with real-time robotic systems using standard robotics middleware like ROS?
  • RQ4Can object-oriented POMDPs be effectively modeled and scaled using a modular, extensible framework?
  • RQ5How can a POMDP framework be architected to support community contributions and integration with existing solvers and tools?

Key findings

  • The pomdp_py framework successfully enables the implementation of complex POMDP problems, including 3D object search with continuous state and observation spaces.
  • A torso-actuated robot controlled via ROS executed PO-UCT-planned actions in a simulated 3D environment, with each planning step completed within a 3-second time budget.
  • The integration with ROS was straightforward and effective, allowing real-time action execution and observation collection through rospy-based message passing.
  • The framework supports both discrete and continuous domains, including the Light-Dark domain and multi-object search with fan-shaped sensors, demonstrating broad applicability.
  • The object-oriented POMDP (OO-POMDP) interface enables scalable belief representation by factoring state and observation spaces into objects, avoiding exponential growth.
  • The library’s modular design and clear code structure facilitate code reuse and community contributions, as evidenced by its use in multiple example domains and active development.

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.