SLAF is a type of learnable activation function: an adaptive activation function that adjusts its nonlinearity based on the data and the complexity of the network.

The SLAF function is computed as the sum of an ensemble of different functions, each multiplied by a learned coefficient.

SLAF is an approach that lets the network learn the optimal nonlinearity adapted to the data.

By combining different functions and learning their contributions, it achieves a more flexible activation function.

Because it adds learnable parameters, the parameter count may increase slightly.

However, this increase is generally considered negligible compared with the total number of parameters in the network.

SLAF(x)=∑i=0N−1ai⋅xi\text{SLAF}(x) = \sum_{i=0}^{N-1} a_i \cdot x^i

The formula above is the case where Taylor polynomials (1,x,x2,…1, x, x^2, \dots) are used as the basis. In the original paper, each basis function is normalized by its mean and variance before use, so that the gradients do not become too large.