TY - GEN
T1 - Tailored vertex ordering for faster triangle listing in large graphs
AU - Lecuyer, Fabrice
AU - Jachiet, Louis
AU - Magnien, Clemence
AU - Tabourier, Lionel
N1 - Publisher Copyright:
Copyright © 2023 by SIAM Unauthorized reproduction of this article is prohibited.
PY - 2023/1/1
Y1 - 2023/1/1
N2 - Listing triangles is a fundamental graph problem with many applications, and large graphs require fast algo- rithms. Vertex ordering allows the orientation of edges from lower to higher vertex indices, and state-of-the-art triangle listing algorithms use this to accelerate their ex- ecution and to bound their time complexity. Yet, only basic orderings have been tested. In this paper, we show that studying the precise cost of algorithms instead of their bounded complexity leads to faster solutions. We introduce cost functions that link ordering properties with the running time of a given algorithm. We prove that their minimization is NP-hard and propose heuris- tics to obtain new orderings with different trade-offs be- tween cost reduction and ordering time. Using datasets with up to two billion edges, we show that our heuristics accelerate the listing of triangles by an average of 38% when the ordering is already given as an input, and 16% when the ordering time is included.
AB - Listing triangles is a fundamental graph problem with many applications, and large graphs require fast algo- rithms. Vertex ordering allows the orientation of edges from lower to higher vertex indices, and state-of-the-art triangle listing algorithms use this to accelerate their ex- ecution and to bound their time complexity. Yet, only basic orderings have been tested. In this paper, we show that studying the precise cost of algorithms instead of their bounded complexity leads to faster solutions. We introduce cost functions that link ordering properties with the running time of a given algorithm. We prove that their minimization is NP-hard and propose heuris- tics to obtain new orderings with different trade-offs be- tween cost reduction and ordering time. Using datasets with up to two billion edges, we show that our heuristics accelerate the listing of triangles by an average of 38% when the ordering is already given as an input, and 16% when the ordering time is included.
M3 - Conference contribution
AN - SCOPUS:85150851312
T3 - Proceedings of the Workshop on Algorithm Engineering and Experiments
SP - 77
EP - 85
BT - 2023 Proceedings of the Symposium on Algorithm Engineering and Experiments, ALENEX 2023
PB - Society for Industrial and Applied Mathematics Publications
T2 - 2023 SIAM Symposium on Algorithm Engineering and Experiments, ALENEX 2023
Y2 - 22 January 2023 through 23 January 2023
ER -