mlsanityData to 26 Nov 2026

Stateful Testing for Deep Learning Compilers

arXiv 2610.22003 ↗Submitted 15 Oct 2026cs.SE cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Modern deep learning compilers compile models lazily and cache artifacts across invocations. Retained compiler state can make a later invocation incorrect even when it is correct in isolation. An analysis of 26 publicly reported issues in PyTorch, JAX, and TensorFlow shows that detecting such bugs requires sequences that first establish compiler state and then expose a failure. We present Rondo, a stateful testing method that represents each test case as a model paired with an invocation sequence. Rondo mutates invocation sequences and uses a Markov chain Monte Carlo sampler guided by compilation behavior to favor rarely observed behaviors. Its three-way differential oracle compares execution without compilation, compiled execution with compiler state reset, and compiled execution with state retained. It confirms stateful bugs by replaying the same invocation with state retained and reset while preserving inputs and program state, then shortens sequences while preserving the original bug. We evaluate Rondo on four deep learning frameworks using 24 common model architectures. Rondo detects 117 bugs, including 35 stateful bugs. We submit 39 bug reports, including 18 for stateful bugs; developers confirm 35 reports, including 16 for stateful bugs, and fix 18 bugs, including 11 stateful bugs. Rondo achieves the highest behavior coverage and compiler Python source-line coverage among the compared methods, with 99.26% alarm precision. It shortens 44 of 117 invocation sequences, reducing the lengths of these 44 sequences by 83.34% on average.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 26 of its 55 references that are in the map. Submitted 15 Oct 2026.

Builds on

26 of 55 references.

References · 26

  1. 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 38
  2. 2020On Correctness of Automatic Differentiation for Non-Differentiable Functionscited by 21
  3. 2022Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutationcited by 14
  4. 2022Fuzzing Deep Learning Compilers with HirGencited by 10
  5. 2023NeuRI: Diversifying DNN Generation via Inductive Rule Inferencecited by 9
  6. 2016Skeletal Program Enumeration for Rigorous Compiler Testingcited by 7
  7. 2024Fuzzing MLIR Compilers with Custom Mutation Synthesiscited by 6
  8. 2024Enhancing Differential Testing With LLMs For Testing Deep Learning Librariescited by 6
  9. 2023TorchProbe: Fuzzing Dynamic Deep Learning Compilerscited by 5
  10. 2024Exo 2: Growing a Scheduling Languagecited by 5
  11. 2025TensorRight: Automated Verification of Tensor Graph Rewritescited by 5
  12. 2023On the Correctness of Automatic Differentiation for Neural Networks with Machine-Representable Parameterscited by 4
14 more
  1. 2024FTTN: Feature-Targeted Testing for Numerical Properties of NVIDIA & AMD Matrix Acceleratorscited by 4
  2. 2025DESIL: Detecting Silent Bugs in MLIR Compiler Infrastructurecited by 4
  3. 2023Training with Mixed-Precision Floating-Point Assignmentscited by 3
  4. 2024A Tale of Two DL Cities: When Library Tests Meet Compilercited by 3
  5. 2025DevMuT: Testing Deep Learning Framework via Developer Expertise-Based Mutationcited by 3
  6. 2025Scalpel: Automotive Deep Learning Framework Testing via Assembling Model Componentscited by 2
  7. 2026Testing Deep Learning Libraries via Neurosymbolic Constraint Learningcited by 2
  8. 2026Demystifying the Silence of Correctness Bugs in PyTorch Compilercited by 2
  9. 2026Tools-CC-Bench: a Benchmark Suite for Collective Communication with Compression in HPC and AI Workloadscited by 2
  10. 2022Formal Semantics for the Halide Languagecited by 1
  11. 2023Correctness Witness Validation by Abstract Interpretationcited by 1
  12. 2025Optimization-Aware Test Generation for Deep Learning Compilerscited by 1
  13. 2026TENSURE: Fuzzing Sparse Tensor Compilers (Registered Report)cited by 1
  14. 2026Grounding Deep Learning Framework Testing in Data Flowcited by 1

Built on by

Not cited yet.