Online Grounding of Symbolic Planning Domains in Unknown Environments

Leonardo Lamanna, Luciano Serafini, Alessandro Saetti, Alfonso Gerevini, Paolo TraversoarXiv 2021

TL;DR

The OGAMUS framework enables robotic agents to use high-level symbolic planning in completely unknown environments by incrementally "grounding" abstract concepts into real-world sensory data. By combining object detection, neural predicate prediction, and classical path planning, it significantly outperforms pure reinforcement learning methods on complex navigation and manipulation tasks.

What Problem Does This Paper Address?

Symbolic planners (like those using PDDL) are incredibly powerful—if you give them a perfect map and a list of every object in the room. In the real world, a robot starts with nothing but a camera feed and a set of wheels. It doesn't know where the kitchen is, let alone that there's an apple on the table.

The core challenge is grounding: how do you map raw pixels and GPS coordinates to abstract symbols like apple1 or on(apple1, table0)? Most existing systems assume the environment is already known or use end-to-end Reinforcement Learning (RL), which often struggles with long-horizon tasks that require logical reasoning (e.g., "find an apple and put it in the fridge"). This paper introduces OGAMUS (Online Grounding of Action Models in Unknown Situations) to solve this "cold start" problem.

Methods

OGAMUS is an iterative algorithm that cycles through planning, acting, and sensing.

  1. Incremental Grounding: The agent starts with an empty world model. As it moves, it uses a Faster R-CNN object detector to find objects and a Position Estimator to place them in 3D space (see Figure 2). Object feature extraction process
  2. Predicate Prediction: To understand relationships, the agent uses specialized neural networks. For example, an "open predictor" looks at a cropped image of a box to decide if isOpen(box0) is true (see Figure 3). Predicting if an object is open
  3. Exploration vs. Planning: If the current goal (e.g., "stack an apple on a table") is impossible because no apple has been seen yet, the agent switches to an EXPLORE mode. It uses a path planner on a growing occupancy map to visit unobserved areas (see Figure 1). The EXPLORE phase and path planning
  4. Action Compilation: High-level PDDL actions like goCloseTo(table) are compiled into sequences of low-level commands (moveAhead, rotateLeft) based on the agent's current belief state.
Figure 2: Example of object features extraction. The object detector takes as input the perception composed by the agent view RGB image, and returns a set of bounding boxes together with the detected object types. The object bounding boxes are used with the agent view depth image to estimate their positions (in meters w.r.t. the initial agent position). The lighter the pixels in the box, the farther the associated object.
Figure 3: Example of predictor for the open predicate. The predic- tor takes as input the RGB images associated to box0, and returns the predicted truth value of isOpen(box0).
Figure 1: Example of EXPLORE(zs). The occupancy map, agent position (in blue) and target position (in green) are given as input to a path planner which discretizes the occupancy map, computes a path plan, and compile the path plan into a sequence of low-level operations.

The entire logic is encapsulated in a loop that constantly updates the agent's symbolic "belief state" based on new observations, as detailed in the OGAMUS algorithm (Figure 4). The OGAMUS Algorithm

The OGAMUS Algorithm

Datasets

The researchers evaluated OGAMUS in two high-fidelity, photo-realistic simulators:

  • iTHOR: Used for general tasks like opening/closing objects and stacking. It contains 120 different scenes (kitchens, bedrooms, etc.) and 118 object types.
  • RoboTHOR: Specifically used to compare against state-of-the-art methods in the "Object Goal Navigation" challenge.
  • Training Data: The object detectors and predicate classifiers were trained on a self-generated dataset of nearly 70,000 images from iTHOR.

Key Insights and Ideas

  • Symbolic Reasoning is a Force Multiplier: Pure RL agents often need millions of steps to learn simple navigation. By using a symbolic planner, OGAMUS can generalize across different tasks (finding, opening, stacking) without retraining the core logic.
  • Robustness to "Hallucinations": Even though the object detector only had ~51% precision (meaning it often "saw" things that weren't there), the planning framework was robust. The agent acts on the objects it is most confident about, and if an action fails, it simply updates its belief and replans.
  • First-Person Perspective: Unlike many planning frameworks that use a "god's eye view," OGAMUS works entirely with egocentric, subjective views, making it much more applicable to real-world robotics.

Key Results

In the RoboTHOR Object Goal Navigation task, OGAMUS significantly outperformed the reigning champions of the RL-based challenge (see Figure 6).

  • Success Rate: OGAMUS achieved 56.78%, nearly 20 percentage points higher than the best RL method (36.61%).
  • Efficiency (SPL): It also reached goals more efficiently, with a Success weighted by Path Length (SPL) of 24.87% vs. 17.49% for the RL baseline. Comparison with RL baselines
Comparison with RL baselines

On more complex manipulation tasks in iTHOR, the system maintained high success rates (75-78% for opening/closing) even when using noisy, non-ground-truth object detection (see Figure 5). Performance across different tasks

Performance across different tasks

Limitations and Future Work

  • Pre-trained Components: Currently, the object detectors and predicate classifiers must be trained offline. The authors aim to move toward online learning, where the robot learns to recognize new objects and properties as it encounters them.
  • Spatial Accuracy: The system struggles with very large objects (like long tables) because it estimates position based on the object's center, which can lead to navigation collisions.
  • Action Learning: Future work will explore learning the "compilation" of high-level actions into low-level ones through experience, rather than relying on pre-defined path planners.

Summary updated

BibTeX
@misc{lamanna2021online,
  author = {Leonardo Lamanna and Luciano Serafini and Alessandro Saetti and Alfonso Gerevini and Paolo Traverso},
  title = {{Online Grounding of Symbolic Planning Domains in Unknown Environments}},
  year = {2021},
  eprint = {2112.10007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.10007},
}
Figure