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

An object-oriented representation for efficient reinforcement learning

Carlos Diuk, Andre Cohen, Michael L. Littman

Introduction

Traditional reinforcement learning (RL) agents often struggle to generalize knowledge across similar states, leading to inefficient learning in complex environments. This research introduces Object-Oriented Markov Decision Processes (OO-MDPs), a novel representation that allows RL agents to perceive the world as a collection of objects and their interactions, rather than a raw, unstructured list of variables. By leveraging this human-like "relational bias," the proposed algorithms—DOORmax and KOOL—achieve orders-of-magnitude faster learning and scale significantly better to large environments than traditional methods.

The Problem: Overcoming the Curse of Dimensionality

The primary challenge in reinforcement learning is the "Curse of Dimensionality." As an environment becomes more complex (e.g., adding more items, obstacles, or agents to a room), the number of possible states an agent must explore grows exponentially.

Traditional RL models typically treat states as "flat" (unique IDs) or "factored" (vectors of variables). However, these models inherently struggle with generalization. For example, in a grid-world game, a factored agent might have to learn that hitting a wall at coordinate (1,1) stops movement, and then it must re-learn that exact same rule for a wall at (5,5). It lacks the structural intuition to understand that "a wall is a wall." This absence of common-sense generalization makes learning painfully slow in even moderately complex worlds.

Methodology: The OO-MDP Framework

To address this, the author proposes the OO-MDP framework, which defines states through three core components:

  • Classes: Categories of items in the environment (e.g., Taxi, Wall, Passenger).
  • Attributes: Specific properties of those items (e.g., x-position, y-position, color).
  • Relations: How objects interact with one another (e.g., touching_north, on_top_of).

Within this framework, two main algorithms are developed using the KWIK ("Knows What It Knows") learning framework. KWIK ensures the agent only makes predictions when it has sufficient data; otherwise, it actively chooses to explore.

  1. DOORmax (Deterministic Object-Oriented Rmax): Designed for deterministic environments, such as classic video games. It uses a "Tree Model" to learn which conditions (conjunctions of relations) lead to specific effects (attribute changes).
  2. KOOL (KWIK Object-Oriented Learner): An extension built for stochastic (random or noisy) environments. It employs an "Adaptive k-Meteorologists" approach to determine which environmental rules are most predictive, alongside "KWIK Linear Regression" to handle ambiguous outcomes.

Datasets and Domains

The efficacy of these methods is evaluated across several classic and custom RL benchmarks:

  • The Taxi Problem: A standard benchmark requiring a taxi to pick up and drop off passengers. Tests were conducted on the original 5x5 grid and an extended 10x10 version.
  • Pitfall!: A classic Atari 2600 game, used to demonstrate how OO-MDPs can handle high-dimensional pixel data once an object-recognition layer is applied.
  • Goldmine: A multi-agent-style domain demonstrating how learning about one "Miner" object generalizes to all other miners.
  • Mountain Climber & Stochastic Maze: Custom domains designed to test the agent's ability to handle noise and probabilistic transitions.

Key Insights

The OO-MDP framework introduces several transformative concepts for RL:

  • In-Class Transfer: This is the core breakthrough of the paper. If an agent learns how a "Wall" object behaves once, that knowledge immediately applies to every other wall in the universe, drastically reducing the required exploration.
  • Attribute Generalization: By defining dynamics based on relations (e.g., "Am I next to a wall?") rather than absolute coordinates, the agent’s knowledge remains valid even if the grid size doubles or the layout changes entirely.
  • Bridging the Human-AI Gap: A human study on the Taxi problem revealed that humans solve the task in roughly 50-100 steps because they bring a prior bias toward objects. OO-MDPs successfully program this "common sense" bias into AI agents.

Key Results

The empirical results demonstrate massive improvements over baseline RL approaches:

  • Massive Speedups: In the 5x5 Taxi domain, DOORmax learned the optimal policy in just 529 steps. By comparison, Factored Rmax took 1,676 steps, and standard Q-learning required over 29,000 steps.
  • Superior Scaling: When scaling from a 5x5 grid to a 10x10 grid (a 14x increase in state space), DOORmax required only 1.55x more experience to solve the task. The state-of-the-art factored algorithm required 11.85x more experience.
  • Real-World Complexity: DOORmax successfully solved the first screen of the Atari game Pitfall! in a single run (under 500 actions) by correctly identifying the deterministic rules governing ladders, holes, and logs.

Limitations and Future Work

While OO-MDPs represent a significant leap forward, the dissertation notes a few limitations:

  • The Perception Bottleneck: The framework assumes an object-recognition system already exists to extract the "list of objects" from raw pixels. It does not solve the initial computer vision problem of identifying those objects.
  • Planning Complexity: While learning the rules is highly efficient, planning (deciding what to do once the rules are known) remains computationally expensive. Future work should integrate smarter planners, such as Monte Carlo Tree Search (UCT).
  • The Human Gap: Even with OO-MDPs, humans are still faster (solving the Taxi problem in ~48 steps). Humans utilize additional biases, such as symmetry (knowing that "Down" is the exact opposite of "Up"), which are not yet fully encoded in the OO-MDP model.

Summary updated

BibTeX
@inproceedings{diuk2008object,
  author = {Carlos Diuk and Andre Cohen and Michael L. Littman},
  title = {{An object-oriented representation for efficient reinforcement learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2008},
  doi = {10.1145/1390156.1390187},
}
Figure