← All parts of this equation

Equation 31 · Part 2 · How a Model Actually Gets Small Enough to Run on a Phone

Symbol x

E ⁣[(x−x^)2]≈s212\mathbb{E}\!\left[(x - \hat{x})^2\right] \approx \frac{s^2}{12}
xx

What this part means

x is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

Its job in the formula

x is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.

The passage around this formula

for a signed integer of b bits. An 8-bit integer has 2^8=256 representable levels; a 4-bit integer has 2^4=16 . That sixteen-fold reduction in available codes is the entire cost of quantization in one number. Treating the rounding error as approximately uniform over one quantization step s , its expected squared magnitude is the classical result E ⁣[(x−x^)2]≈s212\mathbb{E}\!\left[(x - \hat{x})^2\right] \approx \frac{s^2}{12}. so halving the number of bits, which roughly doubles s at fixed range, roughly quadruples the expected squared error per weight. That is why INT8 is usually described as close to free and INT4 is not: the error a network has to absorb does not grow gently as bits are removed, it grows quadratically in the step size, and every bit…

Read this part in the article →

Learn the underlying idea

A variable is a named place for a value. Its letter is a local label: x can mean position in one formula and a data point in another.

Open the illustrated variables: a letter stands for a value guide →

See this notation across published equations →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.