AIFeed

MaxSketch: Robust Distinct Counting in Streams via Random Projections

Summary

arXiv:2605.15571v2 Announce Type: replace Abstract: Estimating the number of distinct elements in a data stream is well understood when repeated elements are identical. In modern settings, however, observations are high-dimensional and noisy, so repeated instances of the same object are only approximately similar -- for example, different images of the same individual may vary significantly at the pixel level. Classical sketches such as HyperLogLog rely on consistent hash values for identical elements and break down in this regime. Recent work on robust distinct counting in general metric spaces gives algorithms that use $\tilde O(\sqrt n/\varepsilon)$ words of memory and proves an $\Omega(\sqrt n)$-bit lower bound for general noisy datasets. We show that substantially improved memory guarantees are possible under geometric structure common in learned representations. We introduce MaxSketch, a simple max-linear sketch built from random Gaussian projections, and prove that it succeeds i…

Original text(via arXiv stat.ML)

Statistics > Machine Learning

Title:MaxSketch: Robust Distinct Counting in Streams via Random Projections

Abstract:Estimating the number of distinct elements in a data stream is well understood when repeated elements are identical. In modern settings, however, observations are high-dimensional and noisy, so repeated instances of the same object are only approximately similar -- for example, different images of the same individual may vary significantly at the pixel level. Classical sketches such as HyperLogLog rely on consistent hash values for identical elements and break down in this regime. Recent work on robust distinct counting in general metric spaces gives algorithms that use $\tilde O(\sqrt n/\varepsilon)$ words of memory and proves an $\Omega(\sqrt n)$-bit lower bound for general noisy datasets. We show that substantially improved memory guarantees are possible under geometric structure common in learned representations. We introduce MaxSketch, a simple max-linear sketch built from random Gaussian projections, and prove that it succeeds in estimating the number of distinct latent objects. Concretely, we show that under this geometric structure $m = O( \varepsilon^{-2}\log (2/\delta))$ independent Gaussian projections suffice to estimate the true distinct count within a factor of $1+\varepsilon$ with probability at least $1-\delta$. Experiments on image streams confirm that MaxSketch accurately estimates distinct counts and generalizes beyond the training regime. Our results bridge classical streaming algorithms and modern representation learning, showing how geometric structure can fundamentally reduce the complexity of distinct counting.
Subjects:Machine Learning (stat.ML) ; Machine Learning (cs.LG)
Cite as:arXiv:2605.15571 [stat.ML]
(or arXiv:2605.15571v2 [stat.ML] for this version)
https://doi.org/10.48550/arXiv.2605.15571 arXiv-issued DOI via DataCite

Submission history

Access Paper:

  • HTML (experimental)

Current browse context:

References & Citations

  • Google Scholar
  • Semantic Scholar

BibTeX formatted citation

Bookmark

Bibliographic and Citation Tools

Code, Data and Media Associated with this Article

Demos

Recommenders and Search Tools

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by arXiv stat.ML
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗