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

Discovering the Structure of a Reactive Environment by Exploration

Michael Mozer, Jonathan BachrachNeural Computation 1989 · DOI

In this 1989 paper, Michael Mozer and Jonathan Bachrach explore how a connectionist (neural network) approach can help a robot learn the "hidden" rules of its environment. By implementing a symbolic concept called an "update graph" into a neural architecture, the authors demonstrate a system that can learn to predict the consequences of its actions through simple exploration. Notably, this connectionist approach often outperformed traditional symbolic algorithms of the time by handling noise and stochasticity more effectively.

The Problem: Navigating Unknown Environments

Imagine a robot dropped into a house it has never seen. To navigate or interact with its surroundings (like turning on a light), it needs an internal model—a map of "if I do X, then Y happens."

Traditionally, this was modeled using Finite State Automata (FSA). However, FSAs can become explosively large and often fail to capture the underlying regularities of a world (e.g., "moving left" always has the same relative effect regardless of which room you are in). Rivest and Schapire previously proposed a symbolic "update graph" to solve this, but their algorithm was strictly serial—testing one hypothesis at a time—and struggled with environmental noise. Mozer and Bachrach sought to bring the parallel learning power of neural networks to this problem.

Methodology: The Connectionist Update Graph

The core innovation of the paper is the Connectionist Update Graph, which translates symbolic environmental modeling into a neural architecture.

  1. Architecture: Each node in the update graph represents an environmental variable (e.g., "is the light on?") and is modeled by a unit in a neural network.
  2. Action-Gated Weights: Instead of a single set of static weights, the network utilizes a different weight matrix for every possible action. When the robot moves "Up," the "Up" weight matrix is "plugged in," and the network propagates activity to predict the next state.
  3. Constraints: To mimic the logic of an update graph, the authors enforced a "one-input-per-action" constraint. This means each node should ideally receive information from exactly one other node for a given action, achieved through a combination of cost functions and weight renormalization.
  4. Learning: The network uses Backpropagation Through Time (BPTT). Because the robot’s actions never truly "end," the authors developed a method to keep the temporal record of activities consistent with updated weights to prevent the model from becoming unstable.

Experimental Environments

The authors evaluated their model on several simulated "worlds" designed to test spatial and logical inference:

  • The $n$-room world: A circular chain of rooms where a robot can move Up, Down, or Toggle a light switch.
  • Little Prince World: A small-scale environment used for initial benchmarking.
  • Car Radio World: A more complex state-space simulation.
  • 32-Room World: A large-scale version of the circular room environment used to test the limits of random exploration.

Key Insights and Results

The connectionist approach yielded several distinct advantages over its symbolic predecessors:

  • Parallel Hypothesis Testing: Unlike symbolic algorithms that test one rule at a time, the connectionist model updates all its "hypotheses" (weights) simultaneously at every time step. This parallel processing allows it to learn significantly faster in smaller environments.
  • Efficiency: In the "Car Radio World," the connectionist model learned the structure in 8,167 steps, compared to 27,695 steps for the symbolic Rivest-Schapire (RS) algorithm.
  • Noise Tolerance: The network successfully accommodated "noisy" or stochastic environments where rigid symbolic logic typically fails.
Various update graph structures, including the complex symbolic representation with explicit complement nodes (e) versus the more compact connectionist representations using negative weights.
  • The "Complementation" Discovery: In the $n$-room world, the symbolic version required doubling the nodes to handle "toggling" a light (one node for "on," one for "off"). The neural network discovered it could simply use negative weights to represent "complementation," effectively halving the required memory.
  • Linear Algebra as a Tool: Because the system is essentially a linear recurrence ($X(t) = W_a X(t-1)$), the authors realized they could use tools from linear algebra to analyze and transform the learned models into equivalent but more efficient forms.

Limitations and Future Directions

Despite its successes, the model faced scaling issues. While the network excelled in small-to-medium worlds, it failed on the 32-room world. The RS algorithm succeeded here because it used a strategic exploration policy, whereas the neural net relied on purely random movement.

The most significant limitation is this exploration strategy. Randomly wandering (the "drunkard's walk") is insufficient for large state spaces; the robot might never encounter the specific sequence of actions needed to reveal a deep structural secret of the environment.

The authors suggest that future work should focus on:

  1. Integrating intelligent exploration (curiosity-driven learning) into the connectionist framework.
  2. Refining the weight constraints, as the current "one-input" constraint sometimes made the network unstable or slow to converge compared to unconstrained versions.
  3. Exploring how these linear systems can be transformed into non-local representations that are more robust, even if less human-interpretable.

Summary updated

BibTeX
@article{mozer1989discovering,
  author = {Michael Mozer and Jonathan Bachrach},
  title = {{Discovering the Structure of a Reactive Environment by Exploration}},
  journal = {Neural Computation},
  year = {1989},
  doi = {10.1162/neco.1990.2.4.447},
}
Figure