Choose INT8 Quantization Settings for a Vision Model on an Exynos NPU

Last updated: November 29, 2026

Quick Overview

A camera scene-detection model loses accuracy after post-training INT8 quantization for the phone NPU. Explain how scale and zero point are computed, compute them for a given activation range, and describe how you would recover the lost accuracy.

Samsung
Machine Learning
Machine Learning Engineer
Samsung
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Medium

0

0

0 solved


A camera scene-detection model loses accuracy after post-training INT8 quantization for the phone NPU. Explain how scale and zero point are computed, compute them for a given activation range, and describe how you would recover the lost accuracy.

Camera, Galaxy AI and Bixby models are deployed to Exynos and other mobile NPUs that run fastest in integer arithmetic. Interviewers check that you understand affine quantization concretely, can diagnose where accuracy goes, and know the toolbox from calibration choices to quantization-aware training.

What the Interviewer Expects
  • Writes the affine mapping and computes scale and zero point correctly
  • Distinguishes per-tensor and per-channel weight quantization
  • Explains calibration and outlier clipping (percentile or MSE-based ranges)
  • Uses layer-wise sensitivity analysis to find the layers that break
  • Proposes mixed precision and quantization-aware training when PTQ is not enough
Key Topics to Cover
quantization
on-device ML
calibration
quantization-aware training
NPU deployment
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • Which layer types are typically most sensitive, and why?
  • How does batch norm folding interact with per-channel quantization?
  • When would you choose INT4 weights with INT8 activations?
  • How do you verify that NPU results match the reference on device?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Ask: per-tensor or per-channel support on the NPU, symmetric or asymmetric activations, size of the calibration set, how big the drop is (for example top-1 from 92% to 84%), and whether we can retrain...

Approach

Affine quantization maps a real value xx to an integer q=round(x/s)+zq = \text{round}(x/s) + z, clamped to the integer range, and back via x^=s(q−z)\hat{x} = s(q - z). For an observed range [a,b][a, b] with uint8: $s = (b...


Submit Your Answer
Markdown supported

Related Questions