arXiv:2611.04285cs.ITNov 2026

Manuscript Offprint

arXiv:2611.04285

Optimal Communication for Distributed Sparse Histogram Aggregation

Fangwei Ye, Yijun Fan

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 ℓ1\ell_1 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 n≥1n \geq 1 users and a server. User ii holds a kk-sparse categorical vector

xi∈{0,1}d,∥xi∥0≤k,i=1,…,n,x_i \in \{0,1\}^d, \qquad \|x_i\|_0 \leq k, \qquad i=1,\ldots,n,

where d≥2d \geq 2 and 1≤k≤d1 \leq k \leq d. The target for the server is to estimate empirical histogram

u=1n∑i=1nxi.(1)u = \frac{1}{n} \sum_{i=1}^{n} x_i. \tag{1}

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 0≤D<k0 \leq D < k and 0≤δ<10 \leq \delta < 1, a protocol is (D,δ)(D,\delta)-accurate if

inf⁡x1,…,xn∈{0,1}d∥xi∥0≤k ∀iP(∥u^−u∥1≤D)≥1−δ.(2)\inf_{\substack{x_1,\ldots,x_n \in \{0,1\}^d \\ \|x_i\|_0 \leq k \ \forall i}} \mathbb{P}\left(\|\hat{u} - u\|_1 \leq D\right) \geq 1 - \delta. \tag{2}

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 RR be public randomness independent of the inputs and Mi∈{0,1}∗M_i \in \{0,1\}^* be user ii's message. A protocol has cost

sup⁡x1,…,xn∈{0,1}d∥xi∥0≤k ∀iE[∑i=1n∣Mi∣].(3)\sup_{\substack{x_1,\ldots,x_n \in \{0,1\}^d \\ \|x_i\|_0 \leq k \ \forall i}} \mathbb{E}\left[\sum_{i=1}^{n} |M_i|\right]. \tag{3}

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 RR, 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 ii may use its own conditional channel:

P(M1=m1,…,Mn=mn∣x1,…,xn,R=r)=∏i=1nQi,r(mi∣xi).(4)\mathbb{P}(M_1 = m_1, \ldots, M_n = m_n \mid x_1, \ldots, x_n, R = r) = \prod_{i=1}^{n} Q_{i,r}(m_i \mid x_i). \tag{4}

In the homogeneous model, all users use the same channel after fixing the public randomness:

P(M1=m1,…,Mn=mn∣x1,…,xn,R=r)=∏i=1nQr(mi∣xi).(5)\mathbb{P}(M_{1}=m_{1},\ldots,M_{n}=m_{n}\mid x_{1},\ldots,x_{n},R=r)=\prod_{i=1}^{n}Q_{r}(m_{i}\mid x_{i}). \tag{5}

The reason of distinguishing homogeneous and heterogeneous models is because the gap between them has been observed in related problems [17]. Let Chom(D,δ)C_{hom}(D,\delta) and Chet(D,δ)C_{het}(D,\delta) be the infima of (3) over accurate homogeneous and heterogeneous protocols, suppressing n, k, d. Class inclusion gives

Chet(D,δ)≤Chom(D,δ).(6)C_{h e t}(D,\delta)\leq C_{h o m}(D,\delta). \tag{6}

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 D≥kD \geq k or δ=1\delta = 1, we consider the non-trivial cases with positive communication cost needed in the sequel.

References (25)