Structured Evolution with Compact Architectures for Scalable Policy Optimization

Krzysztof Choromanski, Mark Rowland, Vikas Sindhwani, Richard E. Turner, Adrian Weller

Introduction

Reinforcement Learning (RL) often relies on "blackbox" optimization when gradients aren't directly available, such as when simulating complex physics or dealing with real-world robots. Evolution Strategies (ES) have emerged as a popular alternative to traditional policy gradients because they are highly parallelizable.

However, ES faces two major bottlenecks:

  1. High Variance: ES estimates gradients by injecting random noise into the policy parameters. If the noise is purely random (IID Gaussian), the estimate is often "noisy," requiring many samples to find a good direction.
  2. Dimensionality Curse: Deep neural networks have millions of parameters. In a derivative-free setting, the number of iterations needed usually scales with the number of dimensions ($d$), making high-dimensional problems incredibly expensive to solve.

This paper introduces a more efficient way to train RL agents using ES by combining two clever tricks: using structured orthogonal noise to better estimate gradients and employing compact Toeplitz architectures to drastically reduce the number of parameters. The result is a system that can solve complex robotics tasks with up to 13x fewer parameters and significantly faster training and inference times than previous state-of-the-art methods.

A Two-Pronged Solution

The authors tackle the bottlenecks of ES through a combination of variance reduction and architectural compression.

1. Structured Exploration (Variance Reduction)

Instead of perturbing the policy with independent random Gaussian noise, the authors use Orthogonal Exploration.

  • The Theory: They prove that if the perturbation directions are forced to be orthogonal (perpendicular) to each other, the Mean Squared Error (MSE) of the gradient estimate is strictly lower than using standard random noise.
  • The Speedup: To avoid the $O(d^3)$ cost of traditional orthogonalization (like Gram-Schmidt), they use Hadamard-Rademacher (HD) blocks. By using the Fast Walsh-Hadamard Transform, they can generate "near-orthogonal" directions in $O(d \log d)$ time.
  • Quasi-Monte Carlo (QMC): They also experiment with low-discrepancy sequences (like Halton sequences) to ensure the parameter space is sampled more uniformly than pure randomness allows.

2. Compact Policies (Toeplitz Architectures)

The authors argue that we don't need massive, dense weight matrices for many control tasks. They replace standard weight matrices with Toeplitz matrices (where each descending diagonal from left to right is constant).

  • This reduces the number of parameters from $m \times n$ to just $m + n - 1$.
  • Toeplitz matrices support fast matrix-vector products via Fast Fourier Transforms (FFT), leading to near-linear time complexity for inference.

Experimental Results

The paper evaluates its methods on the DFO Benchmark Suite (212 lower-dimensional blackbox optimization tasks) and OpenAI Gym MuJoCo environments (12 continuous control robotics tasks).

Parameter Efficiency

By utilizing Toeplitz architectures, the proposed "Compact Policy + Structured Training" (CP:ST) achieves massive reductions in parameter counts. For example, on the Ant environment, CP:ST used only 362 parameters, compared to 4,896 in the baseline—a massive reduction while achieving higher total rewards. Most MuJoCo robotics tasks were solved with fewer than 300 parameters, challenging the common practice of using large MLP controllers for simple locomotion.

Parameter counts across MuJoCo environments comparing Compact Policies (CP) to Full Policies (FP).

Performance and Benchmark Dominance

In the Swimmer environment, the authors found the optimal policy using only 167 roll-outs per iteration, whereas previous ES benchmarks required 4,864.

Furthermore, across the 212 DFO tasks, structured exploration (ORT, HD, and QMC) consistently outperformed standard IID Gaussian exploration in both final objective value and the number of function evaluations required.

Performance of different exploration strategies on the DFO Benchmark Suite. Structured methods (ORT, HD, QMC) generally outperform standard IID noise.

Key Takeaways and Future Work

  • Orthogonality is a Free Lunch: By simply ensuring exploration directions don't "overlap" (staying orthogonal), you get a more accurate gradient estimate for the same computational budget.
  • Hardware Friendly: The combination of compact architectures and FFT-based inference makes these policies ideal for deployment on resource-constrained hardware, like mobile robots or embedded systems.
  • No Heuristics Needed: Unlike previous ES implementations, this method achieves high performance without "fitness shaping" (rank-transforming rewards), suggesting the underlying gradient estimation is mathematically more robust.

Limitations: While Toeplitz matrices work wonders for locomotion and control, it remains to be seen if they are expressive enough for high-dimensional sensory inputs like raw pixels (Atari games), which usually require Convolutional Neural Networks. Future work may explore other structured matrices to find even better trade-offs between compression and expressivity, as well as deeper theoretical bounds for QMC-based evolution strategies in non-convex landscapes.

Summary updated

BibTeX
@inproceedings{choromanski2018structured,
  author = {Krzysztof Choromanski and Mark Rowland and Vikas Sindhwani and Richard E. Turner and Adrian Weller},
  title = {{Structured Evolution with Compact Architectures for Scalable Policy Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=HyEdgsZubH},
}
Figure