Frequency Estimation in Data Streams: Learning the Optimal Hashing Scheme
Bertsimas, Dimitris, Digalakis, Vassilis Jr
–arXiv.org Artificial Intelligence
We present a novel approach for the problem of frequency estimation in data streams that is based on optimization and machine learning. Contrary to state-of-the-art streaming frequency estimation algorithms, which heavily rely on random hashing to maintain the frequency distribution of the data steam using limited storage, the proposed approach exploits an observed stream prefix to near-optimally hash elements and compress the target frequency distribution. We develop an exact mixed-integer linear optimization formulation, which enables us to compute optimal or near-optimal hashing schemes for elements seen in the observed stream prefix; then, we use machine learning to hash unseen elements. Further, we develop an efficient block coordinate descent algorithm, which, as we empirically show, produces high quality solutions, and, in a special case, we are able to solve the proposed formulation exactly in linear time using dynamic programming. We empirically evaluate the proposed approach both on synthetic datasets and on real-world search query data. We show that the proposed approach outperforms existing approaches by one to two orders of magnitude in terms of its average (per element) estimation error and by 45-90% in terms of its expected magnitude of estimation error.
arXiv.org Artificial Intelligence
Jun-2-2021
- Country:
- Europe > Greece (0.04)
- North America > United States
- Massachusetts > Middlesex County > Cambridge (0.14)
- Asia > Afghanistan
- Parwan Province > Charikar (0.04)
- Genre:
- Overview > Innovation (0.34)
- Research Report
- New Finding (0.46)
- Promising Solution (0.34)
- Industry:
- Information Technology (1.00)
- Education (0.67)
- Technology:
- Information Technology
- Information Management (1.00)
- Data Science > Data Mining (1.00)
- Communications > Networks (1.00)
- Artificial Intelligence
- Natural Language (1.00)
- Representation & Reasoning > Optimization (0.89)
- Machine Learning
- Statistical Learning (0.93)
- Decision Tree Learning (0.67)
- Information Technology