NLReLU is an activation function that modifies the output of ReLU for positive inputs with a logarithm in order to increase nonlinearity.

Because NLReLU leaves the negative region unchanged, it has been pointed out that it can cause the vanishing gradient problem.

The parameter β is a hyperparameter (a non-learnable parameter).

NLReLU(x)=ln⁡(β⋅max⁡(0,   x)+1.0)\text{NLReLU}(x) = \ln\left( \beta \cdot \max(0,\,\,\, x) + 1.0 \right)

The output range is

0≦NLReLU(x)<∞0 ≦ \text{NLReLU}(x) < ∞

.