Abstract
This paper presents a novel framework for continuous monitoring of Shannon and Tsallis entropy in distributed networks. By adapting the Alon-Matias-Szegedy (AMS) sampling technique to a distributed setting, the proposed algorithms significantly reduce communication overhead compared to existing methods. The framework achieves a communication cost of $\tilde{O}(k/\epsilon^2 + \sqrt{k}/\epsilon^3)$, representing a theoretical improvement of at least $\min\{\sqrt{k}, 1/\epsilon\}$ over previous state-of-the-art results.
Introduction
In large-scale distributed systems, such as IP backbones or sensor networks, maintaining a global view of data statistics is critical for anomaly detection and traffic classification. Entropy, specifically Shannon and Tsallis entropy, serves as a powerful metric for identifying shifts in data distributions caused by events like Distributed Denial-of-Service (DDoS) attacks. However, the central challenge lies in the communication bottleneck: transmitting every data update to a central coordinator is prohibitively expensive.
Previous research in distributed entropy monitoring often focused on threshold-based alerts or suffered from high communication costs when entropy values were small. This work addresses these limitations by providing a framework for continuous monitoring that remains efficient regardless of the entropy's magnitude.
The Distributed AMS Framework
The core contribution of this work is the adaptation of the AMS sampling method—originally designed for single-stream data—to the distributed monitoring model. In a standard stream, AMS sampling estimates frequency moments by tracking the "tail frequency" of randomly selected items. In a distributed environment, this tail is partitioned across $k$ sites.
The authors propose a method where the coordinator maintains a $(1+\epsilon)$-approximation of the tail frequency using distributed counting sketches. To handle scenarios where a single element dominates the distribution (leading to low entropy and high variance for standard AMS), the framework employs a "heavy hitter" isolation strategy. The most frequent element is tracked separately, while the AMS framework is applied only to the residual stream.
As shown in Algorithm 3, the coordinator tracks multiple copies of the AMS estimator in parallel to ensure accuracy and returns the average of the computed differences. This unified approach is versatile enough to support Shannon entropy, Tsallis entropy, and various sliding window models (both sequence-based and time-based).
Performance and Complexity
The primary metric for success in distributed monitoring is communication efficiency. The proposed algorithms achieve a communication cost of $\tilde{O}(k/\epsilon^2 + \sqrt{k}/\epsilon^3)$ bits. This is a significant theoretical advancement, improving upon the previous best results by a factor of at least $\min\{\sqrt{k}, 1/\epsilon\}$, where $k$ is the number of sites and $\epsilon$ is the error tolerance.
The table above summarizes the complexities for different monitoring configurations. Notably, the new algorithms provide sublinear performance in terms of total communication, local space usage, and processing time per item relative to the total number of items $m$ and the universe size $n$. This scalability makes the framework suitable for high-speed network environments.
Conclusion
This research provides a robust theoretical foundation for efficient distributed entropy monitoring. By re-engineering the AMS framework to prioritize communication constraints over memory constraints, the authors have bridged a significant gap in distributed stream processing. Future work includes investigating the tightness of these upper bounds, exploring purely multiplicative error guarantees for sliding windows, and validating these theoretical gains on real-world network traffic datasets.
Summary updated