Key Compression Limits for k-Minimum Value Sketches

The k-Minimum Values (KMV) data sketch algorithm stores the k least hash keys generated by hashing the items in a dataset. We show that compression based on ordering the keys and encoding successive differences can offer O(log n) bits per key in expected storage savings, where n is the number of unique values in the data set. We also show that O(log n) expected bits saved per key is optimal for any form of compression for the k least of n random values – that the encoding method is near-optimal among all methods to encode a KMVsketch.We present a practical method to perform that compression, show that it is computationally efficient, and demonstrate that its average savings in practice is within about five percent of the theoretical minimum based on entropy. We verify that our method outperforms off-the-shelf compression methods, and we demonstrate that it is practical, using real and synthetic data.<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup>

Authors

Institutions

Publication Details

Published
2024-12-15
DOI
https://doi.org/10.1109/bigdata62323.2024.10826029
Citations
1
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Key Compression Limits for k-Minimum Value Sketches

Charlie Dickens, Eric Bax, Alexander Saydakov
1 citations
Advanced Database Systems and Queries
0.35
article

Key Compression Limits for k-Minimum Value Sketches

Charlie Dickens, Eric Bax, Alexander Saydakov
article en
1 citations

Abstract

The k-Minimum Values (KMV) data sketch algorithm stores the k least hash keys generated by hashing the items in a dataset. We show that compression based on ordering the keys and encoding successive differences can offer O(log n) bits per key in expected storage savings, where n is the number of unique values in the data set. We also show that O(log n) expected bits saved per key is optimal for any form of compression for the k least of n random values – that the encoding method is near-optimal among all methods to encode a KMVsketch.We present a practical method to perform that compression, show that it is computationally efficient, and demonstrate that its average savings in practice is within about five percent of the theoretical minimum based on entropy. We verify that our method outperforms off-the-shelf compression methods, and we demonstrate that it is practical, using real and synthetic data.<sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup>

Yahoo (United States) (US)
Openalex Percentile: Top 34%
Advanced Database Systems and Queries
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.