Monitoring Event Frequencies
Not on the map. Why?
Abstract (arXiv)
The monitoring of event frequencies can be used to recognize behavioral anomalies, to identify trends, and to deduce or discard hypotheses about the underlying system. For example, the performance of a web server may be monitored based on the ratio of the total count of requests from the least and most active clients. Exact frequency monitoring, however, can be prohibitively expensive; in the above example it would require as many counters as there are clients. In this paper, we propose the efficient probabilistic monitoring of common frequency properties, including the mode (i.e., the most common event) and the median of an event sequence. We define a logic to express composite frequency properties as a combination of atomic frequency properties. Our main contribution is an algorithm that, under suitable probabilistic assumptions, can be used to monitor these important frequency properties with four counters, independent of the number of different events. Our algorithm samples longer and longer subwords of an infinite event sequence. We prove the almost-sure convergence of our algorithm by generalizing ergodic theory from increasing-length prefixes to increasing-length subwords of an infinite sequence. A similar algorithm could be used to learn a connected Markov chain of a given structure from observing its outputs, to arbitrary precision, for a given confidence.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 14 Oct 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 3; 2024: 0; 2025: 1; 2026: 1.
5 papers.
- 2023Runtime Monitoring of Dynamic Fairness Propertiescited by 17
- 2023Monitoring Algorithmic Fairnesscited by 8
- 2023Monitoring Algorithmic Fairness under Partial Observationscited by 7
- 2026Formal Methods Meet LLMs: Auditing, Monitoring, and Intervention for Compliance of Advanced AI Systemscited by 3
- 2025Monitoring of Static Fairnesscited by 0
- 2026Formal Methods Meet LLMs: Auditing, Monitoring, and Intervention for Compliance of Advanced AI Systems15 May 2026
- 2025Monitoring of Static Fairness3 Jul 2025
- 2023Monitoring Algorithmic Fairness under Partial Observations1 Aug 2023
- 2023Monitoring Algorithmic Fairness25 May 2023
- 2023Runtime Monitoring of Dynamic Fairness Properties8 May 2023