mlsanityData to 7 Oct 2026

DiTOX: Fault Detection and Localization in the ONNX Optimizer

arXiv 2505.01892 ↗First posted 3 May 2025cs.LG cs.AI cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

The ONNX Optimizer, part of the official ONNX repository and widely adopted for graph-level model optimizations, is used by default to optimize ONNX models. Despite its popularity, its ability to preserve model correctness has not been systematically evaluated. We present DiTOX, an automated framework for comprehensively assessing the correctness of the ONNX Optimizer using differential testing, fault localization, and evaluation techniques that generalize to other compiler optimizers. DiTOX applies optimization passes to a corpus of ONNX models, executes both original and optimized versions on user-defined inputs, and detects discrepancies in behavior or optimizer failures. When divergences are observed, DiTOX isolates the responsible optimization pass through iterative, fine-grained analysis. We evaluated DiTOX on 130 models from the ONNX Model Hub spanning vision and language tasks. We found that 9.2% of model instances crashed the optimizer or produced invalid models under default settings. Moreover, output discrepancies occurred in 30% of classification models and 16.6% of object detection and segmentation models, while text-based models were largely robust. Overall, DiTOX uncovered 15 issues -- 14 previously unknown -- affecting 9 of the 47 optimization passes as well as the optimizer infrastructure. All issues were reported to the ONNX Optimizer developers. Our results demonstrate that DiTOX provides a simple and effective approach for validating AI model optimizers and is readily extensible beyond ONNX.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 34 of its 67 references that are in the map. First posted on arXiv 3 May 2025.

Builds on

34 of 67 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  8. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  9. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  10. 2017Mask R-CNNcited by 7,259
  11. 2016Densely Connected Convolutional Networkscited by 6,691
  12. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
22 more
  1. 2014Going Deeper with Convolutionscited by 4,231
  2. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  3. 2015SSD: Single Shot MultiBox Detectorcited by 3,125
  4. 2018YOLOv3: An Incremental Improvementcited by 2,652
  5. 2016Identity Mappings in Deep Residual Networkscited by 1,960
  6. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  7. 2016YOLO9000: Better, Faster, Strongercited by 1,429
  8. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
  9. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  10. 2018Glow: Graph Lowering Compiler Techniques for Neural Networkscited by 73
  11. 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
  12. 2021Understanding Softmax Confidence and Uncertaintycited by 62
  13. 2023Speed Is All You Need: On-Device Acceleration of Large Diffusion Models via GPU-Aware Optimizationscited by 45
  14. 2021CompilerGym: Robust, Performant Compiler Optimization Environments for AI Researchcited by 41
  15. 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
  16. 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 29
  17. 2022Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutationcited by 9
  18. 2022Fuzzing Deep Learning Compilers with HirGencited by 6
  19. 2024Fuzzing MLIR Compilers with Custom Mutation Synthesiscited by 4
  20. 2023TorchProbe: Fuzzing Dynamic Deep Learning Compilerscited by 3
  21. 2023FetaFix: Automatic Fault Localization and Repair of Deep Learning Model Conversionscited by 3
  22. 2023Intersection over Union with smoothing for bounding box regressioncited by 1

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.