Edge AI processors increasingly support several numerical formats instead of one universal precision. The three most important formats for current edge deployment are INT8, INT4, and FP16.
Choosing among them changes the balance between:
- model size,
- SRAM and DRAM usage,
- memory bandwidth,
- arithmetic throughput,
- energy per inference,
- model accuracy,
- accelerator compatibility.
The best format depends on both the model and the target chip.
Fundamentals and Technology Overview
Why Numerical Precision Matters
A neural network spends much of its time:
- reading weights,
- moving activations,
- performing multiply-accumulate operations.
Lower precision can reduce all three costs.
For the same number of values:
- FP16 uses 16 bits,
- INT8 uses 8 bits,
- INT4 uses 4 bits.
Arm's current quantization guidance notes that INT8 weights are roughly four times smaller than FP32 and INT4 weights roughly eight times smaller than FP32.
INT8
INT8 represents values using 8-bit integers.
It is one of the most widely supported AI deployment formats for:
- microcontrollers,
- NPUs,
- mobile accelerators,
- embedded vision systems.
Advantages
- strong hardware support,
- good accuracy-efficiency balance,
- efficient integer MAC operations,
- lower memory bandwidth,
- mature toolchains.
Limitations
- calibration is required,
- some models lose accuracy,
- unsupported operators may fall back to CPU.
INT4
INT4 uses only four bits per value.
It is attractive for larger edge models because it can cut weight storage roughly in half again compared with INT8.
Advantages
- very small weight storage,
- reduced memory bandwidth,
- useful for transformer and LLM-class workloads.
Limitations
- less hardware support than INT8,
- greater quantization error,
- more complex packing and kernels,
- accuracy may need QAT or advanced calibration.
INT4 is becoming important for mobile and edge AI, but it is not yet the default for deeply embedded MCU workloads.
FP16
FP16 is a 16-bit floating-point format.
It preserves floating-point behavior while reducing storage and bandwidth relative to FP32.
Advantages
- simpler model conversion,
- strong numerical range,
- often excellent accuracy retention,
- useful on GPUs and vector processors.
Limitations
- larger than INT8 and INT4,
- more memory traffic,
- not always ideal for ultra-low-power MCU inference.
Storage Comparison
For 10 million parameters:
| Format | Approximate Weight Storage |
|---|---|
| FP32 | 40 MB |
| FP16 | 20 MB |
| INT8 | 10 MB |
| INT4 | 5 MB |
These are approximate raw weight sizes before metadata and alignment.
Memory Bandwidth
Precision determines how many bytes must move between:
- memory,
- cache,
- NPU,
- vector units.
A bandwidth-limited model can gain significant speed from lower precision even if the compute engine is already fast.
Arithmetic Throughput
Many accelerators can perform more low-precision operations per cycle.
An NPU may therefore have much higher effective throughput for INT8 than FP16.
If it supports native INT4 arithmetic, the advantage can be larger still.
Accuracy Trade-Off
A practical rule is:
- FP16 usually produces the smallest accuracy change,
- INT8 often retains accuracy very well,
- INT4 is more model dependent.
But this is not universal.
Some models quantize extremely well while others are sensitive.
Calibration
INT8 and INT4 generally require representative calibration data.
Calibration determines:
- scale,
- zero point,
- clipping range.
Poor calibration can reduce accuracy badly.
Performance, Memory, and Data Processing
PTQ vs QAT
Post-training quantization is faster to deploy because it converts an existing trained model.
Quantization-aware training is more expensive but can preserve accuracy better.
INT4 often benefits more from QAT than INT8.
Per-Tensor vs Per-Channel Quantization
Per-channel quantization can improve accuracy for convolution weights because each channel gets its own scaling parameters.
The trade-off is slightly more metadata and implementation complexity.
Mixed Precision
Modern edge systems increasingly use mixed precision.
Example:
- INT4 weights for memory-heavy layers,
- INT8 activations,
- FP16 for sensitive operations.
This can be more efficient than forcing one precision across the entire model.
INT8 on Microcontrollers
INT8 remains the practical default for MCU AI because optimized libraries and embedded NPUs commonly support it.
Strong use cases include:
- TinyML,
- vibration analysis,
- audio classification,
- embedded vision.
INT4 on Edge AI Chips
INT4 becomes attractive when performance is dominated by:
- weight storage,
- memory bandwidth.
It is especially relevant to larger transformer and language-model workloads.
FP16 on GPUs and SoCs
FP16 fits well on:
- embedded GPUs,
- higher-performance SoCs,
- vector processors.
It is often preferred when numerical range matters and memory constraints are less severe.
Accumulators Matter
Low-precision multiplication does not necessarily mean low-precision accumulation.
Many accelerators use wider accumulators with INT8 or INT4 inputs to reduce numerical error.
Edge AI Chip Selection
Ask:
- Which precisions are accelerated natively?
- Does INT4 require software emulation?
- Which operators support INT8?
- Can the compiler automatically choose mixed precision?
- What happens when a layer is unsupported?
Real-Time Vision
For industrial object detection, INT8 is often the strongest first choice because it provides:
- compact models,
- low bandwidth,
- strong NPU support.
Large On-Device Models
For larger transformer or generative models, INT4 can become valuable because weight storage dominates total memory.
Implementation, Testing, and Optimization
Predictive Maintenance
For vibration and audio models, INT8 often provides enough accuracy while making deployment practical on:
- Cortex-M,
- DSP-enhanced MCUs,
- small NPUs.
Power and Thermal Impact
Lower precision can reduce energy by:
- moving fewer bytes,
- increasing arithmetic density,
- shortening inference time.
That can also reduce thermal load in sealed edge devices.
Operator Coverage
An unsupported INT8 or INT4 operator may force CPU fallback.
The resulting slowdown can matter more than the theoretical precision advantage.
Practical Comparison
| Factor | FP16 | INT8 | INT4 |
|---|---|---|---|
| Model size | Medium | Small | Very small |
| Accuracy retention | Excellent | Very good | Model dependent |
| MCU support | Moderate | Excellent | Limited |
| NPU support | Strong | Excellent | Growing |
| Memory bandwidth | Medium | Low | Very low |
| Calibration effort | Low | Moderate | Higher |
| Best fit | GPU/SoC | MCU/NPU edge AI | Large compressed edge models |
Common Mistake: Choosing the Lowest Bit Width
Lower precision is not automatically better.
If INT4 requires:
- CPU fallback,
- heavy QAT,
- additional model changes,
INT8 may provide better total system performance.
Common Mistake: Ignoring Activation Precision
Weight-only compression may reduce storage while runtime activation memory remains high.
Inspect both:
- weights,
- activations.
Common Mistake: Comparing File Size Only
A smaller model can still suffer from:
- unsupported operators,
- high activation RAM,
- slow preprocessing.
Selection Workflow
- Establish an FP32 baseline.
- Try FP16 if the target supports it efficiently.
- Try INT8 PTQ.
- Measure accuracy and memory.
- Benchmark latency and power.
- Try INT4 only when hardware and model justify it.
- Use mixed precision where helpful.
- Validate on production data.
Industrial Recommendation
For most MCU/NPU industrial applications:
start with INT8.
Choose FP16 when:
- accuracy sensitivity is high,
- hardware has strong FP16 acceleration.
Choose INT4 when:
- storage and bandwidth dominate,
- native 4-bit hardware exists,
- validation confirms acceptable accuracy.
Conclusion
INT8, INT4, and FP16 are not simply different file sizes. Each changes the balance among:
- memory,
- throughput,
- accuracy,
- power,
- hardware compatibility.
INT8 is currently the strongest general-purpose choice for embedded AI.
FP16 is valuable when floating-point range and easier accuracy retention matter.
INT4 is increasingly important for larger edge models where storage and bandwidth dominate.
The best precision is the lowest precision that still satisfies:
accuracy + latency + memory + power + hardware-support requirements.