WorksComputer Science
FedVP: Federated Learning across Heterogeneous Models by Pooling Locally Trained Verifiers
Abstract
Conventional federated learning relies on the shared model backbone to aggregate client updates, limiting collaboration among institutions that deploy large language models (LLMs) from different families and at different scales. We propose Federated Verifier Pool (FEDVP), a new federated learning paradigm that enables heterogeneous clients to collaborate through shared verification rather than parameter aggregation. Each client trains a verifier using local data and responses generated by its chosen LLM backbone. The server pools these independently trained verifiers and combines their judgments to select answers without merging model parameters. This allows both LLM backbones and verifiers to differ in architecture and size, while keeping the LLM backbones frozen and deriving collaborative gains from improved answer selection. We evaluate FEDVP across five public medical question-answering datasets treated as federated clients, using Qwen and LLaMA backbones ranging from 3B to 14B parameters. FEDVP consistently improves performance across all five clients and outperforms the strongest conventional federated baselines by 1.46-5.79 percentage points in mean accuracy.
Introduction
Federated learning (FL) enables collaborative training across institutions without centralizing their local data [14, 8]. Recent advances have extended FL to large language models (LLMs) through parameter-efficient fine-tuning, including federated adapter and prompt tuning [21, 24] (Zhang et al. 2023; Zhao et al. 2022). However, participating institutions may differ not only in their local data but also in their choice of LLM backbones, reflecting differences in computational resources and application requirements.
Conventional federated fine-tuning relies on a shared model backbone, where clients exchange compatible parameter updates for server-side aggregation (Figure 1a). This requirement limits collaboration among clients using different LLM architectures and model sizes, restricting their ability to retain independently chosen backbones. This raises a central question: How can clients with different LLM backbones benefit from one another’s locally learned knowledge without requiring compatible model parameters?

Figure 1. Conventional federated fine-tuning versus FEDVP. (a) Conventional FL aggregates updates from clients sharing a common generator backbone. (b) FEDVP enables clients with heterogeneous generators and verifiers to collaborate through a shared pool of independently trained verifiers. The pool collectively evaluates candidate responses from a target generator to select the final answer. The illustrated clients demonstrate the workflow; the evaluated five-center configuration is detailed in Table 1.
To address this challenge, we propose Federated Verifier Pool (FedVP), a framework that shifts collaboration from parameter aggregation to shared verification. Our key insight is that a verifier can assess the correctness of a candidate response without accessing the parameters of the LLM that generated it [1, 12]. By pooling locally trained verifiers rather than aggregating model parameters, FedVP enables clients with heterogeneous LLM backbones to share learned verification knowledge while retaining their independent model choices.
As illustrated in Figure 1b, each client independently trains a verifier using its local data and candidate responses produced by its frozen LLM backbone, with correctness labels derived from reference answers. The trained verifiers form a shared pool without parameter aggregation, retaining their individual architectures and parameters. During inference, the pool combines verifier judgments to select the best response from multiple candidates generated by a target LLM backbone. The pool can be maintained by a server or formed through direct verifier exchange among clients, enabling flexible collaboration without requiring a shared model architecture.
We evaluate FedVP across five medical question-answering centers with distinct datasets, following the data organisation of FedCoT [9]. Each center employs a different Qwen or LLaMA backbone spanning 3B–14B parameters, together with a different verifier model. Despite these differences, the resulting pool of five locally trained verifiers can be reused across all five LLM backbones without additional verifier training, outperforming local verification at every center. FEDVP further improves mean accuracy by 1.46–5.79 percentage points over the strongest evaluated federated baselines. These results demonstrate that heterogeneous clients can benefit from shared verification while retaining their independently chosen models. Our main contributions are summarised as follows:
We propose FEDVP, a new heterogeneous federated learning paradigm that enables clients with different LLM families and sizes to collaborate through locally trained verifiers while retaining their chosen generators.
We show that a verifier trained on responses from one client’s LLM can assess responses from another’s. Clients can therefore exchange verifiers directly, form different pools, and use them locally to select among responses from their own LLMs, making a central aggregation server optional.
We validate FEDVP across five medical QA centers with distinct datasets and LLM backbones, showing consistent gains over local verification and superior mean accuracy against federated baselines.
Related Work
Federated optimization and LLM fine-tuning. FedAvg [14] aggregates locally updated model parameters, while FedProx [11] and adaptive federated optimizers [18] improve optimization under heterogeneous data and client conditions. For LLMs, FedIT (Zhang et al., 2023) and FFA-LoRA [21] aggregate locally trained adapters, while FLoRA [24] accommodates heterogeneous LoRA ranks through adapter stacking. FedPrompt (Zhao et al., 2022) instead uses federated soft-prompt tuning. These approaches generally require compatible parameters for aggregation, limiting collaboration across different LLM backbones.
Model-heterogeneous federated learning. Knowledge distillation enables collaboration across heterogeneous models without parameter aggregation. FedMD (Li and Wang, [10]) exchanges client predictions on public data and iteratively trains local models toward a shared consensus. FedMKT (Fan et al., [3]) enables mutual knowledge transfer between heterogeneous language models through token alignment and selective bidirectional distillation. However, both methods rely on shared reference data and iterative model updates, introducing additional data requirements that may limit their applicability in settings where suitable shared data are unavailable. In contrast, FEDVP enables collaboration across different LLM backbones by sharing locally trained verifiers without requiring shared distillation data, cross-model token alignment, or updates to participating generators.
Verification and inference-time selection. Inference-time scaling improves performance by generating and evaluating multiple candidate solutions (Snell et al., [20]). Self-Consistency (Wang et al., [23]) selects answers through majority voting, while trained verifiers (Cobbe et al., [1]), process reward models (Lightman et al., [12]), and preference-trained reward models such as Skywork-Reward (Liu et al., [13]) evaluate candidate responses. Reward-model ensembles have also been explored to improve selection robustness (Coste et al., [2]). These advances motivate our use of verification as a new mechanism for federated collaboration across heterogeneous LLMs.
Federated verification. FedCoT (Li et al., [9]) enhances federated reasoning through locally trained discriminators that evaluate candidate reasoning paths. It combines correctness and entailment-based supervision, stacking discriminator LoRA modules and averaging classification heads to construct a global discriminator. Although FedCoT accommodates heterogeneous LoRA ranks, it still requires compatible discriminator components for parameter aggregation. In contrast, FEDVP introduces a heterogeneous federated learning paradigm that combines independently trained verifiers without parameter aggregation, enabling collaboration across different generator and verifier backbones through a common scoring interface.
Methodology
FEDVP enables clients with different LLM backbones to collaborate through a shared pool of locally trained verifiers (Figure 1). Each client independently trains a verifier using its local data and contributes it to a shared pool without parameter aggregation. At inference, the pool combines verifier judgments to select among candidate responses generated by a target LLM. Collaboration therefore operates through a common question–response interface, allowing clients to choose both their LLM backbones and verifier architectures independently.
Problem Definition. Consider centers (federated clients). Center holds a private dataset of questions and reference answers and chooses a local generator . Its verifier maps a question and complete response to a scalar logit. The generator supplies candidate responses; the verifier is a separately initialised model trained to assess their correctness. The generators and verifiers may both differ across clients.
Local verifier training and pooling. Each client independently fine-tunes its verifier using LoRA (Hu et al., [5]) with locally generated responses and correctness supervision. For each question–answer pair , the local generator samples candidate responses. Each candidate is assigned a binary label according to the correctness of its extracted final answer, with incorrect and unparsable responses assigned negative labels. All labeled candidates are retained to form the local training set .
The verifier predicts the correctness probability and is optimized using binary cross-entropy:
Training updates the verifier’s LoRA adapters and scoring components, while the pretrained verifier backbone and local generator remain frozen.
After training, each client contributes its trained verifier to a shared pool . The pool can be maintained by a server or formed through direct verifier sharing among participating clients, without parameter aggregation. Each verifier retains its own backbone and scoring architecture, allowing heterogeneous verifiers to participate in collective verification. Local training data and generators remain at their respective clients.
Collective verification. At inference, a target generator , such as a participating client’s LLM, samples candidate responses for a given question , each containing a reasoning trace and a proposed answer. Every verifier in the shared pool evaluates these candidates and produces a correctness score. The collective score is computed by averaging the sigmoid-transformed scores of all verifiers:
The candidate with the highest collective score is selected:
The final answer is extracted from the selected response .
Once constructed, the same verifier pool can evaluate candidate responses from different target generators without additional verifier training. This enables clients to benefit from collective verification while retaining their chosen generator backbones.
Experimental Setup
Datasets and centers. We follow the five-center medical question-answering (QA) setting of FedCoT [9], treating five public datasets as separate federated clients: BioASQ yes/no [22], MedMCQA [16], MedQA [6], medical MMLU [4], and PubMedQA [7]. These datasets vary in question formats, answer types, and distributions, comprising 14,421 training and 6,243 test questions in total. Dataset statistics and preprocessing details are provided in Appendix § 8.
Configurations of federated verifier pool. Each client trains a verifier on responses generated by its local LLM backbone. At inference, the trained verifier pool evaluates candidate responses from a target backbone, which may differ from those used for verifier training.
In Heterogeneous, each center uses the LLM backbone and verifier listed in Table 1. The LLM backbones span the Qwen and LLaMA families
| Center | Backbone | Verifier |
| BioASQ | LLaMA-3.2-3B (LLaMA-3.1-8B) | GRM |
| MedMCQA | Qwen2.5-7B | Skywork-Llama v0.2 (LLaMA-3.1-8B) |
| MedQA | LLaMA-3-8B | OffsetBias (LLaMA-3-8B) |
| MMLU-Med | Qwen2.5-3B | ArmoRM (LLaMA-3-8B) |
| PubMedQA | Qwen2.5-14B | Skywork-Qwen3 V2 (Qwen3-8B) |
Table 1. Backbone and locally trained verifier at each center in the Heterogeneous setting.
(3B–14B parameters), while the verifiers differ in pretrained checkpoints and scoring architectures. The resulting pool of five independently trained verifiers is evaluated across all five participating LLM backbones without retraining.
In Uniform, all centers use the same LLM backbone and verifier architecture but independently retrain their verifiers on local data. We construct separate five-verifier pools using LLaMA-3-8B-Instruct (Meta, n.d.) and Qwen2.5-7B-Instruct (Qwen, n.d.) for local response generation, with verifiers initialized from Skywork-Llama v0.2 [13 Skywork, n.d.]. This configuration examines whether verifier pooling also benefits clients operating under a shared-backbone setting.
Federated baselines. We compare FedVP against ten federated baselines spanning four approaches. Classical federated optimization methods include FedProx [11], FedAdam, and FedAdagrad [18], implemented with LoRA-based backbone adaptation. Federated LLM fine-tuning methods include FedIT (Zhang et al., 2023), FFA-LoRA [21], FLoRA [24], and FedPrompt (Zhao et al., 2022). FedCoT [9] serves as a federated discriminator-based reasoning baseline. These eight methods use the original client-local data partitions without shared public training data.
We additionally include FedMD [10] and FedMKT [3] as model-heterogeneous federated learning baselines. Both rely on shared reference data for knowledge distillation. For these two methods, we reserve approximately 10% of the original training questions as a shared labeled reference set, yielding 1,442 shared and 12,979 private questions. Each client accesses its private partition and the shared reference set, whereas FedVP does not require shared training questions. For this comparison, all three methods use the heterogeneous client backbones listed in Table 1. FedMD uses answer-option prediction distillation, while FedMKT employs token-aligned bidirectional distillation with an additional server-side LLM. Further details are provided in Appendix § 9.§ 1.
Implementation and evaluation. For FEDVP, each client generates eight training candidates per question and fine-tunes its verifier using rank-16 LoRA [5] and trainable scoring components. Training uses AdamW for two epochs at a learning rate of , while the generator and pretrained verifier backbone remain frozen.
For comparisons with federated baselines, we evaluate all methods using LLaMA-3-8B-Instruct and Qwen2.5-7B-Instruct as target backbone architectures. In Uniform, each target backbone is evaluated using a verifier pool trained on responses from that same backbone. In Heterogeneous, the single pool formed from the five clients’ locally trained verifiers is reused for both targets without retraining. At inference, FEDVP selects among eight candidates using pooled verifier scores. Further details are provided in Appendix § 9.
Following FedCoT [9], we use accuracy as the primary evaluation metric. A prediction is correct if its extracted final answer matches the normalized reference answer; invalid or unparsable
responses count as incorrect. We report accuracy on each center’s full test set and the unweighted mean across all five centers.
Results
We evaluate FEDVP as a federated learning paradigm that enables clients with heterogeneous LLMs to collaborate by sharing locally trained verifiers.
Comparison with federated baselines. We first compare our proposed paradigm with eight conventional federated baselines across five medical QA datasets, each representing an independent federated center. Specifically, we evaluate the methods using LLaMA-3-8B-Instruct and Qwen2.5-7B-Instruct as target backbones for inference. Within our paradigm, FEDVP (Uniform) uses the same generator backbone across centers, whereas FEDVP (Heterogeneous) enables centers using backbones from different model families and at different scales to collaborate through a shared verifier pool, as illustrated in Table 1. Both configurations outperform the baselines on most datasets and achieve higher mean accuracy than every baseline for both target backbones. Notably, with Qwen2.5-7B-Instruct as the target backbone, Heterogeneous and Uniform achieve mean accuracies of 75.80% and 75.43%, respectively, surpassing the strongest baseline by 5.79 and 5.42 percentage points.
We further compare FEDVP (Heterogeneous) with FedMD and FedMKT, which support collaboration across heterogeneous client models through knowledge distillation while relying on shared reference data and iterative updates to the participating LLMs. Their reliance on a shared reference dataset imposes an additional prerequisite for collaboration, limiting their applicability in federated settings where suitable shared data are unavailable. To accommodate this requirement, we conduct controlled experiments by reserving a subset of the training questions as a shared reference set for reproducing these methods and comparing them with FEDVP, as shown in Table 3. Specifically, FEDVP achieves higher mean accuracy on both target backbones than FedMD and FedMKT in both their original single-response configurations and their Self-Consistency (SC) variants.
| Method | BioASQ | MedMCQA | MedQA | MMLU-Med | PubMedQA | Avg. |
| Target backbone: LLaMA-3-8B-Instruct | ||||||
| FedMD () | 95.97 | 57.06 | 61.90 | 65.64 | 76.20 | 71.36 |
| FedMD + SC () | 93.55 | 57.52 | 61.98 | 66.26 | 75.40 | 70.94 |
| FedMKT () | 95.97 | 55.49 | 61.59 | 65.64 | 73.80 | 70.50 |
| FedMKT + SC () | 95.97 | 56.90 | 61.59 | 63.80 | 75.20 | 70.69 |
| FEDVP (Heterogeneous) | 94.35 | 58.24 | 66.77 | 70.55 | 78.60 | 73.70 |
| Target backbone: Qwen2.5-7B-Instruct | ||||||
| FedMD () | 85.48 | 50.11 | 60.49 | 66.26 | 70.40 | 66.55 |
| FedMD + SC () | 91.94 | 54.63 | 65.20 | 73.62 | 74.60 | 72.00 |
| FedMKT () | 93.55 | 52.09 | 58.05 | 76.69 | 70.80 | 70.24 |
| FedMKT + SC () | 94.35 | 53.96 | 57.66 | 76.07 | 73.40 | 71.09 |
| FEDVP (Heterogeneous) | 96.77 | 60.27 | 68.26 | 76.07 | 77.60 | 75.80 |
Table 3. Accuracy (%) across five medical QA datasets. FedMD, FedMKT, and FEDVP use the same five client backbones listed in Table 1, with the same target backbone architectures for inference as in Table 2. FedMD and FedMKT additionally use a shared public reference set for knowledge distillation, whereas FEDVP uses only client-local training data. Avg. is the unweighted mean across datasets.
| Method | BioASQ | MedMCQA | MedQA | MMLU-Med | PubMedQA | Avg. |
| Target backbone: LLaMA-3-8B-Instruct | ||||||
| FedIT | 86.29 | 57.47 | 60.80 | 66.26 | 76.60 | 69.48 |
| FFA-LoRA | 91.13 | 58.59 | 61.59 | 65.64 | 76.40 | 70.67 |
| FLoRA | 87.90 | 57.69 | 61.35 | 63.19 | 75.60 | 69.15 |
| FedPrompt | 92.74 | 59.77 | 61.74 | 69.33 | 77.60 | 72.24 |
| FedProx | 83.87 | 46.74 | 54.52 | 60.12 | 72.20 | 63.49 |
| FedAdam | 81.45 | 44.32 | 48.55 | 53.99 | 52.80 | 56.22 |
| FedAdagrad | 85.48 | 45.64 | 49.33 | 53.99 | 53.80 | 57.65 |
| FedCoT | 88.71 | 46.40 | 56.09 | 60.12 | 76.80 | 65.62 |
| FEDVP (Uniform) | 94.35 | 58.12 | 67.95 | 70.55 | 78.40 | 73.87 |
| FEDVP (Heterogeneous) | 94.35 | 58.24 | 66.77 | 70.55 | 78.60 | 73.70 |
| Target backbone: Qwen2.5-7B-Instruct | ||||||
| FedIT | 86.29 | 49.82 | 52.16 | 63.19 | 65.00 | 63.29 |
| FFA-LoRA | 88.71 | 46.81 | 52.47 | 67.48 | 68.40 | 64.78 |
| FLoRA | 89.52 | 52.38 | 56.40 | 67.48 | 70.00 | 67.16 |
| FedPrompt | 87.90 | 46.38 | 53.57 | 60.74 | 63.60 | 62.44 |
| FedProx | 72.58 | 43.58 | 47.45 | 62.58 | 56.80 | 56.60 |
| FedAdam | 90.32 | 48.46 | 56.48 | 70.55 | 69.00 | 66.96 |
| FedAdagrad | 87.90 | 48.86 | 56.95 | 70.55 | 71.20 | 67.09 |
| FedCoT | 93.55 | 51.85 | 58.99 | 74.23 | 71.40 | 70.01 |
| FEDVP (Uniform) | 95.97 | 59.60 | 68.11 | 76.07 | 77.40 | 75.43 |
| FEDVP (Heterogeneous) | 96.77 | 60.27 | 68.26 | 76.07 | 77.60 | 75.80 |
Table 2. Accuracy (%) across five medical QA datasets. Each table block reports results from all methods using the same target backbone for inference. Avg. is the unweighted mean across datasets.
These results demonstrate that FEDVP provides an effective alternative to conventional federated fine-tuning: clients collaborate by sharing locally learned verification knowledge while retaining their local data and independently chosen model architectures.
Cross-model federated collaboration
We next evaluate cross-model federated collaboration under FEDVP by directly exchanging locally trained verifiers among clients, as reported in Table 4. Specifically, the pale-yellow diagonal cells identify each center’s local training configuration: the frozen target backbone used to generate training responses, the selected verifier model, and the local dataset. The values in parentheses report the corresponding verifier’s performance before local training. Each row corresponds to inference with a participating center’s target backbone, and their performance if other center’s verifier are applied. The final column reports the results obtained with the shared FEDVP verifier pool.
| Target backbone | Client A: BioASQ GRM | Client B: MedMCQA Skywork-Llama | Client C: MedQA OffsetBias | Client D: MMLU-Med ArmoRM | Client E: PubMedQA Skywork-Qwen3 | Pool: FEDVP (Heterogeneous) |
| Llama-3.2-3B | 69.69 (65.74) | 70.95 | 67.51 | 68.18 | 71.52 | 72.85 |
| Qwen2.5-7B | 74.08 | 74.90 (71.25) | 72.66 | 73.49 | 74.94 | 75.80 |
| Llama-3-8B | 72.09 | 71.81 | 70.56 (60.82) | 68.42 | 72.73 | 73.70 |
| Qwen2.5-3B | 67.00 | 68.48 | 65.58 | 65.82 (64.10) | 67.37 | 70.21 |
| Qwen2.5-14B | 77.18 | 77.77 | 77.19 | 76.88 | 78.85 (74.46) | 78.90 |
Table 4. Five-dataset mean accuracy (%) for cross-backbone verifier evaluation. Shaded diagonal cells correspond to each center’s assigned backbone and verifier; parentheses report pretrained verifier results.
Consider Client A for example, which uses BioASQ for local training, LLaMA-3.2-3B as its frozen generator, and GRM as its verifier. For responses generated by this backbone, mean accuracy increases from 65.74% with the pretrained GRM to 69.69% after local verifier training. The same locally trained GRM can then be directly used by Client B to evaluate responses from its Qwen2.5-7B backbone, yielding a mean accuracy of 74.08%, compared with 71.25% when using Client B’s own pretrained Skywork-Llama verifier. By using the shared FEDVP pool, Client A can further draw on the verification knowledge contributed by all participating clients, reaching a mean accuracy of 72.85% with its LLaMA-3.2-3B backbone.
These results illustrate how FEDVP realizes federated collaboration through shared verification. Each client learns verification knowledge locally, contributes it through a trained verifier, and can directly use other clients’ verifiers individually or collectively through the pool. This exchange allows clients to benefit from one another’s local learning while keeping their data local and retaining their independently chosen models, embodying the core idea of federated learning.
Distillation for efficient inference. To reduce the inference cost of the shared pool, we explore distilling its collective verification knowledge into a single verifier. We investigate this as an optional deployment strategy and report the distilled variants separately from the main FEDVP results. We use the original Heterogeneous pool as the teacher and initialize each student verifier from pretrained Skywork. We consider two distillation settings:
public distillation trains one shared student using a shared reference set, whereas local distillation trains a separate student at each client using its local dataset. All students are trained for two epochs using binary cross-entropy with the teacher pool’s mean probabilities as soft targets, while the teacher pool and generators remain frozen.
As shown in Table 5, the public student achieves mean accuracies of 74.55% on LLaMA and 75.73% on Qwen, compared with 73.70% and 75.80% for the teacher pool. The local students achieve corresponding mean accuracies of 74.84% and 76.00%. Both distillation settings retain performance comparable to the teacher pool. The small gains may reflect the additional fine-tuning stage introduced by distillation. These results demonstrate the feasibility of transferring the pool’s collective verification knowledge into a single verifier for subsequent inference at each client.
| Selector | BioASQ | MedMCQA | MedQA | MMLU-Med | PubMedQA | Avg. | (pp) |
| Target backbone: LLaMA-3-8B-Instruct | |||||||
| FEDVP (Teacher pool) | 94.35 | 58.24 | 66.77 | 70.55 | 78.60 | 73.70 | — |
| Distilled verifier (Public data) | 96.77 | 57.85 | 68.34 | 71.17 | 78.60 | 74.55 | +0.84 |
| Distilled verifier (Local data) | 96.77 | 57.16 | 68.66 | 73.62 | 78.00 | 74.84 | +1.14 |
| Target backbone: Qwen2.5-7B-Instruct | |||||||
| FEDVP (Teacher pool) | 96.77 | 60.27 | 68.26 | 76.07 | 77.60 | 75.80 | — |
| Distilled verifier (Public data) | 95.97 | 58.91 | 68.26 | 77.91 | 77.60 | 75.73 | −0.07 |
| Distilled verifier (Local data) | 95.97 | 59.00 | 67.87 | 79.14 | 78.00 | 76.00 | +0.20 |
Table 5. Distillation of the Heterogeneous verifier pool. Public distillation produces one shared verifier, whereas local distillation produces a separate verifier at each center. Teacher and students select from the same eight candidates per question using mean pool probabilities and single-verifier sigmoid scores, respectively. Values are accuracy (%); Avg. equally weights the five datasets. Best results in each block are bold. denotes the change in average accuracy relative to the teacher pool (pp), computed before rounding.
Ablation study
We examine how client-local verifier training, candidate budget, and score aggregation affect answer selection, and report the communication and inference costs of verifier pooling.
Effectiveness of trained verifier pools. We first examine the contribution of client-local verifier training through the progressive ablation in Table 6. The comparison includes single-response CoT, SC with majority voting over eight responses, a pretrained single verifier, and a pretrained heterogeneous pool, with both FEDVP configurations serving as locally trained references. SC raises mean accuracy from 54.80% to 69.56% on LLaMA and from 67.80% to 73.05% on Qwen, illustrating the potential of inference-time scaling through multiple candidate responses. On the same eight candidates, the pretrained single verifier achieves 61.76% and 71.25%, while the pretrained heterogeneous pool achieves 61.65% and 72.30%, respectively. Both pretrained strategies perform below SC, and the pool remains close to the single verifier, indicating that combining pretrained verifier judgments alone provides limited benefit. After local training, FEDVP (Heterogeneous) reaches 73.70% and 75.80%, and both trained configurations outperform SC. This improvement highlights the role of client-local training in developing useful verification knowledge, which can then be shared and combined across clients to improve answer selection.
| Selector | BioASQ | MedMCQA | MedQA | MMLU-Med | PubMedQA | Avg. |
| Evaluation generator: LLaMA-3-8B-Instruct | ||||||
| CoT () | 81.45 | 41.50 | 45.56 | 49.69 | 55.80 | 54.80 |
| Self-Consistency () | 93.55 | 52.21 | 62.06 | 62.58 | 77.40 | 69.56 |
| Pretrained single verifier () | 80.65 | 50.56 | 58.68 | 59.51 | 59.40 | 61.76 |
| Pretrained verifier pool () | 80.65 | 50.97 | 57.66 | 61.96 | 57.00 | 61.65 |
| FEDVP (Uniform) () | 94.35 | 58.12 | 67.95 | 70.55 | 78.40 | 73.87 |
| FEDVP (Heterogeneous) () | 94.35 | 58.24 | 66.77 | 70.55 | 78.60 | 73.70 |
| Evaluation generator: Qwen2.5-7B-Instruct | ||||||
| CoT () | 91.94 | 49.80 | 56.17 | 69.33 | 71.80 | 67.80 |
| Self-Consistency () | 94.35 | 55.46 | 64.57 | 76.07 | 74.80 | 73.05 |
| Pretrained single verifier () | 91.94 | 53.72 | 62.61 | 73.01 | 75.00 | 71.25 |
| Pretrained verifier pool () | 92.74 | 54.98 | 64.57 | 73.62 | 75.60 | 72.30 |
| FEDVP (Uniform) () | 95.97 | 59.60 | 68.11 | 76.07 | 77.40 | 75.43 |
| FEDVP (Heterogeneous) () | 96.77 | 60.27 | 68.26 | 76.07 | 77.60 | 75.80 |
Table 6. Ablation study of answer-selection strategies across five medical QA datasets. Within each table block, all methods use the same evaluation generator and saved candidate responses. CoT uses the first response (), while Self-Consistency, the pretrained verifiers, and the trained verifier pools select from the same eight candidates (). Verifier-based selectors use sigmoid scores, averaged across members for pools; exact ties select the earliest candidate. Pretrained single verifier refers to Skywork-Llama v0.2 before local fine-tuning; Pretrained verifier pool combines the five released heterogeneous verifiers without local fine-tuning. Avg. is the unweighted mean accuracy (%) across datasets.
Scaling the candidate budget. We next explore how scaling the candidate budget affects inference
cost and answer accuracy, as shown in Figure 2. We vary while keeping all model parameters fixed and using the same first candidates for all selectors. At , all methods coincide with CoT because only one response is available. As increases, both FEDVP configurations improve consistently and outperform SC and pretrained verification at every multi-candidate budget, demonstrating that shared verification can translate additional candidate generation into better answer selection. The more gradual gains at larger budgets illustrate the trade-off between inference cost and accuracy. The oracle curve reports the accuracy achievable by selecting a correct response whenever one exists among the candidates. Its continued rise with indicates that larger candidate sets provide more opportunities for correct selection. The remaining gap between FEDVP and the oracle highlights further room for improving this federated learning paradigm through more effective collective verification.

Figure 2. Candidate-budget scaling analysis across two target backbones. All selection methods use the same first saved candidates, with model parameters fixed throughout. SC uses majority voting, and Pretrained Verifier denotes Skywork-Llama without local fine-tuning and ranks candidates by sigmoid score, with exact ties resolved by candidate order. At , all methods coincide with CoT. Oracle indicates whether at least one of the first candidates is correct.
| Pool configuration | LLaMA-3-8B Avg. | LLaMA-3-8B Δ (pp) | Qwen2.5-7B Avg. | Qwen2.5-7B Δ (pp) |
| Full pool | 73.70 | – | 75.80 | – |
| w/o Client A | 73.63 | -0.07 | 75.71 | -0.09 |
| w/o Client B | 73.32 | -0.38 | 75.43 | -0.37 |
| w/o Client C | 73.54 | -0.16 | 76.00 | +0.20 |
| w/o Client D | 73.65 | -0.05 | 75.37 | -0.43 |
| w/o Client E | 72.62 | -1.08 | 75.40 | -0.39 |
Table 8. Leave-one-out ablation of the Heterogeneous verifier pool, removing each client’s contributed verifier. Avg. is the five-dataset mean accuracy (%); Δ is the change from the full pool (pp), with decreases in red and increases in green.
Aggregation of verifier judgments. We next compare four aggregation strategies under both Uniform and Heterogeneous configurations: mean probability, mean logit, maximum probability, and member majority voting (Table 7). All four strategies yield broadly comparable mean accuracies on both target backbones, indicating that shared verification can be effectively implemented with different simple aggregation rules. The two averaging strategies perform slightly better overall, with mean logit achieving the highest accuracy on LLaMA and mean probability on Qwen. We adopt mean-probability aggregation as a simple default.
| Aggregation rule | Uniform LLaMA | Uniform Qwen | Heterogeneous LLaMA | Heterogeneous Qwen |
| Mean probability | 73.87 | 75.43 | 73.70 | 75.80 |
| Mean logit | 74.21 | 75.42 | 74.25 | 75.77 |
| Max probability | 73.33 | 74.41 | 73.68 | 75.32 |
| Member majority vote | 73.82 | 74.96 | 73.40 | 75.27 |
Table 7. Ablation study of verifier aggregation strategies. Values report five-dataset mean accuracy (%) under Uniform and Heterogeneous configurations using LLaMA-3-8B-Instruct and Qwen2.5-7B-Instruct as target backbones. Member majority vote selects the candidate receiving the most verifier votes.
Leave-One-Out Verifier Ablation We conduct a leave-one-out ablation to examine the contribution of each locally trained verifier to the heterogeneous pool, removing one verifier at a time while retaining the other four. For LLaMA-3-8B, each removal reduces the average accuracy by 0.05–1.08 percentage points. For Qwen2.5-7B, accuracy decreases in four of the five leave-one-out configurations, whereas excluding Client C’s verifier (OffsetBias) yields a modest improvement of 0.20 percentage points. Removing Client E’s verifier (Skywork-Qwen3) produces the largest accuracy drop on LLaMA-3-8B. Overall, the relatively small performance changes suggest that the pool does not critically depend on any single verifier, although the effect of removing individual members varies.
Cost of verifier pooling. In the Heterogeneous setting, each center fine-tunes 41.9–48.3 million parameters in its verifier’s LoRA adapters and scoring components. With the pretrained verifier backbones already available, each center shares these trained weights once, corresponding to a transfer of 168–193 MB in FP32. At inference, the original pool scores eight candidate responses using all five verifiers. Deploying a distilled student reduces this to one verifier evaluation per candidate.
Conclusion
We introduced Federated Verifier Pool (FEDVP), a new heterogeneous federated learning paradigm that shifts collaboration from parameter aggregation to shared verification. Through locally trained verifiers, clients with different LLM families and sizes can collaborate while retaining their chosen backbones. Clients can use these verifiers individually or combine them into pools, keeping training data local and generators frozen while making a central aggregation server optional. Experiments across five medical QA centers demonstrate effective cross-model collaboration and higher mean accuracy than the evaluated conventional and model-heterogeneous federated baselines.
Limitations
This work focuses on demonstrating the feasibility of shared verification as an alternative federated learning paradigm. Thus, our evaluation only cover five medical question-answering datasets and LLaMA and Qwen backbones ranging from 3B to 14B parameters. Further evaluation across additional domains and a wider range of model families and sizes would help assess the broader applicability of FEDVP.
Data and Evaluation Details
Table 9 reports the dataset splits and answer formats for the five centers. BioASQ uses yes/no questions from the Task 7B–11B GoldenEnriched files, with an 80/20 training/test split. Following the FedCoT preprocessing protocol, MedMCQA uses the first 2,000 explanation-bearing questions from the shuffled official training split. MedQA retains the original splits of the English four-option bigbio/med_qa dataset. MMLU-Med combines questions from seven subjects—clinical knowledge, college biology, college medicine, high-school biology, medical genetics, professional medicine, and virology—with an 80/10/10 training/validation/test split. PubMedQA uses the expert-labeled PQA-L subset.
| Center | Train | Val. | Test | Format |
| BioASQ | 494 | 0 | 124 | yes/no |
| MedMCQA | 2,000 | – | 4,183 | 4 options |
| MedQA | 10,178 | 1,272 | 1,273 | 4 options |
| MMLU-Med | 1,299 | 162 | 163 | 4 options |
| PubMedQA | 450 | 50 | 500 | yes/no/maybe |
| Total | 14,421 | 6,243 |
Table 9. Dataset splits and answer formats. MedMCQA uses its official validation split for testing.
Evaluation Protocol
Generation and comparison settings. Candidates use the FedCoT chain-of-thought prompt. Temperature and top- are sampled from and per block of 1,024 generations. Responses reaching the initial limit of 4,096 new tokens are regenerated with larger budgets, up to the model’s native context limit. Selectors evaluated with the same fixed generator use identical saved candidates.
Selection and answer extraction. CoT returns the first candidate; SC votes over parseable final answers, with ties resolved by first occurrence. The pretrained single-verifier reference uses Skywork-Reward-Llama-3.1-8B-v0.2 (Skywork, n.d.). Pool-score ties select the earliest eligible candidate; member-vote ties use summed member probabilities, then candidate order. A common reference-independent parser extracts and normalizes explicit final answers for both verifier labels and evaluation, excluding intermediate reasoning.
Implementation Details
Additional verifier settings. LoRA uses and dropout 0.05 on all attention projections and MLP gate, up, and down projections. Native scoring components are trained; for ArmoRM, these are the regression and gating layers, with the released reward transformation fixed. The effective batch size is 32, with a constant schedule, zero weight decay, and no gradient clipping. Frozen backbones use BF16 and trainable parameters use FP32. Inputs use official chat templates without truncation.
Federated Baselines
Generator-tuning baselines. We train the generator-tuning baselines for two communication rounds, with all five clients participating in each round. Each client performs one local epoch per round with an effective batch size of 2. Client contributions are weighted by local training-set size according to each method’s aggregation rule. Backbones are frozen in BF16 and trainable parameters use FP32. Training uses FedCoT prompts, native chat templates, and available explanations followed by canonical answers, without truncation. FFA-LoRA and FedPrompt compute loss on assistant targets; the other five include both prompt and target. Table 10 gives method-specific settings. FedPrompt initializes its soft prompts randomly.
| FedIT | FFA-LoRA | FLoRA | FedPrompt | |
| Trainable | LoRA A, B | LoRA B | new A, B/round | 20 soft tokens |
| Rank / | 32 / 16 | 32 / 16 | 32 / 32 | – |
| Targets | q | q, v | q, v | input emb. |
| Optimizer | AdamW | SGD | AdamW | Adam |
| LR | 3e-4 | 5e-3 | 3e-4 | 0.3 |
| Schedule | linear | const. | linear | const. |
| Grad. clip | 1.0 | – | 1.0 | – |
| Aggregation | avg , | avg | stack | avg prompt |
Table 10. Method-specific generator-tuning settings. FedProx, FedAdam, and FedAdagrad share FedIT’s adapter settings, local optimizer, and initial learning rate; additional settings are given below.
FedProx, FedAdam, and FedAdagrad use the FedIT LoRA configuration with dropout 0.05, zero weight decay, and gradient clipping at 1.0. FedProx uses . FedAdam and FedAdagrad use linearly decaying local learning rates and sample-weighted client deltas, with server learning rates and , respectively, and . FedAdam uses . Second moments start at , the FedAdam first moment starts at zero, and bias correction is disabled [18].
FedCoT. Longformer-base-4096 discriminators are trained for three rounds of one epoch each [9]. Client LoRA ranks are in Table 9 order, with , dropout 0.1, and query/value targets. Training uses learning rate , effective batch size 16, cosine decay, 10% warm-up, and weight decay 0.01. The server stacks adapters and averages classification heads by retained-candidate counts; evaluation uses the final round.
Shared-reference baselines. FedMD and FedMKT share 1,442 training questions, leaving 12,979 private questions. Each client accesses its private partition and the shared labeled set. Both methods use independently initialized rank-16 LoRA (, dropout 0.05), AdamW at , effective batch size 32, and microbatch size 1.
FedMD [10] operates on valid-answer-option logits. After one public and one private supervised epoch, each of two rounds averages the five clients’ raw public-data logits equally, followed by one public epoch minimizing mean absolute error to the consensus and one private supervised epoch. Supervised targets retain available explanations and canonical answers.
FedMKT [3] uses the same split and five client backbones, plus an independently initialized Qwen2.5-7B-Instruct server with public-data access only. Each of five rounds comprises private supervised client training, public-data distillation to the server, and public-data distillation back to clients, with one epoch per stage. It exchanges top-128 token logits using MinED alignment and DualMinCE teacher selection, with temperature 1 and loss . Both methods are evaluated using the final LLaMA-3-8B and Qwen2.5-7B client models.
References
- [1]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reichirо Nakano, Christopher Hesse, and John Schulman. 2021. Training verifiers to solve math word problems. Preprint, arXiv:2110.14168.arxiv.org/abs/2110.14168
- [2]Thomas Coste, Usman Anwar, Robert Kirk, and David Krueger. 2024. Reward model ensembles help mitigate overoptimization. In International Conference on Learning Representations.arxiv.org/abs/2310.02743
- [3]Tao Fan, Guoqiang Ma, Yan Kang, Hanlin Gu, Yuanfeng Song, Lixin Fan, Kai Chen, and Qiang Yang. 2025. Fedmkt: Federated mutual knowledge transfer for large and small language models. In Proceedings of the 31st International Conference on Computational Linguistics, pages 243–255.arxiv.org/abs/2406.02224
- [4]Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2020. Measuring massive multitask language understanding. Preprint, arXiv:2009.03300. Version 3; ICLR 2021.
- [5]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations.arxiv.org/abs/2106.09685
- [6]Di Jin, Eileen Pan, Nassim Oufattolle, Wei-Hung Weng, Hanyi Fang, and Peter Szolovits. 2020. What disease does this patient have? a large-scale open domain question answering dataset from medical exams. Preprint, arXiv:2009.13081.
- [7]Qiao Jin, Bhuwan Dhingra, Zhengping Liu, William W. Cohen, and Xinghua Lu. 2019. PubMedQA: A dataset for biomedical research question answering. Preprint, arXiv:1909.06146. EMNLP 2019.arxiv.org/abs/1909.06146
- [8]Peter Kairouz, H. Brendan McMahan, et al. 2021. Advances and open problems in federated learning. Foundations and Trends in Machine Learning, 14(1–2):1–210.arxiv.org/abs/1912.04977
- [9]Chuan Li, Qianyi Zhao, Fengran Mo, and Cen Chen. 2025. FedCoT: Communication-efficient federated reasoning enhancement for large language models. Preprint, arXiv:2508.10020. Version 2, revised 6 October 2026.arxiv.org/abs/2508.10020
- [10]Daliang Li and Junpu Wang. 2019. Fedmd: Heterogeneous federated learning via model distillation. arXiv preprint arXiv:1910.03581.arxiv.org/abs/1910.03581
- [11]Tian Li, Anit Kumar Sahu, Manzil Zaheer, Maziar Sanjabi, Ameet Talwalkar, and Virginia Smith. 2020. Federated optimization in heterogeneous networks. In Proceedings of Machine Learning and Systems, volume 2.
- [12]Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. 2024. Let’s verify step by step. In International Conference on Learning Representations.arxiv.org/abs/2305.20050
- [13]Chris Yuhao Liu, Liang Zeng, Jiacai Liu, Rui Yan, Jujie He, Chaojie Wang, Shuicheng Yan, Yang Liu, and Yahui Zhou. 2024. Skywork-Reward: Bag of tricks for reward modeling in LLMs. Preprint, arXiv:2410.18451.arxiv.org/abs/2410.18451
- [14]Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Aguera y Arcas. 2017. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, volume 54 of Proceedings of Machine Learning Research, pages 1273–1282.arxiv.org/abs/1602.05629
- [16]Ankit Pal, Logesh Kumar Umapathi, and Malaikannan Sankarasubbu. 2022. MedMCQA: A large-scale multi-subject multi-choice dataset for medical domain question answering. Preprint, arXiv:2203.14371. CHIL 2022.arxiv.org/abs/2203.14371
- [18]Sashank Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett, Keith Rush, Jakub Konečný, Sanjiv Kumar, and H. Brendan McMahan. 2021. Adaptive federated optimization. In International Conference on Learning Representations.arxiv.org/abs/2003.00295
- [20]Charlie Snell, Jaehoon Lee, Kelvin Xu, and Aviral Kumar. 2024. Scaling LLM test-time compute optimally can be more effective than scaling model parameters. Preprint, arXiv:2408.03314.arxiv.org/abs/2408.03314
- [21]Youbang Sun, Zitao Li, Yaliang Li, and Bolin Ding. 2024. Improving LoRA in privacy-preserving federated learning. Preprint, arXiv:2403.12313. Published at ICLR 2024.arxiv.org/abs/2403.12313
- [22]George Tsatsaronis, Georgios Balikas, Prodromos Malakasiotis, Ioannis Partalas, Matthias Zschunke, Michael R. Alvers, Dirk Weissenborn, Anastasia Krithara, Sergios Petridis, Dimitris Polychronopoulos, Yannis Almirantis, John Pavlopoulos, Nicolas Baskiotis, Patrick Gallinari, Thierry Artieres, Axel-Cyrille Ngonga Ngomo, Norman Heino, Eric Gaussier, Liliana Barrio-Alvers, and 3 others. 2015. An overview of the BIOASQ large-scale biomedical semantic indexing and question answering competition. BMC Bioinformatics, 16:138.DOI
- [23]Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. 2022. Self-consistency improves chain of thought reasoning in language models. Preprint, arXiv:2203.11171. ICLR 2023 camera-ready version available as arXiv v4.arxiv.org/abs/2203.11171
- [24]Ziyao Wang, Zheyu Shen, Yexiao He, Guoheng Sun, Hongyi Wang, Lingjuan Lyu, and Ang Li. 2024. FLoRA: Federated fine-tuning large language models with heterogeneous low-rank adaptations. Preprint, arXiv:2409.05976. Version 1.arxiv.org/abs/2409.05976
AI tools statement
No AI-use declaration is available for this version in Valency.
The available record does not establish whether AI systems or models contributed to this work.