Abstract
Modern Reinforcement Learning (RL) policies for complex robotic control typically require thousands of parameters, posing significant challenges for deployment on resource-constrained edge devices. This paper introduces Chromatic Networks, a novel approach that utilizes Neural Architecture Search (NAS) to discover optimal weight-sharing configurations. By partitioning network edges into "color classes" that share a single weight value, we achieve over 90% compression without sacrificing performance. Our results demonstrate that complex locomotion tasks can be mastered with as few as 17 distinct parameters, significantly outperforming rigid, hardcoded weight-sharing structures like Toeplitz matrices.
Introduction
In the pursuit of high-performance agents, the RL community has largely favored increasingly large neural networks. While effective in simulation, these multi-thousand-parameter policies are often impractical for real-world deployment on mobile robots, drones, or microcontrollers with limited memory and power. Previous attempts to create compact networks relied on hardcoded mathematical structures (e.g., Toeplitz or Circulant matrices) to force weight sharing. However, these rigid structures often fail to capture the specific nuances of a task. Chromatic Networks address this by learning the optimal way to shrink a policy through a combinatorial search of edge-to-weight mappings.
Methods: Learning to Share
The core innovation of Chromatic Networks is the conceptualization of architecture as a weight-sharing problem rather than a layer-count problem.
Edge Partitioning (Coloring)
Every edge in a neural network is assigned a "color." All edges sharing the same color are constrained to have the exact same weight value. This effectively maps a small vector of distinct weights, $\pi_t$, into a larger weight matrix, $\mathbf{T}_t$, used for inference.
Hybrid Optimization
To find the best coloring scheme and weight values, the authors employ a two-stage hybrid optimization process:
- Efficient Neural Architecture Search (ENAS): An LSTM-based controller (a pointer network) learns to assign colors to edges to maximize the expected reward.
- Evolution Strategies (ES): Because RL rewards are non-differentiable, ES is used to optimize the actual values of the shared weights within a given coloring scheme.
This approach leverages a large population of CPU workers to evaluate thousands of potential colorings and weight sets in parallel, making the search computationally feasible.
Key Results and The "Power of 17"
The researchers evaluated Chromatic Networks on standard MuJoCo benchmarks and a quadruped locomotion task for the "Minitaur" robot. The results reveal a surprisingly low intrinsic dimensionality for these problems.
- Extreme Compression: The method achieved >90% compression compared to vanilla networks. For instance, in the Hopper task, a Chromatic Network achieved a reward of 3408 with only 11 parameters, while the unstructured baseline required 574 parameters for a lower reward (2691).
- Learned vs. Rigid Structure: Chromatic Networks provided 6x more compression than state-of-the-art Toeplitz-based policies. While a Toeplitz matrix might require over 100 parameters for a task, a learned Chromatic pattern could achieve the same result with just 17.
In tasks like HalfCheetah and Walker2d, the authors found that effective policies could be parameterized by exactly 17 distinct weights. This suggests that the underlying complexity of these locomotion tasks is far lower than the size of modern neural networks would imply.
Discussion and Future Work
Chromatic Networks demonstrate that learned weight-sharing is far more efficient than hardcoded structures. Unlike standard pruning, which often leads to a performance "cliff" at high compression levels, Chromatic Networks maintain high rewards by optimizing how connections are shared rather than simply deleting them.
Future work will focus on the transferability of these "colorings"—investigating whether a pattern learned for one robot represents a universal "motif" of movement that can be applied to others. Additionally, the small number of distinct weights allows for specialized inference algorithms (like the mailman algorithm), paving the way for real-time RL on physical microcontrollers.
Summary updated