SAF is an activation function whose shape adapts dynamically to each unit of a neural network.

The shape of the function is learnable: instead of using a predefined function (such as ReLU or the sigmoid function), the parameters of the activation function itself are learned.

Each unit has its own nonlinearity, and each neuron automatically learns the most effective activation function shape, which allows more flexible representations.

Its expressive power is very high, but without careful parameter tuning it is prone to overfitting.

The idea of representing nonlinearities with learnable splines is also used in KAN (Kolmogorov-Arnold Networks). The original paper suppresses overfitting by applying regularization that keeps the knots (control points) from drifting too far from their initial values.

SAF(x)=Φ(s; q),s=w⊤x\text{SAF}(x) = \Phi(s;\ \mathbf{q}), \quad s = \mathbf{w}^\top \mathbf{x}

q\mathbf{q} holds the values of equally spaced knots (control points), and Φ\Phi is the function that interpolates them with a cubic spline (Catmull-Rom spline).