mlsanityData to 14 Oct 2026

Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks

arXiv 2509.10694 ↗First posted 12 Sep 2025cs.LG cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Modern machine learning frameworks support very large models by incorporating parallelism and optimization techniques. Yet, these very techniques add new layers of complexity, introducing silent errors that severely degrade model performance. Existing solutions are either ad hoc or too costly for production. We present Scalify, a lightweight framework that exposes silent errors by verifying semantic equivalence of computational graphs using equality saturation and Datalog-style reasoning. To scale, Scalify partitions graphs with parallel rewriting and layer memoization, reuses rewrite templates, and augments equality saturation with relational reasoning and symbolic bijection inference. It further localizes discrepancies to precise code sites, turning verification results into actionable debugging guidance. Scalify verifies models as large as Llama-3.1-405B within minutes on a commodity machine and exposed five unknown bugs in Amazon production machine learning frameworks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 82 references that are in the map. First posted on arXiv 12 Sep 2025.

Builds on

15 of 82 references.

References · 15

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  3. 2017DeepTest: Automated Testing of Deep-Neural-Network-driven Autonomous Carscited by 251
  4. 2024Mirage: A Multi-Level Superoptimizer for Tensor Programscited by 41
  5. 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
  6. 2021Equality Saturation for Tensor Graph Superoptimizationcited by 27
  7. 2021Silent Bugs in Deep Learning Frameworks: An Empirical Study of Keras and TensorFlowcited by 25
  8. 2021Rewrite Rule Inference Using Equality Saturationcited by 10
  9. 2022Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutationcited by 10
  10. 2022BagPipe: Accelerating Deep Recommendation Model Trainingcited by 10
  11. 2022On Neural Network Equivalence Checking using SMT Solverscited by 10
  12. 2025Training with Confidence: Catching Silent Errors in Deep Learning Training with Automated Proactive Checkscited by 10
3 more
  1. 2023MCTS-GEB: Monte Carlo Tree Search is a Good E-graph Buildercited by 5
  2. 2023Better Together: Unifying Datalog and Equality Saturationcited by 4
  3. 2025TrainVerify: Equivalence-Based Verification for Distributed LLM Trainingcited by 3

Built on by

Not cited yet.