Metraipolis › archive › dc_4290f4b69064

How the Dirty Set Moves: Characterizing Schedule Reuse in Incremental Sparse Matrix Multiplication — arXiv:2610.19489

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.19489
License (as archived)
CC0-1.0
Archived
2026-10-15T14:08:59.931Z
SHA-256 of the archived text
a969aceac1c51b399369387e88ee20173ffbe646186a906b5de2b81935fdedff
Stable URL of this page
https://metraipolis.com/documento/dc_4290f4b69064

How to cite

How the Dirty Set Moves: Characterizing Schedule Reuse in Incremental Sparse Matrix Multiplication — arXiv:2610.19489 — arXiv (en), https://arxiv.org/abs/2610.19489 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4290f4b69064 (Metraipolis archive dc_4290f4b69064, sha256 a969aceac1c51b399369387e88ee20173ffbe646186a906b5de2b81935fdedff)
BibTeX
@misc{dc4290f4b69064,
  title = {How the Dirty Set Moves: Characterizing Schedule Reuse in Incremental Sparse Matrix Multiplication — arXiv:2610.19489},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.19489},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4290f4b69064; sha256 a969aceac1c51b399369387e88ee20173ffbe646186a906b5de2b81935fdedff},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.19489. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Sparse matrices, in which most entries are zero, are central to scientific simulation, graph analytics and machine learning, and their multiplication with dense inputs is a core parallel kernel. In many applications the matrix stays fixed while only a few input rows change per step, so the result can be updated from those rows alone, which we call the dirty set. Sparse kernels often add a second optimization based on the inspector-executor principle, in which a tiled schedule is prepared once and reused across calls. However, when this reuse remains profitable as the dirty set moves is not well characterized. In this paper, we show that retained tiled execution rarely beats direct CSC in incremental sparse matrix multiplication, although incremental execution itself remains highly profitable. Across 21 SuiteSparse matrices and controlled patterns of motion, a direct column-wise incremental update is 2.1-8.2x faster than the best of eight full-recomputation codes, among them Intel oneMKL and PyTorch. Yet the same direct update outperforms a tiled executor that retains tile preparation and caches assembled schedules in 779 of 837 workloads. Separating reuse into per-tile preparation and cached schedules shows that the benefit comes from preparation; extra cache capacity seldom helps because a tile set rarely returns after a different one has intervened. Tiling is faster only when tiles merge many entries into each output write, a structural property that we predicted before measurement and confirmed on four held-out matrices of the same family. These results show that the structure of the matrix and the motion of the dirty set, rather than the sophistication of the schedule, determine whether reuse is profitable. We anticipate that our methodology and guidelines will help developers decide when to build schedule reuse into incremental sparse runtimes.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.PF, nuovi lavori del giorno).
Categorie arXiv: Performance (cs.PF) ; Distributed, Parallel, and Cluster Computing (cs.DC); Mathematical Software (cs.MS).
Pagina del lavoro: https://arxiv.org/abs/2610.19489 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-15T13:51:05.301Z dalla pagina https://arxiv.org/list/cs.PF/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).