Fuzzy Tiling Activations: A Simple Approach to Learning Sparse Representations Online

Yangchen Pan, Kirby Banman, Martha White

TL;DR

The paper introduces Fuzzy Tiling Activations (FTA), a novel activation function that enforces mathematical sparsity by design rather than through complex optimization losses. By deterministically restricting the number of active units, FTA drastically reduces representation interference, enabling deep reinforcement learning agents to learn faster and more stably—often completely eliminating the need for target networks.

What Problem Does This Paper Address?

Deep neural networks are powerful generalizers, but they suffer heavily from interference when learning online from non-stationary or temporally correlated data streams (a defining characteristic of reinforcement learning). Interference occurs when a gradient update for a newly observed state inadvertently degrades the network's accuracy on previously learned states.

While sparse representations—where only a small percentage of neurons fire at any given time—naturally mitigate this by localizing updates, existing methods to achieve sparsity are problematic. They typically rely on complex offline pre-training, non-differentiable functions (like Winner-Take-All strategies), or auxiliary loss regularizers that often result in "dead neurons."

Classical binning or tile coding provides natural sparsity by grouping inputs into discrete intervals, but it introduces flat regions with zero gradients almost everywhere, making standard backpropagation impossible. The authors set out to create a simple, differentiable activation function that guarantees sparsity by construction without sacrificing gradient flow.

Methods

The authors propose Fuzzy Tiling Activations (FTA), a modular activation function that acts as a differentiable approximate binning operation.

Instead of mapping a scalar to a scalar, an FTA layer maps a scalar input to a sparse, multi-dimensional vector representing bins or "tiles." To overcome the zero-gradient limitation of standard binning, FTA introduces a smoothed, fuzzy indicator function:

$$I_{\eta,+}(x) = I_+(\eta - x)x + I_+(x - \eta)$$

Here, $\eta$ is a sparsity control parameter that creates a sloped, non-zero gradient region around the boundaries of each bin. This allows gradients to flow backward through the network during backpropagation while maintaining a strict, deterministic upper bound on the number of active units per instance. Practitioners can easily tune $\eta$ to balance the trade-off between representation sparsity and gradient precision.

Figure 2: A visualization of an FTA layer

Datasets

The authors evaluated FTA across a variety of environments spanning supervised learning, discrete control, and continuous control:

  • Piecewise Random Walk Problem: A synthetic online supervised learning benchmark designed by the authors to explicitly control the level of data correlation and covariate shift while keeping the underlying equilibrium distribution fixed.
  • OpenAI Gym (Discrete Control): MountainCar-v0, CartPole-v1, Acrobot-v1, and LunarLander-v2.
  • MuJoCo (Continuous Control): InvertedPendulum, Hopper, Walker2d, InvertedDoublePendulum, and Swimmer.
  • Image Classification (Appendix): MNIST and Fashion-MNIST.
  • Autonomous Driving (Appendix): A simulated 25-dimensional highway driving environment focused on policy stability and crash avoidance.

Key Insights and Ideas

  • Sparsity by Design vs. Sparsity by Loss: Enforcing sparsity architecturally via the activation function is far more robust for online, non-stationary settings than adding $L_1$ or $L_2$ penalties to the loss function, which frequently fail to maintain stable sparsity online.
  • Killing the Target Network: In deep reinforcement learning, target networks are universally used to stabilize value estimation against non-stationarity, but they inherently slow down learning. Because FTA drastically reduces gradient interference, RL agents (like DQN and DDPG) equipped with FTA can completely discard target networks, leading to faster, more direct policy updates without sacrificing stability.
  • The Overlap Sweet Spot: Generalization and discrimination must be carefully balanced. If the fuzzy bin overlap ($\eta$) is too small, gradients vanish and learning stalls; if it is too large, representation interference returns, degrading performance.

Key Results

  • Robustness to Covariate Shift: On the synthetic random walk task, FTA networks maintained low, stable mean squared error even under extreme correlation difficulties ($d > 0.9$), whereas standard ReLU networks completely degraded.
  • Target-Free RL Acceleration: In classic control tasks (Acrobot, MountainCar, CartPole), DQN-FTA trained without a target network significantly outperformed standard DQN with a target network, achieving faster convergence and lower variance across runs.
  • Quantifiable Sparsity: Empirical measurements on LunarLander showed that FTA achieved an exceptionally low instance sparsity of 7% to 14% and an overlap sparsity of 4% to 8%, vastly outperforming standard networks and $L_1/L_2$ regularized baselines.

Limitations and Future Work

The primary limitation of FTA is its sensitivity to the tiling bounds $[l, u]$. Because the activation function relies on a predefined input range, if the weights in the preceding layer shift drastically and cause the inputs to fall outside these bounds, the gradients vanish entirely (gradient saturation).

To address this, the authors suggest that a vital direction for future work is developing an adaptive approach that automatically determines and shifts the tiling bounds online during training. They also propose exploring combinations of FTA with explicit meta-learning algorithms designed to mitigate catastrophic forgetting.

Summary updated

BibTeX
@inproceedings{pan2021fuzzy,
  author = {Yangchen Pan and Kirby Banman and Martha White},
  title = {{Fuzzy Tiling Activations: A Simple Approach to Learning Sparse Representations Online}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=zElset1Klrp},
}
Figure