- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
In this paper the authors examine the problem of frequency estimation in data streams from the perspective of learning-augmented algorithm design. The main contribution derived in their analysis is that the current learning-augmented frequency estimation algorithm can be rivaled by incresing the memory budget. The authors also demonstrate other trade-offs in several typical scenarios. A new frequency estimation algorithm based on random admission is proposed and is demonstrated to acheive satisfactory performance against SOTA solutions
Strengths and weaknesses
This paper makes a timely contribution in the emerging field of learning-augmented algorithm design. Its main merit is the dmonstration on the performance limit of the learning-augmented algorithms compared with the non-augmented peers in various parameter settings. I do not see particular weakness.
Questions
Regarding the performance limit of the learning-augmented frequency estimation algorithms mentioned in the paper, I wonder if the fact that they are ''out-performed'' by the non-augmented peers is due to the following reasons: (1) their design is still not optimal, i.e., we are still not exploring the potential of learning, or there are better designs; (2) the performance metric is not properly formulated in certain sense.
Limitations
yes
Paper formatting concerns
none
Final justification
I am satisfied with the response and maintain my score.
We thank the reviewer for their comments and the questions raised.
(1) Regarding the optimality of design, we want to share the following thoughts:
To improve on the current learning-based setup (an oracle predicting heavy hitters, plus a sketch for the rest), one would need to improve the estimates for the remaining elements, i.e., those not predicted as heavy hitters. These remaining elements have frequencies on the order of O(BA), where A=log(n)N.
As pointed out by [1], for any estimator, if its expected additive error is at least as large as an element's true frequency, outputting zero instead of the estimate minimizes the error. Our setting, with space O(B) and an oracle predicting O(B) heavy hitters, leaves O(B) elements with frequencies O(BA). This means an improved algorithm would need an additive error of o(BA), i.e., strictly smaller than A/B, to actually help with the remaining elements as only then is an estimate more precise than outputting zero.
This is where we suspect existing designs might fail, as for hash-based sketches, collisions alone intuitively introduce noise on the order of A/B. Specifically, algorithms like CountMin, CountSketch, and CS++ work by hashing elements into buckets of an array and estimating frequencies from bucket totals. With space O(B), this leaves (at most) O(B) buckets per hash function / row. Since there are also O(B) remaining elements, each with frequency O(BA), on average each bucket ends up containing about one such element, leading to O(B) elements which have error that is too large.
However, as pointed out in the discussion section of the paper, another approach for improved performance in learned settings might be to reconsider the type of learned advice that algorithms use.
(2) The choice of metric naturally influences the error here too. The weighted error as defined in the paper weights each element's error by its own frequency fi. Hence, it punishes errors on heavy hitters far more than errors on rare elements, which makes outputting zero for rare elements comparably cheaper, as the error metric is biased towards more heavy elements. This might not suit settings where mid-frequency elements matter more. That said, we think the metric isn't doing all the work: outputting zero whenever the sketch's own noise exceeds an element's true frequency minimizes the error independent of how errors are weighted later. We'd expect this underlying effect to persist under other reasonable metrics too. This is in line with the supplementary results in Appendix D that compare the weighted and unweighted error.
[1] Improved frequency estimation algorithms with and without predictions. Anders Aamand, Justin Y. Chen, Huy Lê Nguyễn, Sandeep Silwal, and Ali Vakilian. 2023. [NeurIPS'23]