Abstract
Traditional deep reinforcement learning (RL) algorithms often rely on domain-specific inductive biases, such as convolutional layers for images, to handle high-dimensional inputs. However, these "cheat codes" fail when data is unstructured or scrambled. We present Nibbler, an architecture that autonomously discovers predictive structures in high-dimensional streams. By leveraging General Value Functions (GVFs) and modular non-linear sub-networks, Nibbler achieves linear sample complexity in environments where standard deep RL baselines collapse.
Introduction: The Challenge of Unstructured Data
Most successful RL applications exploit spatial or relational regularities in input data. For example, Convolutional Neural Networks (CNNs) assume local spatial correlations, while Graph Neural Networks (GNNs) assume known relational structures. In many real-world scenarios, however, input data may be "unstructured"—a flat vector of thousands of sensor readings with unknown or scrambled relationships.
In such high-dimensional spaces, standard RL algorithms suffer from the "curse of dimensionality," where sample complexity grows exponentially with the number of inputs. This paper explores how agents can bridge the gap between biological flexibility and current machine learning theory by learning to identify and exploit latent structures without prior knowledge.
The Nibbler Architecture
Nibbler is designed to incrementally "nibble" away at complex problems by decomposing them into self-discovered, manageable subproblems. This modularity is a departure from standard monolithic architectures that attempt to process the entire state space at once.
The architecture follows a four-step process:
- Utility-Based Feature Selection: The agent begins with a simple linear learner to predict external rewards. It identifies potentially useful features by analyzing the magnitude of the weights assigned to them.
- General Value Function (GVF) Subproblems: Beyond reward prediction, Nibbler constructs GVFs—predictive "questions" about the future state of specific features. This provides a rich training signal for representation learning.
- Modular Non-linearity: For each GVF, Nibbler selects a small subset of base features and processes them through a dedicated, small Multi-Layer Perceptron (MLP). These modules generate non-linear features for the main controller.
- Incremental Top-k Selection: To maintain computational efficiency, a "lazy" selection process updates the focus on relevant features, ensuring costs scale gracefully with input size.
Feature Selection and Scaling
A critical component of Nibbler is its ability to handle high-dimensional inputs without a proportional increase in computational cost. This is achieved through an incremental selection process that prioritizes features based on their predictive utility.
The core insight is that predicting the future of individual features (GVFs) provides a better training signal for representation learning than just predicting the final reward. By using computationally cheap linear methods to find where the structure is, and then investing more expensive non-linear computation (MLPs) only on those relevant parts, Nibbler maintains efficiency even as the observation space grows.
Experimental Evaluation: The Multi-catch Benchmark
To test scaling, the authors introduced Multi-catch, a benchmark where an agent must simultaneously manage $n$ independent "Catch" boards. The observation bits from all boards are concatenated and randomly permuted, removing any spatial information.
As the number of boards $n$ scales from 2 to 128, Nibbler demonstrates remarkable stability. While standard deep RL baselines—including the powerful Rainbow algorithm—showed massive performance drops once the problem scaled beyond 16 boards, Nibbler successfully learned performant policies for up to 128 boards. The authors measured the "Timestep Doubling Ratio"—the factor by which training time increases when the problem size doubles. For Nibbler, this ratio remained nearly constant at approximately 2x, confirming stable, linear scaling.
Conclusion and Future Directions
Nibbler demonstrates that architecture, rather than raw size, is the key to scaling RL to unstructured, high-dimensional data. By organizing networks into self-discovered modules, agents can achieve linear sample complexity. Future work will focus on making the algorithm "auto-tuning" to reduce hyperparameter sensitivity and exploring its performance on deeply entangled real-world datasets.
Summary updated