Delta Schema Network in Model-Based Reinforcement Learning

Andrey Gorodetskiy, Alexandra Shlychkova, Aleksandr I. Panov · DOI

Abstract

This paper introduces the Delta Schema Network (DSN), a model-based reinforcement learning architecture designed to overcome the sample inefficiency and brittleness of traditional deep RL methods. By learning logical, object-oriented rules that predict state changes (deltas) rather than raw pixels, DSN achieves high performance on Atari games with orders of magnitude fewer samples than methods like DQN. Furthermore, DSN demonstrates robust zero-shot transfer capabilities, successfully adapting to environment modifications without additional training.

Introduction

Traditional Deep Reinforcement Learning (RL) agents, such as the Deep Q-Network (DQN), are notoriously data-hungry and struggle with generalization. These agents typically learn statistical correlations between high-dimensional pixel inputs and rewards. Consequently, minor changes to the environment—such as altering object colors or adding new entities—often lead to catastrophic failure, requiring the agent to be retrained from scratch. The Delta Schema Network (DSN) addresses these limitations by learning the underlying "physics" or logic of the environment through an object-oriented, rule-based approach.

The Delta Schema Network Architecture

DSN represents the environment as a grid of entities characterized by binary attributes (e.g., "is_ball", "is_brick"). Instead of utilizing neural network weights, DSN learns a set of logical schemas—AND functions that describe how attributes change over time.

A key innovation of DSN is its focus on predicting "deltas": the creation ($\Delta^+$) and destruction ($\Delta^-$) of attributes. By modeling only what changes between frames, the network significantly reduces computational overhead, as most of the environment remains static in typical gaming scenarios.

Learning is framed as a Linear Programming (LP) optimization problem, seeking the simplest set of rules that explain observed transitions without false positives. For decision-making, DSN employs factor graphs to plan future trajectories, using a backtrace algorithm to identify action sequences that lead to reward-triggering states.

Experimental Evaluation

The authors evaluated DSN on the Atari Breakout environment, comparing its performance and transferability against a standard DQN baseline.

Sample Efficiency

DSN exhibits massive sample efficiency compared to model-free approaches. While a standard DQN requires millions of time steps to converge to a stable policy, DSN reaches peak performance in a fraction of that time. As shown in the figures below, DSN achieves a high average reward within tens of thousands of steps, whereas DQN requires millions of steps to reach a lower performance plateau.

Average reward per episode for DSN on Atari Breakout, demonstrating rapid convergence and high performance within the first 35,000 time steps.
Baseline performance of DQN on Atari Breakout, illustrating the millions of time steps required to achieve comparable reward levels.

Zero-Shot Transfer

A primary advantage of DSN is its ability to perform "zero-shot" transfer. When moved from a standard Breakout environment to a "Two-Ball" variant, the DSN agent maintained its average score without any additional training. Because the learned schemas are local and relational, the agent understands the behavior of a "ball" regardless of how many are present on the screen. In contrast, a DQN agent would typically require extensive retraining to handle the expanded state space and new object interactions.

Discussion and Future Work

While DSN offers superior efficiency and interpretability, it faces challenges regarding computational complexity during planning, especially over long horizons. Additionally, the current implementation relies on pre-defined feature extraction to identify object types and is primarily suited for deterministic environments. Future research directions include adapting the logic-based approach to stochastic real-world environments, such as autonomous driving at intersections and robotic manipulation tasks.

Summary updated

BibTeX
@inproceedings{gorodetskiy2020delta,
  author = {Andrey Gorodetskiy and Alexandra Shlychkova and Aleksandr I. Panov},
  title = {{Delta Schema Network in Model-Based Reinforcement Learning}},
  booktitle = {AGI},
  year = {2020},
  doi = {10.1007/978-3-030-52152-3\_18},
}
Figure