A model converted for on device or accelerated inference ships once its top 1 accuracy matches the source model. Accuracy can match while individual decisions change, and the converter, its INT8 recipe and its calibration draw each move them. We convert 5 public checkpoints (four ImageNet classifiers and a sentiment model) with the documented FP32 and INT8 recipes of ExecuTorch, LiteRT, ONNX Runtime and TensorRT and compare every top 1 decision with the PyTorch source on 7,854 images and 1,938 sentences. All 34 strict FP32 conversions reproduce every decision, yet each of the 4 vision INT8 recipes that keeps accuracy equivalent flips more than 1% of decisions: ONNX Runtime static INT8 flips 4.07% (95% CI [3.65, 4.53]) of ResNet 50 decisions while accuracy moves by -0.15 points, and two builds of that recipe from different calibration draws disagree on 3.44% [3.06, 3.88]. Where accuracy is kept, the flipped inputs are the ones the source model barely decides (AUROC of the source margin 0.90 to 0.97 on ResNet 50, every 95% CI inside [0.89, 0.98]), but our preregistered claim that this holds for every recipe fails on the two mobile networks, where INT8 breaks accuracy outright. A probe set of the 200 training inputs with the smallest source margin, chosen before any conversion, flags all 40 vision stacks (recall 95% CI [0.91, 1.00]) and all 6 text stacks that flip at least 0.5% of decisions and none of the exact FP32 conversions, so conversion checks should compare decisions on such a probe set, not accuracy.


翻译:暂无翻译

0
下载
关闭预览

相关内容

机器学习系统设计系统评估标准
【AAAI2022】锚点DETR:基于transformer检测器的查询设计
专知会员服务
13+阅读 · 2021年12月31日
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
半监督多任务学习:Semisupervised Multitask Learning
我爱读PAMI
18+阅读 · 2018年4月29日
论文 | YOLO(You Only Look Once)目标检测
七月在线实验室
14+阅读 · 2017年12月12日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
乌克兰无人机饱和战场中的错误教训
专知会员服务
17+阅读 · 11月17日
面向最后一战术英里:美军无人机创新尝试
专知会员服务
14+阅读 · 11月17日
《美空军2026条令文件:对海压制作战》
专知会员服务
30+阅读 · 11月9日
人工智能与战争的未来
专知会员服务
14+阅读 · 11月8日
《Agent Mosaic:识别智能体LLM系统中的机密泄露》
专知会员服务
14+阅读 · 11月8日
相关VIP内容
【AAAI2022】锚点DETR:基于transformer检测器的查询设计
专知会员服务
13+阅读 · 2021年12月31日
相关资讯
disentangled-representation-papers
CreateAMind
26+阅读 · 2018年9月12日
半监督多任务学习:Semisupervised Multitask Learning
我爱读PAMI
18+阅读 · 2018年4月29日
论文 | YOLO(You Only Look Once)目标检测
七月在线实验室
14+阅读 · 2017年12月12日
相关基金
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员