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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Silent Numerical Failures in On-Device ML Converters: A Systematic Audit of FP16 Overflow in Apple Neural Engine Deployment

Ashutosh Kumar Singh Ashutosh Kuma Singh
Zenodo (CERN European Organization for Nuclear Research)
Radiation Effects in Electronics
preprint

Silent Numerical Failures in On-Device ML Converters: A Systematic Audit of FP16 Overflow in Apple Neural Engine Deployment

Ashutosh Kumar Singh Ashutosh Kuma Singh
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Winterkvist.com (Sweden) (SE)
Radiation Effects in Electronics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.