Learned-Norm Pooling for Deep Feedforward and Recurrent Neural Networks

Çaglar Gülçehre, KyungHyun Cho, Razvan Pascanu, Yoshua Bengio

Introduction

In modern deep learning, activation functions and pooling layers are often treated as static architectural choices. Standard practices involve using Rectified Linear Units (ReLU) for speed or Max-Pooling for translation invariance. However, these fixed functions may not be optimal for all data distributions. In "Learned-Norm Pooling for Deep Feedforward and Recurrent Neural Networks," Gulcehre et al. propose the $L_p$ unit, a novel nonlinearity that allows the network to learn the optimal norm order ($p$) via backpropagation. This approach bridges the gap between average and max pooling, enabling more efficient modeling of complex, curved decision boundaries.

The $L_p$ Unit

The core innovation is the $L_p$ unit, which generalizes several common pooling operations into a single learnable framework. For a set of input signals $a_1, \dots, a_N$, the unit computes a normalized $L_p$ norm:

$$u_j = \left( \frac{1}{N} \sum_{i=1}^{N} |a_i - c_i|^{p_j} \right)^{1/p_j}$$

Architecture of the $L_p$ unit and the effect of the norm order $p$ on the unit's response curve.

Key features of this unit include:

  • Learnable Norm Order ($p$): By re-parameterizing $p$ as $1 + \log(1 + e^{\rho})$, the authors ensure $p \ge 1$, maintaining convexity and stability during training.
  • Learnable Centers ($c_i$): These act as biases for each input, allowing the unit to shift its response in the feature space.
  • Unified Pooling: The formula naturally interpolates between Average Pooling ($p=1$), RMS Pooling ($p=2$), and Max-Pooling ($p \to \infty$).

Geometric Efficiency and Decision Boundaries

Traditional piecewise-linear units like ReLU approximate curved boundaries using many flat segments. In contrast, an $L_p$ unit defines a "superelliptic" boundary. When $p=2$, the boundary is an ellipse; as $p$ increases, it becomes increasingly rectangular.

Learned decision boundaries for $p_1=2$ and $p_2=\infty$.

This geometric flexibility allows the network to "wrap" its decision boundaries around data clusters more efficiently. Interestingly, the optimal $p$ values were found to vary by task: the Pentomino dataset favored a bimodal distribution of $p$ values, while MNIST units tended toward values around 3.5. This suggests that different layers or units specialize in "softer" or "sharper" feature detection based on the data.

Experimental Results

The authors evaluated $L_p$ units across several benchmarks, demonstrating significant improvements over standard architectures:

  • Pentomino Dataset: The $L_p$ unit achieved a 31.85% error rate, a substantial improvement over the previous state-of-the-art of 44.6%. This task, involving complex geometric shapes, directly benefited from the unit's learnable curvature.
  • MNIST and Forest Covertype: The model achieved competitive results on MNIST (0.97% error) and set a new benchmark on the Forest Covertype dataset (2.83% error).
  • Recurrent Neural Networks: When integrated into Deep Transition RNNs for music prediction, $L_p$ units consistently outperformed standard sigmoid units. To maintain stability in RNNs, the authors utilized a "sandwich" architecture, placing $L_p$ units between saturating nonlinearities like tanh.

Conclusion

The $L_p$ unit provides a powerful alternative to fixed pooling and activation functions. By making the norm order a trainable parameter, neural networks can adapt their internal representations to the specific geometric needs of a dataset. While computationally more intensive than simple rectifiers, the $L_p$ unit's ability to model complex boundaries with fewer parameters marks a significant step toward more flexible and efficient deep learning architectures.

Summary updated

BibTeX
@inproceedings{gulcehre2014learned,
  author = {Çaglar Gülçehre and KyungHyun Cho and Razvan Pascanu and Yoshua Bengio},
  title = {{Learned-Norm Pooling for Deep Feedforward and Recurrent Neural Networks}},
  booktitle = {ECML/PKDD},
  year = {2014},
  doi = {10.1007/978-3-662-44848-9\_34},
}
Figure