Back to Streaming Sketching

Information-Theoretic & Statistical Lower Bounds

September 26, 2026 Wasil Zafar 21 min read

Use entropy and statistical indistinguishability to limit sketches.

Table of Contents

  1. How Many Worlds Must a Summary Distinguish?
  2. Entropy, Encodings and Indistinguishable Streams
  3. Packing, Testing and Information Arguments
  4. Limits of Estimation Under Tiny Memory
  5. Prove an Impossibility Without an Algorithm

How Many Worlds Must a Summary Distinguish?

Suppose a museum has one of eight possible floor plans, but a guide may send you only a two-bit note before you enter. Two bits have four possible messages, so at least two plans receive the same note. If your task requires identifying the exact plan, no decoding trick can repair that collision. This is the counting intuition behind an information-theoretic lower bound: a small state cannot reliably distinguish too many possible worlds.

Streaming sketches replace floor plans with streams and the note with memory. If a hidden label $V$ selects one of $M$ carefully separated data-generating worlds, an accurate estimate may reveal which world generated the stream. The sketch state must therefore retain enough information about $V$. An $s$-bit state has entropy at most $s$, while Fano’s inequality says reliable identification among many labels requires mutual information on the order of $\log_2 M$.

For a tiny example, let $V$ be uniform on four labels. Then $H(V)=2$ bits. A one-bit deterministic summary has only two states and cannot identify all four labels exactly. Randomization can redistribute errors, but it cannot create information: if the observation distributions are too similar or the state is too small, a nontrivial error remains unavoidable.

Two kinds of scarcity must be separated. Memory scarcity limits how much an algorithm retains from observations. Sample scarcity limits how distinguishable the underlying distributions are even with unlimited memory. Some lower bounds combine both, but the proof must say which bottleneck is responsible.

Many hidden worlds compressed into a small summary Eight possible worlds generate streams, which pass through an s-bit summary and then a decoder; collisions create unavoidable uncertainty. Hidden world V M possibilities • H(V) bits Summary S at most 2ˢ states I(V;S) ≤ s Decoder V̂ small error needs information collisions cause mistakes Familiar codewords become entropy, mutual information, and decoding error.
ConceptIntuitive meaningExact exampleNon-example or boundaryRequired assumptionQuestion answered
Entropy $H(V)$Uncertainty in a random labelUniform label on $8$ worlds has $3$ bitsPhysical memory occupied by an objectA probability distribution is specifiedHow much uncertainty exists initially?
Mutual information $I(V;S)$Information the summary reveals about the labelExact copy gives $H(V)$Correlation without the stated joint lawJoint distribution of $V,S$How much uncertainty did the state remove?
Conditional informationNew information after side knowledge$I(V;S\mid Y)$ with decoder knowing $Y$Ignoring side information available to decoderConditioning variable is modeledWhat does the state add beyond known context?
PackingMany parameter points separated by the loss metricBinary codewords at pairwise Hamming distanceMany labels with nearly identical target answersSeparation exceeds accuracy radiusHow many worlds must accuracy distinguish?
Hypothesis testingDecide which distribution produced observationsBernoulli bias $0.4$ versus $0.6$Estimating an unspecified quantityCandidate distributions and loss are fixedAre two worlds statistically distinguishable?
Data processingPost-processing cannot increase information$V\to X\to S$ gives $I(V;S)\le I(V;X)$Adding new external observationsMarkov chain is validCan compression create evidence?
Minimax lower boundEvery estimator fails somewhereInfimum over estimators, supremum over parametersAverage error under a convenient prior alonePrior-to-worst-case step is justifiedWhat worst-case risk is unavoidable?
Warm-up

How Many Worlds Must a Summary Distinguish?

Let $V$ be uniform on eight labels and suppose the summary has only two bits.

  1. Compute $H(V)=\log_2 8=3$ bits.
  2. A two-bit state has at most four values. Under deterministic encoding, at least two labels share a state.
  3. If labels are evenly paired, a decoder seeing only the state chooses correctly for at most one label in each pair, so average success is at most $4/8=1/2$.
  4. If one extra bit is allowed, eight distinct codewords exist and exact identification becomes possible in this noiseless toy model.

Reflection: why does this counting argument need the task to distinguish all eight labels rather than merely estimate a property shared by several labels?

Entropy, Encodings and Indistinguishable Streams

For a discrete variable $V$ with mass function $p(v)$,

$$ H(V)=-\sum_v p(v)\log_2 p(v). $$

Conditional entropy $H(V\mid S)$ is the residual uncertainty after observing $S$, and mutual information is $I(V;S)=H(V)-H(V\mid S)$. If $S$ takes at most $2^s$ values, then $H(S)\le s$ and therefore $I(V;S)\le s$. This is the memory bottleneck.

Now let $V$ choose a hard distribution $P_V$ over streams $X$. A randomized streaming algorithm maps $X$ and independent coins $R$ to state $S$. The causal chain is $V\to X\to S\to\widehat V$. Data processing gives

$$ I(V;\widehat V)\le I(V;S)\le I(V;X). $$

The first upper bound can also be capped by $s$. The left side is bounded below when decoding error is small. One common Fano form for uniform $V$ on $M$ labels is

$$ P_e\ge 1-\frac{I(V;S)+1}{\log_2 M}. $$

Equivalently, error $P_e\le\delta$ requires $I(V;S)\ge(1-\delta)\log_2 M-1$. Constants vary with logarithm base and theorem form; the quantifiers and distribution must remain explicit.

Statistical indistinguishability uses distances or divergences between observation laws. Total variation controls the best binary testing advantage. Kullback–Leibler divergence and related inequalities can upper-bound distinguishability, often tensorizing across independent samples. Small KL does not mean pointwise likelihoods are equal, and large parameter distance does not guarantee observable distributions are easy to distinguish.

Information-Theoretic & Statistical Lower Bounds: Entropy, Encodings and Indistinguishable Streams
flowchart TD
    A[Choose hidden label V over M worlds] --> B[World selects stream law P sub V]
    B --> C[Observe stream X]
    C --> D[Compress to s-bit state S]
    D --> E[Estimator or decoder V hat]
    A --> F[Entropy H of V]
    C --> G[Bound I of V and X statistically]
    D --> H[Bound I of V and S by s]
    G --> I[Data processing]
    H --> I
    E --> J[Small error implies large information by Fano]
    F --> J
    I --> K[Contradiction yields sample or memory bound]
    B --> X[Failure if hard worlds are not separated in loss]
    classDef navy fill:#17365D,color:#fff,stroke:#17365D;
    classDef teal fill:#147D84,color:#fff,stroke:#0D565B;
    classDef crimson fill:#C6284D,color:#fff,stroke:#861B35;
    classDef purple fill:#6C3BAA,color:#fff,stroke:#472675;
    class A,B,C navy;
    class D,E,F purple;
    class G,H,I,J,K teal;
    class X crimson;
Information flow from a hidden parameter to a compressed estimate A hidden label creates observations, a bounded state compresses them, and a decoder estimates the label, with information inequalities annotated. Label VH(V) uncertainty Stream Xlaw Pᵥ State Sat most s bits Estimate V̂error Pₑ generationcompressiondecoding Data processing: I(V;V̂) ≤ I(V;S) ≤ I(V;X) Memory: I(V;S) ≤ H(S) ≤ s • Fano: low Pₑ forces high I(V;S) Side information and randomness must appear in the conditioning.
Definition or claimExact scopeRequired assumptionsWhat it does not implyCounterexample or consequence
Entropy bound$H(S)\le\log_2\lvert\mathcal S\rvert\le s$ for an $s$-bit stateDiscrete bounded state spaceState uses all $s$ bits efficientlyConstant state has zero entropy despite large allocation
Mutual information identity$I(V;S)=H(V)-H(V\mid S)$Joint law is fixedCausal influence by itselfCorrelated variables may share a hidden cause
Data processing$I(V;S)\le I(V;X)$ for $V\to X\to S$Markov relation holdsEvery post-processing loses information strictlyAn invertible transform preserves information
Fano inequalityLow multiclass decoding error requires large mutual informationFinite labels and stated priorTight constants in every regimeFor $M=2$, direct testing bounds can be sharper
Pinsker-type controlTotal variation is bounded using KL divergenceAbsolute continuity and matching log conventionSmall parameter distance equals small KLTiny variance can amplify a small mean shift
TensorizationKL for independent product observations addsConditional independence under each hypothesisAdaptively dependent samples add identicallyFeedback changes the joint law
Minimax via priorWorst-case risk is at least Bayes risk under any priorSame estimator class and lossOne prior always yields sharp ratePoor prior makes the bound trivial

Information cannot increase along the chain from hidden world to observations to bounded state to estimate. If accuracy would decode one of $M$ separated worlds with small error, Fano forces the state to contain roughly $\log_2 M$ bits of information; an $s$-bit state cannot supply more than $s$.

Packing, Testing and Information Arguments

A packing converts estimation into decoding. Choose parameters $\theta_1,\ldots,\theta_M$ whose pairwise loss distance exceeds $2\varepsilon$. If an estimator is within $\varepsilon$ of the true parameter, nearest-neighbor decoding recovers its label. Thus an estimator with small risk would induce a successful $M$-way test.

The hard family must balance two competing goals: parameter points must be far apart under the target loss, while their observation distributions remain close under KL, total variation, Hellinger distance, or another divergence. If distributions are too far apart, abundant statistical evidence makes testing easy. If parameters are too close, an inaccurate estimator need not distinguish them.

For memory lower bounds, let the full stream contain ample evidence but force that evidence through an $s$-bit state. For sample lower bounds, bound $I(V;X^n)$ itself. With conditionally independent samples, KL often grows linearly in $n$, so a per-sample information bound becomes an $n$ requirement. For combined bounds, use both $I(V;S)\le s$ and $I(V;S)\le I(V;X^n)$.

Binary testing tools such as Le Cam’s method compare two worlds; Assouad’s lemma embeds many binary coordinates; Fano handles a multiclass packing. Yao’s principle or a Bayes-prior argument can convert distributional hardness into a minimax lower bound, but average risk under a prior is not automatically a worst-case statement without that quantifier step.

A packing turns accurate estimation into label decoding Separated parameter balls map through close observation distributions into a compressed state; an accurate estimate identifies the original ball. Parameter packing θ₁θ₂θ₃θ₄ balls of radius ε do not overlap Observations laws deliberately close Estimate + decode loss ≤ ε nearest θⱼ reveals V estimation ⇒ testing Need separation in loss and closeness in observation law.
Information-Theoretic & Statistical Lower Bounds: Packing, Testing and Information Arguments
flowchart TD
    A[Choose loss and target accuracy epsilon] --> B[Construct M separated parameters]
    B --> C[Put prior on hidden index V]
    C --> D[Generate stream observations X]
    D --> E[Upper-bound KL or mutual information]
    D --> F[Compress into s-bit state S]
    F --> G[Bound I of V and S by s]
    E --> H[Apply data processing]
    G --> H
    B --> I[Accuracy implies nearest-neighbor decoding]
    I --> J[Fano or testing lower bound]
    H --> K[Compare information upper and lower bounds]
    J --> K
    K --> L[Infer sample memory or risk lower bound]
    B --> X[Failure if packing balls overlap]
    E --> Y[Failure if hypotheses are easy to distinguish]
    classDef navy fill:#17365D,color:#fff,stroke:#17365D;
    classDef teal fill:#147D84,color:#fff,stroke:#0D565B;
    classDef crimson fill:#C6284D,color:#fff,stroke:#861B35;
    classDef purple fill:#6C3BAA,color:#fff,stroke:#472675;
    class A,B,C navy;
    class D,E,F,G purple;
    class H,I,J,K,L teal;
    class X,Y crimson;
Worked Derivation

Packing, Testing and Information Arguments

Let $V$ be uniform over $M=16$ pairwise-separated parameters. Any estimate with loss at most $\varepsilon$ identifies $V$. Suppose the decoder’s error is at most $\delta=1/4$.

  1. The hidden entropy is $H(V)=\log_2 16=4$ bits.
  2. Fano gives $I(V;S)\ge(1-\delta)\log_2 M-1=(3/4)(4)-1=2$ bits.
  3. If the summary state has $s$ bits, then $I(V;S)\le H(S)\le s$.
  4. Therefore $s\ge2$ bits under this coarse Fano form. Sharper counting may prove more in a noiseless setting, but this derivation is valid under randomized error.
  5. If independent observations satisfy an information upper bound $I(V;X^n)\le0.1n$, data processing and Fano also require $0.1n\ge2$, hence $n\ge20$.

Assumption-breaking variation: if all $16$ parameters lie within one $\varepsilon$-ball, an accurate estimate need not reveal $V$. The Fano calculation remains algebraically true for decoding, but estimation no longer supplies a decoder.

Proof methodWhat it establishesAssumptionsStrength or limitationRepresentative failure
Direct countingExact memory needed for many distinguishable objectsDeterministic/noiseless or carefully randomized extensionSimple but ignores distributional closenessRandom errors invalidate a naive pigeonhole claim
Le Cam two-point methodBinary testing and estimation lower boundTwo separated parameters with close lawsClean; may miss dimension factorsChosen pair is easy to distinguish
Fano with packingMulticlass lower bound scaling with $\log M$Separated packing and information upper boundEffective in high dimensions; constants can be loosePacking size is too small
Assouad hypercubeCoordinatewise risk lower boundHypercube construction and neighbor closenessCaptures additive dimensionLoss does not decompose by coordinates
Data processingCompression cannot increase informationCorrect Markov chain including side informationStructural, not a numerical bound aloneDecoder receives an unmodeled side channel
KL tensorizationInformation from independent samples accumulates additivelyProduct or conditional product structureBreaks under uncontrolled dependenceRepeated copies are perfectly correlated
Bayes-to-minimaxBayes risk under a prior lower-bounds worst-case riskSame estimator class and lossAny prior works, but quality variesDegenerate prior produces zero risk

Limits of Estimation Under Tiny Memory

In an approachable sensor example, one of many calibrated regimes generates readings. If regimes are well separated in the reported mean but noisy observations are close, samples limit identification. If the readings reveal the regime but a device compresses them to a tiny state before a later query, memory limits identification.

In high-dimensional telemetry, a service may want a sparse histogram, covariance structure, or anomaly direction. A packing can encode exponentially many candidate directions, so $\log M$ scales with dimension. Yet a theorem for Gaussian samples does not automatically apply to heavy-tailed, dependent, or adversarial streams.

In federated learning, each client reveals a privatized or compressed message. Data processing limits information per client, and privacy may further contract distinguishability. But security and privacy are not synonymous with low mutual information under every prior; the channel, adversary knowledge, and composition across rounds must be modeled.

A misleading claim often treats high entropy of raw data as proof that a task needs high memory. That is false when the target is simple: a billion fair coin flips have enormous entropy, but their parity needs one bit and their approximate mean needs little memory. The packing must concern distinctions required by the stated loss.

Information bottlenecks in a production estimation pipeline A hidden operational regime generates observations that pass through sampling, privacy, compression, and estimation boundaries, each with assumptions and possible information loss. Regime θhard-world priorloss separation Samples Xⁿnoise • dependencesample boundary Channel + stateprivacy • s bitstrust boundary Estimate θ̂risk + confidencedecision boundary Audit the model distribution shift • side information • adaptive queries • leakage • loss mismatch Each arrow is a channel; data processing applies only when the declared Markov structure is correct.
Case Study

Limits of Estimation Under Tiny Memory: Information-Theoretic & Statistical Lower Bounds

A weather station operates in one of eight calibration regimes, chosen uniformly. A diagnostic stream is rich enough that a full-data analyst can identify the regime, but the device retains only a two-bit state.

  1. The regime label has entropy $3$ bits.
  2. The state has at most four values and at most $2$ bits of entropy.
  3. Under balanced deterministic collisions, at least two regimes share each state, so exact average identification error is at least $1/2$.
  4. If the operational task only asks whether the regime is in $\{1,2,3,4\}$ or $\{5,6,7,8\}$, one bit can suffice. The task loss, not raw regime entropy, controls the required distinctions.

Success criteria: compute the entropy/state counts, distinguish regime identification from group classification, and explain whether the limitation is caused by samples or retained memory.

Production

Limits of Estimation Under Tiny Memory: Information-Theoretic & Statistical Lower Bounds

A fleet of $100{,}000$ edge devices must identify one of $M=2^{20}$ anomaly signatures from noisy telemetry. Each device observes $n$ samples, sends a privacy-processed message capped at $12$ bits, and the service promises less than $5\%$ identification error for every signature.

Model: let $V$ index a loss-separated signature packing. The pipeline is $V\to X^n\to Z\to S\to\widehat V$, where $Z$ is the privacy channel and $S$ is the transmitted state. A Fano lower bound requires roughly $(0.95)(20)-1=18$ bits of mutual information for the claimed error, while $I(V;S)\le12$. Under this model, the contract is impossible regardless of sample count.

Risks: signatures may not be separated under the actual operational loss; side information at the server changes conditional entropy; messages across rounds may total more than $12$ bits; adaptivity changes the channel; drift invalidates the hard family; privacy accounting and mutual-information contraction are not interchangeable without proof.

Evidence: packing construction, divergence estimates from real noise, end-to-end transcript size, conditional side information, per-signature error, independence checks, privacy composition, and simulations verifying that nearest-neighbor decoding follows from the accuracy contract.

Decision: increase communication/state, weaken the signature granularity, accept larger error, or exploit justified side information. Do not promise the impossible classifier merely because a prototype succeeds on an easy empirical distribution.

Prove an Impossibility Without an Algorithm

An information-theoretic proof begins with the task’s loss and quantifiers. Construct a family of parameters separated enough that accuracy identifies a hidden label. Choose a prior, generate observations, and upper-bound the information reaching the estimator through sampling, privacy, communication, or memory. Then lower-bound the information accuracy would require and compare the two.

The final theorem must name its model: input family, distributional assumptions, number of observations, memory or message budget, randomness, side information, loss, success probability, and whether the conclusion is Bayes, average-case, or minimax.

Practice

Practice: Prove an Impossibility Without an Algorithm

Consider $M=32$ candidate parameters with pairwise loss distance greater than $2\varepsilon$. The hidden index is uniform, and an estimator succeeds within $\varepsilon$ with probability at least $3/4$.

Tier 1 — Definitions. Define entropy, conditional entropy, mutual information, KL divergence, total variation, packing, Bayes risk, and minimax risk. State one correct data-processing chain.

Tier 2 — Decoding. Prove that an $\varepsilon$-accurate estimate identifies the nearest packing point. Explain where strict separation greater than $2\varepsilon$ enters.

Tier 3 — Fano arithmetic. With $\log_2 32=5$, derive $I(V;S)\ge(3/4)(5)-1=2.75$ bits using the stated form. Conclude that a two-bit state cannot meet the promise.

Tier 4 — Statistical bound. Suppose each independent sample contributes at most $0.05$ bit of mutual information. Use data processing to obtain $n\ge55$. State why dependence could invalidate simple addition.

Tier 5 — Counterexamples. Break the argument with overlapping packing balls, server side information, a nonuniform prior of tiny entropy, easy-to-distinguish distributions, and a loss that ignores the packed coordinate. Name the failed step each time.

Tier 6 — Professional artifact. Write a proof certificate containing task and loss, hard family, prior, separation lemma, observation law, Markov chain, divergence calculation, information upper bound, Fano/testing lower bound, minimax conversion, constants, and scope limits.

Debugging prompts: if Fano is trivial, enlarge the packing or tighten information; if distributions are too distinct, reduce perturbations; if perturbations destroy loss separation, redesign the geometry; if memory seems irrelevant, check whether $I(V;X^n)$ is already the smaller bottleneck.

Stretch goal: prove the same rate with Le Cam, Fano, and Assouad where possible. Compare constants, dimension dependence, and which structure each method exposes.

Rubric (10 points): precise model 2; valid separated hard family 2; justified information/divergence upper bound 2; correct testing or Fano step 2; quantifiers, counterexamples, and scope 2.

Bridge: communication reductions view a streaming state as a message; information theory measures what that message can reveal. The next step connects these ideas to information complexity, privacy contraction, adaptive data analysis, and cell-probe lower bounds.

Impossibility checklist: define the loss; pack worlds that accuracy must separate; choose a prior; model every observation, side channel, and randomization; upper-bound information through the pipeline; lower-bound information required for testing; and convert average hardness to the claimed quantifiers. High raw-data entropy alone proves nothing about memory unless the task must preserve those distinctions.

Next in the Series

In Robustness, Privacy & Adaptive Streams, we'll explore Protect sketches from adaptive queries and information leakage..