Frequency Estimation in Data Streams: Learning the Optimal Hashing Scheme

07/17/2020
by   Dimitris Bertsimas, et al.
0

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, as well as an efficient block coordinate descent algorithm, that enable us to compute near-optimal hashing schemes for elements seen in the observed stream prefix; then, we use machine learning to hash unseen elements. We empirically evaluate the proposed approach on real-world search query data and show that it outperforms existing approaches by one to two orders of magnitude in terms of its average (per element) estimation error and by 45-90 expected magnitude of estimation error.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/01/2022

Double-Hashing Algorithm for Frequency Estimation in Data Streams

Frequency estimation of elements is an important task for summarizing da...
research
11/23/2017

Practical Hash Functions for Similarity Estimation and Dimensionality Reduction

Hashing is a basic tool for dimensionality reduction employed in several...
research
09/07/2013

A General Two-Step Approach to Learning-Based Hashing

Most existing approaches to hashing apply a single form of hash function...
research
04/02/2020

No Repetition: Fast Streaming with Highly Concentrated Hashing

To get estimators that work within a certain error bound with high proba...
research
12/16/2014

Random Forests Can Hash

Hash codes are a very efficient data representation needed to be able to...
research
03/02/2019

One Table to Count Them All: Parallel Frequency Estimation on Single-Board Computers

Sketches are probabilistic data structures that can provide approximate ...
research
10/27/2022

In-stream Probabilistic Cardinality Estimation for Bloom Filters

The amount of data coming from different sources such as IoT-sensors, so...

Please sign up or login with your details

Forgot password? Click here to reset