This work introduces a novel nonparametric density index defined on graphs, the Sum-over-Forests (SoF) density index. It is based on a clear and intuitive idea: high-density regions in a graph are characterized by the fact that they contain a large amount of low-cost trees with high outdegrees while low-density regions contain few ones. Therefore, inspired by [1], a Boltzmann probability distribution on the countable set of forests in the graph is defined so that large (high-cost) forests occur with a low probability while short (low-cost) forests occur with a high probability. Then, the SoF density index of a node is defined as the expected outdegree of this node on the set of forests, thus providing a measure of density around that node. Following the matrix-forest theorem and a statistical physics framework, it is shown that the SoF density index can be easily computed in closed form through a simple matrix inversion. Experiments on artificial and real datasets show that the proposed index performs well on finding dense regions, for graphs of various origins.
Senelle, M., Garcia Diez, S., Mantrach, A., Shimbo, M., Saerens, M., & Fouss, F. (2014). The Sum-over-Forests density index: identifying dense regions in a graph. IEEE Transactions on Pattern Analysis and Machine Intelligence, 36(6), 1268-1274. https://doi.org/10.1109/TPAMI.2013.227 (Original work published 2014)