Lune

CAV2022Top-tier venue

A Scalable Shannon Entropy Estimator

Priyanka Golia, Brendan Juba, Kuldeep S. Meel

Abstract

We revisit the well-studied problem of estimating the Shannon entropy of a probability distribution, now given access to a probability-revealing conditional sampling oracle. In this model, the oracle takes as input the representation of a set S, and returns a sample from the distribution obtained by conditioning on S, together with the probability of that sample in the distribution. Our work is motivated by applications of such algorithms in Quantitative Information Flow analysis (QIF) in programming-language-based security. Here, informationtheoretic quantities capture the effort required on the part of an adversary to obtain access to confidential information. These applications demand accurate measurements when the entropy is small. Existing algorithms that do not use conditional samples require a number of queries that scale inversely with the entropy, which is unacceptable in this regime, and indeed, a lower bound by Batu et al. (STOC 2002) established that no algorithm using only sampling and evaluation oracles can obtain acceptable performance. On the other hand, prior work in the conditional sampling model by Chakraborty et al. (SICOMP 2016) only obtained a high-order polynomial query complexity, O( m 7 8 log 1 δ ) queries, to obtain additive -approximations on a domain of size O(2 m ); note furthermore that additive approximations are also unacceptable for such applications. No prior work could obtain polynomial-query multiplicative approximations to the entropy in the low-entropy regime.

We obtain multiplicative (1+ )-approximations using only O( m 2 log 1 δ ) queries to the probabilityrevealing conditional sampling oracle. Indeed, moreover, we obtain small, explicit constants, and demonstrate that our algorithm obtains a substantial improvement in practice over the previous state-of-the-art methods used for entropy estimation in QIF.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Feedback-driven side-channel analysis for networked applications cites Profit: Detecting and Quantifying Side Channels in Networked Applications
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Massively Parallel Continuous Local Search for Hybrid SAT Solving on GPUsYunuo Cen, Zhiwei Zhang, Xuanyao FongAAAI 2025 · 8 citations
  2. Tight Lower Bound on Equivalence Testing in Conditional Sampling ModelDiptarka Chakraborty, Sourav Chakraborty, Gunjan KumarSODA 2024 · 1 citation

Builds on4

  1. Tinted, Detached, and Lazy CNF-XOR Solving and Its Applications to Counting and SamplingMate Soos, Stephan Gocht, Kuldeep S. MeelCAV 2020 · 102 citations
  2. Profit: Detecting and Quantifying Side Channels in Networked ApplicationsNicolás Rosner, Ismet Burak Kadron, Lucas Bang, Tevfik BultanNDSS 2019 · 24 citations
  3. Static Evaluation of Noninterference Using Approximate Model CountingZiqiao Zhou, Zhiyun Qian, Michael K. Reiter, Yinqian ZhangS&P 2018 · 17 citations
  4. Feedback-driven side-channel analysis for networked applicationsIsmet Burak Kadron, Nicolás Rosner, Tevfik BultanISSTA 2020 · 9 citations

Related papers

  1. Obtaining Information Leakage Bounds via Approximate Model CountingSeemanta Saha, Surendra Ghentiyala, Shihua Lu, Lucas Bang et al.PLDI 2023 · 11 citations
  2. Accounting for Missing Events in Statistical Information Leakage AnalysisSeongmin Lee, Shreyas Minocha, Marcel BöhmeICSE 2025 · 2 citations
  3. Estimation of Entropy in Constant Space with Improved Sample ComplexityMaryam Aliakbarpour, Andrew McGregor, Jelani Nelson, Erik WaingartenNeurIPS 2022 · 7 citations
  4. QFuzz: quantitative fuzzing for side channelsYannic Noller, Saeid Tizpaz-NiariISSTA 2021 · 15 citations
  5. REMEDI: Corrective Transformations for Improved Neural Entropy EstimationViktor Nilsson, Anirban Samaddar, Sandeep Madireddy, Pierre NyquistICML 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines