DiTOX: Fault Detection and Localization in the ONNX Optimizer
Nikolaos Louloudakis, Ajitha Rajan

TL;DR
DiTOX is an automated framework that systematically tests the correctness of the ONNX Optimizer, revealing numerous previously unknown issues and enhancing trust in model optimization processes.
Contribution
We introduce DiTOX, a novel differential testing framework for the ONNX Optimizer that detects, isolates, and reports faults, improving validation of AI model optimizers.
Findings
9.2% of models crashed or produced invalid results
30% of classification models showed output discrepancies
15 issues were uncovered, 14 of which were previously unknown
Abstract
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.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsSparse Evolutionary Training
