JAXBench: Benchmarking Autonomous TPU Kernel Optimization
Quick Answer
JAXBench introduces a TPU-native benchmark suite for optimizing AI-generated kernels on Google Cloud TPUs, featuring 50 JAX workloads.
Quick Take
It demonstrates a 1.28x speedup across benchmarks and a 1.60x speedup on hand-tuned kernels, highlighting the importance of target-specific context in kernel optimization.
Key Points
- JAXBench includes 50 relevant JAX workloads for TPU kernel optimization.
- Achieved a 1.28x speedup across benchmarks with improved correctness.
- Autocomp's beam-search pipeline yielded a 1.36x speedup over XLA.
- Eight hand-tuned kernels reached a 1.60x speedup compared to XLA.
- The benchmark suite supports open-source contributions for TPU optimization.
DeepSignal Analysis
What happened
JAXBench is a newly introduced benchmark suite designed for optimizing AI-generated kernels specifically on Google Cloud TPUs. It includes 50 JAX workloads and demonstrates significant performance improvements, achieving a 1.28x speedup across benchmarks and a 1.60x speedup on hand-tuned kernels.
Key evidence
- JAXBench comprises 50 JAX workloads relevant for optimization, extracted from production ML operators in the public MaxText library.
- The benchmark suite shows a 1.28x geometric mean speedup across all benchmarks and a 1.60x speedup on eight hand-tuned kernels compared to XLA.
- Conditioning on curated TPU documentation improved per-sample correctness from 5.8% to 37.3%, solving 48 out of 50 benchmarks.
Why it matters
The introduction of JAXBench fills a gap in TPU performance optimization, which previously lacked rigorous benchmarking like that available for GPUs. This suite not only aids in optimizing kernel performance but also emphasizes the importance of context-specific optimizations, potentially leading to more efficient AI model training and inference on TPUs.
What to watch
Paper Resources
Source Excerpt
Rigorous benchmarks have driven progress in autonomous GPU kernel performance optimization by establishing a shared target to hillclimb on, but no equivalent exists for TPUs. We present JAXBench, a TPU-native benchmark suite for AI-generated kernel optimization on Google Cloud TPUs. JAXBench comprises 50 JAX workloads that are both relevant and provide headroom for optimization. We extract 17 production ML operators from architectures in the public MaxText library such as Llama-3. 1, DeepSeek-V3,
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from arXiv cs.AI
See more →AINTMA: Agentic AI Architecture for Autonomous Test Management with Generative Intelligence, Secure Cloud Communication and Adaptive Quality Analytics
AINTMA, an autonomous test management architecture utilizing six specialized AI agents, achieves 88.4% test prioritization accuracy and reduces defect escape rates from 8.3% to 2.1%. The system demonstrates a 340% ROI within nine months, showcasing the potential of agentic AI in enhancing software quality management in cloud environments.


