TL;DR
Deep Reinforcement Learning (RL) agents often drown in data, struggling to distinguish task-relevant signals from irrelevant noise. This paper introduces Automatic Noise Filtering (ANF), a method that uses dynamic sparse training to prune connections to noisy features and "grow" connections to useful ones. The result is an agent that can succeed in environments where 99% of the input is pure noise, all while using up to 95% fewer parameters than standard dense networks.
What Problem Does This Paper Address?
Imagine a household robot trying to flip a pancake. Its sensors provide a firehose of data: the temperature of the room, the stock of milk in the fridge, the mood of the inhabitants, and the sound of a passing car. For the task at hand, almost all of this is "Type 2 noise"—distracting, task-irrelevant information.
Standard Deep RL algorithms like Soft Actor-Critic (SAC) or TD3 use dense neural networks that try to process every single input feature. As the number of irrelevant features grows, these dense networks struggle to "zero out" the noise through weight adjustment alone. The authors demonstrate this failure in what they call Extremely Noisy Environments (ENE). As shown in Figure 1, once an environment hits 90% noise, standard SAC fails to learn a functional policy.
Methods
The authors propose Automatic Noise Filtering (ANF). Instead of a dense input layer, ANF starts with a sparse input layer.
The core mechanism is Dynamic Sparse Training (DST), specifically the Sparse Evolutionary Training (SET) algorithm. The process works in a cycle:
- Pruning: Periodically, the algorithm identifies and removes the weakest connections (those with the smallest weight magnitudes) in the input layer.
- Growing: It then randomly grows new connections to replace them.
- Optimization: Over time, connections to noisy features are repeatedly pruned because they fail to provide a useful gradient, while connections to task-relevant features are retained and strengthened.
Crucially, ANF focuses this sparsity primarily on the input layer, which is the "gatekeeper" for noise. The authors also fixed a common implementation oversight in sparse training by ensuring the Adam optimizer's internal states (running averages of gradients) are reset when a connection is regrown, preventing "ghost" information from affecting new synapses.
Datasets
The researchers evaluated ANF using four standard continuous control benchmarks from the MuJoCo Gym suite:
- Humanoid-v3
- HalfCheetah-v3
- Walker2d-v3
- Hopper-v3
To create the ENE (Extremely Noisy Environment), they concatenated the original state vectors with synthetic noise (Gaussian or imitated real-feature distributions) to reach noise fractions ($n_f$) up to 0.99. They also introduced PENE (Permutated Extremely Noisy Environment), a transfer learning challenge where the order of all features is shuffled every 1 million timesteps, forcing the agent to rediscover which inputs are useful.
Key Insights and Ideas
- The Adaptability Hypothesis: The authors hypothesize that it is fundamentally easier for a network to change its topology (dropping and growing connections) than it is for a dense network to fine-tune weight values to ignore noise. Their results strongly support this.
- Topology Shift: By visualizing the input layer, the authors proved that ANF actually performs a "topology shift." Over time, the average number of connections to relevant features spikes, while connections to noise features dwindle.
- Sparsity as a Feature Selector: Even in environments without added noise, ANF often matches or beats dense baselines. This suggests that DST helps the agent find a "minimal task representation," ignoring even original features that aren't strictly necessary for the goal.
- Plasticity in Transfer: In the PENE setting (Figure 3), ANF recovered significantly faster than dense networks after a feature shuffle. Because it is constantly pruning and growing, it maintains the "plasticity" needed to adapt to sudden changes in the data stream.
Key Results
- Superior Performance in High Noise: In environments with 98% noise, ANF-SAC and ANF-TD3 achieved high returns while standard dense baselines remained at near-zero performance (see Figure 5).
- Massive Efficiency: On the Humanoid-v3 task, a "Sparser-ANF" model achieved the same performance as the baseline while using 20x fewer parameters (95% sparsity).
- Robustness to "Loud" Noise: ANF maintained high performance even when the amplitude (standard deviation) of the noise was increased exponentially, whereas dense networks degraded rapidly.
Limitations and Future Work
While impressive, the study has a few boundaries:
- State-Vector Focus: The current work focuses on environments with feature vectors. Extending ANF to high-dimensional visual inputs (like pixels in Atari or real-world video) would likely require integration with Convolutional Neural Networks or Transformers.
- Hyperparameter Sensitivity: The initial sparsity level of the input layer is a fixed hyperparameter. The authors suggest that making this parameter adaptive could make the algorithm even more robust.
- Algorithm Scope: The testing was limited to SAC and TD3. While the authors believe ANF is generalizable to any MLP-based RL algorithm, this remains to be empirically proven for on-policy methods like PPO.
Summary updated