Manuscript Offprint
arXiv:2608.24787Test-Time Collaborative Classification over Multi-Agent Networks
Ping Hu, Member, IEEE, Mert Kayaalp, Member, IEEE and Ali H. Sayed, Fellow, IEEE
Abstract—The increasing heterogeneity of multi-agent systems poses significant challenges for jointly training a global model across agents. At the same time, cooperative inference between agents has long been recognized as a powerful mechanism for distributed decision making over networks. Motivated by these observations, we propose a collaboration framework for distributed binary classification over multi-agent networks, where a set of independently trained agents, potentially differing in architecture, feature space, or modality, coordinate their actions during test time to form collective predictions. This coordination is achieved by exchanging local decision statistics through a distributed learning protocol. We develop a theoretical and experimental study of this independent training and cooperative inference paradigm, and examine its performance under different communication budgets and distributed learning rules. We establish classification error guarantees under sufficient, finite-round, and finite-precision communication, together with PAC-style generalization bounds. These results capture the influence of model heterogeneity, network topology, combination policy, and communication constraints on prediction accuracy. Taken together with the experimental results, they reveal both the price of independent training and the benefit of collective prediction for the proposed distributed decision making framework with models learned from data.
Index Terms—Distributed learning and inference, collective intelligence, classification, probability of error, ensemble learning
I. INTRODUCTION
DISTRIBUTED learning and inference is a key paradigm for large-scale and distributed systems, where data is generated and processed across multiple agents. Within this context, two major lines of research have emerged: distributed inference, extensively studied in the statistics, signal processing, and control communities [1]–[3], and distributed machine learning, primarily advanced within the machine learning (ML) and data science communities [4], [5].
In distributed inference, a collection of agents is connected through a communication network. Each agent owns a family of statistical models that describes the distribution of its observations under a common, shared latent variable (e.g., a hidden state or hypothesis). The collective objective is to infer this latent variable through local computations and communication. To this end, agents iteratively update their beliefs or estimates by combining private observations with information received from their neighbors. Classical instances of this paradigm include distributed estimation [1]–[3], distributed detection [6]–[8], and social learning [9]. A key feature of these problems is that collaboration takes place during the inference phase. In contrast, distributed ML has mainly focused on collaboration during the training phase, as exemplified by federated learning and decentralized learning. In this setting, agents jointly train a global model on distributed data, which is later deployed for inference either centrally or across devices. The inference stage is thus governed by a single unified model, and the system operates as a single decision maker. This is fundamentally different from distributed inference, where each agent acts as an autonomous decision maker, and collaboration serves to improve the quality of individual or consensus predictions.
While these two research lines have evolved largely independently, they share some core motivation (e.g., scalability, decentralization, and privacy), and often employ similar tools, particularly those from distributed optimization [10], [11]. Recently, efforts have been made to bridge the two fields in order to leverage their complementary benefits. A promising line of work is inference with machine-learned models, as studied in [12]–[14]. In [12], this idea is examined in the context of hypothesis testing within a centralized setting involving a single agent. More relevantly, [13] and [14] study the social learning task where multiple agents train local classifiers on their own data to extract discriminative information for inference in the absence of explicit statistical models. In both cases, inference is performed using a stream of unlabeled observations. In this work, we consider instead a distributed binary classification setting in which each agent has access to only a single local testing sample associated with a common, unknown class label. The agents are collectively tasked with identifying this label from their own observations. This setting naturally arises in applications such as sensor fusion (e.g., vehicles capturing different views of the same object) and multi-view classification (e.g., image and text modalities of the same entity). The goal of this work is to develop a distributed classification framework for this setting.
Ping Hu and Ali H. Sayed are with the School of Engineering, École Polytechnique Fédérale de Lausanne (EPFL), 1015 Lausanne, Switzerland (email: ping.hu@epfl.ch; ali.sayed@epfl.ch). Mert Kayaalp is now with the DTI, SUPSI, Dalle Molle Institute for Artificial Intelligence (IDSIA USI-SUPSI), 6962 Lugano, Switzerland, where he is affiliated with the UBS-IDSIA AI Lab (email: mert.kayaalp@idsia.ch). This work was done while he was a Ph.D. student and Post-doc at the Adaptive Systems Laboratory at EPFL. Mert Kayaalp's work was supported by UBS Switzerland AG and its affiliates through the UBS-IDSIA AI Lab. A preliminary version of this work was presented at the Algorithmic Collective Action Workshop, NeurIPS 2025.
Throughout this paper, we use the term “distributed” to describe systems without a central coordinator. Closely related architectures are also termed “decentralized” in the machine learning literature.
trains a local classifier using its own dataset. This independent training process is motivated by several trends and challenges in modern ML systems. First, it has become increasingly common in large-scale and privacy-sensitive applications, such as edge computing [15] and foundation models [16]. For example, large language models or domain-specific experts may be trained independently across different entities (e.g., companies, institutions, clients, or devices) and later coordinated at inference time [17]. Second, feature and model heterogeneity often make joint training impractical. For example, agents may process different input modalities or rely on distinct model architectures tailored to their local data. During the testing phase, each agent receives a private testing sample and participates in a distributed inference protocol to infer the shared class label by exchanging predictive information with its neighbors. This collaborative framework introduces several challenges that are not present in the standard supervised classification setting:
(i) How should agents aggregate predictions at test time? Unlike standard ML pipelines that rely on a single trained model, each agent in our setting is equipped with an independently trained local model. This raises the question of how agents can effectively aggregate their individual predictions during inference.
(ii) How does agent heterogeneity govern the generalization performance? While classical supervised generalization theory typically analyzes a single learned predictor, our setting involves collective predictions based on multiple independently trained local classifiers. This raises the question of how agents' inherent heterogeneity and inter-agent interactions shape the generalization behavior of the entire distributed system.
(iii) How does limited communication affect prediction? Collective prediction typically relies on sufficient information exchange. When communication is limited in either the number of rounds or message precision, the resulting predictions may deviate from the sufficient-communication limit. This raises the question of how communication constraints affect the individual prediction accuracy.
To introduce our framework, we assume that agents produce soft predictions using their local classifiers and adopt the classical DeGroot model [18] as an interpretable and analytically tractable mechanism for information aggregation during inference. In this model, agents iteratively update their predictions by taking a weighted average of their neighbors' predictions according to a combination policy defined over a fixed communication topology [18]. The DeGroot model has been extensively studied in the distributed inference literature and is well known for achieving consensus in multi-agent systems [19], [20]. DeGroot updating has also been examined experimentally in human social networks [21]. Moreover, its linear update structure makes it particularly well-suited for distributed implementation with finite communication rounds.
The novelty of the present work is not in proposing a new information aggregation rule, but in formulating and analyzing this inference-time collaboration framework. Accordingly, this work develops a theoretical and experimental study with the following contributions:
(i) We establish theoretical guarantees for distributed classification over multi-agent networks under the independent training and collaborative inference paradigm. The derived bounds characterize how network structure, local model quality, and data heterogeneity influence predictive accuracy.
(ii) We analyze how communication constraints affect classification, deriving agent-dependent bounds for both finite-round and finite-precision communication. These results characterize how incomplete consensus, network topology, combination policy, and communication precision influence prediction accuracy.
(iii) We evaluate the proposed framework on two complementary benchmarks and empirically demonstrate the benefits of cooperative inference under different observation settings.
These contributions provide theoretical foundations for test-time collaboration in distributed classification and highlight connections between distributed inference and distributed ML.
B. Related Literature
- Distributed machine learning: Most existing work in this domain has focused on collaboratively training a shared global model using data distributed across multiple devices or computational nodes. Two dominant approaches are federated learning, which relies on a central server to aggregate locally trained updates [22], [23], and decentralized learning, which dispenses with the server and synchronizes models through peer-to-peer communication over a fixed network graph [24], [25]. Variants of these methods address challenges such as non-i.i.d. data [26], [27], agent sampling [28], personalization [29], and communication efficiency during training [30], [31]. Despite their topological differences, in their canonical forms, both paradigms aim to produce a shared global model during training. At inference time, this model is either executed on a central server or deployed across devices, so the system effectively operates as a centralized decision maker, even when implementation is distributed. These joint-training frameworks are therefore complementary to the setting studied here: they aim to produce a shared global model during training, whereas our work focuses on inference-time collaboration among independently trained local models. A small body of work has explored collaboration during inference, where a set of independently trained models exchange information with each other to improve accuracy via trust-score design [32], [33]. Yet they all assume that all agents observe the same test input, which restricts agents' heterogeneity to model parameters or inductive biases. This setup closely parallels ensemble learning and multiple classifier combination discussed later.
In contrast, we study a setting in which each agent receives its own private testing sample, and these samples may be statistically dependent across agents. This formulation naturally accommodates heterogeneous feature spaces (e.g., multimodal sensors or domain-specific models) and enables distributed decision-making without feature alignment. Collaborative inference in this setting has received little attention, and our work provides a formal theoretical and experimental treatment.
- Distributed inference: Distributed inference studies how a network of agents collaborates to estimate a latent variable based on private observations and local communication [1]–[3]. Applications include state estimation in smart power grids, cooperative perception in multi-robot systems, and opinion dynamics in social networks. These applications motivate different modeling frameworks depending on the nature of the latent variable. For discrete hypothesis spaces, a widely studied paradigm is social learning (SL), in which agents iteratively exchange local beliefs to identify the true hypothesis. SL naturally accommodates heterogeneous agents, since each agent may observe different types of signals modeled by distinct statistical distributions [9]. Classical SL methods assume that agents possess a family of likelihood models, which are used in updating beliefs via Bayes' rule (or suitable variants) [34]–[38]. While analytically elegant, this assumption is restrictive in real-world problems, where data distributions are complex and rarely admit closed-form models. To address this limitation, [13] proposed a social machine learning strategy, where each agent first trains a local classifier using its own labeled examples, and then performs the SL rule based on the trained classifier. The asymptotic and non-asymptotic performance of this strategy has been examined in [13], [14].
Our work follows this data-driven perspective but differs in the task formulation. In SL, agents typically process streams of unlabeled i.i.d. data to infer a shared latent hypothesis. In the supervised classification setting studied here, each agent receives only a single testing sample for collective prediction, and collaboration takes place through a finite-round exchange of learned local decision statistics at test time. This difference changes the operational role of communication and leads to analytical questions that are not directly addressed in existing SL studies or in classical single-agent supervised classification.
- Multiple classifier combination: This is a classical line of research in ML that studies how to aggregate the predictions of multiple models to improve performance. While our framework is distributed and collaborative in nature, it bears a strong conceptual connection to this literature. Specifically, when all agents follow the DeGroot model for information aggregation at test time, their predictions converge (in the limit of infinite communication) to a consensus that is a weighted average of the local classifier outputs. This resembles the effect of a centralized fusion rule, a central topic in the literature on multiple classifier combination. Classical techniques in this area include voting schemes, bagging, boosting, and stacking [39], [40]. These approaches form the foundation of what is often referred to as ensemble learning, where multiple base classifiers are combined to improve generalization and robustness [41], [42]. More advanced strategies, such as mixture-of-experts models, combine classifiers through input-dependent gating [16]. These approaches, however, typically operate in a centralized setting during test time and assume a common feature representation across experts.
In contrast, our framework operates in a fully-distributed environment during both training and testing phases. When communication is limited to a finite number of rounds, consensus may not be reached, and predictions remain agent-dependent. This dynamic, iterative process differs fundamentally from the static, one-shot aggregation used in most ensemble methods.
Notation: We use boldface font to denote random variables and normal font for their realizations, e.g., h and h. E and P denote the expectation and probability operators, respectively. 1[.] denotes the indicator function, and 1 denotes the all-ones vector.
II. PROBLEM FORMULATION
We are given a network of agents indexed by and a binary classification task with class label . The sets of agents and labels are denoted by and , respectively. We assume that the semantic meaning of the labels is fixed and shared across the network during both training and inference. Each agent holds a local training set of labeled examples , where is the -th feature vector and is its label. Let denote the feature space of agent . A network observation consists of one local view from each agent and therefore takes values in the product space
For each , let denote the class-conditional distribution of a network observation , and let denote its -th marginal. When this marginal admits a density or probability mass function, we denote it by .
For the binary classification task, we assume a uniform class prior. Then, induces the joint distribution Q of :
We denote by the corresponding marginal distribution of at agent . Conditional on , the local observations in may be statistically dependent across agents. The agents are heterogeneous as they may have different feature spaces (e.g., different views in multi-view learning) or distinct class-conditional models (e.g., different local distributions in personalized federated learning). The posterior log-ratio is sufficient for binary decision making. Under the uniform prior in (2), Bayes' rule gives
where denotes the posterior probability. The function is also known as the logit function in the literature.
A. The Training Phase
In the training phase, each agent uses its own dataset to train a local classifier. For each agent , the samples in are independently drawn according to . Moreover, samples with the same index may be statistically dependent across agents, while the corresponding cross-agent sample collections are independent across indices. We denote by a generic real-valued score function from an admissible function class . The function serves as an approximation to the logit function in (3). Formally,
(4) where denotes the estimated posterior probability. Given , the empirical risk associated with a candidate score function is
where denotes the loss function used for training. Let denote the local training algorithm at agent and let collect its internal randomness. The resulting trained score function is denoted by
We measure the optimization accuracy of by its empirical optimality gap, namely, the difference between its empirical risk and the infimum empirical risk over :
A zero gap corresponds to exact empirical risk minimization (ERM), while a positive gap quantifies the residual optimization error of the trained score function.
For the theoretical analysis, we use the following assumptions on the loss function and the function class , which are commonly adopted in statistical learning theory [43], [44].
Assumption 1 (Conditions on the loss function). The loss function is convex, non-increasing and differentiable at 0 with . Also, it is -Lipschitz.
Assumption 2 (Boundedness of functions). There exists a constant such that for every , , and .
The training phase is completed by empirically centering the learned score , following [13], [14]. Since independently trained local classifiers may exhibit different empirical offsets, we subtract each score's empirical training mean to better align the local outputs before collaboration. Specifically, we define the empirical training mean as
The resulting classifier generates a centered score:
Therefore, after training, the sign of determines the local prediction at agent for any unseen feature vector . The role of empirical centering is examined in Section III-A.
B. The Prediction Phase
In the prediction phase, the network receives a fresh testing example drawn from Q independently of the training data and local training-algorithm randomness, with each agent k observing only its local component . These local views may remain statistically dependent conditioned on . The goal of the agents is to make a collective prediction about by collaborating with their neighbors. We use t to index the communication rounds and denote by the decision statistic of agent k at round t, whose sign determines its prediction. Following the DeGroot model, the agents iteratively combine their decision statistics over the network. Upon observing , agent k initializes its decision statistic using the local classifier :
Then, each agent communicates with its neighbors and updates its decision statistic by aggregating the local decision statistics in the neighborhood [18]:
where denotes the combination weight agent k assigns to its neighbor , which satisfies
with denoting the neighboring set of agent k. Communication proceeds in synchronous rounds over this fixed graph, and the exchanged messages are assumed to be delivered reliably. Accordingly, the communication model considered here does not include asynchronous updates, time-varying connectivity, or packet losses. Moreover, we impose the following assumption on the topology of the communication network to ensure information diffusion throughout the network.
Assumption 3 (Strongly-connected graph). The graph of the communication network is strongly connected. That is, there exist paths with positive combination weights between any two distinct agents in both directions (the two paths need not be the same), and at least one agent has a self-loop, i.e., for some agent k [10].
Under this assumption and from the Perron-Frobenius theorem [45], the combination matrix is primitive and admits a Perron vector satisfying
The entries of quantify the relative influence of the agents following the adopted combination policy. In network science terminology [46], [47], this Perron vector corresponds to the notion of eigenvector centrality associated with the matrix A. Moreover, the second-largest magnitude among all eigenvalues of A, denoted by , is strictly smaller than 1.
To evaluate the performance of this framework, we first introduce a feasibility condition associated with the classification task, defined in terms of the target risk for training. For each agent , the target risk is the infimum of the expected risk over the local function class :
The target risk for the network is defined as a weighted average of the individual target risks involving the Perron vector :
The reason for introducing in defining will be clear in our subsequent analysis for the classification error. The feasibility of the classification task requires the following assumption.
Assumption 4 (Feasibility). The network target risk satisfies .
We note that represents the expected risk of the model , which corresponds to the case where agent assigns labels +1 and -1 with equal probability to all feature vectors. Hence, implies that the feature vectors of agent provide no useful information for classification within the prescribed function class . Assumption 4 is a network-level feasibility condition: it does not require every agent to be individually informative, but only that the network target risk satisfies . Thus, the collective observations available in the network must contain enough class-discriminative information to outperform random guessing. If this condition fails, then the classification problem is effectively uninformative at the network level.
III. PERFORMANCE GUARANTEES
This section develops four principal performance guarantees for the proposed framework: sufficient-communication classification, finite-round communication, finite-precision communication, and probably approximately correct (PAC)-style generalization. The analysis of the first three guarantees proceeds in two stages. We first characterize the training performance of the classifier network through an expected network margin. Two supporting propositions are derived for clarifying the role of empirical centering in (9) and establishing when approximate local training attains such a margin with high probability. We then use this common margin event to characterize the prediction error under the three communication settings. The final PAC-style theorem provides a complementary guarantee that relates population error directly to the performance observed on the training data. We conclude by clarifying the relation to conventional social learning recursions and summarizing the corresponding results without empirical centering.
A. Network Margin and Training Guarantee
To define the expected network margin used throughout the analysis, we first identify the aggregate classifier obtained after sufficient communication. Following the DeGroot averaging rule (11), agents agree on a common decision statistic denoted by after sufficient communication [18]. That is, it holds almost surely (a.s.) that
Accordingly, the collective prediction under sufficient communication is
where any fixed tie rule may be used at zero. Equivalently, the distributed rule (11) functions as an aggregate classifier:
This aggregate classifier resembles a -weighted soft decision combination of K independently trained local classifiers. The analysis of is nontrivial because the informativeness of the local scores may vary across agents and the local views may be statistically dependent. Existing theoretical results on soft decision combination often rely on specific distributional assumptions on the local scores [48]. We therefore develop an analysis that accommodates these heterogeneous and statistically dependent local observations.
Since the deployed local scores are empirically centered, we first examine how the empirical centering operation in (9) affects the aggregate score relative to the common zero decision threshold. For a generic collection of local score functions
we define the uncentered aggregate score by
Let denote its class-conditional mean, where denotes expectation under . We introduce the following network-level quantities associated with :
Moreover, we define the network empirical training mean by
Under the uniform class prior, for any fixed independent of the training samples, the training setup in Section II-A implies . Hence, is the population counterpart of the network empirical training mean. With the above definitions, we establish the following proposition.
Proposition 1 (Effect of additive centering). For arbitrary additive centers , let and define
Its expected margin over both classes at threshold zero is
(25)
Hence the population midpoint maximizes this margin. In particular, the margins under raw and empirically centered scores satisfy
Therefore, empirical centering (9) improves the expected zero-threshold margin if and only if
Moreover, empirical centering is invariant to the agent-specific additive offsets: if , then
Consequently, the centered DeGroot recursion (11) stays unchanged by these offsets at every communication round.
Proof. See Appendix A.2.
For the learned classifiers from Section II-A, Proposition 1 applies with and . It shows that empirical centering acts as a threshold alignment mechanism that changes the location of the aggregate score relative to the zero decision threshold while leaving the class-conditional mean separation unchanged. Its effect on the expected zero-threshold margin depends on how closely the realized empirical training mean aligns with the corresponding population midpoint , as characterized by (28). Moreover, empirical centering removes agent-specific additive offsets from the local scores and hence from the subsequent collaborative recursion.
We next characterize the expected network margin attained by the centered local classifiers. For any , define its empirically centered score
and the corresponding class-conditional means
where denotes expectation under . The corresponding network means are
Before conditioning on the training phase, these quantities are random because the deployed local functions and empirical training means depend on the realized training data and, when applicable, local optimization randomness . The inclusion of the Perron vector in (33) is consistent with the collective nature of the prediction phase, where the same weights determine the common decision statistic in (16).
For a collection of learned functions , we say that the classifier network satisfies the -margin consistent training condition if
where is the prescribed decision margin. In view of (18) and (30)–(33), this condition requires that the class-conditional mean of the aggregate score lies on the correct side of the zero decision threshold for both classes, with a margin exceeding . The performance of the training phase is then characterized by the probability that condition (34) holds for the classifier network. Define the corresponding event
and let
where the probability is taken over the randomness from training. Analyzing is non-trivial, as it depends on various factors, including the size of the training sets, the complexity of the function class, the loss function, and the combination policy. A lower bound on under exact ERM, i.e., zero optimization gap in (7), was established in [14] using tools from [13]. We next extend it to approximate local optimization. The auxiliary quantities , , , , and appearing below are defined in Appendix A.1.
Proposition 2 ( -margin consistent training under approximate optimization). Suppose that, for every , there exists a deterministic tolerance such that
almost surely, and define
If , , and , then under Assumptions 1–4,
Proof. See Appendix A.3.
The key implication of Proposition 2 is that admits an exponential guarantee when the network Rademacher complexity is smaller than . The relevant properties of these auxiliary quantities are collected in Appendix A.1. In particular, for a fixed feasible decision margin , decreases as the risk argument increases, while the feasible margin range characterized by also becomes smaller. Consequently, increasing reduces , making the condition more restrictive. Moreover, whenever this condition remains satisfied, the quantity decreases, thereby reducing the exponential rate in (39). Thus, a larger optimization residual makes it more difficult to certify a prescribed decision margin and weakens the resulting training guarantee. Setting for all agents recovers the exact-ERM specialization in [14].
The bound also helps characterize the statistical cost of independent local training as reflected in the training guarantee, a defining feature of our framework when data pooling or joint training is unavailable. To quantify this cost, we compare independent training with a centralized benchmark under a fixed budget of available training samples. In the homogeneous setting considered in Appendix A.4, under matched optimization accuracy and when the relevant Rademacher complexity decreases with the number of training samples as described there, specializing Proposition 2 shows that the centralized benchmark yields a tighter lower bound on than an even split of the same samples among independently trained agents. The detailed comparison is provided in Appendix A.4.
B. Sufficient-Communication Classification Guarantee
We next turn to the classification performance of the trained network under sufficient communication. Section III-A characterizes the training performance through the probability that the learned network attains a prescribed decision margin . We now examine how this margin condition translates into the probability of classification error for a fresh testing example. To distinguish the randomness arising from training from that of prediction, let
which collects the training data and the randomness of the local training algorithms. Conditional on , the learned classifiers and their empirical training means are therefore fixed. Moreover, the testing sample is independent of . Since the training event associated with (34) is determined by the training phase, it is -measurable.
From (17), under sufficient communication, the collective prediction is determined by the sign of the aggregate score . Let
denote the event that the signed aggregate score is nonpositive. Under any fixed tie-breaking rule at zero, the actual misclassification event is contained in . With , the tower property and the -measurability of give
(42)
This decomposition separates the conditional prediction error for training realizations in from the probability that training fails to attain the prescribed -margin condition in (34). The latter is characterized by Proposition 2. Based on the event , the class-conditional mean of the aggregate score lies on the correct side of the zero decision threshold with a margin greater than . The remaining prediction error depends on the variability of the realized aggregate score around its corresponding class-conditional mean.
The local observations are different views of the same testing example and may therefore remain statistically dependent even after conditioning on the class label. Rather than requiring conditional independence, we allow their joint class-conditional distribution to satisfy the following approximate tensorization property [49]. For a probability law P and a bounded nonnegative function G, define
For each , let collect all components of except , and let denote the conditional law of given the remaining views under .
Assumption 5 (Class-conditional approximate tensorization of entropy (ATE)). For every , there exists such that
for every bounded nonnegative measurable G.
Assumption 5 allows statistically dependent local views across agents beyond the product case. The coefficient serves as a dependence parameter for the ATE condition: product class-conditional distributions satisfy the condition with , while larger values accommodate greater departures from this product structure. For convenience, define
Together with the training guarantee in Proposition 2, the ATE condition (44) leads to the following sufficient-communication classification guarantee.
Theorem 1 (Sufficient-communication classification guarantee). Suppose Assumptions 2, 3, and 5 hold, and let . If the agents label their testing samples with according to (17), then, almost surely on ,
If, in addition, the conditions of Proposition 2 hold, combining the two guarantees through (42) yields an explicit upper bound on .
Proof. See Appendix B.2.
Theorem 1 establishes the connection between the training performance and the reliability of subsequent collaborative prediction. On , the conditional prediction error is controlled by the decision margin , the dependence factor , and the Perron weights, while Proposition 2 characterizes the probability of attaining this favorable training event. Through (42), the two guarantees jointly characterize the overall classification performance. We discuss several implications of this result.
-
Relation to margin theory: The decision margin plays complementary roles in training and prediction. Proposition 2 shows that requiring a larger makes the training condition more difficult to attain, whereas Theorem 1 shows that, once it is attained, a larger yields a stronger conditional prediction guarantee. This tradeoff is reminiscent of the role of margins in classical margin-based generalization theory [44]. Given the classifier from (18), the quantity is known as the “margin” associated with the testing sample . The class-conditional expectations of the margin distribution associated with are under class +1 and under class -1. Therefore, the -margin condition in (34) provides a first-order statistical characterization of the margin distribution for classifier . According to Theorem 1, this characterization leads to a classification guarantee without specifying the exact distributions of the local decision statistics, in contrast to some distribution-specific soft combination analyses [48].
-
Role of the Perron weights: From (16), the Perron entries determine the relative influence of the local classifiers in the sufficient-communication aggregate. Fusion weight design has been widely studied in ensemble learning, typically for classifiers sharing the same feature representation [40], [50], [51]. The extensions to heterogeneous representations are more problem-dependent [39], [40]. Here, rather than optimizing the fusion weights under arbitrary heterogeneity, we characterize the effect of the Perron weights induced by the communication policy. Their role extends beyond the factor in the conditional prediction bound (46): the training quantities , , , and , as well as the achievable decision margin, also depend on . Consequently, although the uniform Perron vector minimizes when and are fixed, it need not optimize the overall classification performance. Importantly, the simple averaging rule for constructing , where each agent assigns equal combination weights to all neighbors, does not guarantee uniform on arbitrary topologies. Several useful rules for constructing doubly-stochastic are available in [10].
-
Benefits of cooperative prediction: To isolate the benefit of cooperation during prediction, suppose that the same target decision margin is attained collaboratively and by a non-cooperative agent. The conditional error bound in Theorem 1 is tighter under collaboration whenever
This condition reflects the balance between the gain from averaging the local scores and the penalty induced by their statistical dependence. In particular, for product class-conditional distributions, we may take , and (47) reduces to , which holds for any nontrivial network satisfying Assumption 3. Cooperation also provides a distinct benefit through the network-level margin condition. The event requires only the -weighted class-conditional means to attain the prescribed two-sided margin; individual classifiers need not satisfy the same condition. Consequently, agents with weak local evidence can be compensated by sufficiently informative or complementary observations from other agents. This is consistent with Assumption 4, which likewise requires informativeness only at the network level.
C. Finite-Round Communication
Theorem 1 characterizes the sufficient-communication limit. When communication is restricted to a finite number of rounds, however, consensus may not yet be reached and the prediction remains agent-dependent. We next characterize how limited communication affects the classification performance at each agent.
According to (11), after t communication rounds, agent k uses the following decision statistic
and predicts the label
Define the corresponding event
Under any fixed tie-breaking rule at zero, the misclassification event is contained in . Thus, with , applying the same decomposition as in (42) gives
On the event , a positive decision margin is guaranteed for the -weighted aggregate under sufficient communication (18). At a finite communication round, from (48), agent combines the local scores using the weights . To characterize how much of this guaranteed margin is retained after rounds, fix any . Matrix theory ensures that there exists a constant such that [52]
for all agents and communication rounds . Accordingly, define the residual finite-round margin
The second term bounds the possible reduction of the guaranteed margin after only t communication rounds.
Theorem 2 (Finite-round classification guarantee). Suppose Assumptions 2, 3 and 5 hold, and let . Fix and a corresponding . Then, for every agent and every integer such that , almost surely on ,
If, in addition, the conditions of Proposition 2 hold, combining the two guarantees through (51) yields an explicit upper bound on .
Proof. See Appendix C.
The condition provides a sufficient communication horizon for retaining a positive guaranteed margin. In particular, when , it is equivalent to
Thus, faster decay of the transient term allows a positive margin to be guaranteed with fewer communication rounds. The bound in (54) is both round- and agent-dependent. Finite communication affects the prediction guarantee in two ways. First, the residual margin reflects the reduction in the guaranteed decision margin caused by incomplete mixing. Second, the column specifies the fusion profile at agent and determines the corresponding concentration term. Therefore, finite-round performance depends on the full combination matrix , through both the transient fusion weights and their convergence toward the Perron vector. The second-largest eigenvalue magnitude determines the admissible geometric rates in (52), while captures the associated matrix-power constant. This is consistent with the role of spectral properties in the convergence behavior of distributed averaging [53]. As , and . Accordingly, the finite-round conditional bound converges to the sufficient-communication bound in Theorem 1.
D. Finite-Precision Communication
Theorem 2 considers finite-round communication with real-valued messages. In practical implementations, however, transmitted scalars are typically represented with finite precision. We therefore introduce a finite-bit version of the prediction-stage communication rule and characterize its effect on classification performance. The local training procedures, empirical centering, and the training event remain unchanged.
Since both a bounded score and its empirical training mean lie in , every centered score satisfies
Let denote the available bits per transmitted scalar, and let reconstruction levels be used. Over the interval , consider the uniform alphabet
We consider here an adjacent-level stochastic rounding protocol [54]. For , , the quantizer returns one of the two adjacent reconstruction levels and according to
An important feature of this protocol is that the quantizer is unbiased, that is,
Let denote the finite-precision decision statistic at agent after communication rounds. Starting from , each agent quantizes its current decision statistic before transmission, and the receiving agents combine the quantized values according to
The random draws used for stochastic rounding are independent across agents and communication rounds, with each agent sending the same quantized value to all of its neighbors. After t rounds, agent k predicts according to
Define the event for the finite-precision decision statistic
and let
denote the classification error probability. As in the real-valued finite-round case, the decomposition in (42), with replaced by , separates the conditional prediction error on from the probability of the unfavorable training event .
Since quantization is performed at every communication round, the perturbations introduced at earlier rounds are propagated through subsequent neighbor-aggregation steps. To state the resulting finite-precision guarantee compactly, define the accumulated quantization term
(64)
The quantity depends jointly on the communication precision, the number of communication rounds, and the network combination policy.
Theorem 3 (Finite-precision classification guarantee). Suppose Assumptions 2, 3, and 5 hold, and let . Suppose the agents follow the stochastic finite-precision recursion (60). Fix and a corresponding . Then, for every agent and every integer such that , almost surely on ,
If, in addition, the conditions of Proposition 2 hold, combining the two bounds in (65) and (39) yields an explicit upper bound on .
Proof. See Appendix D.
Theorem 3 extends the real-valued finite-round guarantee (54) established in Theorem 2 by quantifying the additional effect of finite communication precision. The same residual finite-round margin term from (53) appears in both guarantees, while finite precision introduces the additional term in the denominator of the prediction exponent (65). This result also reveals a tradeoff pertaining to the number of communication rounds. Increasing increases the guaranteed residual margin by reducing the effect of incomplete mixing, but also allows additional quantization effects to accumulate through . Moreover, the combination policy influences both effects through the finite-round fusion weights and the propagation of quantization noise across rounds. Consequently, at fixed precision, the bound need not improve monotonically with the number of communication rounds.
The communication precision also determines the communication cost. Let
denote the number of active directed off-diagonal links. If each quantizer index is represented by a fixed-length b-bit word, the per-round and total communication costs per testing example are
(67) respectively, excluding packet headers and coding overhead. Self-loops correspond to the local operations and are therefore not counted. Moreover, for any fixed t, we have from (64) that
Here, the notation describes the decay with respect to for fixed . Under the full-code convention , this becomes . Therefore, increasing the bit width increases the communication cost linearly, while the finite-precision term in the bound (65) decays as . For fixed , as , the finite-precision guarantee converges to the corresponding real-valued finite-round guarantee.
E. PAC-Style Generalization Guarantee
The preceding results characterize collaborative prediction through the lens of expected network margin. We now consider a complementary PAC-style perspective that relates the population classification error of the realized classifiers to their performance observed on the training data. This is the core idea of classical margin-based generalization bounds [44]. Specifically, to quantify this performance, for , we define the -margin loss [44]
It satisfies
The margin parameter used here is distinct from the decision-margin level in (34). For a training set , the empirical margin loss for an arbitrary function is given by
By (70), upper bounds the empirical classification error on the same sample. When the classifiers depend on the training data, their classification errors on a fresh example are understood conditionally on the realized training information. Specifically, for a local classifier and the aggregate classifier , respectively, we define
To evaluate the empirical margin loss of the aggregate classifier with (71), the training samples must provide the aligned collection of local views on which operates. Therefore, for the PAC analysis, we specialize the training setup to equal local sample sizes and aligned network examples. Specifically, let
consist of i.i.d. draws from the joint distribution , where . The local training set at agent is the corresponding projection
This specialization leaves the local training procedures in Section II-A unchanged. The network examples are independent across n, whereas the K views within each example may remain statistically dependent.
Based on the network training set D in (74), we establish the following PAC-style generalization bounds for the classifiers and using their empirical margin losses. Here, and denote the individual and network Rademacher complexities defined in Appendix A.1, evaluated at the common sample size .
Theorem 4 (PAC-style margin generalization guarantee). Under Assumption 2 and the sampling setup above, fix any . Then, for any and every fixed agent ,
with probability at least . Moreover,
with probability at least , where
Proof. See Appendix E.
Theorem 4 provides a complementary guarantee for the trained classifiers without investigating the prescribed network-margin event . It also does not require Assumption 5: dependence among the local views within each network example is incorporated through their joint distribution Q. Moreover, the guarantee does not require exact empirical risk minimization or a prescribed optimization gap. Therefore, it holds uniformly across classifiers returned by the local training procedures in Section II-A.
From (76) and (77), the local and collaborative bounds have the same form, but differ in their empirical margin losses and complexity terms. Structurally, operates on a single local feature space , whereas operates on the joint feature space . The empirical margins of can therefore reflect how information from different local views is combined. The theorem does not, however, impose a universal ordering between the local and collaborative bounds. Any collaborative advantage must be reflected in the aggregate margin loss relative to the corresponding complexity terms . This differs from the conventional ensemble setting, where multiple models typically operate on the same feature representation and the benefit of combining their outputs is often discussed in terms of variance reduction [44], [55].
F. Relation to Social Learning
The DeGroot rule (11) and conventional social learning (SL) strategies both aggregate information across a network, but differ in how evidence enters the inference process. In the present framework, agents repeatedly communicate decision statistics initialized from a fixed testing example, whereas conventional SL recursions continually incorporate newly arriving observations. To clarify the relation between these two inference mechanisms, Appendix F considers a standard geometric-pooling SL recursion under a static-observation specialization, in which each agent reuses the same local testing observation at every communication round. This specialization places the SL rule in the same single-testing-example setting as the De-Groot rule and enables a direct comparison, while remaining distinct from the conventional streaming operation of SL.
Under this specialization, repeated SL updates accumulate the same local evidence rather than new temporal evidence. After normalization by the number of communication rounds, the SL decision statistic converges to the same -weighted aggregate as the DeGroot rule (11). Consequently, whenever , the two strategies yield the same prediction under sufficient communication. Their finite-round decision statistics are generally different, however, and therefore lead to different finite-round guarantees. The complete comparison and the corresponding finite-round SL guarantee are provided in Appendix F.
Raw-score counterparts. The preceding analysis considers the empirically centered local scores defined in (9). As shown by Proposition 1, centering affects threshold alignment rather than being a structural requirement for collaboration. We refer to the learned scores used without empirical centering as raw scores. In Appendix G, we provide an analogous analysis for raw scores. This analysis shows that the main collaborative guarantees persist without empirical centering, although the conditions for attaining a prescribed zero-threshold margin and the constants appearing in the finite-round bounds change. Neither representation universally dominates the other: centering can improve threshold alignment, whereas raw scores avoid estimating the empirical center and have a smaller worst-case score magnitude than the centered scores.
IV. NUMERICAL SIMULATIONS
We evaluate the proposed test-time collaborative classification framework under two complementary observation models. The first is a controlled patch-partition benchmark based on CIFAR-10, where each agent observes a spatial patch extracted from a common image. The second is a multi-view benchmark constructed from rendered objects in ModelNet40, where each agent observes the same 3D object from a different viewpoint. The two benchmarks introduce different forms of local heterogeneity, namely spatial partitioning and viewpoint variation. We further examine dependence across agents, heterogeneous local models, communication topology, quantization, adaptive stopping, and corrupted reports. Unless otherwise stated, all curves are averaged over multiple Monte Carlo repetitions and the error bars indicate 95% confidence intervals. Additional implementation details and extended numerical results are provided in Appendix H.
A. CIFAR-10 patch-partition benchmark
We begin with a controlled patch-partition benchmark based on CIFAR-10 [56]. We consider the binary task of distinguishing cats from dogs. Each RGB image is divided into a

(a)

(b)
Fig. 1. CIFAR-10 patch-partition benchmark. Panel (a) shows the local patch observed by each agent for a representative cat image, and panel (b) shows the communication topology used for collaboration.
grid of non-overlapping spatial patches, yielding agents, and agent receives only the patch associated with its grid location. In this way, the agents observe different local regions of the same image and collaborate only during inference. The communication network is taken to be a directed Erdős–Rényi graph [46], generated randomly at the beginning of the experiment. The observation map of the nine agents and the communication topology are illustrated in Fig. 1.
At each agent, a convolutional neural network (CNN) is trained independently on the corresponding patch dataset. For simplicity, we use the same local labeled dataset size for all agents. For each value of , we construct balanced local datasets, train the classifiers independently, perform collaborative classification at test time, and average the results over multiple repetitions. The detailed training protocol is provided in Appendix H.1.
Figure 2 summarizes the main performance results for this CIFAR-10 benchmark. Panel (a) reports the empirical class-conditional decision statistics under different values of . In the notation of Section III, these curves correspond to the empirical behavior of and in (33). As increases, moves farther above zero and moves farther below zero, so that the separation between the two curves grows overall, consistent with a larger achievable decision margin in the sense of condition (34). This suggests that the network of trained classifiers becomes more informative as more training samples are available, which is beneficial for classification at test time.
Panel (b) shows the corresponding classification performance. We compare the proposed method with several rules from ensemble learning and decision fusion, together with the non-cooperative baseline, an explicit centering ablation Ours (no centering), the VFL-JT baseline, and a central oracle trained on the full image as a full-information benchmark. The VFL-JT baseline uses a score-level joint-training scheme inspired by [57], where the local models and a server-side fusion head are optimized jointly using aligned labeled samples. Table I summarizes the training and inference coordination of the methods considered in the main baseline comparison. Since several of these reference rules depend on centralized aggregation of local outputs, the comparison is carried out in the regime of sufficient communication, where the distributed recursion (11) approaches its -weighted consensus limit given
TABLE I TRAINING AND INFERENCE COORDINATION OF THE METHODS CONSIDERED IN THE MAIN BASELINE COMPARISONS.
| Method | Training coordination | Additional fitting | Inference coordination |
|---|---|---|---|
| Non-cooperative | None | None | None |
| Avg-stat / Vote | None | None | One-shot centralized averaging / voting |
| Learned (simplex) fusion | None | Fusion rule fitted on aligned validation outputs | One-shot centralized fusion |
| AdaBoost | Centralized | Boosting-based fitting of local predictors | One-shot weighted fusion |
| Ours / Ours (no centering) | None | None | Iterative peer-to-peer scalar exchange |
| VFL-JT | Joint training on aligned labeled samples | Server-side fusion head learned jointly | One-shot server fusion |
| Central oracle | Centralized full-information training | None | Centralized full-information prediction |

(a) Decision margin

(b) Probability of error

(c) Instantaneous probability of error
Fig. 2. Main CIFAR-10 patch-partition results. Panel (a) reports the empirical class-conditional decision statistics, panel (b) compares the probability of error under different values of , and panel (c) shows the error evolution over the communication rounds for .
in (16). From Fig. 2b, the probability of error decreases as increases, consistent with the increased decision margins observed in Fig. 2a. At the same time, the proposed method consistently improves upon non-cooperative prediction and remains competitive with the stronger fusion baselines. With joint training, VFL-JT achieves lower error than the proposed method over the tested range. We also note that under sufficient communication, Avg-stat coincides with the proposed method when is doubly-stochastic, while Ours and Ours (no centering) exhibit similar performance over the tested range.
Panel (c) illustrates the evolution of during the collaboration process. As the communication round grows, the decision statistic converges to , and approaches the error of the limiting aggregate classifier. It is worth noting that at corresponds to the error incurred by agent in the non-cooperative scenario. The light grey dashed horizontal lines in Fig. 2c indicate these baseline error levels for reference. The average of across all agents is also shown in Fig. 2c, which decreases over the communication rounds before stabilizing. This highlights the improvement in the network-wide performance under collective prediction.
We next present two additional studies for the CIFAR-10 patch-partition benchmark.

(a) Conditional mutual information matrix

(b) Grouped conditional mutual information
Fig. 3. Conditional mutual information between CIFAR-10 patches. Panel (a) shows the estimated pairwise conditional mutual information matrix across the nine patch agents. White stars mark patch pairs that are adjacent on the grid shown in Fig. 1a, while red boxes indicate, in each row, the largest off-diagonal entries whose number matches the number of grid neighbors of the corresponding patch. Panel (b) shows the grouped summary over same-row, same-column, and far patch pairs.
- Conditional mutual information between patches: Since all patches are extracted from the same natural image, nearby patches may remain statistically dependent even after conditioning on the class label. To quantify this effect, we estimate the class-conditional mutual information for each label value and then average according to the class probabilities:
where denotes the raw pixel vector of the patch observed by agent , denotes the class label, and is the mutual information under the conditional distribution given . The reported estimates are computed by first reducing the patch dimension through principal component analysis (PCA) [45] and then applying a -nearest-neighbor (kNN) mutual information estimator [58]. More details about this estimation process are provided in Appendix H.1.3.
Figure 3 shows that the estimated conditional mutual information is clearly nonzero for many patch pairs and tends to be strongest among spatially related patches. Thus, the CIFAR-10 patch-partition benchmark induces a structured observation model in which nearby local views exhibit stronger statistical dependence than distant ones. This observation motivates the dependence-aware prediction analysis in Section III. While the CMI diagnostic is not an estimate of the ATE coefficient in Assumption 5, it does provide empirical evidence that the local views are not independent in this benchmark.
- Heterogeneous local model families: We next relax the assumption that all agents use the same local architecture. Different agents are then assigned different local model families, while the communication graph and the collaboration rule remain unchanged. The local models include the patch-level convolutional network used in the main CIFAR-10 benchmark, a logistic-regression classifier on raw patch pixels, and a small residual convolutional network [59]. The detailed protocol and the precise model specifications are given in Appendix H.1.4.
Figure 4 reports a balanced assignment study in which the model families are rotated across the grid so that each family appears equally often at every spatial location. The results indicate that collaboration remains beneficial across all three model families and across all patch locations, although the magnitude of the improvement varies with both the family and the position. Furthermore, under one representative heterogeneous assignment, the main performance results summarized in Fig. 5 show that the same qualitative behavior observed in the homogeneous benchmark is preserved here: the empirical decision margins become more separated as increases, the collaborative classifier improves over non-cooperative inference, and most of the performance gain is realized within the first few communication rounds.
B. ModelNet40 multi-view benchmark
In this section, we consider a multi-view benchmark derived from ModelNet40 [60]. Unlike the CIFAR-10 patch-partition setting, where the agents observe different spatial regions of the same image, here each agent receives one rendered view of the same 3D object. The heterogeneity across agents therefore arises from viewpoint rather than patch location.
For each object, we generate RGB renderings from fixed camera positions whose azimuth angles are uniformly spaced around the object, with a common elevation angle of . One rendered view is then assigned to each agent. In the experiments, we consider the binary task pair of dresser and nightstand. The multi-view construction and a randomly-generated communication topology used in our experiments are illustrated in Fig. 6. Each local classifier is a lightweight convolutional network, referred to as MicroCNN; further experimental details are given in Appendix H.2.
Figure 7 summarizes the main performance results for this ModelNet40 benchmark. In panel (a), the empirical statistics and remain separated across , indicating that the classifier network remains informative under the viewpoint heterogeneity. Compared with the CIFAR-10 benchmark in Fig. 2, their variation with is milder and exhibits more visible fluctuations, which is consistent with the smaller amount of training data available in this benchmark. The corresponding probability of error curves in Fig. 7b also decrease overall as increases, in agreement with the larger decision margins attained at larger values of . Meanwhile, the improvement of the proposed method is more limited at smaller , where some local training sets may be too small for the agents to learn informative classifiers from their views. In this regime, some non-cooperative agents can achieve lower error when acting alone than under collaboration. The relative ordering of the score-fusion baselines is also more sensitive than in the CIFAR-10 benchmark, which may reflect the fact that classifiers trained on different viewpoints need not produce scores on comparable scales. In particular, since Avg-stat corresponds to a special case of the proposed method under sufficient communication when A is doubly-stochastic, the gap between Avg-stat and Ours indicates that the choice of the combination policy A can have a visible effect on collaborative performance. The instantaneous error curves in Fig. 7c further show that most of the performance gain is achieved within the first few communication rounds.
- Temperature scaling and score calibration: The sensitivity of the score fusion baselines in Fig. 7 suggests that score calibration across viewpoints deserves closer examination. To this end, we consider temperature scaling as a post-hoc calibration step in our experiments [61]. For each agent, a positive temperature is fitted on the local validation set by minimizing the cross-entropy loss of the rescaled logits, as detailed in Appendix H.2.1. The local decision statistic is then formed from the difference between the two calibrated logits, followed by the same centering step (9) as in the uncalibrated setting. Since temperature scaling does not change the predicted class of an individual local classifier, its role here is not to alter the local decisions themselves, but to improve the comparability of the real-valued decision statistics exchanged during collaboration.
Figure 8 shows that, relative to Fig. 7, the class-conditional decision statistics become more clearly separated after calibration, and the probability of error curve of the proposed method is slightly improved over most of the tested range of . This suggests that, under viewpoint heterogeneity, score calibration can improve the alignment of the exchanged



Fig. 4. Collaboration gain under heterogeneous local model families on CIFAR-10. Each cell shows the relative gain when the corresponding model family is assigned to that patch location under the balanced rotation protocol.

(a) Decision margin
(b) Probability of error
(c) Instantaneous probability of error
Fig. 5. Performance of heterogeneous local model families on CIFAR-10. The curve labels in panel (b) and the value of in panel (c) are the same as those in Fig. 2.

(a)

(b)
Fig. 6. ModelNet40 multi-view benchmark. Panel (a) shows the 12 rendered views associated with a nightstand object, and panel (b) shows the communication topology used for collaboration.
decision statistics across agents and thereby improve collaborative prediction. VFL-JT is not included in this study because temperature scaling of its local scores is coupled with the jointly optimized fusion head. Additional figures are provided in Appendix H.2.1.
- Controlled correlation stress test: In the multi-view setting, different agents observe the same underlying object and can therefore produce statistically dependent local decision statistics. To examine how the collaborative classifier behaves as this dependence becomes stronger, we perform a controlled stress test directly on the local decision statistics, with more details provided in Appendix H.2.2. Let denote the clean local decision statistic produced by agent k for the i-th testing sample. To control the correlation between across agents, we consider a perturbed local decision statistic at each agent, denoted by :
where is a shared standard Gaussian perturbation for sample , are independent standard Gaussian perturbations across samples and agents, and
Here, controls the relative strength of the common-mode component, while controls the overall perturbation scale. Since , varying changes the balance between common and idiosyncratic perturbations without substantially changing the total injected variance. This construction follows a standard common-factor decomposition with shared and idiosyncratic components. At test time, the agents employ the same rule (11), but with the perturbed local decision statistics in place of the clean statistics .
Figure 9 shows that the average pairwise correlations across agents, both unconditional and label-conditional, increase with r. The corresponding collaboration gain, which is measured by the error reduction relative to non-cooperative inference after t = 20 communication rounds, decreases with r for each fixed perturbation amplitude. This is consistent with the fact that stronger dependence makes the local decision statistics more redundant and therefore reduces the benefit of information sharing across the network. At the same time, the degradation

(a) Decision margin

(b) Probability of error

(c) Instantaneous probability of error
Fig. 7. Main ModelNet40 multi-view results. Panel (a) reports the empirical class-conditional decision statistics, panel (b) compares the probability of error under different values of , and panel (c) shows the error evolution over the communication rounds for .
is gradual, indicating that the collaborative classifier continues to provide measurable gains over a broad range of dependence levels.
C. Communication design, adaptive stopping, and robustness
In this section, we examine several aspects of the communication protocol using the ModelNet40 benchmark. In particular, we study how collaborative performance is influenced by the graph topology, the combination policy, the communication precision, adaptive stopping rules, and corrupted messages.
- Topology, combination policy, and communication precision: We begin by examining the impact of the communication design across three graph topologies: ring, grid, and directed Erdős–Rényi. For each topology, the combination policy A is constructed using two different schemes: the uniform averaging rule and the Metropolis rule. For this quantization study only, we represent the already trained probabilistic classifier by the bounded posterior-probability difference
No retraining process is required for this representation. Under this transformation, the resulting centered local score
satisfies . We compare the resulting matched full-precision recursion with 4-, 6-, and 8-bit stochastic communication. Further details of the quantization protocol are provided in Appendix H.3.1.
Figure 10 reports the evolution of the average probability of error under these communication designs. All settings benefit from communication in the early rounds, but both the finite-round improvement and the error level eventually reached depend visibly on the topology, the construction rule of A, and the communication precision. Among the graph families considered here, the grid generally attains the lowest error, while the ring also performs competitively. By contrast, the directed Erdős–Rényi topology is more sensitive to the choice of combination policy and communication precision. The precision hierarchy is systematic: 8-bit stochastic communication is practically indistinguishable from the matched bounded full-precision reference, 6-bit communication produces a modest intermediate degradation, and 4-bit communication produces the largest loss. More detailed grouped views of these results are provided in Appendix H.3.1.
- Adaptive stopping rules: In the previous experiments, the collaboration framework is evaluated under a fixed communication budget t chosen in advance. In practice, however, selecting this budget is not straightforward: a larger t increases communication cost, while a smaller t may be insufficient for collaboration. This motivates the study of adaptive stopping rules, in which the communication pattern is allowed to depend on the evolution of local decision statistics. We consider two local event-triggered families: a -trigger rule based on the change in the communicated statistic, and a label-stability with confidence rule based on the local prediction and a confidence threshold (see Appendix H.3.2). Since transmissions may stop at different times for different agents and different samples, we measure the resulting communication cost by the total number of transmissions per testing sample.
Figure 11 illustrates the tradeoff between the probability of error and the total communication cost for four values of the maximum communication budget . In each panel, only the Pareto-efficient operating points are shown, namely those for which no alternative configuration attains both lower communication cost and lower probability of error. Both stopping rule families exhibit a clear communication–accuracy tradeoff, but the label-stability rule generally yields a better Pareto frontier than the -trigger rule, especially in the low communication regime. The star markers denote the best points selected from the two families of stopping rules. Their positions indicate that communication can often be terminated well before reaching the maximum communication budget.
- Robustness to noisy, faulty, and adversarial agents: We next examine how the collaborative inference mechanism behaves when a subset of agents transmits corrupted messages at test time. The perturbation is introduced only at the level of

(a) Decision margin
(b) Probability of error
(c) Instantaneous probability of error
Fig. 8. Performance of temperature scaling on ModelNet40. The curve labels in panel (b) and the value of in panel (c) are the same as those in Fig. 7.

(a) Average pairwise correlation

(b) Collaboration gain
Fig. 9. Controlled correlation stress test on ModelNet40. Panel (a) shows the average pairwise Pearson correlation across agent decision statistics, both unconditional and label-conditional, and panel (b) shows the collaboration gain after t = 20 communication rounds.

Fig. 10. Effect of topology, the construction rule of A, and quantization noise.
the local decision statistics before communication begins. For each corruption scenario, we compare the resulting probability of error with that of the corresponding clean run obtained from the same trained models, the same testing set, and the same combination policy. The degradation is measured by the paired excess error, namely the increase in probability of error relative to the clean run within the same Monte Carlo repetition. In each repetition, we corrupt exactly agents and consider three families of perturbations: benign Gaussian noise, faulty agents (including stuck-at-zero and constant-bias failures), and adversarial reports modeled by scaled sign flips. Additional details on the perturbation models are provided in Appendix H.3.3.
Figure 12 summarizes the robustness results after 20 rounds of communication. In all three perturbation settings, the excess error increases with both the number of corrupted agents and

(a)
(b)

(c)
(d)
Fig. 11. Tradeoff between the probability of error and the total number of transmissions (per testing sample) under local adaptive stopping rules.
the perturbation severity. Among the three cases, adversarial scaled sign flips are the most damaging, indicating that persistently misleading decision statistics can have a particularly strong effect on collaborative prediction. By contrast, benign Gaussian noise and faulty agents yield a more gradual degradation, especially when only a few agents are affected.
V. CONCLUDING REMARKS
In this work, we proposed a distributed test-time collaborative classification framework for multi-agent networks. We considered a group of independently trained agents, poten-

(a) Benign Gaussian noise
(b) Faulty agents
(c) Adversarial reports
Fig. 12. Robustness of collaborative classification to corrupted agents, measured by the paired excess error at the communication round . Panel (a) varies the Gaussian noise multiplier , panel (b) varies the fault type and the normalized bias level , and panel (c) varies the adversarial scale .
tially with heterogeneous feature spaces and model architectures, that collaborates at inference time by exchanging local beliefs with graph neighbors to produce collective predictions. Our analysis established classification error bounds that characterize the impact of the agent heterogeneity, network topology, combination policies, and communication budgets on collective prediction performance. These bounds provide theoretical insight into the interplay between local training and distributed inference in multi-agent systems, in addition to highlighting the benefits of collaborative classification relative to the non-cooperative scenario. Importantly, this study shows that cooperation can be valuable at test time even when the local models are trained independently, which is becoming an increasingly important paradigm in real-world implementations of distributed machine learning. Future directions include extensions to multi-class settings, theoretical analysis of adaptive and communication-efficient protocols, privacy-preserving implementations, and more general communication settings, including asynchronous updates, time-varying topologies, and lossy communication.
REFERENCES
[1] A. H. Sayed, S.-Y. Tu, J. Chen, X. Zhao, and Z. J. Towfic, “Diffusion strategies for adaptation and learning over networks: an examination of distributed strategies and network behavior,” IEEE Signal Processing Magazine, vol. 30, no. 3, pp. 155–171, 2013.
[2] S. Kar and J. M. F. Moura, “Consensus + innovations distributed inference over networks: cooperation and sensing in networked systems,” IEEE Signal Processing Magazine, vol. 30, no. 3, pp. 99–109, 2013.
[3] M. I. Jordan, J. D. Lee, and Y. Yang, “Communication-efficient distributed statistical inference,” Journal of the American Statistical Association, vol. 114, no. 526, pp. 668–681, 2019.
[4] J. Verbraeken, M. Wolting, J. Katzy, J. Kloppenburg, T. Verbelen, and J. S. Rellermeyer, “A survey on distributed machine learning,” ACM Computing Surveys, vol. 53, no. 2, pp. 1–33, 2020.
[5] D. Jin, N. Kannengießer, S. Rank, and A. Sunyaev, “Collaborative distributed machine learning,” ACM Computing Surveys, vol. 57, no. 4, pp. 95:1–95:36, 2024.
[6] V. Matta, P. Braca, S. Marano, and A. H. Sayed, “Diffusion-based adaptive distributed detection: Steady-state performance in the slow adaptation regime,” IEEE Transactions on Information Theory, vol. 62, no. 8, pp. 4710–4732, 2016.
[7] D. Bajović, J. M. F. Moura, J. Xavier, and B. Sinopoli, “Distributed inference over directed networks: Performance limits and optimal design,” IEEE Transactions on Signal Processing, vol. 64, no. 13, pp. 3308–3323, 2016.
[8] S. Shahrampour, A. Rakhlin, and A. Jadbabaie, “Distributed detection: Finite-time analysis and impact of network topology,” IEEE Transactions on Automatic Control, vol. 61, no. 11, pp. 3256–3268, 2016.
[9] V. Matta, V. Bordignon, and A. H. Sayed, Social Learning: Opinion Formation and Decision-Making over Graphs, ser. NOW Book Series on Information and Learning Sciences. Now Publishers, 2025.
[10] A. H. Sayed, “Adaptation, learning, and optimization over networks,” Foundations and Trends® in Machine Learning, vol. 7, no. 4-5, pp. 311–801, 2014.
[11] A. Nedic, “Distributed gradient methods for convex machine learning problems in networks: Distributed optimization,” IEEE Signal Processing Magazine, vol. 37, no. 3, pp. 92–101, 2020.
[12] P. Braca, L. M. Millefiori, A. Aubry, S. Marano, A. De Maio, and P. Willett, “Statistical hypothesis testing based on machine learning: Large deviations analysis,” IEEE Open Journal of Signal Processing, vol. 3, pp. 464–495, 2022.
[13] V. Bordignon, S. Vlaski, V. Matta, and A. H. Sayed, “Learning from heterogeneous data based on social interactions over graphs,” IEEE Transactions on Information Theory, vol. 69, no. 5, pp. 3347–3371, 2023.
[14] P. Hu, V. Bordignon, M. Kayaalp, and A. H. Sayed, “Non-asymptotic performance of social machine learning under limited data,” Signal Processing, vol. 230, p. 109849, 2025.
[15] S. F. Yilmaz, B. Hasircioğlu, L. Qiao, and D. Gündüz, “Private collaborative edge inference via over-the-air computation,” IEEE Transactions on Machine Learning in Communications and Networking, vol. 3, pp. 215–231, 2025.
[16] P. Yadav, C. Raffel, M. Muqeeth, L. Caccia, H. Liu, T. Chen, M. Bansal, L. Choshen, and A. Sordoni, “A survey on model MoErging: Recycling and routing among specialized experts for collaborative learning,” Transactions on Machine Learning Research, 2025.
[17] C. Mavromatis, P. Karypis, and G. Karypis, “Pack of LLMs: Model fusion at test-time via perplexity optimization,” in Conference on Language Modeling, 2024.
[18] M. H. DeGroot, “Reaching a consensus,” Journal of the American Statistical Association, vol. 69, no. 345, pp. 118–121, 1974.
[19] R. Olfati-Saber, J. A. Fax, and R. M. Murray, “Consensus and cooperation in networked multi-agent systems,” Proceedings of the IEEE, vol. 95, no. 1, pp. 215–233, 2007.
[20] D. Acemoglu and A. Ozdaglar, “Opinion dynamics and learning in social networks,” Dynamic Games and Applications, vol. 1, no. 1, pp. 3–49, 2011.
[21] A. G. Chandrasekhar, H. Larreguy, and J. P. Xandri, “Testing models of social learning on networks: Evidence from two experiments,” Econometrica, vol. 88, no. 1, pp. 1–32, 2020.
[22] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y Arcas, “Communication-efficient learning of deep networks from decentralized data,” in Artificial Intelligence and Statistics. PMLR, 2017, pp. 1273–1282.
[23] J. Konečný, H. B. McMahan, F. X. Yu, P. Richtárik, A. T. Suresh, and D. Bacon, “Federated learning: Strategies for improving communication efficiency,” arXiv:1610.05492, 2016.
[24] X. Lian, C. Zhang, H. Zhang, C.-J. Hsieh, W. Zhang, and J. Liu, "Can decentralized algorithms outperform centralized algorithms? A case study for decentralized parallel stochastic gradient descent," in Advances in Neural Information Processing Systems, vol. 30, 2017.
[25] Z. Jiang, A. Balu, C. Hegde, and S. Sarkar, “Collaborative deep learning in fixed topology networks,” in Advances in Neural Information Processing Systems, vol. 30, 2017.
[26] Y. Zhao, M. Li, L. Lai, N. Suda, D. Civin, and V. Chandra, “Federated learning with non-iid data,” arXiv:1806.00582, 2018.
[27] T. Lin, L. Kong, S. U. Stich, and M. Jaggi, “Ensemble distillation for robust model fusion in federated learning,” in Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 2351–2363.
[28] P. Kairouz, H. B. McMahan, B. Avent, A. Bellet, M. Bennis, A. N. Bhagoji, K. Bonawitz, Z. Charles, G. Cormode, R. Cummings et al., “Advances and open problems in federated learning,” Foundations and Trends® in Machine Learning, vol. 14, no. 1–2, pp. 1–210, 2021.
[29] A. Fallah, A. Mokhtari, and A. Ozdaglar, “Personalized federated learning with theoretical guarantees: A model-agnostic meta-learning approach,” in Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 3557–3568.
[30] D. Wen, K.-J. Jeon, and K. Huang, “Federated dropout—A simple approach for enabling federated learning on resource constrained devices,” IEEE wireless communications letters, vol. 11, no. 5, pp. 923–927, 2022.
[31] S. Xie, D. Wen, X. Liu, C. You, T. Ratnarajah, and K. Huang, "Convergence analysis for federated dropout," in GLOBECOM 2024 - 2024 IEEE Global Communications Conference, 2024, pp. 5313–5318.
[32] C. Mendler-Dünner, W. Guo, S. Bates, and M. I. Jordan, “Test-time collective prediction,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 13719–13731.
[33] O. A. Alzubi, J. A. A. Alzubi, S. Tedmori, H. Rashaideh, and O. Almomani, “Consensus-based combining method for classifier ensembles,” The International Arab Journal of Information Technology, vol. 15, no. 1, pp. 76–86, 2018.
[34] A. Jadbabaie, P. Molavi, A. Sandroni, and A. Tahbaz-Salehi, “Non-Bayesian social learning,” Games and Economic Behavior, vol. 76, no. 1, pp. 210–225, 2012.
[35] A. Lalitha, T. Javidi, and A. D. Sarwate, “Social learning and distributed hypothesis testing,” IEEE Transactions on Information Theory, vol. 64, no. 9, pp. 6161–6179, 2018.
[36] A. Nedic, A. Olshevsky, and C. A. Uribe, “Fast convergence rates for distributed non-Bayesian learning,” IEEE Transactions on Automatic Control, vol. 62, no. 11, pp. 5538–5553, 2017.
[37] V. Bordignon, V. Matta, and A. H. Sayed, “Adaptive social learning,” IEEE Transactions on Information Theory, vol. 67, no. 9, pp. 6053–6081, 2021.
[38] M. Kayaalp, Y. İnan, E. Telatar, and A. H. Sayed, “On the arithmetic and geometric fusion of beliefs for distributed inference,” IEEE Transactions on Automatic Control, vol. 69, no. 4, pp. 2265–2280, 2024.
[39] R. Polikar, “Ensemble based systems in decision making,” IEEE Circuits and Systems Magazine, vol. 6, no. 3, pp. 21–45, 2006.
[40] L. I. Kuncheva, Combining Pattern Classifiers: Methods and Algorithms. John Wiley & Sons, 2014.
[41] P. L. Bartlett, Y. Freund, W. S. Lee, and R. E. Schapire, “Boosting the margin: A new explanation for the effectiveness of voting methods,” The Annals of Statistics, vol. 26, no. 5, pp. 1651–1686, 1998.
[42] Z.-H. Zhou, Ensemble Methods: Foundations and Algorithms, 1st ed. Chapman and Hall/CRC, 2012.
[43] P. L. Bartlett, M. I. Jordan, and J. D. McAuliffe, “Convexity, classification, and risk bounds,” Journal of the American Statistical Association, vol. 101, no. 473, pp. 138–156, 2006.
[44] M. Mohri, A. Rostamizadeh, and A. Talwalkar, Foundations of Machine Learning, 2nd ed. MIT press, 2018.
[45] A. H. Sayed, Inference and Learning from Data. Cambridge University Press, 2022.
[46] M. Newman, Networks. Oxford University Press, 2018.
[47] T. G. Lewis, Network Science: Theory and Applications. John Wiley & Sons, 2011.
[48] L. I. Kuncheva, “A theoretical study on six classifier fusion strategies,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 24, no. 2, pp. 281–286, 2002.
[49] P. Caputo, G. Menz, and P. Tetali, “Approximate tensorization of entropy at high temperature,” Annales de la Faculté des Sciences de Toulouse: Mathématiques, vol. 24, no. 4, pp. 691–716, 2015.
[50] G. Fumera and F. Roli, “A theoretical and experimental analysis of linear combiners for multiple classifier systems,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 27, no. 6, pp. 942–956, 2005.
[51] T. Heskes, “Selecting weighting factors in logarithmic opinion pools,” in Advances in Neural Information Processing Systems, vol. 10, 1997.
[52] R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed. Cambridge University Press, 2012.
[53] L. Xiao and S. Boyd, “Fast linear iterations for distributed averaging,” Systems & Control Letters, vol. 53, no. 1, pp. 65–78, 2004.
[54] T. C. Aysal, M. J. Coates, and M. G. Rabbat, “Distributed average consensus using probabilistic quantization,” in 2007 IEEE/SP 14th Workshop on Statistical Signal Processing, Madison, WI, USA, Aug. 2007, pp. 640–644.
[55] G. Fumera, F. Roli, and A. Serrau, “A theoretical analysis of bagging as a linear combination of classifiers,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 30, no. 7, pp. 1293–1299, 2008.
[56] A. Krizhevsky, “Learning multiple layers of features from tiny images,” University of Toronto, Tech. Rep., 2009.
[57] Y. Hu, D. Niu, J. Yang, and S. Zhou, “FDML: A collaborative machine learning framework for distributed features,” in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, 2019, pp. 2232–2240.
[58] A. Kraskov, H. Stögbauer, and P. Grassberger, “Estimating mutual information,” Physical Review E, vol. 69, no. 6, p. 066138, 2004.
[59] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 770–778.
[60] Z. Wu, S. Song, A. Khosla, F. Yu, L. Zhang, X. Tang, and J. Xiao, “3d shapenets: A deep representation for volumetric shapes,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015, pp. 1912–1920.
[61] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On calibration of modern neural networks,” in Proceedings of the 34th International Conference on Machine Learning, vol. 70, 2017, pp. 1321–1330.
Ping Hu received her Ph.D. in electrical engineering from EPFL, Switzerland in 2026. She is currently a postdoctoral researcher with the Adaptive Systems Laboratory, EPFL. Her research interests include distributed learning, inference and decision-making over networked systems.
Mert Kayaalp received his Ph.D. in computer and communication sciences from EPFL, Switzerland in 2025. He is currently a research scientist at Dalle Molle Institute for Artificial Intelligence (IDSIA USI-SUPSI), Switzerland, where he is affiliated with the UBS-IDSIA AI Lab. His research focuses on machine learning and signal analysis in networked and dynamical systems.
Ali H. Sayed is professor and former dean of engineering at EPFL, Switzerland, where he also directs the Adaptive Systems Laboratory. He served before as a distinguished professor and chair of electrical engineering with UCLA. He is a member of the US National Academy of Engineering (NAE) and The World Academy of Sciences (TWAS). He served as a president of the IEEE Signal Processing Society in 2018 and 2019. An author of over 650 scholarly publications and 10 books, his research involves several areas including adaptation and learning theories, statistical inference, and multi-agent systems. His work has been recognized with several awards including the 2022 IEEE Fourier Technical Field Award and the 2020 IEEE Wiener Society Award. He is also a fellow of EURASIP and the American Association for the Advancement of Science (AAAS).
Supplementary Material for “Test-Time Collaborative Classification over Multi-Agent Networks”
Ping Hu, Mert Kayaalp, and Ali H. Sayed
ORGANIZATION OF THE SUPPLEMENTARY MATERIAL
This supplementary material provides detailed proofs, auxiliary results, and additional experimental information supporting the main paper. The theoretical appendices follow the order of the main development. Appendix A presents the network margin and training analysis and collects the auxiliary quantities used in the Theorems and subsequent proofs. Appendices B–D establish the sufficient-communication, finite-round, and finite-precision classification guarantees, respectively. Appendix E provides the Probably Approximately Correct (PAC)-style generalization analysis, while Appendix F develops the relation to social learning. Appendix G collects the corresponding raw score results when the empirical centering step (9) is omitted. Finally, Appendix H presents additional experimental details. Cross-references to theorem, equation, section, and figure numbers in the main paper are retained throughout.
APPENDIX A
NETWORK MARGIN AND TRAINING GUARANTEE
This appendix provides the technical details supporting the network margin and training guarantees in Section III-A of the main paper. We first collect the complexity and margin quantities used in the finite-sample analysis. We then prove the effect of additive centering and the -margin training guarantee under approximate optimization. The final subsection compares the resulting bound with homogeneous centralized training.
1. Definitions of Auxiliary Quantities
This subsection collects the definitions and relevant properties of several auxiliary quantities used throughout the theoretical analysis.
a) Rademacher complexity: We begin with introducing the Rademacher complexity of a general function class . Let be a fixed sample set of size . The empirical Rademacher complexity of with respect to is defined as
where are independent Rademacher random variables. For an i.i.d. random sample set of size , the Rademacher complexity of is
For the local function class and training set size , we define the individual Rademacher complexity by
and the corresponding network Rademacher complexity by the weighted average involving the Perron vector :
Here, is evaluated for i.i.d. local feature samples drawn from the feature marginal induced by .
b) Sample-size factor: We define two quantities related to the size of local training sets:
The factor captures the effect of unequal local training set sizes. Since and , we have . In particular, when all local training sets have the same size.
c) Function : Following Eqs. (A.16), (A.18), and (A.20) of [1], we use the same construction with a generic risk level . For any prescribed margin , let denote the unique nonnegative solution of
The corresponding auxiliary function is
For , this reduces to the quantity introduced in [1]. An important property of the quantity is that, for fixed , it increases with the prescribed margin . Since is non-increasing under Assumption 1, decreases as increases. For a fixed feasible , the same construction shows that decreases as the risk level increases.
d) Maximum feasible margin : According to the definition in Eq. (A.21) of [1], we have
with if the set is empty. The quantity is defined as the largest prescribed margin for which the solution remains below , namely,
From (A.7), is precisely the condition that ensures . Therefore, specifies the feasible range of prescribed margins. Since is non-increasing in under Assumption 1, this feasible range becomes more restrictive as the risk level increases. In Proposition 2, the generic risk level is .
2. Proof of Proposition 1
Proof. Since and , the two shifted expected margins in (25) are
Their minimum is , which proves (25). Since the absolute value term is minimized at zero, is maximized when . Setting respectively and gives the two identities in (26), and comparing them yields the condition (28). Finally, , and hence (29) follows directly. Therefore, the centered local scores are identical before and after the additive offsets, and substituting them into (11) gives the same DeGroot iterates at every communication round.
Remarks on centering. The achieved two-sided expected margin should be distinguished from the prescribed target used in the subsequent guarantees. In particular, may be negative. An additive shift changes only the location of the two class means relative to threshold zero and leaves their separation unchanged. Hence, if , no additive center can produce a positive two-sided expected margin. The proposition concerns this expected margin criterion and does not imply that centering universally improves classification accuracy. For example, if the score is already the exact equal-prior log-likelihood ratio, zero is the Bayes threshold and a nonzero shift can worsen the resulting decision rule.
3. Proof of Proposition 2
First, we recall the -margin consistent training event associated with condition (34):
and . The proof extends the exact-ERM analysis of [1], which in turn uses uniform deviation bounds established in [2]. We retain the uniform concentration and margin-to-risk arguments from that analysis, while accounting explicitly for the nonzero empirical optimization gaps of the classifiers returned by the local training algorithms from (6). The key new step is to show that these gaps replace the target risk in the exact-ERM argument by the effective risk level .
Proof. Uniform deviations. We introduce the empirical and population surrogate risks for the network as
Since and the population risk separates across agents,
where is defined in (15). Let
The following two uniform deviation bounds are the concentration results used in the exact-ERM analysis of [1], recalled there from Theorem 3 of [2]. For every ,
and, for every ,
We use these established bounds directly.
Effect of approximate empirical optimization. From the definition in (7), condition (37) is equivalent to
for every agent k. Multiplying by and summing gives
Because the coordinates can be selected independently over the Cartesian product class F, the weighted sum of the local infima is the infimum of the network empirical risk. Hence,
The infimum defining need not be attained. By the definition of , for every , . Hence, using (A.21),
where the last equality follows because does not depend on and . Therefore,
For convenience, define the effective risk level
Thus,
This is the step that differs from the exact-ERM analysis, for which .
Reduction of margin failure to the deviation events. By Proposition 1,
Fix any constant . If and hold simultaneously, then
Consequently,
We next use the same surrogate risk reduction as in the proof of the exact-ERM result in [1]. Under the uniform class prior, convexity of and Jensen's inequality give
(A.29)
Thus, since is non-increasing, implies . Combining this implication with (A.23) yields
Using (A.28) and (A.30), followed by the established deviation bounds in (A.17)–(A.18), gives
(A.31)
for every satisfying and .
Balancing the two deviations. We now use the same balancing construction as in [1], with the exact target risk replaced by the effective risk defined in (A.24). Specifically, choose from Appendix A.1, which satisfies
Under the conditions of Proposition 2, this choice is admissible. By (A.7), the two terms in (A.31) are then equal, and
Since and , we obtain (39). When , the effective risk reduces to , which recovers the exact-ERM result of [1].
Interpretation of the optimization-gap condition. Proposition 2 is conditional on the empirical optimality gap bounds in (37) for the score functions returned by local training. It does not provide an algorithm-specific guarantee that a prescribed is attained. In particular, when is parameterized by a neural network, convexity of the scalar surrogate loss does not imply convexity of the empirical training objective with respect to the network parameters. Any optimization guarantee for a particular training algorithm is therefore separate from the statistical statement of Proposition 2. Once such tolerances are available, their effect enters the bound through the quantity .
4. Homogeneous Centralized-Training Comparison
While the bound in Proposition 2 is derived for independent local training, where each agent trains its own classifier without exchanging model updates, it is instructive to compare this setup against a centralized benchmark. For clarity, we focus on the homogeneous case where all agents share the same feature space, model class, and local population distribution. In the heterogeneous case, different agents may observe different feature distributions or spaces and use distinct architectures, so a single centralized model is not directly comparable without introducing additional modeling choices.
For this comparison, suppose a total of i.i.d. training samples from the common local population is available. A centralized learner uses all samples to train one classifier, whereas independent training partitions the same sample budget across K agents. For a symmetric comparison, we consider an even split,
We next examine the quantities that enter the bound in (39).
(i) Network complexity : For many standard base models, such as feedforward neural networks with norm-constrained weights and kernel methods over bounded balls in reproducing kernel Hilbert spaces, the Rademacher complexity admits the standard dependence on the training set size [2]–[4]. For the homogeneous setting with an even split, all local complexities are identical and therefore
where denotes the common function class. Hence, for model classes whose Rademacher complexity decreases with sample size as above,
(ii) Function : Because the local population distribution and model class are common, the individual target risks are identical, and hence the target risk is the same for centralized and independent training. The loss function is also unchanged. Let denote the empirical optimization tolerance of the centralized learner and let
denote the corresponding -weighted tolerance for independent training. If the two procedures are compared at matched optimization accuracy,
then is identical in the two bounds. If their optimization tolerances differ, the corresponding effective risk levels must instead be retained separately. The theory does not presume that either training procedure solves its empirical objective more accurately.
(iii) Admissible margin range: At matched optimization accuracy, the effective risk and the loss are the same under the two setups. Consequently, , and hence the admissible range of , is also identical.
The common model class also yields the same score bound . Suppose now that lies in the common admissible range and that
Under the dependence of training set size described above, , so Proposition 2 applies to both training setups. For centralized training, taking , , and gives
For independent training with the even split, and , which gives
Therefore, under this homogeneous comparison with matched optimization accuracy, the centralized benchmark benefits from both a larger effective size of training set in the exponent and, for the model classes considered above, a Rademacher complexity that is no larger. Consequently, it yields a tighter lower bound on than that obtained by evenly splitting the same sample budget among independently trained models. This comparison makes explicit a statistical cost associated with independent training.
APPENDIX B SUFFICIENT COMMUNICATION
This appendix provides the prediction argument underlying the sufficient-communication guarantee in Section III-B of the main paper. We first record the bounded-difference concentration inequality obtained by combining the class-conditional approximate tensorization of entropy (ATE) assumption with the entropy method. We then apply this inequality under each class-conditional testing law and combine the resulting prediction bound with the training guarantee from Proposition 2. The same ATE concentration tool will also be used in the subsequent prediction analyses of other appendices.
We recall the -field generated by the training data and local training randomness in (40):
1. Bounded-Difference Inequality under ATE
We first record the bounded-difference concentration consequence of ATE used throughout the prediction analysis. It follows by applying the standard entropy-method bounded-difference argument of [5] with the approximate tensorization inequality of [6] in place of exact tensorization. We use this established consequence without reproving it.
Lemma B.1 (Bounded differences under ATE). Let have law P satisfying ATE with coefficient , in the sense of (44). Suppose a bounded measurable function F satisfies
whenever and differ only in coordinate . Then, for every ,
Consequently, if , then, for every ,
The same bound holds for the upper tail. If , then F is constant and the concentration statement is trivial.
2. Proof of Theorem 1
Fix a realization of the training phase that belongs to . Conditional on , the learned score functions and empirical training means are fixed, whereas the fresh testing pair remains independent of the training phase. Conditional on , the joint testing observation therefore has law . We bound the prediction error separately under the two class-conditional laws and then average over the uniform class prior. To lighten notation, throughout this proof we write , , and for the corresponding realized training-dependent quantities; the same convention will be used in the later prediction proofs.
Proof. Suppose first that . From the definition of the aggregate classifier in (18),
(B.5)
where the last inequality follows because the fixed training realization belongs to .
Now consider another observation collection that differs from only in coordinate k. From (9) and Assumption 2,
(B.6)
This reveals that the coordinate oscillations of are . Conditional on and , the testing observation has law , which satisfies ATE with coefficient . Hence, following (B.5), Lemma B.1 gives
The final inequality follows from on . For , we similarly have
on , and the same coordinate oscillations apply. Accordingly, we have
Since is independent of T and has the uniform prior, the following holds
(B.10)
almost surely on . This proves the conditional bound (46) in Theorem 1. Since is -measurable and the preceding conditional bound holds almost surely on , we have
(B.11)
Combining (B.11) with the decomposition in (42) gives
If the assumptions of Proposition 2 also hold, substituting the bound on from (39) into (B.12) gives
(B.13)
This is the explicit classification error bound under sufficient communication.
APPENDIX C FINITE-ROUND COMMUNICATION
Appendix B establishes the classification guarantee for the limiting case of sufficient communication. At a finite communication round, a similar concentration argument applies. The proof below reuses the conditioning convention and ATE bounded-difference inequality from Appendix B
Proof. Fix a realization of the training phase that belongs to . As in Appendix B.2, the learned functions, their empirical training means, and therefore the centered score functions are fixed conditional on . We proceed first with the case . From (50), we have
where the argument of in the notation emphasizes the dependence on the testing observation collection. Consider another observation collection that differs from only in coordinate , (48) gives
(C.2)
Thus, the coordinate oscillation associated with the th testing view is .
We next control the deviation in the class-conditional mean caused by incomplete mixing. Since and its empirical training mean lies in , the realized centered class mean satisfies . Hence, using (52),
(C.3)
Therefore, we have when is true. Consequently, for every satisfying , the following holds:
(C.4)
Conditional on and T, the testing observation has law . Therefore, using the similar arguments used in (B.7) yields
Repeating the steps in (C.3)–(C.5) for the case , we can show that almost surely on ,
which proves the bound in (54). If the conditions of Proposition 2 also hold, substituting the bound on from (39) gives the following explicit upper bound for classification after communication rounds:
This completes the proof of Theorem 2.
APPENDIX D FINITE-PRECISION COMMUNICATION
Appendix C establishes the finite-round classification guarantee under exact real-valued message exchange. Theorem 3 additionally accounts for stochastic finite-precision communication. Relative to the finite-round analysis, two new issues must be controlled: i) quantization errors accumulate as they propagate through the network, and ii) their distributions are input-dependent, so that the resulting errors need not be independent across rounds or from the fresh testing views. We first derive a conditional sub-Gaussian bound for the accumulated quantization perturbation by unrolling the recursion and conditioning on the quantization history. We then combine this bound with the finite-round concentration bound established in Appendix C.
Proof. For , no quantization has yet occurred: and . The claimed conditional bound therefore reduces to the corresponding real-valued finite-round bound. We henceforth consider .
To isolate the effect of stochastic quantization, we condition on the training realization and the fresh testing example, so that only the rounding randomness remains. Let
where corresponds to the matched full-precision recursion obtained from the same initialization by replacing with the identity map. In particular,
where is defined in (48). Before analyzing the rounding errors, note that the prescribed quantization range is preserved by the recursion. From (56), . The outputs of the quantizer remain in the same interval, and (60) forms each subsequent decision statistic as a convex combination of the transmitted values. Hence, by induction,
This indicates that the input to the stochastic quantizer remains within its prescribed range at every round.
Define the sender-level rounding errors
Let . The finite-precision and matched full-precision recursions satisfy
with the same initialization. Expanding the recursion therefore gives
Therefore, a rounding error generated at round s is propagated through before contributing to the decision statistic at round t.
Let denote the -field generated by , the fresh testing pair , and all quantizer randomness through round . Conditional on , the current decision statistics of each agent and therefore the active quantization bins are fixed. Following the stochastic rounding protocol (58), the sender-level rounding errors at round are conditionally independent across senders, satisfy
and each takes values in an interval of length at most . Hence, for any -measurable weights , Hoeffding's lemma [7] gives, for every ,
Given a fixed terminal pair , the th coordinate of (D.6) can be written as
Applying (D.8) with gives
It is worth noting that the errors at different rounds need not be independent because the quantization bin at a later round depends on the preceding randomized updates. For this reason, in the following, we accumulate the bounds through repeated conditioning rather than by multiplying unconditional moment generating functions (MGFs). According to the law of total expectation, conditioning first on gives
(D.11)
Repeating the same conditioning step for yields
where is defined in (64). This derivation requires conditional independence only among the sender-level rounding draws within each round; temporal independence of the rounding errors is not needed.
We now combine the accumulated quantization perturbation with the fluctuation induced by the fresh testing views. Fix and a training realization in , and define
Since , the finite-round mean argument leading to (C.4) in Appendix C, applied to either class, gives
For fixed and , changing only the th testing view changes by at most . Applying the MGF form of Lemma B.1, namely (B.3), under therefore gives
for any . Define the signed quantization perturbation:
Although the quantizer uses fresh auxiliary randomness, the distribution of depends on the realized testing example through the input-dependent quantization bins. Thus, and are not assumed to be independent. Instead, we condition first on the complete fresh testing example. Since is then fixed, the tower property and (D.12) give
(D.17)
Therefore, the sub-Gaussian variance proxies associated with the testing views and quantization errors add in the conditional MGF bound. In particular, no unconditional independence between the two fluctuations is required. Suppose . Since
the event defined in (62), conditional on , together with (D.14), implies
Let
For any , Chernoff's method and (D.17) give
(D.21)
Optimizing at yields
(D.22)
Since the fresh label is independent of T and has the uniform prior, averaging the two class-conditional bounds gives, almost surely on ,
(D.23)
which proves (65). Using the decomposition in (42) with replaced by , if the conditions of Proposition 2 also hold, substituting its bound on gives
(D.24)
This is the explicit unconditional finite-precision classification bound referred to in Theorem 3 and completes the proof. ☐
APPENDIX E PAC-STYLE GENERALIZATION GUARANTEE
This appendix proves Theorem 4 of the main paper. Unlike the prediction guarantees in Appendices B–D, the PAC-style result does not rely on the expected margin event or the class-conditional ATE assumption. Its sampling requirement is instead that the network examples are i.i.d. across n, while the K local views within one example may remain statistically dependent.
The main technical issue is the empirical centering operation in (9), which leads the resulting classifier class to be sample-dependent. The proof handles this issue in three steps. We first bound the sensitivity of the uniform population–empirical risk gap to replacing one network example. We then embed every realized centered aggregate in a fixed offset-augmented function class and control its expected uniform deviation by Rademacher complexity. Finally, McDiarmid's inequality yields a high-probability bound, which is specialized to the -margin loss in Section III-E.
Proof. We prove the collaborative bound in (77), with the local bound following from the same argument by taking a single agent. Recall that
(E.1) contains i.i.d. complete network examples drawn from , and that is its projection at agent . The proof treats each complete network example as one independent sample coordinate and therefore never requires independence among the local views within an example.
For , we define its empirical training mean on and centered score by
For , let
and, for a generic -Lipschitz loss , define
The superscript emphasizes that, even for fixed f, the deployed centered aggregate score associated with depends on the training sample. We therefore study
a) Bounded difference of : Let be obtained from by replacing only the j-th complete network example by . Using
and the triangle inequality, we obtain
(E.9)
Since only one observation changes in each projection and by Assumption 2, one gets from (E.2) that
For any and any , it follows that
(E.11)
where we used . By the triangle inequality and the Lipschitz property of ,
For the empirical risk, we distinguish the unchanged samples from the replaced one. For an unchanged coordinate , we have , and therefore
At the replaced coordinate, and imply
Hence, we have
Applying the Lipschitz property of to these two cases yields
(E.16)
for every . Combining the two terms in (E.12) and (E.16) gives
This replacement argument uses only bounded local scores and independence across complete network examples. No factorization of the joint law Q across agents is required, which implies that the conditional independence assumption of the local views across agents is not required.
b) Expectation of : A direct symmetrization of the function class consisting of would incorrectly treat a sample-dependent class as fixed. To address this issue, we instead embed every realized centered classifier in a deterministic augmented class. Define
Since and
every realized centered classifier belongs to the fixed class
Define the corresponding fixed-class uniform deviation
Then
To apply the contraction inequality in its standard form, define
Then , remains -Lipschitz, and replacing by does not change any population–empirical risk difference. Let
be an independent ghost sample drawn from the same joint distribution Q. Since is independent of both D and , Jensen's inequality gives
(E.25)
Introducing independent Rademacher variables and using the usual symmetrization argument, we obtain
(E.26)
where the last step follows from the contraction inequality for Rademacher averages [3], [7]. For , using the definition of in (19), we further have
(E.27)
Conditional on the sample set D, the variables are again independent Rademacher signs. Therefore, using the definition from Appendix A.1,
Thus,
c) High-probability bound: Applying McDiarmid's inequality [8] to (E.17) gives, for every ,
Taking
and combining with (E.29), we obtain, with probability at least , uniformly for all ,
(E.32)
We now take , the -margin loss in (69), for which . Using the definition of in (78), the preceding display becomes
For a given training set , is the expected -margin loss of the deployed classifier , while denotes its empirical value. Hence (70) gives
The high-probability event is uniform over and depends only on the aligned network training set . Therefore, given a fixed , (E.34) may be evaluated at any data-dependent outputs , for every realization of the local training randomness, without any empirical optimality condition. This establishes (77). Applying the same argument to the projected sample for a fixed agent gives (76) and completes the proof.
Remark on a refinement. The preceding proof is formulated for a generic -Lipschitz loss and controls the effect of replacing one complete network example through the bounded score range. This produces the factor in the confidence term. For the -margin loss , a sharper concentration argument is available because .
Specifically, after embedding the empirically centered classifiers in the fixed offset-augmented class , define the one-sided population–empirical deviation
Standard one-sided symmetrization and the non-absolute contraction inequality in [7] give
Moreover, replacing one complete network example changes this fixed-class uniform deviation by at most , since the -margin loss takes values in . Thus, the bounded-difference constant for is , and McDiarmid's inequality yields the alternative confidence term
Consequently, the collaborative bound associated with the -margin loss can be refined to
The analogous refinement for a local classifier is
These refinements use the boundedness of and a one-sided fixed-class argument. Theorem 4 retains the bound obtained from the generic Lipschitz-loss argument above.
APPENDIX F RELATION TO SOCIAL LEARNING
This appendix returns to the prediction dynamics and relates the DeGroot collaboration rule (11) used in the main paper to social learning (SL) based on geometric pooling. We will first formulate the corresponding static-observation specialization. Then, we establish its finite-round classification guarantee, and compare the two update mechanisms.
1. Static Observation Specialization
A defining feature of the DeGroot model (11) is that agents update their opinions solely by averaging those of their neighbors, without acquiring new observations over time. In contrast, SL rules are designed for inference in streaming environments, where agents continuously receive new observations and combine them with information aggregated from their neighbors. To connect these two inference mechanisms, we consider the geometric-pooling SL mechanism [9], specialized to the learned local decision statistics used in social machine learning [1], [2]:
where denotes the private observation received by agent at round . The linear recursion in (F.1) is the log-domain form of the corresponding geometric SL update. Unrolling it gives
We assume no prior information about the class label, so that . In the static observation specialization, for every , and therefore
As the same testing example is reused at every round, the repeated terms in (F.3) do not represent new temporal evidence. Instead, they repeatedly accumulate the statistics associated with the same K local views.
Since , its Cesàro averages satisfy
(F.4)
Hence, whenever , the prediction of every agent eventually agrees with the collective prediction based on the aggregate classifier . The sufficient-communication guarantee of Theorem 1 therefore applies to the limiting SL prediction as well. For the finite-round analysis, we define
Similar to Theorems 1–3, we analyze the conditional probability . To quantify the cumulative deviation of the finite-round weights from the Perron vector, define
which is finite under Assumption 3. For every and corresponding in (52), it holds that
With this definition, we establish the classification guarantee for the SL rule.
Proposition F.1 (Static-observation SL classification guarantee). Suppose Assumptions 2, 3, and 5 hold, and let . Define
Almost surely on , for every agent and every integer ,
This bound converges to the sufficient-communication bound for as .
2. Proof of Proposition F.1
Proof. The proof reuses the conditioning convention and ATE bounded-difference inequality from Appendix B. Relative to the finite-round DeGroot analysis presented in Appendix C, the only change is that the SL statistic uses the cumulative weights rather than the single-round weights .
Fix a realization of the training phase in . Conditional on , the trained classifiers are fixed, while the fresh testing vector follows under . Since the same testing view is reused at every round, its repeated appearances are not treated as independent coordinates. Instead, changing view changes all of its accumulated contributions simultaneously.
From (F.3), changing only coordinate of the testing vector changes the statistic by at most
(F.10)
Thus Lemma B.1 applies with coordinate oscillations
We next control the class-conditional mean. For either ,
where follows from . For , the event implies , so for ,
The lower-tail form of Lemma B.1 therefore gives
(F.14)
A similar bound is obtained for the case by replacing with . The inequality in (F.9) is then established using the definition of in (45). Finally,
which implies
Since , we obtain
which is the exponent that appears in the bound (46) for the aggregate classifier under sufficient communication. This completes the proof.
3. Comparison with the DeGroot Rule
By Jensen’s inequality, the following holds:
where the last equality uses left-stochasticity of A. Hence, for every agent,
almost surely on whenever .
The finite-round DeGroot and static observation SL statistics are generally different: the former uses the weights in (48), whereas the latter accumulates in (F.3). Accordingly, neither finite-round analytical bound is asserted to vary monotonically with , because its denominator depends on the corresponding finite-round mixing weights. Nevertheless, (16) and (F.4) show that, whenever , both mechanisms eventually yield the same collective prediction in (17). Their error bounds likewise converge to the sufficient-communication bound.
A particularly transparent connection arises for the fully connected consensus matrix . In this case, for every integer , and for every ,
whereas
Therefore, the two statistics have the same sign and produce the same prediction after one communication round. Moreover, exact mixing is achieved after one communication round, since
Hence, for , using the exact identity directly in the finite-round DeGroot argument makes the transient mean error identically zero, and the resulting specialized concentration bound coincides with the sufficient-communication bound. For the SL rule, and hence , while
Its finite-round bound therefore reduces to the same sufficient-communication bound for every . Finally, the two recursions use different initial conditions because they represent different inference semantics. For SL, is the state before the first observation is incorporated. For the DeGroot rule, is the local decision statistic available before communication. This discrepancy at does not affect the preceding finite-round or limiting comparison.
APPENDIX G RAW-SCORE COUNTERPARTS
The main analysis uses the empirically centered local scores in (9). As discussed in Proposition 1, empirical centering acts as a threshold alignment mechanism rather than a structural requirement for collaboration. This appendix provides the corresponding results when the learned scores are used directly, without empirical centering.
The raw aggregate score and its class-conditional means are already defined in (20). Moreover, the raw expected zero-threshold margin is in (26). Since the arguments closely parallel those developed for the centered scores in Appendices A–F, we state only the changes needed for the raw-score counterparts.
1. Raw-Score Training Guarantee
For and a generic risk level , we define
For the learned functions , we denote the raw-score -margin training event by
(G.2)
where the equality follows from (21), (22) and (26). This is the raw-score counterpart of the centered condition (34). Similar to Proposition 2, we can establish a bound on the achievability of (G.2) as follows.
Corollary G.1 (Raw-score -margin consistent training). Suppose Assumptions 1–3 hold and the approximate optimization condition (37) is satisfied. Let
where is defined in (38). If
then
Proof. The analysis on the approximate optimization remains unchanged from the proof of Proposition 2. With the argument in Appendix A.3, we have
where U is the uniform risk deviation in (A.15). It remains to relate failure of the -margin condition (G.2) to the population surrogate risk. We introduce the following two class-conditional risks:
Under the uniform class prior, . By the same Jensen argument used in (A.29),
Moreover, Assumption 2 and the non-increasing property of imply
If fails, one of the two class-conditional risks is at least , while the other is at least . Therefore,
Combining (G.11) with (G.6) gives, on ,
Applying the uniform deviation bound (A.18) at this threshold proves (G.5).
Compared with Proposition 2, the change in the bound (G.5) occurs in the reduction from margin event failure to population risk. The centered analysis additionally controls the empirical training mean, whereas the raw margin in (26) is determined directly by the two raw class-conditional means.
2. Sufficient-Communication Counterpart
Set in the raw aggregate score (20), and define
This is the raw-score counterpart of the event in (42). When is true, the class-conditional mean of lies on the correct side of zero by more than . Moreover, changing only testing view changes by at most , which is the same coordinate oscillation used for the centered aggregate in Appendix B.2. Applying Lemma B.1 under the two class-conditional laws and using the definition of gives
almost surely on . Thus, for the same prescribed margin , the prediction-side bound (G.14) has exactly the same form as its centered counterpart in (46). Applying the same tower-property decomposition as in (42), with and replaced by and , respectively, gives
(G.15)
Combining (G.15) with (G.14) and the raw-score training guarantee (G.5) gives the corresponding unconditional guarantee.
3. Finite-Round Counterpart
Without empirical centering, the finite-round statistic corresponding to (48) becomes
with
The finite-round mixing argument pertaining to follows Appendix C. The coordinate oscillation remains . The only change in the expectation term follows from
instead of the bound for empirically centered scores . Using the matrix-power estimate in (52),
Accordingly, define the raw-score counterpart of the residual margin in (53) by
Repeating the argument used to establish Theorem 2 gives, for every agent and every such that ,
almost surely on . Therefore, relative to the bound in (54), only the residual margin changes:
The corresponding unconditional guarantee follows by combining (G.21) with (G.5), in the same manner as the centered finite-round decomposition (51).
4. Finite-Precision Counterpart
We next consider the raw-score counterpart of the finite-precision recursion (60). Since by Assumption 2, the raw inputs can be quantized over rather than the centered range in (56). Accordingly, we employ a narrower raw-score alphabet
where
We apply the same adjacent-level stochastic rounding protocol as in (58) using this raw-score alphabet. The initialization and all quantizer outputs lie in , and the update in (60) is a convex combination. Therefore, this interval is preserved throughout the recursion. The accumulated perturbation term corresponding to (64) is
(G.25)
Let denote the recursion (60) initialized by
and using the raw quantization range above. Define
The conditional-MGF argument in Appendix D is unchanged. Replacing and in (65) respectively by and therefore gives
almost surely on whenever . Thus, relative to the centered result (65), the raw-score counterpart changes only the residual finite-round margin and the quantization proxy . The unconditional guarantee follows by combining (G.28) with (G.5), as in Theorem 3.
5. PAC-Style Generalization Counterpart
We next consider the PAC-style result under the aligned network training set (74) and its local projections (75). The raw aggregate in (20) does not contain the sample-dependent empirical training mean that appears in the centered aggregate. Therefore, the fixed-class refinement technique described at the end of Appendix E applies directly without the additional offset variable.
For the raw local and aggregate scores, respectively, define
We establish the analogous PAC-style bounds for and as follows.
Corollary G.2 (Raw-score margin generalization bound). Under the sampling setup of Theorem 4, fix and . Then, with probability at least , uniformly for all ,
Moreover, for every fixed agent , with probability at least , uniformly for all ,
Proof. Following (E.35), we define the one-sided deviation
where and are defined in (69) and (71), respectively. Since the function class consisting of , is fixed, the one-sided symmetrization and contraction argument used in the refinement of Appendix E gives
Moreover, , so replacing one complete network example changes by at most . McDiarmid's inequality therefore gives, with probability at least ,
Using (70) proves (G.31). Since this high-probability event is uniform over , it may be evaluated at for every realization of the local training randomness. Applying the same argument to the projected sample gives (G.32).
Relative to the centered refinement in Appendix E, the offset-complexity term is absent in Corollary G.2 because the raw-score classifier does not contain an empirical training mean. As already characterized by (26) and (27), this difference does not imply a universal ordering of the resulting classifiers, since empirical centering also changes their margins relative to the zero decision threshold.
6. Static-Observation Social Learning Counterpart
Replacing the centered decision statistic in (F.3) by the learned raw scores gives
We define
Using the cumulative mixing constant in (F.6), we denote
where is defined in (F.8). The proof of Proposition F.1 carries over directly. The cumulative coordinate oscillations are unchanged, while reduces the cumulative mean-transient term in (F.12) from to . Consequently, almost surely on , for every agent and every integer ,
This is the direct raw-score counterpart of (F.9). Since
the bound (G.39) converges to the bound associated with raw scores under sufficient communication (G.14).
APPENDIX H
ADDITIONAL EXPERIMENTAL DETAILS
This appendix provides additional implementation details and supplementary figures for the experiments conducted in Section IV. The presentation is grouped into the CIFAR-10 benchmark, the ModelNet40 benchmark, and the communication and robustness studies.

Fig. H.1. Illustration of the local labeled datasets in the CIFAR-10 patch-partition benchmark. The highlighted columns illustrate two representative images from the two classes contributing different local patches to all agents.
1. CIFAR-10 Benchmark
- Experimental Protocol: This subsection provides additional implementation details for the CIFAR-10 patch-partition benchmark introduced in Section IV-A. Each agent trains a convolutional neural network (CNN) independently on the patch associated with its grid location. The network consists of two convolutional layers followed by fully connected layers and produces a two-dimensional output for each input patch [1]. Its two entries, denoted by and , are the logits associated with the two classes, which define the class-posterior probabilities through the softmax rule:
for . Here, these logits refer to the raw outputs of the neural network, and should not be confused with the theoretical logit function in (3). In the binary case, their difference satisfies
Therefore, in this implementation, the scalar quantity used for collaboration is first formed by taking the difference between the two logits. This logit difference is then centered according to (9) to obtain the local decision statistic .
For each value of , we first sample a balanced set of CIFAR-10 images containing equal numbers of cats and dogs. The same selected images are then used across all agents, with each agent retaining only the patch corresponding to its own grid location. In this way, denotes the size of the local labeled dataset at each agent before the train/validation split. We reserve 20% of each local dataset for validation and use the remaining 80% for training. Figure H.1 illustrates this construction: each row corresponds to the local dataset of one agent, and each column shows the local patches extracted from a common image across agents.
Each local CNN classifier is trained independently using the Adam optimizer with learning rate , mini-batch size 256, and cross-entropy loss for at most 100 epochs. Early stopping is applied in all CIFAR-10 experiments: training is monitored on the validation set and terminated once the validation loss ceases to improve over several consecutive validation checks, and the model parameters corresponding to the best validation loss are retained.
For each value of , all reported quantities in Fig. 2 are averaged over 200 Monte Carlo repetitions. In each repetition, the balanced image set is resampled, the train/validation split is regenerated, and all local classifiers are retrained from scratch. In the main baseline comparison, the communication graph is generated once and then kept fixed across repetitions. Each agent is also assumed to have a self-loop in the communication graph, which is omitted from Fig. 1b for clarity. The corresponding combination policy is constructed using the uniform averaging rule:
where denotes the cardinality of .
- Baselines: Figure 2b compares the following methods.
a) Non-cooperative: Each agent predicts independently from its own local decision statistic, without any communication or aggregation.
b) Avg-stat: The local decision statistics are averaged uniformly across agents, and the final prediction is obtained by thresholding the resulting aggregate. This provides a simple averaging reference, and coincides with the proposed method when the combination policy is doubly-stochastic and the communication is sufficient.
c) Vote: Each agent first generates a hard class prediction based on its local decision statistic. The final output is then determined by majority vote across the agents.
d) Learned fusion: A centralized affine fusion rule is fitted on a held-out validation set. If denotes the vector of local decision statistics for sample , the baseline predicts according to the sign of
where both the fusion weights and the bias are learned from validation data.
e) Learned simplex fusion: This baseline also learns a centralized linear fusion rule from validation data, but under the structural constraints
with no additive bias term. It may therefore be interpreted as a learned convex combination of the local decision statistics.
f) AdaBoost: A centralized boosting model is trained using the local predictors as constituent learners. Unlike the proposed method, this baseline introduces cooperation during training rather than only at test time.
g) VFL-JT: To provide a task-matched joint training comparator for the partitioned CIFAR-10 data, we implement a score-level vertical federated joint-training scheme inspired by the feature-distributed learning framework in [10]. For an aligned example, branch receives the same local patch as the corresponding independently trained agent and outputs a
TABLE H.1 COMMUNICATION COST OF VFL-JT AND THE PROPOSED SCHEME.
| Method | Training | Inference per sample |
|---|---|---|
| VFL-JT | ||
| Proposed | 0 |
scalar binary score . The coordinating server forms
and the branch parameters together with the fusion head are optimized jointly using the global binary logistic loss. During training, the local scores are sent to the server and the corresponding loss derivatives with respect to the local scores are returned to the branches. Raw patches and local parameter tensors are not exchanged, and no parameter averaging is performed.
Because VFL-JT and the proposed method communicate at different stages, we report their training- and inference-time communication separately. Let denote the realized number of VFL-JT training epochs, and and the numbers of aligned training and validation samples, respectively. Recall that defined in (66) denotes the number of directed non-self communication links. The resulting communication costs, measured by the number of transmissions, are summarized in Table H.1.
For VFL-JT, each training sample involves the transmission of local scores to the server and the return of corresponding loss derivatives, while each validation sample requires the forward score transmissions. For the proposed method, communication occurs only during test-time collaboration over the directed non-self links of the network. If each communicated scalar is represented using bits, the corresponding bit costs are obtained by multiplying the entries in Table H.1 by .
h) Central oracle: A centralized classifier from the same CNN family is trained on the full CIFAR-10 image. In this implementation, the first convolutional layer is adapted to the full-image input, and the first fully connected layer is resized accordingly to match the resulting feature dimension. This baseline is included only as a full-information reference and is not constrained by the distributed observation model.
i) Ours (no centering): This ablation implements the same collaboration rule as the proposed method, but removes the centering step in (9). In other words, each agent uses the trained score rather than the centered decision statistic .
-
Conditional Mutual Information: In Section IV-A1, the estimation of the mutual information appearing in (79) is carried out in two stages. For the reported results in Figs. 3a and 3b, the conditional mutual information is estimated on the training split using all 10,000 selected training samples. We also repeated the same analysis on the testing split and obtained the same qualitative conclusions. First, for each agent , the raw patch vectors are stacked into a data matrix whose rows correspond to samples and whose columns correspond to pixel values, and principal component analysis (PCA) is then applied to this matrix [11]. A reduced representation of dimension 20 is retained. The PCA transformation is fitted once per agent on the chosen split, and the resulting reduced coordinates are then partitioned according to the class label. Second, for each class , the mutual information between the two reduced patch representations is estimated by a -nearest-neighbor (kNN) estimator with neighborhood parameter [12]. The two class-conditional estimates are then combined according to (79). All reported values are given in nats. We also evaluated PCA dimensions 10, 20, and 30, together with neighborhood parameters , and 10. Across these choices, the same qualitative conclusions are found.
-
Heterogeneous Models: This subsection provides additional details for the heterogeneous version of the CIFAR-10 patch-partition benchmark in Section IV-A2. We consider three local model families:
-
Family A: the patch-level CNN adopted in the main CIFAR-10 experiments;
-
Family B: logistic regression on the flattened raw patch pixels;
-
Family C: a small residual convolutional network with adaptive pooling [13].
All other aspects of the experiment remain unchanged from the homogeneous CIFAR-10 benchmark, including the local datasets, the train/validation splitting protocol, the communication graph, the combination policy, and the training hyperparameters.
Because different patch locations are not equally informative, the placement of a model family on the grid can affect its apparent performance. To reduce this spatial bias, we use a balanced assignment protocol based on the base layout:
where A, B, and C denote the three model families. A cyclic shift of this pattern yields two additional layouts:
In the study of collaboration gain at a fixed illustrated by Fig. 4, the values are averaged over these three layouts so that each family appears equally often at each spatial location. In the -sweep of Fig. 5, the base layout is kept fixed.
For each agent , we quantify the performance gain from collaboration at round by
where we recall that denotes the probability of error of agent at communication round . For the heatmap shown in Fig. 4, we report the corresponding relative error reduction at the representative communication round :
where is a small numerical safeguard.
2. ModelNet40 Benchmark
The ModelNet40 experiments follow the same general pipeline as the CIFAR-10 benchmark in Appendix H.1, except for the differences described below.
The dataset is constructed from CAD models by rendering multiple views of each object using Blender. For each object, we generate RGB views from fixed camera positions whose azimuth angles are uniformly spaced around the object, with a common elevation angle of . All rendered images are generated at resolution with transparent background.
The local classifier is a lightweight convolutional network, referred to as MicroCNN. It consists of a single convolutional layer with kernel size and stride 4, followed by a ReLU nonlinearity, global average pooling, an optional dropout layer, and a final linear layer producing two logits. As in the CIFAR-10 experiments, the local score is formed from the difference between two logits and then centered according to (9).
For each value of , we sample a balanced set of objects containing examples from each class and split it into training and validation subsets using the same validation fraction as in the CIFAR-10 study. The local models are trained independently using cross-entropy loss and validation-based early stopping, but with SGD optimizer and learning rate 0.05. For the VFL-JT comparison, we use the same score-level joint-training construction described in Appendix H.1.2, with view-specific MicroCNN branches.
a) Centralized full-observation reference: In the ModelNet40 benchmark, the central oracle has access to all 12 views of the same object. The model consists of view-specific MicroCNN backbones, one for each rendered view, whose feature vectors are concatenated and passed to a centralized multilayer head for final prediction. The oracle is initialized from the independently trained local models and then trained in two stages. In the first stage, all backbone parameters are frozen and only the fusion head is optimized. In the second stage, all parameters are unfrozen and the full model is fine-tuned jointly using a smaller learning rate. Both training stages use cross-entropy loss, the Adam optimizer, and validation-based early stopping.
- Temperature Scaling: For each agent , we denote by the two-dimensional output of its local classifier for feature vector , whose entries are the logits associated with the two classes. A positive scalar temperature is fitted on the validation set by minimizing the cross-entropy loss of the rescaled logits:
where denotes the cross-entropy loss, and denotes the -th labeled example in the validation set. In the implementation, we optimize over in order to enforce

Fig. H.2. Temperature scaling diagnostics for the ModelNet40 benchmark. The orange curve shows the average of over agents, with error bars indicating 95% confidence intervals across Monte Carlo repetitions. The blue curve shows the average run-wise standard deviation of , which quantifies the variability of the fitted temperatures across agents.

Fig. H.3. Temperature scaling diagnostics for the CIFAR-10 benchmark.
positivity. After fitting , the classifier output is replaced by . The local score used for collaboration is then formed by taking the difference between the two calibrated logits and is subsequently centered according to (9).
a) Additional temperature scaling diagnostics: Figure H.2 summarizes the fitted temperature parameters on the ModelNet40 benchmark across training set sizes . For each value of , we report the average of over the agents together with a 95% confidence interval across 200 Monte Carlo repetitions, as well as the average run-wise standard deviation of . A learned temperature leaves the logits unchanged, softens them by reducing their magnitude, and sharpens them. The figure shows that the fitted temperatures are generally greater than one, and that both their average level and their variability across agents decrease as increases. This trend supports the conclusion that calibration is most critical in data-constrained regimes and becomes more stable as local classifier's reliability improves with additional training data.
Figure H.3 reports the corresponding temperature diagnostics for the CIFAR-10 benchmark considered in Fig. 2. Similar to ModelNet40, the fitted temperatures are larger and more variable at smaller training set sizes. As increases, however, they move closer to one, indicating that the logits require less rescaling in the higher-data regime. The corresponding results of decision margin and probability of error with temperature scaling are shown in Figs. H.4a and H.4b, respectively. Compared with Figs. 2a and 2b, temperature scaling tends to increase the achieved decision margin and slightly lowers the probability of error, with the effect being most visible at smaller .

(a) Decision margin

(b) Probability of error
Fig. H.4. Performance of temperature scaling on CIFAR-10.
- Correlation Stress Test: This subsection provides additional details for the controlled correlation stress test studied in Section IV-B2. The perturbed decision statistics are generated from the clean centered statistics using the perturbation model in (80) and (81). After perturbation, the decision statistics over the test set are collected into a matrix
whose -th entry is the perturbed decision statistic of agent k for the i-th testing sample, where denotes the number of testing samples. To quantify the induced dependence, we compute the unconditional average pairwise Pearson correlation across agents:
where denotes the sample Pearson correlation between columns and of . The label-conditional counterpart is obtained by restricting to each class separately and then averaging the corresponding pairwise correlations over the two classes.
In addition to these dependence measures, Fig. 9 reports the collaboration gain after t communication rounds, measured by
where denotes the average probability of error across agents in the non-cooperative setting and is the corresponding average probability of error after t rounds of collaboration at the same perturbation level.
For completeness, Fig. H.5 reports the corresponding non-cooperative and collaborative probabilities of error as functions of the dependence strength r. For a fixed perturbation ampli-

Fig. H.5. Probability of error under the controlled correlation stress test. For each perturbation amplitude , the figure compares the non-cooperative error at t = 0 and the collaborative error after t = 20 communication rounds as functions of the dependence strength r. The clean non-cooperative and collaborative error levels are also shown for reference.

(a) Ring

(b) Grid
Fig. H.6. Ring and grid communication topologies used in Fig. 10. Self-loops are omitted from the plots for visual clarity.
tude , varying r changes the balance between the shared and idiosyncratic perturbation components while preserving the marginal perturbation distribution at each agent. This explains why the non-cooperative error remains approximately constant as r varies. In contrast, the collaborative error generally increases with r, since a stronger shared component makes the perturbations across agents more correlated and reduces the benefit of combining their information. Consequently, the gap between the non-cooperative and collaborative curves narrows as r increases, consistent with the reduction in collaboration gain observed in Fig. 9. Increasing , on the other hand, increases the perturbation magnitude and raises the overall error levels. The clean reference curves show the corresponding performance without the injected perturbations.
3. Communication and Robustness
This subsection collects the implementation details for the communication design, adaptive stopping, and robustness studies in Section IV-C of the main paper.
- Topology and Quantization: This subsection provides additional implementation details for the communication design study in Section IV-C. Figure H.6 illustrates the ring and grid communication topologies used in the experiments.
For each topology-rule pair, the graph and the corresponding combination policy A are generated once and then kept fixed throughout the Monte Carlo study. In this study, we choose , which corresponds to all available training samples for the selected class pair. The training and testing sets are therefore kept fixed across repetitions, while the train/validation split and the training randomness are varied. For each finite-bit condition, the results are additionally averaged over 30 independent quantizer realizations within each of the 200 training repetitions. In this way, the comparison isolates the effect of the communication design from variability due to changes in the underlying graph or data.
For the Metropolis rule used in the simulations, the communication weights are defined by
For the undirected ring and grid topologies, this is the standard Metropolis rule in the literature [14], which ensures that the resulting combination policy A is doubly-stochastic. In the case of the directed Erdős–Rényi topology, the inclusion of self-loops at all agents guarantees that A is well defined and left-stochastic by construction (H.15). However, because the graph is directed, the policy does not generally remain doubly-stochastic.
For the finite-precision study, we use the bounded posterior-probability difference defined in (82). This statistic is obtained directly from the same trained classifier, and no retraining is performed. Its empirical training mean is recomputed from the training statistics in this representation, so that the centered statistic lies in . For , we use uniformly spaced reconstruction levels on , with step size
The adjacent-level stochastic rounding protocol and the quantize-before-average recursion (60) are those defined in Section III-D. Quantization is applied at each sender before averaging, including the first exchange. For each testing sample and communication round, every sender draws one fresh quantization outcome independently across senders, rounds, and samples, and broadcasts the same quantized value to all of its outgoing neighbors. Since both stochastic quantization and left-stochastic averaging preserve the interval , no overload clipping is required.
The matched full-precision reference uses the same trained classifiers, bounded scores, empirical centers, graph, and combination policy, but replaces the stochastic quantizer by the identity map. Thus, the finite-bit branches differ from the full-precision reference only through stochastic quantization.
For the finite-bit branches, the per-round communication cost is measured in transmitted bits per testing sample:
where is defined in (66) and excludes self-loops from the communication count.
a) Additional discussion of Fig. 10: Figures H.7–H.9 provide alternative views of the results in Fig. 10, organized according to graph family, the construction rule of A, and communication precision. These views help separate the role of each factor in collaborative classification. Across the graph families considered here, the uniform averaging rule and the Metropolis rule generally produce different combination matrices A. One exception is the ring graph, for which the two rules generate the same matrix A. Accordingly, Fig. H.7a presents coincident trajectories at all tested precisions. For the grid graph, Fig. H.7b shows that the uniform averaging rule performs better than the Metropolis rule, although the gap becomes small in the heavily quantized (4-bit) regime. For the tested directed Erdős–Rényi graph, Fig. H.7c shows that uniform averaging performs better than the Metropolis rule under the matched full-precision reference and all three finite-bit settings.
Figure H.8 relates these performance differences to the spectral properties of the corresponding combination matrices. In our experiments, across both construction rules, the second-largest eigenvalue magnitude is largest for the ring graph, intermediate for the grid, and smallest for the directed Erdős–Rényi graph. Since governs the speed of linear mixing associated with the local decision statistics in (11), this ordering helps explain the convergence behaviors observed in Figs. H.8a and H.8b: the ring trajectories approach their limiting regime more slowly than those of the grid or Erdős–Rényi graphs. This spectral comparison concerns the transient mixing behavior. The classification performance also depends on the Perron vector of A and the distribution of heterogeneous local scores.
The precision-specific views in Fig. H.9 further clarify the role of quantization. Since the ring and grid graphs are undirected, the Metropolis rule yields doubly-stochastic matrices for both graph families, and hence the same uniform Perron vector. Therefore, in the matched bounded full-precision setting, their decision statistics converge to the same limit. This is reflected in Fig. H.9a, where the corresponding curves approach nearly the same long-run error level. However, the ring graph exhibits a slower transient due to its larger . As the communication precision decreases, this coincidence is no longer exact. The finite-bit results exhibit a gradual precision hierarchy: the 8-bit trajectories remain close to full precision, 6-bit communication produces an intermediate degradation, and 4-bit communication produces the largest loss. Finally, although the ring graph converges more slowly in the early rounds, it attains a lower long-run error than the directed Erdős–Rényi graph in these experiments. In particular, the two graphs have the same number of communication links, and hence the same per-round communication cost at a fixed bit-width following (H.17). This comparison further illustrates the importance of graph topology in collaborative inference.
- Adaptive Stopping: This subsection provides additional details for the adaptive stopping study in Section IV-C2. Our implementation follows a local event-triggered communication protocol. For the i-th testing sample and each agent k, let denote the last value that agent k has transmitted up to round t. At the next round, agent k computes a candidate statistic given by
At initialization, we set , where is the local decision statistic before communication. The stopping decision is then made from together with the agent's local memory. If the trigger fires, the stored communicated value is updated; otherwise the previous transmitted value is kept. Therefore, an agent that remains silent at one round still computes a fresh candidate statistic and may become active again later if the trigger condition is violated.
We investigate two local stopping-rule families. The first is a -trigger rule, which is based directly on the change in the communicated statistic. Under this rule, agent k transmits the candidate statistic to its neighbors at round t only if
where denotes the threshold parameter. The second is a label-stability with confidence rule. Let
be the label induced by the candidate statistic, and let denote the number of consecutive rounds up to round t over which this induced label has remained unchanged. In the implementation, the counter is updated by comparing the induced labels at two consecutive rounds. Thus, corresponds to one unchanged transition, to two consecutive unchanged transitions, and so on. Agent k does not transmit sample i at round t when
where L is a patience parameter and is a confidence threshold.
To evaluate the performance of the two stopping rules, we sweep over a dense grid for the -trigger rule, and sweep over dense grids for the label-stability rule. Since transmissions may stop at different times for different agents and different samples, the communication cost for each rule is measured by the total number of transmissions per testing sample, obtained by counting the realized transmissions over directed non-self links across the communication rounds. The Pareto-efficient operating points shown in Fig. 11 are then extracted in the plane of probability of error versus the total number of transmissions.
- Robustness: This subsection provides additional details for the robustness study in Section IV-C3. For the i-th testing sample, let denote the local decision statistic of agent k before communication. The collaborative recursion then evolves according to
For each perturbation scenario, we replace the initial statistics by corrupted values and compare the resulting performance with the corresponding clean trajectory.
In each repetition, agents are corrupted,

(a) Ring topology

(b) Grid topology

(c) Directed Erdős–Rényi topology
Fig. H.7. Effect of the construction rule of A and quantization on classification performance under different graph topologies.

(a) Uniform averaging rule

(b) Metropolis rule
Fig. H.8. Effect of graph topology and quantization on classification performance under different construction rules of A.
chosen uniformly without replacement, and kept fixed throughout that repetition. We consider three perturbation families.
a) Benign noisy agents: For each corrupted agent k, independent Gaussian perturbations are injected into the initial statistics:
To normalize the perturbation level , we first compute the sample standard deviation of for each agent , and then take the median of these values across agents. Denoting the resulting scale estimate by , we set
with a dimensionless multiplier .
b) Faulty agents: We consider both stuck-at-zero failures and constant-bias failures. In the stuck-at-zero model,
whereas in the constant-bias model,
Here, is the dimensionless bias multiplier varied in the experiments.
c) Adversarial reports: For each corrupted agent k, we apply a scaled sign flip,
This model includes several special cases: corresponds to silencing, to a pure sign flip, and to an amplified wrong-sign report.
REFERENCES
[1] P. Hu, V. Bordignon, M. Kayaalp, and A. H. Sayed, “Non-asymptotic performance of social machine learning under limited data,” Signal Processing, vol. 230, p. 109849, 2025.
[2] V. Bordignon, S. Vlaski, V. Matta, and A. H. Sayed, “Learning from heterogeneous data based on social interactions over graphs,” IEEE Transactions on Information Theory, vol. 69, no. 5, pp. 3347–3371, 2023.
[3] P. L. Bartlett and S. Mendelson, “Rademacher and Gaussian complexities: Risk bounds and structural results,” Journal of Machine Learning Research, vol. 3, no. Nov, pp. 463–482, 2002.
[4] B. Neyshabur, R. Tomioka, and N. Srebro, “Norm-based capacity control in neural networks,” in Conference on Learning Theory. PMLR, 2015, pp. 1376–1401.
[5] S. Boucheron, G. Lugosi, and P. Massart, “Concentration inequalities using the entropy method,” The Annals of Probability, vol. 31, no. 3, pp. 1583–1614, 2003.
[6] P. Caputo, G. Menz, and P. Tetali, “Approximate tensorization of entropy at high temperature,” Annales de la Faculté des Sciences de Toulouse: Mathématiques, vol. 24, no. 4, pp. 691–716, 2015.
[7] M. Mohri, A. Rostamizadeh, and A. Talwalkar, Foundations of Machine Learning, 2nd ed. MIT press, 2018.
[8] C. McDiarmid, “On the method of bounded differences,” in Surveys in Combinatorics, 1989, ser. London Mathematical Society Lecture Note Series, J. Siemons, Ed. Cambridge University Press, 1989, vol. 141, pp. 148–188.
[9] A. Lalitha, T. Javidi, and A. D. Sarwate, “Social learning and distributed hypothesis testing,” IEEE Transactions on Information Theory, vol. 64, no. 9, pp. 6161–6179, 2018.
[10] Y. Hu, D. Niu, J. Yang, and S. Zhou, “FDML: A collaborative machine learning framework for distributed features,” in Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM, 2019, pp. 2232–2240.
[11] A. H. Sayed, Inference and Learning from Data. Cambridge University Press, 2022.
[12] A. Kraskov, H. Stögbauer, and P. Grassberger, “Estimating mutual information,” Physical Review E, vol. 69, no. 6, p. 066138, 2004.
[13] K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 770–778.
[14] A. H. Sayed, “Adaptation, learning, and optimization over networks,” Foundations and Trends® in Machine Learning, vol. 7, no. 4-5, pp. 311–801, 2014.

(a) Full-precision communication

(b) 8-bit communication

(c) 6-bit communication

(d) 4-bit communication
Fig. H.9. Effect of graph topology and the construction rule of under different communication precisions.