Fast Incremental von Neumann Graph Entropy Computation: Theory, Algorithm, and Applications

Pin-Yu Chen, Lingfei Wu, Sijia Liu, Indika Rajapakse

Introduction

Measuring structural complexity and monitoring changes in evolving networks are fundamental tasks in network science. The von Neumann Graph Entropy (VNGE), derived from quantum information theory, provides a robust information-theoretic measure for these purposes. However, its traditional computation requires the full eigenspectrum of the graph Laplacian, leading to a prohibitive $O(n^3)$ time complexity. This paper introduces FINGER (Fast Incremental von Neumann Graph EntRopy), a framework that reduces this complexity to linear $O(n+m)$, enabling real-time analysis of massive, dynamic graphs.

The Computational Bottleneck of VNGE

VNGE treats a graph's normalized Laplacian matrix as a density matrix and calculates its Shannon entropy. For a graph with $n$ nodes, the exact calculation involves finding all eigenvalues $\lambda_i$, which is computationally expensive. This bottleneck prevents the application of VNGE to large-scale social, biological, or technological networks. Furthermore, in dynamic settings where edges are frequently added or removed, recomputing the entire spectrum for every update is infeasible.

The FINGER Framework

The FINGER framework addresses these challenges through quadratic approximations and incremental update strategies.

Approximation Strategies

The core of FINGER lies in a Taylor series expansion of the entropy formula, which simplifies the calculation to the trace of the squared Laplacian. This term depends only on node degrees and edge weights, which are computable in $O(n+m)$ time. The authors propose two specific proxies:

  1. Batch Proxy ($\hat{H}$): Utilizes the quadratic approximation and the largest eigenvalue ($\lambda_{max}$) for static graph analysis.
  2. Incremental Proxy ($\tilde{H}$): Replaces $\lambda_{max}$ with the maximum node degree ($s_{max}$), allowing for trivial updates in streaming data environments.
Comparison of exact von Neumann entropy (H) with FINGER batch (H-hat) and incremental (H-tilde) proxies across different graph topologies and parameters.

Incremental Updates

FINGER provides exact formulas to update the quadratic term $Q$ when the graph structure changes. The update cost is proportional only to the magnitude of the change ($O(\Delta n + \Delta m)$), rather than the total size of the graph.

Experimental Validation

The framework was tested on a variety of datasets, including synthetic models (Erdos-Renyi, Barabasi-Albert, and Watts-Strogatz), massive Wikipedia hyperlink networks (up to 2.2 million nodes), genomic Hi-C contact maps, and the Oregon-1 Autonomous System for anomaly detection.

Key Results and Insights

FINGER demonstrates exceptional performance in both speed and accuracy. As shown in the performance analysis across synthetic models, the framework achieves nearly 100% computation time reduction compared to exact methods.

Performance of FINGER across synthetic graph models (ER, BA, WS) showing scaled approximation error and computation time reduction as a function of node count.

Accuracy and Scalability

A key theoretical insight is the "Balanced Spectrum" advantage: for large graphs with balanced eigenspectra, the approximation error vanishes as the graph size increases. In practice, FINGER-JSdist (the Jensen-Shannon distance based on FINGER) outperformed state-of-the-art baselines in anomaly detection on Wikipedia data, achieving a Pearson Correlation Coefficient of 0.9029.

Real-World Applications

In genomic studies, FINGER successfully identified biological bifurcation points that other methods missed. In cybersecurity contexts, it maintained high detection rates for stealthy DoS attacks, proving its utility for real-time monitoring of critical infrastructure.

Conclusion

FINGER transforms VNGE from a theoretical curiosity into a practical tool for large-scale network analysis. By bypassing the spectral bottleneck, it enables information-theoretic monitoring of dynamic systems at a fraction of the previous computational cost. Future work includes extending the framework to directed graphs and exploring higher-order approximations for irregular topologies.

Summary updated

BibTeX
@inproceedings{chen2019fast,
  author = {Pin-Yu Chen and Lingfei Wu and Sijia Liu and Indika Rajapakse},
  title = {{Fast Incremental von Neumann Graph Entropy Computation: Theory, Algorithm, and Applications}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=SyVQlsbO-B},
}
Figure