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

Investigating the properties of neural network representations in reinforcement learning

Han Wang, Erfan Miahi, Martha White, Marlos C. Machado, Zaheer Abbas, Raksha Kumaraswamy, Vincent Liu, Adam White

TL;DR

This paper provides a systematic empirical study of the internal properties that make neural network representations "good" for transfer in Reinforcement Learning (RL). By measuring six distinct representational properties across 25,000 agent-task settings, the authors discover that successful transfer is driven by high complexity reduction and "interim" levels of sparsity and orthogonality, rather than extreme values.

What Problem Does This Paper Address?

In deep RL, we usually let representations emerge naturally through gradient descent rather than hand-engineering them. While this works for specific tasks, we often don't understand why some learned representations transfer well to new goals while others fail.

Historically, researchers designed fixed-basis architectures to ensure properties like sparsity or orthogonality. Modern deep RL ignores these constraints, hoping "good" properties will simply emerge. This paper bridges that gap by asking: What are the measurable properties of emergent representations that actually facilitate transfer? They specifically tackle the challenge of "representation transfer," where a representation learned on a source task is frozen and used to learn a new, related task from scratch.

Methods

The authors introduce a rigorous methodology to evaluate representations using three main axes:

  1. Capacity: Includes Complexity Reduction (how much the representation simplifies the value function's "smoothness"), Dynamics Awareness (how well it captures state transitions), and Diversity (how well it avoids over-specializing to one specific value function).
  2. Efficiency: Measured via Orthogonality and Sparsity (the percentage of inactive features).
  3. Robustness: Measured as Non-interference (how much an update in one state affects the accuracy of others).

They compare standard ReLU activations against Fuzzy Tiling Activations (FTA), a newer activation function designed to produce high-dimensional, sparse representations. To induce different representational properties, they use various auxiliary losses (e.g., predicting the next state, reconstructing the input, or predicting successor features).

The experimental setup involves a two-stage process:

  • Stage 1: Train an agent on a source task to learn a representation.
  • Stage 2: Freeze the representation, re-initialize the value function, and train on a transfer task.

Datasets

  • Image-based Maze: A custom 15x15 pixel-based navigation environment with obstacles. The authors generated 173 distinct tasks by varying the goal location. They introduced a novel similarity metric using Successor Features to rank how "similar" transfer tasks were to the source task.
  • Atari 2600: To test generality, they used three games—Freeway, Space Invaders, and Breakout—transferring representations across different "game modes" (which vary difficulty, speed, and enemy behavior).

Key Insights and Ideas

  • The Sparsity Advantage: Switching from ReLU to FTA (sparse activations) had a bigger impact on transfer performance than any specific auxiliary task. Sparse representations were more robust and transferred more consistently across the board.
  • The "Goldilocks" Zone: The best-performing representations didn't sit at the extremes. For properties like orthogonality and sparsity, "medium" or "interim" levels were better than being perfectly orthogonal or extremely sparse.
  • Complexity Reduction is King: High complexity reduction (measured via the Lipschitz constant of the value function) was the most consistent indicator of a representation that supports transfer. Essentially, a good representation does the "heavy lifting" of the non-linear transformation, leaving a simpler task for the final value-head.
  • Linearity is Not Enough: The authors found that transfer was nearly impossible when using a linear value function on top of the frozen features. This suggests that even "good" features need to be non-linearly combined to be truly reusable in complex environments.

Key Results

  • Maze Transfer: FTA-based agents outperformed ReLU-based agents significantly. ReLU representations often exhibited "negative transfer" (performing worse than learning from scratch) on tasks that weren't highly similar to the source.
  • Scale of Study: The researchers evaluated over 25,000 agent-task combinations, providing a massive empirical backbone for their conclusions.
  • Atari Success: Using a Rainbow agent, they showed that representations learned in the default game mode successfully transferred to other modes. Quantitatively, the learned representations in Atari showed a massive increase in complexity reduction compared to random initialization (e.g., in Freeway, the complexity measure dropped from 4.178 to 0.029).
  • Dynamics Awareness Variance: While dynamics awareness was crucial in the Maze, it was less important in Atari games like Breakout, suggesting that the "ideal" property set may be somewhat environment-dependent.

Limitations and Future Work

  • Fixed Features Only: This study focused on "frozen" representations. The authors acknowledge that the properties required for successful fine-tuning (where the representation continues to learn in the new task) might differ from those required for fixed transfer.
  • Fully Observable Focus: The metrics and experiments were designed for fully observable MDPs. Extending this to Recurrent Neural Networks (RNNs) for partially observable environments is a noted next step.
  • The "Why" of Auxiliary Tasks: While the paper shows that auxiliary tasks change properties, it remains unclear exactly why a specific task (like VirtualVF) helps ReLU but hurts FTA. Further theoretical work is needed to map specific losses to property outcomes.

Summary updated

BibTeX
@article{wang2024investigating,
  author = {Han Wang and Erfan Miahi and Martha White and Marlos C. Machado and Zaheer Abbas and Raksha Kumaraswamy and Vincent Liu and Adam White},
  title = {{Investigating the properties of neural network representations in reinforcement learning}},
  journal = {Artificial Intelligence},
  year = {2024},
  doi = {10.1016/j.artint.2024.104100},
}
Figure