English

Sandpile Prediction on Undirected Graphs

Data Structures and Algorithms 2024-04-09 v3

Abstract

The Abelian Sandpile\textit{Abelian Sandpile} model is a well-known model used in exploring self-organized criticality\textit{self-organized criticality}. Despite a large amount of work on other aspects of sandpiles, there have been limited results in efficiently computing the terminal state, known as the sandpile prediction\textit{sandpile prediction} problem. On graphs with special structures, we present algorithms that compute the terminal configurations for sandpile instances in O(nlogn)O(n \log n) time on trees and O(n)O(n) time on paths, where nn is the number of vertices. Our algorithms improve the previous best runtime of O(nlog5n)O(n \log^5 n) on trees [Ramachandran-Schild SODA '17] and O(nlogn)O(n \log n) on paths [Moore-Nilsson '99]. To do so, we move beyond the simulation of individual events by directly computing the number of firings for each vertex. The computation is accelerated using splittable binary search trees. In addition, we give algorithms in O(n)O(n) time on cliques and O(nlog2n)O(n \log^2 n) time on pseudotrees. On general graphs, we propose a fast algorithm under the setting where the number of chips NN could be arbitrarily large. We obtain a logN\log N dependency, improving over the poly(N)\mathtt{poly}(N) dependency in purely simulation-based algorithms. Our algorithm also achieves faster performance on various types of graphs, including regular graphs, expander graphs, and hypercubes. We also provide a reduction that enables us to decompose the input sandpile into several smaller instances and solve them separately.

Keywords

Cite

@article{arxiv.2307.07711,
  title  = {Sandpile Prediction on Undirected Graphs},
  author = {Ruinian Chang and Jingbang Chen and Ian Munro and Richard Peng and Qingyu Shi and Zeyu Zheng},
  journal= {arXiv preprint arXiv:2307.07711},
  year   = {2024}
}

Comments

68 pages, submitted to FOCS24

R2 v1 2026-06-28T11:31:05.236Z