Metraipolis › archive › dc_d6a1aa2048d0
The Output-Space Hypothesis: Enumerative Equivalence Checking for Tensor Programs — arXiv:2609.19611
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.19611
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-10T04:09:14.619Z
- SHA-256 of the archived text
d551959d1832d5c5f01789d67d99ecca8f4d3fae24b4a694eac0bef55aa17f5a- Stable URL of this page
https://metraipolis.com/documento/dc_d6a1aa2048d0
How to cite
The Output-Space Hypothesis: Enumerative Equivalence Checking for Tensor Programs — arXiv:2609.19611 — arXiv (en), https://arxiv.org/abs/2609.19611 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d6a1aa2048d0 (Metraipolis archive dc_d6a1aa2048d0, sha256 d551959d1832d5c5f01789d67d99ecca8f4d3fae24b4a694eac0bef55aa17f5a)
BibTeX
@misc{dcd6a1aa2048d0,
title = {The Output-Space Hypothesis: Enumerative Equivalence Checking for Tensor Programs — arXiv:2609.19611},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.19611},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d6a1aa2048d0; sha256 d551959d1832d5c5f01789d67d99ecca8f4d3fae24b4a694eac0bef55aa17f5a},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.19611. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Tensor programs, as used in deep learning models, are a prime target for optimization, as small performance improvements can have a large impact across training or inference workloads. However, such optimizations are complicated and can produce subtle bugs. Traditionally, correctness is assumed when differential testing against a reference on random inputs fails to reveal bugs. However, the inputs to these programs are massive tensors, and finding bugs can require generating extremely low likelihood inputs with precise relationships among their values. We propose a novel way to find bugs more consistently by flipping the quantifiers. Rather than generating a single input and checking all output tensor locations for equivalence, what if you could check a single output tensor location's equivalence for all inputs? We implement this idea in a system, \dirigo, by using a novel symbolic execution strategy. We demonstrate that \dirigo can find bugs effectively in a public dataset of 6,988 AI-written CUDA kernels that are all marked correct by differential testing. Of these, \dirigo finds 600 kernels that are actually buggy, and finds 97.3\% of those bugs within two minutes. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-18 in cs.LG). Categorie arXiv: Programming Languages (cs.PL) ; Machine Learning (cs.LG); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.19611 — 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-10T03:48:18.402Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).