The MPELU function is an activation function that extends ELU and includes ReLU, PReLU, and ELU as special cases.

It adds a learnable parameter βc\beta_c to the input of ELU to change the shape of the negative part, and, following PReLU, it also makes ELU's hyperparameter α\alpha a learnable αc\alpha_c. αc\alpha_c and βc\beta_c are held per channel (or shared across channels), and with αc=βc=1\alpha_c = \beta_c = 1 the function is identical to ELU. PELU is another extension of ELU with learnable parameters.

Because it is a smooth curve like ELU, it can mitigate the vanishing gradient problem and the exploding gradient problem.

MPELU(x)={x,x>0αc⋅(eβc⋅x−1),x≤0\text{MPELU}(x) = \begin{cases} x, & x > 0 \\ \alpha_c \cdot \left(e^{\beta_c \cdot x} - 1\right), & x \leq 0 \end{cases}

The output range is

−∞<MPELU(x)<∞-∞ < \text{MPELU}(x) < ∞