Neural Networks with Activation Networks

Jinhyeok Jang, Jaehong Kim, Jaeyeon Lee, Seungjoon YangarXiv 2018

Abstract

This work presents an adaptive activation method for neural networks that exploits the interdependency of features. Each pixel, node, and layer is assigned with a polynomial activation function, whose coefficients are provided by an auxiliary activation network. The activation of a feature depends on the features of neighboring pixels in a convolutional layer and other nodes in a dense layer. The dependency is learned from data by the activation networks. In our experiments, networks with activation networks provide significant performance improvement compared to the baseline networks on which they are built. The proposed method can be used to improve the network performance as an alternative to increasing the number of nodes and layers.

Introduction

In standard deep learning, activation functions such as ReLU, Sigmoid, or Tanh are typically static and point-wise. The output of a neuron depends only on its own input, and the function's shape remains fixed regardless of the state of neighboring neurons. This approach lacks the dynamic flexibility found in biological systems, where mechanisms like lateral inhibition allow neurons to interact and sharpen signals.

This paper introduces "Activation Networks" (ANs)—auxiliary sub-networks that replace static activation functions with learned, context-dependent polynomials. By allowing the activation of a neuron to depend on its neighbors, the authors enable neural networks to capture complex feature interdependencies, leading to higher accuracy and faster convergence with fewer parameters than simply increasing model depth or width.

Methods

The core innovation is the Activation Network (AN), an auxiliary architecture that operates alongside the main network to dynamically generate activation functions.

Architecture of Activation Networks
  1. Polynomial Activations: Instead of a fixed function, each node (in dense layers) or pixel (in convolutional layers) uses a $K$-th order polynomial activation function: $x = \sum_{k=0}^K a_k u^k$.
  2. Dynamic Coefficients: The coefficients ($a_k$) are not fixed weights but are the outputs of the auxiliary activation network.
  3. Contextual Input: The activation network processes the intermediate outputs of the current layer. In convolutional layers, the activation of a specific pixel is determined by a small "activation convolution" that observes the surrounding neighborhood. In dense layers, it considers other nodes within the same layer.
  4. Joint Training: The main network and the activation network are trained simultaneously using the same loss function, allowing the AN to learn optimal activation shapes for specific input patterns.

Results and Key Insights

The proposed method was evaluated on CIFAR-10 for object recognition (using LeNet and VGG16) and MNIST for image denoising (using U-Net).

High-Level Feature Extraction

A striking finding is that networks equipped with ANs begin extracting high-level, recognizable features in the very first layers. In standard CNNs, such features typically only emerge deep in the network after multiple stages of abstraction.

Early-layer feature maps comparison

Performance and Efficiency

  • LeNet on CIFAR-10: LeNet-AN achieved 72.56% accuracy with approximately 45k parameters. To match this, a standard LeNet required widening to nearly 147k parameters.
  • VGG16 Efficiency: The VGG16-AN reached 83.60% accuracy, up from the 80.97% baseline. Notably, a "slim" version (VGGns-AN) used only 21.7% of the baseline's parameters while still outperforming it with 82.05% accuracy.
  • Denoising: In U-Net denoising tasks, the proposed method achieved a lower Mean Squared Error (0.0133 vs. 0.0144) and produced visually cleaner reconstructions with fewer artifacts.

Conclusion

Activation Networks offer a parameter-efficient alternative to increasing model scale, providing a "smarter" way to utilize network capacity. While the method increases computational complexity (FLOPs) due to the auxiliary network execution, it significantly improves convergence speed and final performance. Future research may address the stability of higher-order polynomials and utilize Neural Architecture Search to further optimize the structure of the activation networks.

Summary updated

Abstract

This work presents an adaptive activation method for neural networks that exploits the interdependency of features. Each pixel, node, and layer is assigned with a polynomial activation function, whose coefficients are provided by an auxiliary activation network. The activation of a feature depends on the features of neighboring pixels in a convolutional layer and other nodes in a dense layer. The dependency is learned from data by the activation networks. In our experiments, networks with activation networks provide significant performance improvement compared to the baseline networks on which they are built. The proposed method can be used to improve the network performance as an alternative to increasing the number of nodes and layers.
BibTeX
@misc{jang2018neural,
  author = {Jinhyeok Jang and Jaehong Kim and Jaeyeon Lee and Seungjoon Yang},
  title = {{Neural Networks with Activation Networks}},
  year = {2018},
  eprint = {1811.08618},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.08618},
}

Loading related content...

Figure