Glossary · Term

nonlinearity

← all terms

Definition

Plain language

A relationship where doubling the input doesn't simply double the output.

As stated in the literature

Any mapping not expressible as a weighted sum of inputs; in neural networks it is introduced by activation functions and is what lets a network exceed a best-fitting linear predictor.

Also called: nonlinear, non-linear, non-linearity

Why it matters: Without nonlinearity, stacking layers in a neural network would collapse into a single straight-line formula, so no amount of depth or data would let it learn anything complicated.

For example, adding a second spoonful of salt to a soup doesn't make it exactly twice as tasty — past a point it makes things worse, which a straight-line model could never capture.

Heard on the show

“It's a way of analyzing nonlinear dynamical systems by finding a linear operator that describes how observable quantities evolve.”
Episode 033 — Echo: The Paper Arguing You Never Needed a KV Cache for Retrieval

Related terms