TENSURE: Fuzzing Sparse Tensor Compilers (Registered Report)
Kabilan Mahathevan, Yining Zhang, Muhammad Ali Gulzar, Kirshanthan Sundararajah

TL;DR
TENSURE is a novel fuzzing framework that effectively tests sparse tensor compilers by generating valid, complex tensor contractions, revealing widespread bugs and emphasizing the need for specialized testing tools.
Contribution
It introduces a constraint-based, semantic-validity-guaranteeing fuzzing approach for sparse tensor compilers using Einsum notation and mutation operators.
Findings
Exposed crashes and miscompilations in TACO and Finch.
Achieved 100% validity in generated kernels, outperforming baseline methods.
Revealed widespread fragility in state-of-the-art sparse tensor systems.
Abstract
Sparse Tensor Compilers (STCs) have emerged as critical infrastructure for optimizing high-dimensional data analytics and machine learning workloads. The STCs must synthesize complex, irregular control flow for various compressed storage formats directly from high-level declarative specifications, thereby making them highly susceptible to subtle correctness defects. Existing testing frameworks, which rely on mutating computation graphs restricted to a standard vocabulary of operators, fail to exercise the arbitrary loop synthesis capabilities of these compilers. Furthermore, generic grammar-based fuzzers struggle to generate valid inputs due to the strict rules governing how indices are reused across multiple tensors. In this paper, we present TENSURE, the first extensible black-box fuzzing framework specifically designed for the testing of STCs. TENSURE leverages Einstein Summation…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Software Testing and Debugging Techniques · Software System Performance and Reliability
