TL;DR
Deep reinforcement learning (RL) networks tend to suffer from gradual "brain drain" during training—neurons go dormant and representations lose their richness. The authors introduce a dead-simple architectural tweak called the Hadamard Representation (HR): instead of passing inputs through one hidden layer, you pass them through two parallel layers and multiply the outputs element-wise. Without touching a single hyperparameter, this drop-in replacement rescues smooth activations like $\tanh$ from a hidden failure mode and boosts state-of-the-art RL agents across the board.
What Problem Does This Paper Address?
As deep RL agents train over millions of steps, they progressively lose plasticity—their ability to learn new things. Two main symptoms appear: neurons become dormant (stuck outputting a constant value regardless of the input), and the network's effective rank collapses (meaning surviving neurons become redundant, capturing fewer unique features).
Historically, researchers noticed that the standard $\text{ReLU}$ activation suffers from high dormancy (~60% of neurons "die" and output $0$). Smooth activations like $\tanh$ have fewer dormant neurons (~40%) and maintain a higher effective rank, yet empirically perform worse than $\text{ReLU}$ in RL. Why?
The authors uncover the culprit: dormant $\tanh$ neurons aren't silent. When a $\text{ReLU}$ neuron dies, it outputs $0$, effectively pruning itself out of the network cleanly. When a $\tanh$ neuron saturates, it outputs $-1$ or $+1$. Multiplied by its outgoing weights, this nonzero constant turns into a massive, input-independent "phantom bias" that silently distorts all downstream layers (and Q-value estimates). Existing fixes like periodic network resets or specialized normalizations exist, but tend to be algorithm- or domain-specific.
Methods
To stop neurons from saturating and to enrich representations, the authors propose the Hadamard Representation (HR).
Standard hidden layers compute $\mathbf{z}(\mathbf{x}) = f(\mathbf{A}_1\mathbf{x} + \mathbf{b}_1)$. HR replaces this with two independently parameterized parallel branches multiplied element-wise (the Hadamard product, $\odot$):
$$\mathbf{z}(\mathbf{x}) = f(\mathbf{A}_1\mathbf{x} + \mathbf{b}_1) \odot f(\mathbf{A}_2\mathbf{x} + \mathbf{b}_2)$$
Unlike Gated Linear Units (GLUs), where one branch acts as a scalar gate for the other, HR is completely symmetric—both branches use the same activation function $f$. HR works via two distinct mechanisms:
- Saturation Resistance: For a $\tanh$ product to saturate to $\pm 1$, both independent branches must saturate simultaneously. If a single neuron has saturation probability $p$, HR drops that probability to $p^2$, preserving clean gradient flow even if one branch gets stuck.
- Multiplicative Expressiveness: Multiplying two learned projections creates second-order feature interactions, expanding the function class and increasing effective rank without widening the layer's output dimension.
Datasets
Because this is reinforcement learning, agents are evaluated on interactive simulation benchmarks rather than static datasets (no new benchmarks were introduced):
- Atari (Arcade Learning Environment): Pixel-based discrete control (8-game subset for analysis/ablations; 51 games for large-scale evaluation).
- HumanoidBench: 14 complex, state-based continuous control tasks.
- DeepMind Control Suite (DMC-Visual): Pixel-based continuous control (evaluated on the 7-task DMC-Visual-Hard subset, 3 Visual-Humanoid tasks, and the full 28-task suite).
Key Insights and Ideas
- Not all dead neurons are equal: A dead $\text{ReLU}$ ($\Omega = 0$) is harmlessly pruned, whereas a saturated $\tanh$ ($\Omega = \pm 1$) injects a toxic, state-independent bias into subsequent layers.
- Activation choice flips HR's behavior: Because $0 \times \text{anything} = 0$, applying HR to $\text{ReLU}$ actually increases dormancy from $p$ to $2p - p^2$ (+18% empirically). Conversely, applying HR to $\tanh$ reduces dormancy from $p$ to $p^2$ (-23% empirically).
- Two regimes, one layer: In high-dormancy regimes (like DQN/PPO on Atari), HR wins primarily by preventing $\tanh$ saturation. In modern continuous-control architectures that already prevent dormancy via built-in LayerNorm (like SimbaV2 and MR.Q), HR still wins—proving that its multiplicative expressiveness boosts effective rank independently of dormancy.
- It's the multiplication, not the parameter count: Adding a parallel branch doubles a layer's weights. However, controlled ablations against parameter-matched wider layers, Mixture-of-Experts (MoE), and two-branch additive layers all fall short of HR—naive widening even degrades DQN performance by 46%.
Key Results
Across five algorithms and three domains—with zero hyperparameter tuning—adding HR consistently improves over strong baselines:
- Atari (DQN, PPO, PQN): HR yields +13% baseline-normalized score gains on DQN and over +10% on PPO across 8 games. Scaling up to 51 Atari games with PQN, $\tanh$ + HR more than doubles standard $\tanh$ performance and surpasses the original $\text{ReLU}$ PQN baseline's median human-normalized score (~1.35 vs. ~1.06).
- State-Based Control (SimbaV2): On 14 HumanoidBench tasks, SimbaV2 + HR boosts Interquartile Mean (IQM) normalized scores by +18% (from 0.71 to 0.84).
- Visual Control (MR.Q): On 7 DMC-Visual-Hard tasks, MR.Q + HR improves IQM scores by +17%. On extended 5M-step runs of tough Visual-Humanoid tasks, MR.Q + HR matches the specialized XQC state-of-the-art while standard MR.Q lags behind.
Limitations and Future Work
- Untuned Hyperparameters: Keeping baseline hyperparameters fixed proved HR works out-of-the-box, but dedicated tuning (like adjusting learning rates or weight decay for multiplicative layers) could unlock further performance.
- Stacking Diminishes Returns: Putting two HR blocks back-to-back (2HR) performed similarly to a single HR block (+12% vs. +13% on DQN), offering no extra benefit for the added compute.
- Future Horizons: The authors suggest testing HR inside model-based RL frameworks, pairing it with auxiliary representation losses, reconsidering other non-piecewise-linear activations in RL, and expanding their preliminary tests in continual supervised learning.
Summary updated