mlsanityData to 7 Oct 2026

UniSparse: An Intermediate Language for General Sparse Format Customization

arXiv 2403.05802 ↗First posted 9 Mar 2024cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

The ongoing trend of hardware specialization has led to a growing use of custom data formats when processing sparse workloads, which are typically memory-bound. These formats facilitate optimized software/hardware implementations by utilizing sparsity pattern- or target-aware data structures and layouts to enhance memory access latency and bandwidth utilization. However, existing sparse tensor programming models and compilers offer little or no support for productively customizing the sparse formats. Additionally, because these frameworks represent formats using a limited set of per-dimension attributes, they lack the flexibility to accommodate numerous new variations of custom sparse data structures and layouts. To overcome this deficiency, we propose UniSparse, an intermediate language that provides a unified abstraction for representing and customizing sparse formats. Unlike the existing attribute-based frameworks, UniSparse decouples the logical representation of the sparse tensor (i.e., the data structure) from its low-level memory layout, enabling the customization of both. As a result, a rich set of format customizations can be succinctly expressed in a small set of well-defined query, mutation, and layout primitives. We also develop a compiler leveraging the MLIR infrastructure, which supports adaptive customization of formats, and automatic code generation of format conversion and compute operations for heterogeneous architectures. We demonstrate the efficacy of our approach through experiments running commonly-used sparse linear algebra operations with specialized formats on multiple different hardware targets, including an Intel CPU, an NVIDIA GPU, an AMD Xilinx FPGA, and a simulated processing-in-memory (PIM) device.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 10 of its 37 references that are in the map. First posted on arXiv 9 Mar 2024.

Builds on

10 of 37 references.

References · 10

  1. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  2. 2019Label Propagation for Deep Semi-supervised Learningcited by 287
  3. 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
  4. 2022SparseTIR: Composable Abstractions for Sparse Compilation in Deep Learningcited by 47
  5. 2018Format Abstraction for Sparse Tensor Algebra Compilerscited by 16
  6. 2022Compiler Support for Sparse Tensor Computations in MLIRcited by 8
  7. 2021Sextans: A Streaming Accelerator for General-Purpose Sparse-Matrix Dense-Matrix Multiplicationcited by 6
  8. 2020Automatic Generation of Efficient Sparse Tensor Format Conversion Routinescited by 4
  9. 2021Serpens: A High Bandwidth Memory Based Accelerator for General-Purpose Sparse Matrix-Vector Multiplicationcited by 2
  10. 2021Accelerating the SpMV kernel on standard CPUs by exploiting the partially diagonal structurescited by 1

Built on by

Cited by year

Citing papers per year: 2025: 4.

4 papers.