Machine Learning System Design Interview #15 - The Counterintuitive Truth About Quantization and Robustness
How “dumbing down” your model creates a natural shield against small-scale adversarial noise.
You’re in a Machine Learning interview at Google. The interviewer sets a trap:
“Our edge model is vulnerable to adversarial noise, but we have strict latency limits. Should we avoid quantization (keeping Float32) to preserve model stability?”
90% of candidates walk right into the trap and say “Yes, absolutely avoid quantization. If the model is already struggling with noise, reducing precision from Float32 to Int8 will only make it worse. Quantization adds noise via rounding errors. Making the model dumber is the last thing we want for robustness.”
This intuition fails because the candidates are conflating 𝐏𝐫𝐞𝐜𝐢𝐬𝐢𝐨𝐧 with 𝐑𝐨𝐛𝐮𝐬𝐭𝐧𝐞𝐬𝐬.


