Throttling Poisson Processes

Uwe Dick, Peter Haider, Thomas Vanck, Michael Brückner, Tobias SchefferNeurIPS 2010

TL;DR

This paper introduces a novel approach to managing "throttling" problems—where the goal isn't just to make correct individual decisions, but to control the overall rate of events (like spam or DoS attacks). By combining Poisson process modeling with the Erlang-B formula from queuing theory, the authors transform a complex, history-dependent reinforcement learning problem into a simple, efficient convex optimization task.

What Problem Does This Paper Address?

In many real-world scenarios, the "damage" caused by an event depends on how frequently it happens, not just that it happened once. For example, an email server might tolerate a few stray spam messages, but if the rate of spam exceeds a certain threshold, the entire server gets blacklisted by other providers, disrupting service for everyone.

Standard decision-making frameworks like Markov Decision Processes (MDPs) struggle here. To make an optimal decision, the system would need to remember the exact timing of every event in the recent past (the "backlog"). This leads to an "unwieldy formalism" where the state space becomes too complex to manage. The authors sought a way to optimize these rate-dependent decisions without the overhead of tracking every historical timestamp.

Methods

The authors propose the Erlang Learning Model (ELM). Their approach shifts the focus from individual binary classifications to setting a data-dependent rate limit.

Key components include:

  • Poisson Process Modeling: They assume events (like incoming emails) arrive according to a Poisson process, which is a standard way to model random independent events in continuous time.
  • The Erlang-B Formula: Borrowing from telecommunications and queuing theory, they use the Erlang-B formula (specifically Fortet’s generalization for non-integers) to calculate the probability that a system with a specific rate limit will "block" or suppress an incoming event.
  • Convex Optimization: The core innovation is proving that the expected loss of this system can be approximated by a convex function. This is a huge win for researchers because convex problems have a single global optimum and can be solved very quickly using standard mathematical tools, unlike many reinforcement learning methods that can get stuck in local optima.
Convex upper bounds for the Fortet function and its complement.
  • Loss Function: They define a total loss that sums "immediate loss" (the cost of a single false positive or negative) and "rate-based loss" (the cost incurred over time when the outbound rate is too high).

Datasets

The model was evaluated on a real-world dataset from a large email service provider:

  • Spam/Phishing Data: Approximately 1,000,000 emails sent from about 10,000 randomly selected accounts over two days.
  • Labels: Accounts were automatically labeled as "legitimate" or "abusive" based on feedback loops (e.g., users hitting the "report spam" button) from other email providers.
  • Features: The researchers used moving averages and variances of attributes like subject line changes, sender address changes, number of recipients, and scores from content-based spam filters.

Key Insights and Ideas

  • Rate vs. Individual Decisions: The "aha moment" is realizing that in systems like spam prevention, the cost is non-linear. A low rate of errors is cheap; a high rate is catastrophic.
  • Queuing Theory meets ML: Using the Erlang-B formula allows the model to "factorize" the rate loss. Instead of trying to guess the future impact of one decision, the formula provides an expectation of how a specific rate limit will perform over time.
  • Convexity is King: By proving the risk functional is convex, the authors ensure that their learning procedure is robust and computationally efficient compared to iterative baselines like Policy Gradients or Iterative SVMs.

Key Results

  • Superior Performance: The ELM consistently outperformed baseline methods (Policy Gradient and Iterative SVMs) specifically when the rate-dependent loss was high.
Performance comparison showing ELM outperforming baselines as rate-dependent loss increases.
  • Robustness: While standard SVMs performed well when the rate didn't matter (simple classification), they failed to adapt as the cost of a high outbound rate increased. The ELM adapted its "throttling" policy effectively.
  • Efficiency: The ELM converged to a solution in about 44 minutes, which was comparable to Policy Gradient methods (~45 mins) and faster than Iterative Classifier methods (~60 mins).
  • Real-World Impact: The model was successfully deployed by the web hosting firm STRATO, replacing a manual deactivation procedure for abusive accounts.

Limitations and Future Work

  • The Poisson Assumption: The model relies on the assumption that events follow a Poisson process (independent arrivals). In reality, some attacks might be "bursty" or strategically timed to bypass such filters. The authors note that the Markov assumption is often violated in practice, which their model handles better than others, but it still relies on this underlying statistical distribution.
  • Fixed Time Windows: The model uses a fixed time interval ($\tau$) to estimate rates. Future work could explore dynamic windows or more complex, non-quadratic cost functions for the outbound rate.
  • Feature Engineering: The performance is still dependent on the quality of the feature mapping ($\phi$). Integrating this approach with deep learning for automatic feature extraction could be a promising next step.

Summary updated

BibTeX
@inproceedings{dick2010throttling,
  author = {Uwe Dick and Peter Haider and Thomas Vanck and Michael Brückner and Tobias Scheffer},
  title = {{Throttling Poisson Processes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
  url = {https://openreview.net/forum?id=rkWOQ_Wd-H},
}
Figure