Manuscript Offprint
arXiv:2611.04285Optimal Communication for Distributed Sparse Histogram Aggregation
Abstract
Histogram estimation is a fundamental primitive in distributed data analysis, with applications in counting queries and federated learning. In many settings, the universe of categories is enormous, yet each user's data involves only a small subset, yielding sparse local histograms. This raises a natural question: To what extent can local sparsity reduce the communication needed to estimate the global histogram?
We answer this question by characterizing the communication complexity of distributed sparse histogram estimation under prescribed distortion and failure probability constraints. Our upper bound is achieved by a randomized covering scheme that optimizes how accurately each user represents its local histogram to reduce communication. By exploiting the distortion budget directly rather than imposing unbiasedness, the scheme achieves lower communication costs than standard unbiased sampling and hashing constructions. We establish the scheme's first-order optimality through a lower bound based on local support identification. The key step is to relate communication cost directly to the number of active coordinates revealed by each user's message, rather than to bound information about the aggregate via distance-based Fano's inequalities. This characterization further quantifies how the communication advantage of heterogeneous over homogeneous encoders varies across parameter regimes.
F. Ye is with the College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China (email: fangweihe@nuaa.edu.cn).
Y. Fan is with the Department of Information Engineering, The Chinese University of Hong Kong, Hong Kong SAR, China (email: yijunfan@ie.cuhk.edu.hk).
I. INTRODUCTION
Histogram estimation asks how often each item appears in a large universe in a collection of data. It supports stream summaries, frequent-item identification, and counting queries [1]–[3]. When the data are distributed, a server obtains these frequencies through local summaries. Many attempts have been made to understand the accuracy and communication complexity of the distributed histogram aggregation, such as mergeable sketches [4], communication-efficient mean estimation [5], [6], and federated learning [7]. A problem of particular interest in practice is that with sparse local histograms, the domain of possible categories is usually very large, while each user's data involve only a small fraction of these categories. We are interested in asking how many bits an accurate aggregate requires.
We consider a distributed system consisting of users and a server. User holds a -sparse categorical vector
where and . The target for the server is to estimate empirical histogram
The problem is closely related to communication-efficient distributed mean estimation, where sparsity, correlations, and quantization are used to reduce communication [5], [8]–[11]. Another related problem is heavy-hitter identification in data streaming, where compact summaries identify items with large frequencies [3] [2]. Sparse aggregation through the lens of lossy compression [12] and variants of the problem with additional security and privacy constraints [13] have also been studied. Here we focus on characterization of the communication complexity for a required accuracy.
The accuracy requirement is defined as follows.
Definition 1. For and , a protocol is -accurate if
Our goal is to determine how much communication complexity approximation can save. The guarantee is minimax over arbitrary inputs, including all patterns of support overlap.
Communication complexity here is measured by the expected total number of transmitted bits, allowing random message lengths as in variable length compression with errors [14] and empirical mean estimation [15]. Let be public randomness independent of the inputs and be user 's message. A protocol has cost
Both probability and expectation are over protocol randomness. Public randomness is considered free [16], i.e., all users and the server have access to public randomness , independent of the inputs, without communication cost.
In distributed estimation, two commonly considered scenarios allow users to employ different encoding rules or require all users to share a common rule [17]. Here, we study both cases. In the heterogeneous model, user may use its own conditional channel:
In the homogeneous model, all users use the same channel after fixing the public randomness:
The reason of distinguishing homogeneous and heterogeneous models is because the gap between them has been observed in related problems [17]. Let and be the infima of (3) over accurate homogeneous and heterogeneous protocols, suppressing n, k, d. Class inclusion gives
An interesting finding of our results is that it requires more communication to achieve the same accuracy when using the same encoding rule for all users.
Throughout this paper, log are in base 2 and ln are in the natural base e. Since zero communication suffices at or , we consider the non-trivial cases with positive communication cost needed in the sequel.
A. Prior Works and Existing Results
Previous approaches reduce communication complexity by sampling data or encoding local supports. Coordinate and client sampling give unbiased estimates [5] [15], hashing produces compact summaries for histogram estimation [18] [19], and algebraic syndromes recover sparse supports exactly [20]. Lossless compression can further reduce the size of these representations [8] [21]. We compare these constructions under the same empirical target, expected communication cost, and -accuracy requirement.
Unbiased coordinate sampling reports each active coordinate independently with probability and reconstructs a reported entry as [15]. Client sampling selects each user independently with probability . Selected users report their entire supports, and the server applies the same rescaling [5]. Both protocols cost at most expected bits. Their tail guarantees can differ since coordinate sampling keeps each active coordinate independently, whereas client sampling keeps or omits all active coordinates of a user together. Thus, under -accuracy guarantee, their achievable communication complexity are of the same order but not exactly identical.
Collision-based methods instead summarize all active coordinates. Count-Min Sketch hashes them into nonnegative counters and queries the minimum across rows [22]. Thresholding the answer at one gives no false negatives on binary inputs, and a coordinate is absent only if it collides with an active coordinate in every row. Compressed Bloom filters record whether each bucket contains an active coordinate and compress the resulting bit arrays [23] [21]. Both use smaller communication cost by allowing more zero coordinates to be incorrectly reported as nonzero.
BCH support recovery uses algebraic code and removes the distortion in these local summaries. An algebraic syndrome of at most bits identifies every support of size at most [20, Theorem 16]. Decoding each user and averaging gives exact aggregation independent of . When failure probability is allowed, one trivial choice is to all users keep silent with probability , reducing the expected cost by a factor . The achievable communication complexity of these methods are summarized in Table I.
Lower bound arguments typically choose an input distribution and bound the information needed for an accurate answer [6]. Distance-based Fano inequalities bound the information needed to locate the aggregate within a distortion ball [24]. Then [12] applies this viewpoint to -information for sparse aggregation under fixed-alphabet constraints. If every distortion ball has prior mass at most , at least an alphabet of size is needed. Since long messages may occur rarely, a large alphabet size does not necessarily imply a large expected communication cost.
The distance-based Fano's inequality method with aggregate counting arguments treats the users' messages jointly and does not distinguish whether they use the same or different encoders. A complementary method relates local posterior uncertainty to squared estimation error [8]. They divides dimensions into blocks of equal length and chooses a prior distribution that places one active coordinate in each block. Conditional independence across users makes their local posterior variances additive, and Lemma 3.4 in [8] bounds this sum. This is a natural approach for mean squared error. Applying it to our accuracy requirement first converts distortion and failure probability into an average squared loss, which can weaken the resulting bound.
B. Our Contributions
We characterize the optimal communication cost for both heterogeneous and homogeneous encoder models. The proposed randomized covering scheme allows the user choose and report active coordinates with their original values. The aggregate distortion is at most whenever reaches . Heterogeneous encoders can assign this total across users and use public silence with probability . Under a common conditional rule, 's must be independent and identically distributed after fixing the public randomness. Optimizing their encoder gives the coefficient defined in (12).
Allowing bias helps in estimating aggregation more efficiently. Unbiased sampling compensates for missing entries by increasing the reported values. When supports are disjoint, these increases add to the absolute error from omitted entries. Randomized covering keeps the reported values unchanged, so the error comes only from support omissions. It also differs from Count-Min Sketch and Bloom filters. These collision-based methods still represent every nonzero coordinate, but save bits by allowing collisions, which leads to false positive estimate. Thus, the sketches must remain detailed enough to limit such errors across a large . This makes the distortion allowance less effective at reducing communication. These observations explain the smaller achievable bounds by randomized covering in Table I. Section III gives geometric interpretation of randomized covering scheme and its connection with support selection. Table I gives explicit achievable bounds under our problem setting in Section I, including an explicit upper bound on the achievable communication cost under the homogeneous model. Appendix E gives the derivations of our comparison.
It is worth noting the communication complexity of homogeneous model is strictly larger than that of the heterogeneous models in Table I. The homogeneous encoder model generally requires more communication because all users follow the same encoding rule and cannot coordinate their individual communication decisions. In contrast, heterogeneous encoders can distribute the required communication unevenly across users, avoiding redundant transmissions. This difference becomes particularly significant when only a small amount of information is needed to achieve the prescribed accuracy. For example, when identifying just one active coordinate is sufficient, a heterogeneous protocol can assign this task to a single user, whereas a homogeneous protocol requires every user to independently decide whether to transmit. Section V describes the cost of homogeneity under different regimes.
To establish the optimality of randomized covering, we develop lower bounds based on local support identification. We prove that accurate aggregation requires each user's message to reveal sufficiently many active coordinates under an independent sparse input prior. The transmitted information are conditionally independent given public randomness. Under the homogeneous encoder constraint, it must also follow the same distribution across users, leading to a stronger communication lower bound. This argument establishes matching first-order lower bounds for both encoder models.
A related approach in [8] also studies the information revealed by each user's message, but differs in how this information is measured. While [8] uses the variance after observing the messages to bound the mean squared error, our method directly analyzes the probability that the messages identify sufficiently many active coordinates. This allows us to characterize the communication complexity under the prescribed distortion and failure probability, while capturing the additional constraint imposed by homogeneous encoding.
TABLE I ACHIEVABLE EXPECTED TOTAL COMMUNICATION UNDER THE SAME PROBLEM SETTING, FOR , , AND .
| Method | Achievable expected total communication (bits) |
|---|---|
| Unbiased coordinate sampling [15] | |
| Unbiased client sampling [5] | |
| Count-Min [22] | |
| Compressed Bloom filters [21] | |
| BCH support recovery [20] | |
| Ours: heterogeneous | |
| Ours: homogeneous |
TABLE II LOWER BOUNDS COMPARISON IN OUR EXPECTED LENGTH MODEL. THE COEFFICIENT COLUMN WITH MEANS . HERE .
| Lower bound method | Coefficient | Encoder class |
|---|---|---|
| Posterior variance [8] | Both | |
| Aggregate distance-based Fano [12], [24] | Both | |
| Ours: heterogeneous characterization | Heterogeneous | |
| Ours: local identification under homogeneous constraint | Homogeneous |
Finally, we give a feasible approximation to the optimal homogeneous policy with arithmetic complexity for fixed . A binomial policy is near optimal when the required communication complexity is large; otherwise, a finite search suffices.
The rest of this paper is organized as follows. Section III constructs the randomized covering protocol, and Section IV proves their first-order optimality by characterizing the lower bound results. The cost of homogeneous encoder requirement is analyzed in Section V. Section VI gives the approximation algorithm. All complete proofs can be found in the appendix.
III. UPPER BOUNDS VIA RANDOMIZED COVERING
We adapt the deterministic covering principle of [12]. For a categorical input with , the basic idea of covering is to represent by a reproduction that is sufficiently close to under the prescribed distortion measure. From a covering perspective, each reproduction serves as a representative of a collection of input vectors lying within a prescribed distortion radius. Specifically, the distortion ball centered at contains all admissible inputs satisfying . This allows multiple input vectors to share the same reproduction, reducing the number of distinct representations required for communication. A smaller distortion radius provides more accurate reconstruction but generally requires a larger collection of reproductions, whereas a larger radius allows each reproduction to cover more inputs and thereby reduces the communication cost. This geometric tradeoff between covering radius and representation complexity motivates the covering scheme.
An important feature of this covering construction under histogram aggregation setting is that the distortion can be controlled through the overlap between the supports of the input and its reproduction. For binary vectors and with , their distance equals the number of active coordinates omitted from the reproduction:
Therefore, if each user selects a covering level and keeps exactly active coordinates of its input, the resulting reproduction will satisfy . Thus, keeping more active coordinates corresponds to a smaller covering radius. Since the aggregate estimate is formed by averaging the individual reproductions, the triangle inequality gives . Consequently, the aggregate distortion is at most whenever . This condition is also necessary when every input has exactly active coordinates.
This covering interpretation motivates our randomized covering scheme, in which the covering radii are randomized to balance communication cost and reconstruction accuracy. Public randomness specifies the distribution of a covering level for every user. Conditional on , each user draws its covering level using independent randomness and applies the covering operation above. The reconstruction is . The message is the list of active indices of , with each index represented by exactly bits. Consequently,
By the non-negativity of every ,
Since is integer-valued, the worst-case -accuracy condition for randomized covering is therefore equivalent to
When every user is assigned level zero, in particular, we say it is a public erasure randomization since every user is instructed to choose level zero and sends an empty string, consuming no communicated bits.
We now formulate the communication optimization for randomized covering. Let denote the conditional distribution of given the public randomness at the user . The optimization takes the common form
The objective minimizes the expected total covering level, while the constraint guarantees -accuracy. Remark 1 (Connection to subset selection and extension to bounded inputs). The local covering operation can in fact be interpreted as the familiar subset selection construction [15] for the binary input. However, the covering parlance facilitates the understanding of more general cases, e.g., -ary inputs and bounded inputs . As an example, for the bounded case, at a covering level , one can report largest magnitude entries until the omitted absolute values sum to at most . Since omitting all but entries already meets this bound, at most entries are needed in transmission. The resulting reproduction satisfies , so aggregate accuracy follows whenever .
Moreover, the covering formulation will offer a valuable insight into how we sharpen the lower bound. While randomized covering explicitly reports active coordinates to control distortion, a natural question is whether arbitrary encoding schemes must also reveal sufficient information about these coordinates. This connection motivates our local support identification approach in Section IV, where we establish matching communication lower bounds.
Without the homogeneous constraint, heterogeneous encoding allows to differ across users, so the required total covering level can be allocated unevenly. In this case, we will prove that the associated optimization (10) has a simple answer
Lemma 1 (Heterogeneous upper bound). For every ,
When the protocol does not choose erasure, the users can send exactly active indices in the worst case. Inputs with fewer active coordinates may require fewer bits. For example, when , one user sends at most one active index while all others remain silent. The lower bound in Section IV shows that this expected communication cost is optimal to first order among all heterogeneous protocols.
Different from the heterogeneous case, in (10), homogeneous encoding imposes for every realization of R. Consequently, the covering levels are conditionally i.i.d., and their sum may fluctuate around the required threshold. Thus, the homogeneous model has a more restricted feasible set.
Write . The homogeneous specialization of (10) is
Apply the covering construction with a minimizing policy. The message-length bound (7) gives
This particular protocol gives the upper bound
To understand the optimization, compare two simple strategies. A deterministic common level must round the quota up separately at every user. Independent random levels can reduce that rounding cost when their sum concentrates near its mean. The following bounds quantify both possibilities.
Theorem 1 (Bounds on the homogeneous coefficient). For and ,
If and , then
Combining the coefficient bounds with (13) gives and, for and ,
IV. LOWER BOUNDS ON COMMUNICATION
The covering constructions allocate local coordinate counts, whereas the model permits arbitrary messages and estimators. We first show that accurate aggregation requires identifying enough active coordinates. This common bound gives the heterogeneous characterization by a total-count argument and the homogeneous characterization under the common encoder restriction.
Let be independent and uniform over binary vectors with exactly active coordinates. Expected communication under this prior lower bounds worst-case cost. For , define the posterior lists and their true-support counts by
These are analysis variables; neither the encoder nor the decoder must compute them. The list contains coordinates with sufficiently large local posterior probability.
Lemma 2 (Accuracy requires local support identification). For any -accurate protocol in either encoder model, the counts in (16) are independent conditional on and satisfy
With and fixed n, k, for all sufficiently large d,
Proof sketch. Conditional on , the pairs are independent, so are also independent. If but the estimate is accurate, the active coordinates outside the posterior lists must satisfy
Each coordinate outside has posterior probability at most . Thus, the expected left-hand side is at most . Markov's inequality, together with the allowed failure probability , gives (17).
For the communication bound, . Under the uniform sparse prior, a fixed list of this size contains at least true active coordinates with probability at most . There are fewer than binary strings of length below , so
Summing over users and gives (29). Taking and makes the total exceptional probability and gives (18). Appendix B-A gives the complete proof.
Heterogeneous encoders do not require the conditional distributions of given to be identical. The success probability in Lemma 2 therefore implies that any heterogeneous encoder satisfying the accuracy requirement must identify, on average, at least as many active coordinates as required by the optimal heterogeneous covering scheme.
Theorem 2 (Heterogeneous communication characterization). For fixed with and ,
The following explicit bound also holds for every :
Thus assigning just enough total level with probability is optimal to first order among arbitrary heterogeneous encoders. For a homogeneous protocol, the distribution of supplied by Lemma 2 are conditionally i.i.d., and this additional constraint strengthens the lower bound.
Theorem 3 (Homogeneous communication characterization). Fix with and . For all sufficiently large ,
Together with (13), this gives
The two characterizations come from the same local bound but with different distribution constraint on 's. Compactness removes the posterior-threshold relaxation in the leading coefficient. We next compare the resulting coefficients.
V. THE COMMUNICATION COST OF HOMOGENEITY
The preceding sections reduce the comparison of arbitrary protocols to a comparison of two leading coefficients. In this section, we compare the communication costs of homogeneous and heterogeneous encoders to determine when using the common encoding rule increases communication and by how much.
Theorem 4 (When homogeneity has no leading cost). For every and ,
The equality holds if and only if .
When the required communication cost grows, concentration makes the common stochastic encoder nearly as efficient as a fixed heterogeneous encoder. When is close to , heterogeneous encoders can meet the accuracy requirement with only a few users transmitting. Requiring all users to use the same encoding rule can then substantially increase communication. The next theorem makes these two behaviors precise.
Theorem 5 (Small and large costs of homogeneity). For fixed , the communication characterizations in Section IV give, as ,
Suppose
Then,
Suppose distortion D satisfies
For fixed , as ,
which approaches n as .
Proof sketch. For fixed parameters, dividing the homogeneous and heterogeneous communication characterizations gives (23). For fixed , the concentration bound in Theorem 1 implies, as ,
Combine the homogeneous covering upper bound with and the finite heterogeneous lower bound (20). The stated remainder condition makes the error in that lower bound negligible relative to , proving (24).
When , the required total level is one. Replacing each positive by one preserves success and cannot increase the cost, so it suffices to consider Bernoulli levels with common conditional probability . Feasibility and Jensen's inequality give
Consequently, the expected total level is at least . The constant choice attains this bound, proving . Substitution into (23) gives (26), and letting gives the limit . Appendix C-B gives the complete proof.
VI. EFFICIENT COMPUTATION OF THE OPTIMAL COVERING
The characterization in (12) leaves an algorithmic question: how can we find a nearly optimal common policy? A public choice is itself a distribution on the levels. We first reduce this infinite-dimensional search to a mixture of two distributions, then discretize the individual distributions without sacrificing feasibility.
Lemma 3 (Two public randomizations suffice). For every and , the minimum in (12) can be attained by a mixture of at most two conditional distributions . Within each mode, the common distribution of the may be supported on
When , the mixture can be chosen to have success probability exactly .
Although two-point public randomization suffices, each conditional distribution may involve multiple covering levels, making the computation of nontrivial. To obtain an approximation in the form of (27), we develop an algorithm that combines a binomial construction for small distortion with an enumeration of distributions over restricted supports in the remaining cases. This approach avoids a direct discretization of all probabilities and provides an approximation guarantee with an explicit computational complexity.
Algorithm 1: Efficient homogeneous covering approximation
Input: , rational , and .
Output: A feasible mixture of and and its expected total covering level .
Set , , , and .
- If , set
Return with public probability , and the all-zero erasure randomization with the remaining probability. Stop.
- Otherwise, enumerate probability vectors on as follows:
-
If , set and enumerate all with and .
-
If , set and enumerate
with integers .
- For each candidate , compute and . Return the minimum cost feasible point on the lower convex hull of these success-cost pairs, as a mixture of at most two distributions.
The guarantee below preserves the original accuracy requirement. Its running time bound concerns arithmetic operations.
Theorem 6 (Efficient approximation of the optimal policy). Fix . For every , Algorithm 1 returns a feasible homogeneous randomized covering public mixture with satisfying
with arithmetic complexity
where
VII. CONCLUSION
We study the communication complexity of distributed sparse histogram estimation under prescribed distortion and failure probability constraints. Our randomized covering scheme chooses how accurately each user represents its input and optimizes these choices to reduce communication cost. For heterogeneous encoders, the scheme achieves an expected total communication cost of at most bits, while for homogeneous encoders, the corresponding upper bound is bits, where . Our achievability results improve upon those of existing methods. Specifically, the communication complexity of unbiased coordinate and client sampling are no better than , and Count-Min Sketch and compressed Bloom filters achieve bits.
The matching lower bound is established by a local support identification, yielding a first-order characterization of communication complexity together with the lower bound. The resulting characterization also quantifies how the communication advantage of heterogeneous over homogeneous encoders varies across parameter regimes. The observation clarifies how sparsity, distortion, failure probability, and encoder heterogeneity jointly determine the communication required for distributed sparse histogram estimation.
AI STATEMENT
The authors used ChatGPT (OpenAI) to improve the clarity and presentation of the manuscript and to assist in improving the computational efficiency of Algorithm 1. The authors independently verified the resulting algorithm and its theoretical guarantees and take full responsibility for the correctness and originality of the work. The tool materially affected Section VI. More details can be found in Appendix D. The authors verified the correctness and originality of all content.
APPENDIX A OMITTED PROOFS IN SECTION III
A. Proof of Lemma 1
Proof. Choose integers satisfying
Such an allocation exists because . With public probability , user employs covering level . With the remaining probability , all users send empty strings. In the first case, (8) implies
The protocol is therefore -accurate. Each message has at most indices in the active randomization and zero in the erasure mode, giving
The allocation may differ between users conditional on the same public randomization, so the construction is heterogeneous unless all are equal. Conversely, any feasible allocation satisfies
The construction attains this value and proves (11).
B. Proof of Theorem 1
Proof. The lower bound follows because the total level is at least the threshold on every successful execution:
For the first upper bound, all users choose level with public probability , and all choose zero otherwise. The active randomization succeeds deterministically and has total level .
For the sharper bound, let the active randomization use independent levels . Their sum has distribution and mean . We place this mean slightly above the threshold, so concentration makes the active randomization reliable. For any , the exponential-moment argument for the Chernoff bound [25, Chapter 2] gives
Here we used and . When , minimizing the displayed quadratic gives the upper bound
Consequently, an active-randomization failure probability at most is ensured by
Choose p to make this an equality if possible, and set p = 1 otherwise. In the latter case the active randomization succeeds with probability one. In either case,
Use the active randomization with public probability and erase otherwise. This probability is at most one, and the overall success probability is at least . Its expected total level gives
Finally, take , which is admissible under the stated hypothesis. Dividing by gives
The right-hand side is , with a universal implied constant. This proves (15).
APPENDIX B
OMITTED PROOFS IN SECTION IV
A. Proof of Lemma 2
Proof. We may first modify the decoder without changing its communication cost or reducing its accuracy. Clip each output coordinate to , which cannot increase its distance to any admissible . If the clipped output has norm greater than , replace it by zero. Such an output cannot have been successful, since and success implies . Hence we may assume, on every outcome, that
Suppose , i.e., a coordinate is truly active for exactly users whose posterior candidate sets do not contain . When , we have and
When , the last expression is zero, so the same final lower bound follows from . Since each has exactly active coordinates, . Summing the coordinatewise lower bounds gives
On the event and , integrality implies that
Conditional independence under the product prior gives
Conditioning first on all messages and R makes both and the sets fixed. Therefore,
Combining the event inclusion above with Markov's inequality gives
To transmit the identified coordinates, we use the local uniform prior and count short binary strings. Fix a public realization and a binary string ; lists for messages of conditional probability zero may be taken empty. The posterior identification set satisfies
implying that . For any fixed coordinates, the uniform prior gives the probability that all of these coordinates are active, which is
A union bound over the subsets of therefore shows that, for ,
For a positive length , the number of binary strings shorter than is . Summing over these strings gives
Since is integer-valued,
Taking expectations and applying the preceding inequality gives
Choose
For fixed and sufficiently large , we have and . Hence, and consequently . Substituting the above inequality into (29) implies that, for either encoder model,
The hidden constant depends only on , since . This proves (18) and completes the common bound.
B. Proof of Theorem 2
Proof. Apply Lemma 2 with . Multiplying the success probability in (17) by the required total level gives
For fixed , substitution into (18) gives
The worst-case cost is at least the prior-averaged cost for each protocol, so taking the infimum preserves this bound. Lemma 1 supplies the opposite bound, with an rounding correction. This proves (19).
We prove the explicit bound (20) separately to keep a remainder valid when the parameters grow.
We first bound the number of aggregates that a successful estimate can leave unresolved, then translate the information revealed into expected message length. Choose uniformly among the -subsets of . Partition each chosen set into disjoint supports of size and give their indicator vectors to the users. Their aggregate is . Thus,
The worst-case accuracy requirement gives success probability at least under this prior.
Fix a decoder output . If at least one -subset has aggregate within distance of , choose such a set as a reference. For any other such subset with exactly elements whose corresponding aggregate is also within distance of the same reconstruction ,
Since is an integer, it is at most . At a distance , choose the deleted elements from and the added elements from its complement. Therefore,
The preceding count is the statistical part of the argument: a successful answer restricts the unknown aggregate to a small set. Let be the event of successful reconstruction. Its indicator is determined by and has entropy at most one bit. On success, the remaining uncertainty is bounded by the logarithm of (31); on failure, it is bounded by . Thus,
The second inequality uses and the last bound in (31). Subtracting from gives
(32)
We next account for the information in the message lengths. The target lower bound is at most . Any protocol with worst-case cost greater than this already satisfies it. We may therefore restrict attention to protocols of cost at most , a cost attainable by sending all active indices. In particular, their expected total length under the chosen prior is at most this value. First, for any nonnegative integer variable with mean , we have
For a binary string , there are only possible messages of length . Hence
This inequality accounts for the bits within a string, while accounts for the observed length. Together they avoid imposing any unassumed prefix condition. The entropy chain rule, subadditivity, and Jensen's inequality then give
Since the result above holds for any message , combining it with (32) and taking the infimum, we then obtain
(33)
Using
and
we approximate the ratio by
Substitution into the lower bound (33), followed by , proves (20).
C. Proof of Theorem 3
Proof. For all sufficiently large , the relaxed failure probability in (21) is below one. Lemma 2 with gives conditionally i.i.d. counts satisfying
Their common conditional law, together with the existing public seed, is feasible in (12). Therefore
Combining this with (18), lower bounding worst-case cost by prior-averaged cost, and taking the infimum over protocols proves (21).
For completeness, the right-continuity used to pass to the limit follows from compactness. The success-cost pairs of common laws form a compact set because the probability simplex is compact and both coordinates are continuous. Its convex hull is also compact and describes all public mixtures. For any sequence , take optimal pairs with success at least . A convergent subsequence has success at least , so its limiting cost is at least . Monotonicity gives the reverse inequality. Hence , including when .
Divide (21) by and use this continuity. The covering upper bound (13) gives
The matching lower limit proves (22).
APPENDIX C OMITTED PROOFS IN SECTION V
A. Proof of Theorem 4
Proof. The coefficient bounds follow from (14) in Theorem 1, together with
If , the upper and lower bounds on in (14) coincide. To prove the lower bound, suppose and
For an optimal of conditionally i.i.d. covering levels , decompose the following difference as
All three terms are nonnegative, and their sum is zero. Therefore, takes values only in , with positive probability on the second value. For a non-erasure public randomization, suppose the common level distribution assigns positive probability to two distinct values . By conditional independence, the configurations in which all users choose , exactly one user chooses and the others choose , or all users choose all have positive probability. For , their total levels satisfy
Thus the total level takes at least three distinct values with positive probability, contradicting its restriction to . Such a randomization must therefore choose a deterministic integer with . Since
we must have by the integer constraint of .
B. Proof of Theorem 5
Proof. For fixed , the homogeneous characterization (22) gives
The heterogeneous lower bound (20) and the heterogeneous randomized covering construction similarly give
Since and , the latter coefficient is positive. Dividing the two limits establishes the asymptotic ratio in (23).
We first prove (24). For fixed and , the elementary lower bound and the concentration upper bound in Theorem 1 give
In particular, the growth of implies
The homogeneous randomized covering upper bound (13) implies that . Combining this with (20) gives
The growth and remainder conditions in the theorem, together with , make both endpoints tend to one. This proves (24).
Next, suppose (25) holds. Then and . The feasibility condition in (12) requires at least one user to choose a positive covering level. Replacing each individual by preserves this event and cannot increase the cost. Thus each may be restricted to , with conditional probabilities and , respectively; the sum may still take any value in . Since the users' are independent and identically distributed given , the probability that all users choose zero is . Hence, the -accuracy constraint under (25) becomes
By Jensen's inequality,
Every feasible Bernoulli-level policy therefore has expected total level . Taking the minimum gives .
To show that this lower bound is achievable, consider the case in which every user independently chooses covering level with probability and with probability . The covering-level constraint fails exactly when for all . By independence, this failure probability is . Choosing makes this probability exactly . Moreover, each user's expected level is , giving an expected total covering level of , attaining the lower bound established above and proving
Combining this identity with the fixed-parameter communication characterizations proved above gives
Finally, for fixed , letting gives
□
APPENDIX D OMITTED PROOFS IN SECTION VI
A. Proof of Lemma 3
Proof. First, replacing each covering level by gives
while
Hence, we may restrict all covering levels to .
For any distribution p on these levels, define
where denotes the probability simplex restricted to the admissible covering levels. Both coordinates are continuous in , so is compact. By (12),
If , almost every public randomization must succeed with probability one. Let be the smallest level with positive probability in such a mode. Conditional independence gives positive probability to all users choosing , so . Consequently,
Choosing this level deterministically is feasible and minimizes the cost. Thus , and a single public randomization suffices.
Suppose . Since , any feasible with can be replaced by , which has success probability and no larger cost. Thus, . A supporting line at this point intersects in a point or a line segment. Since the extreme points of belong to the original compact set of success-cost pairs, there exist two distributions and such that
and
Thus, at most two public and suffice.
B. Proof of Theorem 6
Proof. We first control the cost of each randomization in an optimal mixture. A small average cost alone would permit an expensive randomization with a very small public probability. This control will justify a finite grid that preserves feasibility and approximates the cost.
We first bound within each public randomization appearing with positive probability in an optimal mixture. For fixed , consider an optimal two-randomization mixture from Lemma 3. The set of attainable success-cost pairs has a supporting line of finite nonnegative slope at the optimal point. Duality for this supporting line gives
(35)
To bound , consider a reference distribution with independent and
The expected total covering level is at most . By the binomial tail calculation in the proof of Theorem 1, its success probability is at least . Writing the sufficient condition (28) from that proof with failure probability , we have
When p = 1, success is certain and the same conclusion holds. Evaluating the maximum in (35) at this reference distribution gives
Since ,
The zero-level policy makes the maximum in (35) nonnegative. Each positive-weight randomization of an optimal mixture attains that maximum, so it satisfies
We now analyze Algorithm 1, starting with its large-threshold branch. The chosen binomial parameter ensures that the non-erasure randomization fails with probability at most . Activating this with public probability therefore gives overall success probability at least . Using the binomial tail calculation in Theorem 1,
This proves both feasibility and the claimed accuracy in the large branch.
It remains to consider the small case. Since , the number of admissible covering levels is bounded by a function of and . We distinguish two cases according to the number of users.
Case 1: Small n. Suppose
Then is also bounded by a function of and . As specified in Algorithm 1, choose . Consider an optimal mixture of at most two public randomizations, as established in Lemma 3. For each distribution in this mixture, round its cumulative probabilities downward to multiples of . Specifically, define
where an empty sum is zero by convention. Consequently, for every , , implying that stochastically dominates . Since the users independently draw their covering levels conditional on each public randomization, this rounding cannot decrease the probability that their sum reaches . Moreover, the tail-sum identity gives
Applying this rounding to both modes, while preserving their original mixing probabilities, produces a feasible mixture whose expected total covering level is at most . Since every rounded distribution belongs to the enumerated family, Algorithm 1 returns a mixture with no larger expected cost. Consequently,
where the last two inequalities follow from the lower bound (14) in Theorem 1 and the choice of m.
Case 2: Large n. Now suppose
In this case, Algorithm 1 uses the scaled-probability grid with spacing .
Consider again an optimal mixture of at most two public randomizations. For each distribution in this mixture, round upward to the nearest multiple of for , i.e.,
and assign the remaining probability .
We first verify that this rounded distribution is valid. By (36), each randomization in the chosen optimal mixture satisfies . Since , we obtain
Therefore , and is a valid probability distribution.
Since for every , the rounding moves probability from j = 0 to j > 0. Hence, stochastically dominates , and the success probability cannot decrease. Also, the increase in the expected total covering level of each randomization is bounded by
Furthermore, (36) implies for every . We then have
Thus each rounded probability belongs to the scaled grid enumerated in Algorithm 1.
Applying this rounding to both optimal randomizations gives a feasible mixture with expected total covering level at most , which also upper bounds the cost of the mixture returned by Algorithm 1. Therefore,
Combining the two cases proves the approximation guarantee for the small-count branch.
Finally, we bound the arithmetic complexity of the algorithm. In the small-t branch, both and are bounded by functions of and . When , the number of candidate distributions is , where . When , the number of candidates is at most
Thus, in either case, the number N of candidate distributions depends only on and , with
For each candidate, the success probability can be evaluated by truncated polynomial exponentiation using arithmetic operations, and its expected covering level requires operations. The lower convex hull of the resulting success-cost pairs can be computed in operations. Hence, the small-t branch requires
arithmetic operations. The large-t branch requires at most operations to construct the binomial distribution, and explicitly representing the final distribution over all covering levels also requires at most operations.
Since , and are bounded by functions of and , the polynomial factors in , and can be absorbed into the exponential bound above. Consequently, the overall arithmetic complexity is
where
For every fixed , this establishes the claimed arithmetic complexity.
APPENDIX E
DERIVATION AND NUMERICAL EVALUATION OF THE COMPARISON BOUNDS
All baseline constructions admit a common conditional encoder. Public randomness may choose among parameter settings, including a setting in which all users remain silent. We choose these probabilities to minimize expected communication subject to the weighted average of the uniform success bounds being at least .
A. Coordinate and Client Sampling
Both active sampling estimators reconstruct a reported entry as . Put for coordinate sampling and for client sampling. For , summing local absolute errors gives
Indeed, the sum of local errors for inputs with exactly active entries is distributed as . For smaller supports, adding nonnegative dummy error contributions gives the same upper bound. The expected communication is at most .
For the explicit table bounds, Hoeffding's inequality and give
with probability at least . Choose
When , use this sampling rule with public probability and let all users remain silent otherwise. When , exact transmission with probability suffices. Comparing these options gives expected communication at most
Substituting and proves the two sampling entries. Their coarse order is on ; the displayed terms show the distortion dependence and the different concentration corrections.
B. Hashing and Algebraic Recovery
Count-Min thresholded at 1 and partitioned Bloom filters have no false negatives. With buckets in each of independent rows, a zero coordinate is falsely reported with probability at most . The aggregate error equals the total number of local false positives divided by . Failure therefore requires at least false positives, and Markov's inequality gives
Independence across users or queried coordinates is unnecessary. A counter row has at most possible states, and an occupancy row has at most . The respective total communication costs of Count-Min Sketch and Bloom Filters are at most
For the table, take
The failure bound is then at most . Each row costs bits, and . Using the sketch with public probability and remaining silent otherwise proves both hashing entries in Table I.
A BCH syndrome uses at most bits per user [20, Theorem 16]. Exact decoding with public transmission probability gives expected bits.
APPENDIX F
LOWER BOUNDS COMPARISONS UNDER EXPECTED-LENGTH COMMUNICATION
We justify Table II by adapting the three lower bound methods to expected communication and our accuracy criterion.
A. From Information to Expected Bits
The geometric distribution maximizes the entropy of a nonnegative integer with a fixed mean. Applying this fact to the message lengths, and then counting the binary strings of each length, gives
Here is the worst-case expected total communication, and . The right-hand side is increasing in , so an information lower bound gives a communication lower bound by solving this scalar inequality. For fixed and information of order , the message-length entropy changes the bound by only .
B. Aggregate Fano and Transcript Counting
For , choose a uniform -subset and partition it into supports of size . By (31), every distortion ball of radius , including those centered at real-valued outputs, has prior mass at most
Binomial coefficients outside their usual range are zero. The distance-based Fano inequality [12], [24] and (40) give
For counting [12], the number of message tuples with total length at most a nonnegative integer is . Conditional on public randomness, each tuple can account for successful prior mass no larger than (41). Bounding the probability of success with total length at most , then summing the complementary tail probabilities, gives
For fixed , the negative logarithm of (41) is . The logarithm of the tuple count is . Both arguments therefore give
Neither uses the common encoder constraint, so both give the same bound for the two models.
C. Posterior Variance
Following the block prior in [8], choose disjoint groups of coordinates. Each user independently chooses one active coordinate in each group. Euclidean projection of the estimate onto does not increase its squared error. The projected squared error is at most on success and at most on every outcome. Its mean is therefore at most
The conditional variance decomposition in [8, Lemma 3.4] bounds the expected sum of local posterior variances by . For a categorical variable, its minimum decoding error is at most the sum of its indicator variances. Thus the same expression bounds the sum of the block-decoding error probabilities.
The standard decoding-error entropy bound limits each block's conditional entropy to one bit plus its decoding error probability times . Summing over the blocks gives
Information is nonnegative. Combining these bounds with (40), for fixed , gives
This proves the coefficient in Table II. Both this argument and our lower bounds use local posterior information. The squared-loss conversion replaces the success-event requirement by an average variance bound. Our identification lemma instead controls how many true support coordinates the messages must identify on successful outcomes and preserves their common conditional law in the homogeneous model.
REFERENCES
[1] H. Esfandiari, P. Kacham, V. Mirrokni, D. P. Woodruff, and P. Zhong, “Optimal communication bounds for classic functions in the coordinator model and beyond,” in Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC 2024). ACM, 2024, pp. 1911–1922. [Online]. Available: https://doi.org/10.1145/3618260.3649742
[2] S. Feng, W. Swartworth, and D. P. Woodruff, “Tight bounds for heavy-hitters and moment estimation in the sliding window model,” in 52nd International Colloquium on Automata, Languages, and Programming (ICALP 2025), ser. Leibniz International Proceedings in Informatics (LIPIcs), vol. 334. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025, pp. 75:1–75:19. [Online]. Available: https://doi.org
[3] S. Bhattacharyya, P. Dey, and D. P. Woodruff, “An optimal algorithm for -heavy hitters in insertion streams and related problems,” ACM Transactions on Database Systems (TODS), vol. 43, no. 2, pp. 9:1–9:26, 2018. [Online]. Available: https://doi.org
[4] Z. Karnin, K. Lang, and E. Liberty, “Optimal quantile approximation in streams,” in 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS). IEEE, 2016, pp. 420–429. [Online]. Available: https://doi.org
[5] A. T. Suresh, F. X. Yu, S. Kumar, and H. B. McMahon, “Distributed mean estimation with limited communication,” in Proceedings of the 34th International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 70. PMLR, 2017, pp. 3329–3337.
[6] M. Braverman, A. Garg, T. Ma, H. L. Nguyen, and D. P. Woodruff, “Communication lower bounds for statistical estimation problems via a distributed data processing inequality,” in Proceedings of the 48th Annual ACM Symposium on Theory of Computing. ACM, 2016, pp. 1011–1020.
[7] B. McMahon, E. Moore, D. Ramage, S. Hampson, and B. Agüera y Arcas, “Communication-efficient learning of deep networks from decentralized data,” in Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, ser. Proceedings of Machine Learning Research, vol. 54. PMLR, 2017, pp. 1273–1282. [Online]. Available: https://proceedings.mlr.press/v54/mcmahan17a.html
[8] Z. Huang, Z. Huang, Y. Wang, and K. Yi, “Optimal sparsity-sensitive bounds for distributed mean estimation,” in Advances in Neural Information Processing Systems, vol. 32, 2019.
[9] D. Jhunjhunwala, A. Mallick, A. Gadhikar, S. Kadhe, and G. Joshi, “Leveraging spatial and temporal correlations in sparsified mean estimation,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 14280–14292. [Online]. Available: https://neurips.cc
[10] S. Vargaftik, R. Ben Basat, A. Portnoy, G. Mendelson, Y. Ben-Itzhak, and M. Mitzenmacher, “EDEN: Communication-efficient and robust distributed mean estimation for federated learning,” in Proceedings of the 39th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 162. PMLR, 2022, pp. 21984–22012. [Online]. Available: https://mlr.press
[11] A. T. Suresh, Z. Sun, J. H. Ro, and F. Yu, “Correlated quantization for distributed mean estimation and optimization,” in Proceedings of the 39th International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 162. PMLR, 2022, pp. 20758–20771.
[12] Y. Fan, F. Ye, and R. W. Yeung, “Lossy compression for sparse aggregation,” arXiv:2606.30425, 2026. [Online]. Available: https://arxiv.org/abs/2606.30425
[13] W.-N. Chen, A. Özgür, G. Cormode, and A. Bharadwaj, “The communication cost of security and privacy in federated frequency estimation,” in Proceedings of the 26th International Conference on Artificial Intelligence and Statistics (AISTATS), ser. Proceedings of Machine Learning Research, vol. 206. PMLR, 2023, pp. 4247–4274.
[14] V. Kostina, Y. Polyanskiy, and S. Verdú, “Variable-length compression allowing errors,” IEEE Transactions on Information Theory, vol. 61, no. 8, pp. 4316–4330, 2015.
[15] J. Konečný and P. Richtárik, “Randomized distributed mean estimation: Accuracy vs communication,” Frontiers in Applied Mathematics and Statistics, vol. 4, p. 62, 2018. [Online]. Available: https://doi.org
[16] J. Acharya, C. L. Canonne, and H. Tyagi, “Inference under information constraints II: Communication constraints and shared randomness,” IEEE Transactions on Information Theory, vol. 66, no. 12, pp. 7856–7877, 2020.
[17] J. Acharya and Z. Sun, “Communication complexity in locally private distribution estimation and heavy hitters,” in Proceedings of the 36th International Conference on Machine Learning (ICML), ser. Proceedings of Machine Learning Research, vol. 97. PMLR, 2019, pp. 51–60.
[18] V. Braverman, S. R. Chestnut, N. Ivkin, and D. P. Woodruff, “Beating CountSketch for heavy hitters in insertion streams,” in Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing (STOC 2016). ACM, 2016, pp. 740–753. [Online]. Available: https://doi.org
[19] M. Liu, Y. Yin, and H. Yu, “Succinct filters for sets of unknown sizes,” in 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), ser. Leibniz International Proceedings in Informatics (LIPIcs), vol. 168. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020, pp. 79:1–79:14. [Online]. Available: https://doi.org
[20] D. Belazzougui, G. Kuchеров, and S. Walzer, “Better space-time-robustness trade-offs for set reconciliation,” in 51st International Colloquium on Automata, Languages, and Programming (ICALP 2024), ser. Leibniz International Proceedings in Informatics (LIPIcs), vol. 297. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024, pp. 20:1–20:19. [Online]. Available: https://doi.org/10.4230/LIPIcs.ICALP.2024.20
[21] M. Mitzenmacher, “Compressed bloom filters,” IEEE/ACM Transactions on Networking, vol. 10, no. 5, pp. 604–612, 2002.
[22] G. Cormode and S. Muthukrishnan, “An improved data stream summary: the count-min sketch and its applications,” Journal of Algorithms, vol. 55, no. 1, pp. 58–75, 2005. [Online]. Available: https://doi.org
[23] B. H. Bloom, “Space/time trade-offs in hash coding with allowable errors,” Communications of the ACM, vol. 13, no. 7, pp. 422–426, 1970.
[24] J. C. Duchi and M. J. Wainwright, “Distance-based and continuum Fano inequalities with applications to statistical estimation,” arXiv:1311.2669, 2013.
[25] S. Boucheron, G. Lugosi, and P. Massart, Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford, UK: Oxford University Press, 2013.