Centroid Condition

Theorem (Centroid Condition (Scalar))

Consider all NN-level scalar quantizers with a given partition {R1,,RN}\{ R_{1},\dots,R_{N} \}. Among these, the quantizer QQ with output levels yi=argminyR E[d(X,y)XRi], i=1,,Ny_{i}=\underset{y\in\mathbb{R}}{\arg\min} \ E[d(X,y)|X\in R_{i}], \ i=1,\dots,Nhas minimum distortion.

Theorem (CC for MSE)

The yiy_{i}’s minimizing the MSE distortion given a partition {R1,,RN}\{ R_{1},\dots,R_{N} \} are uniquely given by yi=E[XXRi], i=1,,Ny_{i}=E[X|X\in R_{i}], \ i=1,\dots,N

Theorem (Centroid Condition (Vector))

Consider all NN-point vector quantizers with a given partition {R1,,RN}\{ R_{1},\dots,R_{N} \}. Among these, the quantizer QQ with output levels ci=argmincRk E[d(X,c)XRi], i=1,,N\mathbf{c}_{i}=\underset{\mathbf{c}\in\mathbb{R}^{k}}{\arg\min} \ E[d(\mathbf{X},\mathbf{c})|\mathbf{X}\in R_{i}], \ i=1,\dots,Nhas minimum distortion.

Intuition

Here we update each centroid, or each yiy_{i} by finding the yRy\in\mathbb{R} that creates minimum average distance of each xRix\in R_{i}.

Theorem (CC for MSE for vectors)

The yiy_{i}’s minimizing the MSE VQ Distortion given a partition {R1,,RN}\{ R_{1},\dots,R_{N} \} are uniquely given by ci=E[XXRi], i=1,,N\mathbf{c}_{i}=E[\mathbf{X}|\mathbf{X}\in R_{i}], \ i=1,\dots,N

Remark

If we have that XfX\sim f, then fXRi(x)={f(x)P(XRi)if xRi0otherwisef_{X|R_{i}}(x)=\begin{cases} \frac{f(x)}{P(X\in R_{i})} & \text{if }x\in R_{i} \\ 0 & \text{otherwise} \end{cases}so E[XXRi]=xfXRi(x)dx=Rixf(x)dxRif(x)dx=Rixf(x)dxP(XRi)E[X|X\in R_{i}]=\int\limits _{-\infty}^{\infty}xf_{X|R_{i}}(x) \, dx =\frac{ \int\limits _{R_{i}}xf(x) \, dx }{\int\limits_{R_{i}} f(x) \, dx }=\frac{ \int\limits _{R_{i}}xf(x) \, dx }{P(X\in R_{i})}

Linked from