Silent Numerical Failures in On-Device ML Converters: A Systematic Audit of FP16 Overflow in Apple Neural Engine Deployment
Apple's Neural Engine (ANE) executes neural network operations in FP16 arithmetic, making it susceptible to overflow and underflow failures. This work presents a systematic audit of Apple's coremltools converter and identifies five operations that silently produce incorrect results on ANE: softplus, mish, reduce_log_sum_exp, log_softmax, and logcumsumexp. We derive numerically stable implementations, provide quantitative failure analysis, and submit fixes with regression tests to the coremltools repository. The findings impact major model families including YOLO, BERT, ViT, MobileNetV3, and CTC-based speech recognition systems.
Authors
- Ashutosh Kumar Singh Ashutosh Kuma Singh (ORCID: https://orcid.org/0009-0005-7720-2967)
Institutions
- Winterkvist.com (Sweden) (SE)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-05-30
- DOI
- https://doi.org/10.5281/zenodo.20464611
- Primary Topic
- Radiation Effects in Electronics
- Type
- preprint