x^\hat{x}

Hat and tilde — an estimate or modified version

Read x̂ as "x hat" and x̃ as "x tilde". Both mark a changed copy of x: most often an estimate or a rounded version (hat), or a transformed version (tilde).

x^\hat{x} is what you get back after quantizing and then dequantizing xx. z^\hat{\mathbf{z}} is a codec's reconstruction of z\mathbf{z}. w^\hat{w} is a rounded weight. The gap between x^\hat{x} and xx is the error the method has to keep small.

The convention is loose, so read the surrounding sentence: in section 24.2 X^\hat{X} and W^\hat{W} are simply the rescaled matrices, not estimates. A tilde is used in a similar way for "the altered version of", such as q~\tilde{\mathbf{q}} for a query after RoPE has rotated it.

Example

x=0.137  →  x^=0.14x = 0.137 \;\to\; \hat{x} = 0.14

The stored value after rounding to two decimal places. The error is 0.003.

Where the course uses it

Related terms