Metraipolis › archive › dc_0ef37cec5c50

Arithmetic Variable LogLog: Advancing the Memory-Variance Frontier — arXiv:2608.12575

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.12575
License (as archived)
CC0-1.0
Archived
2026-10-19T04:54:33.696Z
SHA-256 of the archived text
ecb5ecf222f6e8649bbaa387b9e8e85908631e8568752ecf204ccbd92d838e6a
Stable URL of this page
https://metraipolis.com/documento/dc_0ef37cec5c50

How to cite

Arithmetic Variable LogLog: Advancing the Memory-Variance Frontier — arXiv:2608.12575 — arXiv (en), https://arxiv.org/abs/2608.12575 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0ef37cec5c50 (Metraipolis archive dc_0ef37cec5c50, sha256 ecb5ecf222f6e8649bbaa387b9e8e85908631e8568752ecf204ccbd92d838e6a)
BibTeX
@misc{dc0ef37cec5c50,
  title = {Arithmetic Variable LogLog: Advancing the Memory-Variance Frontier — arXiv:2608.12575},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.12575},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0ef37cec5c50; sha256 ecb5ecf222f6e8649bbaa387b9e8e85908631e8568752ecf204ccbd92d838e6a},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.12575. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Cardinality estimation - counting the number of distinct elements in a data stream - requires a tradeoff between memory and accuracy. ExaLogLog recently established the state of the art for this tradeoff by combining wide registers with a Fisher-information-optimal maximum likelihood (ML) estimator, achieving the best known memory-variance product (MVP) among HyperLogLog variants. Here we present Arithmetic Variable LogLog (AVLL), which surpasses ExaLogLog at every memory point tested using arithmetic encoding and eliminating uncommon states to consume 64-bit words completely with 11 registers each, yielding a 5.5x register-count advantage. Its four-component blended estimator, HLDLC, exploits this density advantage to surpass ExaLogLog's ML accuracy without iterative solving. At 1 KB, AVLL achieves 1.63% width-weighted mean absolute error compared to ExaLogLog's 1.71% - a 4.7% improvement. The corresponding empirical MVP is 3.4, surpassing ExaLogLog's practical MVP of 3.78 and its theoretical optimum of 3.67. This holds at every tested size from 0.25 to 4 KB. AVLL inherits DynamicLogLog's early exit mechanism, which filters most elements before any register is touched. With thousands of simultaneous sketches per thread, AVLL is 2.7-4.5x faster than ExaLogLog due to the reduced memory bandwidth from early exits. Like DynamicLogLog, AVLL stores relative NLZ values with a shared offset, so its memory scales as O(B + log log C) rather than O(B x log log C) - decoupling maximum representable cardinality from register width. These results hold under both high-complexity (all-unique) and low-complexity (nonuniformly high duplication rate) data distributions, with zero accuracy degradation from duplication. AVLL is implemented as a single self-contained Java class with all correction formulas embedded, available in the BBTools suite at this https URL .

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-14 in math.IT).
Categorie arXiv: Data Structures and Algorithms (cs.DS) ; Information Theory (cs.IT).
Pagina del lavoro: https://arxiv.org/abs/2608.12575 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T04:45:19.667Z dalla pagina https://arxiv.org/catchup/math.IT/2026-08-14?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).