Generalized Activation via Multivariate Projection

Jiayun Li, Yuxiao Cheng, Yiwen Lu, Zhuofan Xia, Yilin Mo +1 more
9/29/2023
cs.LG

Official code: ljy9912/mimo_nn (2 stars, last commit 2024-05-20).

Abstract

Activation functions are essential to introduce nonlinearity into neural networks, with the Rectified Linear Unit (ReLU) often favored for its simplicity and effectiveness. Motivated by the structural similarity between a shallow Feedforward Neural Network (FNN) and a single iteration of the Projected Gradient Descent (PGD) algorithm, a standard approach for solving constrained optimization problems, we consider ReLU as a projection from R onto the nonnegative half-line R+. Building on this interpretation, we extend ReLU by substituting it with a generalized projection operator onto a convex cone, such as the Second-Order Cone (SOC) projection, thereby naturally extending it to a Multivariate Projection Unit (MPU), an activation function with multiple inputs and multiple outputs. We further provide mathematical proof establishing that FNNs activated by SOC projections outperform those utilizing ReLU in terms of expressive power. Experimental evaluations on widely-adopted architectures further corroborate MPU's effectiveness against a broader range of existing activation functions.

View on arXivView PDF

Code Implementations(1)

21Shell, PythonSep 29, 20232 years ago

Similar Papers

Cite this paper

@article{li2023generalized,
  title  = {Generalized Activation via Multivariate Projection},
  author = {Jiayun Li and Yuxiao Cheng and Yiwen Lu and Zhuofan Xia and Yilin Mo and Gao Huang},
  year   = {2023},
  eprint = {2309.17194},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.17194v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.17194.svg)](https://codeofpaper.com/paper/2309.17194)

Discussion