Discovering the Structure of a Reactive Environment by Exploration ; CU-CS-451-89

Michael C. Mozer, Jonathan BachrachCU 1989

University of Colorado at Boulder Department of Computer Science

Introduction

In this 1989 technical report from the University of Colorado at Boulder, researchers explore how an autonomous agent can learn the internal structure of an unknown, reactive environment. The core challenge is the "inference problem": building a predictive model of how actions (e.g., moving or toggling switches) influence future sensations based solely on a sequence of interactions.

The Problem of State Explosion

Traditionally, environment modeling relied on Finite State Automata (FSA). However, FSAs suffer from exponential complexity. For instance, a simple environment with 32 rooms and light switches would require billions of states to represent every possible configuration. This makes traditional symbolic mapping inefficient for complex, regular environments. The authors tackle this "inference problem" by seeking a more compact representation that captures the underlying logic of the world.

A Connectionist Approach: The Update Graph

The authors propose a connectionist (neural network) implementation of the "update graph" concept, originally proposed by Rivest and Schapire. Unlike an FSA, which maps global states to global states, an update graph tracks how individual environmental variables (e.g., "is the light on in room A?") change relative to one another based on specific actions.

Architecture and Training

The system utilizes a Linear Gated Network:

  • Gated Weights: Each possible action (e.g., "Move Up") activates a specific weight matrix in the network.
  • Activity Propagation: The current state of the world is represented as an activity vector. Taking an action effectively "rewires" the network on the fly, gating the flow of information to compute the next state vector.
  • Backpropagation Through Time (BPTT): Referred to in the paper as the "unfolding-in-time" procedure, BPTT is used to adjust weights based on prediction errors over sequences of actions.
  • Structural Constraints: To ensure the network learns a logical graph structure, the authors apply specific constraints—such as non-negativity and a sum-of-squares constraint—to ensure each node has exactly one incoming link per action.

Experimental Evaluation

The model was tested across several simulated environments designed to test different types of structural complexity:

  • The Little Prince World: A 2D planet with four locations and distinct sensations (a rose and a volcano).
  • The n-Room World: Circular chains of rooms (3, 4, and 32 rooms) where the robot can sense and toggle light bulbs.
  • The Car Radio World: A complex state-space simulation involving "preset" buttons, "seek" functions, and different types of music stations.
  • "You Figure It Out": An abstract, highly challenging sequence of actions and binary sensations used to demonstrate the difficulty of the inference problem for humans.

Key Results and Insights

The connectionist model was compared against the symbolic Rivest-Schapire (RS) algorithm, yielding several key findings:

  • Efficiency and Scaling: In the "Little Prince" world, the neural network learned in 91 steps, while the RS algorithm required 200. In the "Car Radio" world, the network took 8,167 steps versus 27,695 for RS. However, in the 32-room world, the connectionist model failed while the RS algorithm succeeded. The authors attribute this to the "random walk" exploration strategy, which becomes exponentially less likely to visit all necessary states as the world grows.
  • Parallelism: Unlike symbolic algorithms that often test hypotheses one by one, the connectionist approach adjusts nearly all weights simultaneously after every action, allowing for a more integrated learning process.
  • Noise Robustness: A significant advantage of the connectionist approach is its performance under uncertainty. The network successfully learned models even when sensations were "noisy" (incorrect 10% of the time), a condition under which the strictly deterministic RS algorithm fails.
  • Robustness to Over-specification: The network does not require an exact count of environmental nodes. If given extra units, it either leaves them disconnected or uses them to create redundant, distributed representations without harming overall performance.

Limitations and Future Directions

Despite its successes, the model's primary bottleneck is its reliance on a trivial random exploration strategy. The authors acknowledge that for complex environments, the robot needs an "intelligent exploration strategy" to actively seek out informative states.

Furthermore, while the linear nature of the system allows for rigorous analysis using linear algebra, it may limit the types of non-linear environmental dependencies the network can capture. The authors suggest that the greatest virtue of this approach is its ability to suggest generalizations of the update graph—such as complementation links—that do not naturally arise from traditional symbolic perspectives.

Summary updated

BibTeX
@inproceedings{mozer1989discovering,
  author = {Michael C. Mozer and Jonathan Bachrach},
  title = {{Discovering the Structure of a Reactive Environment by Exploration ; CU-CS-451-89}},
  booktitle = {CU},
  year = {1989},
}
Figure