PAU was proposed for learning flexible activation functions and is defined as a rational function.
P(x) and Q(x) are polynomials. Their coefficients (a, b) are learnable parameters, and the polynomial degrees (m, n) are hyperparameters (non-learnable parameters) (m = 5 and n = 4 in the original paper's experiments).
The polynomial degrees must be chosen appropriately, but training converges quickly and the function works well across a wide range of tasks.
- Experimental results
Tested on a variety of networks, including VGG8, MobileNetV2, ResNet, and DenseNet, it has been shown to outperform many existing activation functions.
On a German-to-English translation task with an LSTM-based Seq2Seq model, Tanh and SELU performed best, and PAU was among the next-best activation functions.
On a speech recognition task with the Deep Speech 2 framework, it was rated one of the most suitable activation functions, together with PReLU, GELU, Swish, and Mish.
Because the value diverges when the denominator reaches 0, the original paper's experiments use the "safe PAU", which takes the absolute value in the denominator.
Reference: Activation Functions in Deep Learning: A Comprehensive Survey and Benchmark (2022)
