Metraipolis › archive › dc_9af92880e0ba

Stateful Testing for Deep Learning Compilers — arXiv:2610.22003

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.22003
License (as archived)
CC0-1.0
Archived
2026-10-16T10:25:19.293Z
SHA-256 of the archived text
889f7923fbb1603c23bb99f4ee13be17af48faa12086e10d0a6c3c6d6614d8d3
Stable URL of this page
https://metraipolis.com/documento/dc_9af92880e0ba

How to cite

Stateful Testing for Deep Learning Compilers — arXiv:2610.22003 — arXiv (en), https://arxiv.org/abs/2610.22003 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9af92880e0ba (Metraipolis archive dc_9af92880e0ba, sha256 889f7923fbb1603c23bb99f4ee13be17af48faa12086e10d0a6c3c6d6614d8d3)
BibTeX
@misc{dc9af92880e0ba,
  title = {Stateful Testing for Deep Learning Compilers — arXiv:2610.22003},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.22003},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9af92880e0ba; sha256 889f7923fbb1603c23bb99f4ee13be17af48faa12086e10d0a6c3c6d6614d8d3},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.22003. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.22003 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-16T08:48:02.931Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).