Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks

Kahfi S. Zulkifli, Wenbo Qian, Shaowei Zhu, Yuan Zhou, Zhen Zhang +1 more
9/12/2025
cs.LGcs.PL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zulkifli2025verifying,
  title  = {Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks},
  author = {Kahfi S. Zulkifli and Wenbo Qian and Shaowei Zhu and Yuan Zhou and Zhen Zhang and Chang Lou},
  year   = {2025},
  eprint = {2509.10694},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.10694v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.10694.svg)](https://codeofpaper.com/paper/2509.10694)

Discussion