PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 5, 20260 citationsOpen Access

Multi-Scale Collision Counting for Rényi Entropy Rate Estimation

View Full Paper
ATAditya Tiwari

Key Points

  • The aim is to estimate the Rényi 2-entropy rate from raw byte streams accurately.
  • Estimates Rényi 2-entropy rate from stationary ergodic sources.
  • Expands bytes to nibbles and computes collision probabilities using a debiased estimator.
  • Extracts entropy rate from least-squares slope between log collision probabilities and k-gram orders.
  • Evaluates performance on synthetic and real-world data sets including DNS tunnel captures.
  • Achieves median error of < 0.003 with R² > 0.999 on synthetic Markov chains.
  • Rényi entropy outperforms Shannon entropy in model-free tool classification with ΔARI = 0.516.
  • Additional gain from multi-order fingerprint is observed with ARI = 0.747.

Abstract

We present a method for estimating the Rényi 2-entropy rate h₂ of stationary ergodic sources from raw byte streams. The method expands bytes to nibbles (α = 16), computes debiased collision probabilities F̂₂(k) at k-gram orders k = 1, …, K via the falling-factorial estimator, and extracts the entropy rate from the ordinary least-squares slope of log F̂₂(k) versus k. On synthetic Markov chains with known ground truth, the estimator achieves median error 0.999. On 124 DNS tunnel capture files spanning ten classes (eight tunnel tools and two benign categories), the Rényi entropy rate h₂ alone (ARI = 0.720) outperforms Shannon entropy—both single-scale (ARI = 0.246) and multi-scale slope (ARI = 0.204)—for model-free tool classification (ΔARI = 0.516). This advantage persists after Miller-Madow debiasing of the Shannon estimator, confirming it is intrinsic to the collision probability functional rather than an artifact of estimation bias. The (h₂, h₃, h₄) multi-order fingerprint provides modest additional gain (ARI = 0.747). R² of the linear fit decreases monotonically with Markov order (orders 0–4), serving as a non-parametric memory depth diagnostic. The estimator runs in O(nK) time with O(αᴷ) space.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Aditya Tiwari (2026) studied this question.

synapsesocial.com/papers/69d1fde4a79560c99a0a43cehttps://doi.org/10.5281/zenodo.19410901
Ask AI
Helpful
Bookmark
Share
View Full Paper