Skip to content
nonconvexcard

The round-trip error bound

ProofFoundation⏱ 15 minQuantizationroundingbound

Problem

Prove that an affine quantizer with step Δ\Delta satisfies ∣x^−x∣≤Δ/2|\widehat x - x| \le \Delta/2 for every unclipped xx, and show the bound is attained. Then show that the bound fails, and by how much, when xx lies outside the clipping range.

Write a complete argument. Every inequality you use should be one you could state precisely.

Solution

Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.

Related problems

All problems
SolvedProblemFieldTypeDifficultyTime
The true bit width of a group-quantized formatQuantizationNumericalFoundation15 min
Six decibels per bit, and what outliers costQuantizationNumericalBeginner30 min
The Δ²/12 noise varianceQuantizationProofBeginner15 min
AdaBoost drives training error to zero exponentiallyClassical MLProofAdvanced1 hour
Optimal clipping for a Laplace-distributed tensorQuantizationProofAdvanced1 hour