cs.PFAug 29, 2026

Spectral Analysis for Sparse Matrix Computation: Insights and Potential

Authors: Ruifeng Zhang, Xipeng Shen

Organizations: North Carolina State University Raleigh, North Carolina, USA

Abstract

Sparse computations are fundamental to scientific computing, graph analytics, and machine learning, yet their performance is highly sensitive to the diverse sparsity and patterns. This is because cache reuse, memory coalescing, and load balancing depend critically on the sparsity patterns. This work gives the first known exploration of the connections between sparse matrix computation and spectral analysis by treating sparse matrices as two-dimensional signals and analyzing their frequency-domain representations through Fast Fourier Transform. We show that spectral signatures uncover global structural characteristics that are not sufficiently captured by conventional spatial statistics and provide complementary information for understanding sparse computation performance. Experiments on incorporating spectral features into machine-learning-based SpMV format selection demonstrate the usefulness of such spectral analysis over a state-of-the-art spatial-only model. By uncovering the principled connections between spectral characteristics and sparse matrix computations, this work introduces a novel analytical perspective into sparse computation, and provides a new approach to enhancing the current sparse structure characterization and optimization. On pruned LLM decoding, adding spectral features improves kernel selection and yields 1.035--1.245×\times kernel speedups.

Figures & tables

Explore similar work

CardsList
  1. SparseDitto: An Agentic Sparse Compilation Framework through Architecture-Aware Synthesis on GPUs

    Aug 5, 2026Shiyang Li, Guangyan Sun, Jinwei Tang +3GPU Kernel OptimizationHigh-Performance Computing

  2. Sparse Attention Is Matrix Approximation, Not Choosing from a Bag of Values

    Oct 7, 2026Fang Wan, Xufeng Liu, Fan Li +1Sparse AttentionEfficient Attention

  3. Self-Supervised Learning for Sparse Matrix Reordering

    May 17, 2026Ziwei Li, Tao Yuan, Fangfang Liu +3