Abstract
This paper introduces TGDC (Temporal Game-Theoretic Community Detection), a novel framework designed to identify suspicious, dense sub-communities within massive data streams using constant memory. By integrating game theory with probabilistic "sketch" data structures, the authors detect structural anomalies—such as Denial of Service (DoS) attacks or financial fraud—in real-time with up to 94% accuracy. The approach addresses the limitations of traditional frequency-based detection by focusing on the evolving topology of network connections.
Introduction
In cybersecurity and fraud detection, network data arrives as an infinite stream of edges. Traditional anomaly detection often relies on edge frequency, flagging pairs of nodes with high communication volume. However, sophisticated attackers frequently mask their presence within "dense sub-communities"—tightly knit groups of nodes that exhibit unusual structural properties rather than just high traffic volume.
Detecting these structures in real-time presents three primary challenges: the scale of data prevents storing the entire graph in memory; the dynamic nature of networks means communities evolve rapidly; and simple algorithms often suffer from instability, where nodes frequently "flip-flop" between communities, hindering detection speed.
Methodology
The authors propose a two-pronged approach combining structural game theory with memory-efficient sketching.
1. Game Theory and the Modularity Payoff
Each node in the network is treated as a rational "player" in a game. A node's objective is to maximize its payoff, defined by the Modularity Function, which measures the density of internal community connections versus external ones. To stabilize detection, the authors introduce Push and Pull strategies. This temporal mechanism prevents nodes from making short-sighted local decisions by considering the likelihood of being "pulled" into a more optimal community in the future.
2. Sketching for Scalable Memory
To process infinite streams without exhausting RAM, TGDC utilizes Count-Min Sketches (CMS). These probabilistic data structures allow the system to estimate edge frequencies and node degrees using a fixed, constant amount of memory. The authors mathematically prove that the approximate modularity calculated via sketches remains within a specific error threshold of the true modularity.
3. Non-Uniform Sampling
To optimize computational resources, the algorithm employs a non-uniform sampling strategy. Nodes that have reached a stable, high-payoff community are sampled less frequently, allowing the system to focus its "computational budget" on nodes currently in flux.
Experimental Results
The TGDC framework was evaluated against both static benchmarks and dynamic intrusion datasets.
- Anomaly Detection Accuracy: On the DARPA benchmark, the model achieved 94% accuracy in identifying anomalous edges within the top-10 densest communities. On the ISCX-IDS2012 dataset, it achieved 91% accuracy.
- Structural Quality: In benchmarks including Amazon (co-purchases) and Enron (emails), TGDC outperformed state-of-the-art models like GraphGAN and the Louvain (Fast-Unfold) method in discovering high-quality, dense communities.
- Efficiency: The use of sketches enabled high-performance analysis with constant memory usage, while the Push-Pull mechanism significantly accelerated the convergence toward a stable Nash Equilibrium compared to standard game-theoretic models.
Conclusion
TGDC shifts the focus of anomaly detection from simple traffic frequency to complex topological changes. By combining the strategic stability of game theory with the memory efficiency of sketching, the framework provides a robust solution for real-time monitoring of industrial-scale data streams. Future work will explore distributed implementations to allow parallel node actions, further reducing detection latency in massive networks.
Summary updated