AI Interview Prep

AI Interview Prep

Computer Vision Interview Questions #8 – The Zero-Padding Distribution Trap

Why injecting zeros at image borders silently breaks translation equivariance and corrupts edge statistics.

Hao Hoang's avatar
Hao Hoang
Jan 09, 2026
∙ Paid

You’re in a Senior Computer Vision Interview at OpenAI and the interviewer asks:

“We use Zero-Padding to maintain feature map dimensions (e.g., 32x32). But from a signal processing perspective, why is injecting zeros at the borders dangerous for your model’s statistical distribution?”

Most of candidates say: “It’s just a convenience so the output size matches the input size. It helps us stack deep layers.”

That is the Wikipedia definition. It misses the mathematical reality of what they are actually doing to the data.

The reality is that 𝐙𝐞𝐫𝐨 𝐢𝐬 𝐧𝐨𝐭 𝐍𝐨𝐭𝐡𝐢𝐧𝐠. In statistics and signal processing, 𝘡𝘦𝘳𝘰 𝘪𝘴 𝘢 𝘷𝘦𝘳𝘺 𝘴𝘱𝘦𝘤𝘪𝘧𝘪𝘤, 𝘴𝘵𝘳𝘰𝘯𝘨 𝘷𝘢𝘭𝘶𝘦.

When you pad with zeros, you are fundamentally altering the data distribution at the edges of your image.

Here is the breakdown:

AI Interview Prep is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

User's avatar

Continue reading this post for free, courtesy of Hao Hoang.

Or purchase a paid subscription.
© 2026 Hao Hoang · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture