mlsanityData to 24 Nov 2026

XLA from the Trenches: Correctness on TPU Workloads at Scale

arXiv 2611.00624 ↗Submitted 31 Oct 2026cs.AI cs.LG cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Accelerating modern foundational models has pushed domain-specific compilers toward increasingly complex, multi-tiered optimization pipelines. However, this heavy optimization focus introduces delicate tradeoffs between peak execution performance and correctness. Subtle codegen defects can trigger numerical degradation and memory or buffer corruption, invalidating multi-million-dollar training runs and degrading live serving quality without raising obvious compiler errors. In this paper, we present a battle-tested methodology for verifying and triaging Google's XLA:TPU compiler at hyperscale. We leverage fuzzing techniques, combining synthetic program generation with real production traces, while orchestrating AI agent swarms to autonomously generate stress tests, reproduce failures, and draft fixes. To pinpoint root causes in full workloads, we pair this with a hierarchical differential pipeline that bisects large graphs down to individual failing operations inside fused kernels. Deployed in production, our framework has already driven the resolution of over 142 compiler bugs (with 103 additional findings under review), from which we distill pragmatic lessons learned.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 13 of its 30 references that are in the map. Submitted 31 Oct 2026.

Builds on

13 of 30 references.

References · 13

  1. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 634
  2. 2018Learning to Optimize Tensor Programscited by 146
  3. 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 91
  4. 2018Glow: Graph Lowering Compiler Techniques for Neural Networkscited by 80
  5. 2022NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilerscited by 38
  6. 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 38
  7. 2022Muffin: Testing Deep Learning Libraries via Neural Architecture Fuzzingcited by 18
  8. 2022Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutationcited by 14
  9. 2022Fuzzing Deep Learning Compilers with HirGencited by 10
  10. 2024Fuzzing MLIR Compilers with Custom Mutation Synthesiscited by 6
  11. 2025TensorRight: Automated Verification of Tensor Graph Rewritescited by 5
  12. 2025DESIL: Detecting Silent Bugs in MLIR Compiler Infrastructurecited by 4
1 more
  1. 2026Testing, Credible Compilation, and Verification in the Axon Verified Compiler in Lean and Claude Codecited by 2

Built on by

Not cited yet.