Adaptive robust cost-aware Proof of Quality for decentralized LLM inference networksAdaptive and Robust Cost-Aware Proof of Quality for Decentralized LLM Inference Networks
The authors add robust aggregation to cost-aware PoQ; on full-pool scores, the median's Pearson with the ground-truth proxy is 0.748, and the simple mean's is 0.581.
The adversary controls a subset M of evaluators, with malicious proportion ρ=|M|/|E|, and can replace honest scores with manipulated scores on sampled tasks; it does not modify inference outputs, measured costs, or consensus rules, and can be viewed as fully knowing the protocol parameters. The four strategies are bounded noise, boosting, sabotage, and intermittent manipulation.
- Decentralized LLM inference relies on lightweight evaluators to score and decide rewards. With open participation, some evaluators can manipulate scores, and simple mean consensus can distort rewards.
- Compare mean, median, trimmed mean, and deviation-driven trust weighting in cost-aware PoQ. Reward uses both normalized consensus quality and latency cost. The simulation reads precomputed reference similarity scores, then replaces malicious scores according to four strategies.
- On the full pool, the Pearson correlation of the median is 0.748, and that of the simple mean is 0.581. Under ρ=0.8 and sabotage, the inference reward change for the mean is −52.100%, and for boost it is 39.300%. As K increases, the authors state that the inference reward is relatively stable while the evaluator reward decreases.
- The authors point out that unified token-level F1 may underestimate summarization quality, the adversary does not include Sybils beyond a fixed proportion, and the trust heuristic may saturate. Experiments include two generation tasks, 5 inference models, and 5 evaluation models; the paper does not report r, b, Δ, or p.
- Evaluated models
- Llama 3.2 3BGemma 2 2B ITTinyLlama 1.1BQwen2 1.5BPhi-3 Mini 4Ksts paraphrasests minilmsts stsbce minilmce deberta
- Benchmarks
- SQuAD v1.1 development setCNN/Daily Mail
- Metrics
- Pearson correlationSpearman correlationaverage inference rewardaverage evaluator rewardreward change at ρ=0.8
The paper adds adversarially robust consensus formation to cost-aware Proof of Quality for decentralized LLM inference networks, using median, trimmed mean, and adaptive trust-weighted aggregation. On question answering and summarization tasks, robust aggregation aligns more closely with the ground-truth proxy than simple averaging, and reduces sensitivity to strategic attacks under four adversarial scenarios: noise injection, score inflation, sabotage, and intermittent manipulation. Increasing the evaluator sampling scale lowers evaluator rewards and raises reward variance, while inference rewards remain relatively stable.
Paper analysis
What problem does this paper attempt to solve?
In open networks, malicious evaluators can manipulate PoQ scores; the authors harden cost-aware rewards with robust aggregation and adaptive trust weights.
Open-participation decentralized LLM inference must reward high-quality outputs under heterogeneous latency and cost, and withstand unreliable or malicious evaluators.
- Scenario: the authors state that such networks pursue open access, transparency, and censorship resistance, and avoid centralized single points of failure. Cryptographic inference verification of modern transformers remains expensive under interactive latency, so practical systems approximate quality with lightweight evaluation signals plus aggregation.
- Existing gap: Proof of Quality (PoQ) samples evaluation nodes to score, then aggregates into a network-level quality signal. The authors' prior cost-aware PoQ writes latency cost into a joint reward for inference nodes and evaluation nodes. The authors state that in permissionless deployments, some evaluators can still inflate preferred outputs, deflate competitors, or inject noise; simple means are fragile, and rewards can be used to overpay or skew selection toward low-quality outputs.
- Observation: evaluators vary greatly, and correlation with task-level quality can even reverse across tasks. The authors analogize malicious evaluators to Byzantine participants and use robust aggregation and deviation-driven trust weights to reduce the impact of extreme scores.
- What this paper does: retains the explicit cost-aware reward, adds median, trimmed mean, and adaptive trust-weighted consensus, and runs offline simulations with ground-truth proxies and four score manipulations.
- Threat model:
- Victims: inference nodes host LLMs and generate candidate outputs; evaluation nodes host lightweight scoring models. K evaluators are sampled per task, and scores are combined into a consensus before determining rewards on both sides.
- Knowledge: the adversary controls a subset M, with malicious proportion ρ equal to |M|/|E|, and can be viewed as fully knowing the protocol parameters.
- Capabilities: when sampled, replace honest scores with manipulated scores; does not modify inference outputs, measured costs, or consensus rules.
- Strategies: bounded uniform noise, boosting with a fixed upward bias, sabotage with a fixed downward bias, and intermittent manipulation that applies a larger deviation in a random direction with probability p.
What related research exists?
Related work covers PoQ, Byzantine-robust aggregation, multi-annotator estimation, and reputation, peer prediction, and LLM judging.
PoQ and Decentralized Collaboration
- PoQ by Zhang et al. (2024): Uses lightweight evaluators to score and aggregate, as a verification method when cryptographic proofs are expensive under interaction latency.
- Authors' prior cost-aware PoQ (2025): Writes latency-based costs into inference node and evaluator node rewards. This paper follows that reward principle and instead addresses adversarial evaluators.
- Federated learning and secure aggregation: Kairouz et al. discuss multi-party updates under heterogeneous resources; Bonawitz et al. (2017) do privacy-preserving secure aggregation. The authors state that evaluators do not train a shared model, and secure aggregation itself does not handle whether submitted scores are correct.
Byzantine and Robust Aggregation
- Lamport et al. (1982), Castro and Liskov (1999): Formalize arbitrary deviation by some participants as Byzantine faults.
- Blanchard et al. (2017), Yin et al. (2018), etc.: Aggregate gradients or updates that may be poisoned in learning. The paper relays these works' view: even if the adversary controls only a few participants, naive averaging can be fragile.
- Huber (1964) and heavy-tailed mean estimation: Median and trimmed mean are used to limit outliers. The authors analogize malicious evaluators to Byzantine workers and turn these rules into PoQ score aggregation.
Multi-Source Judgment and Incentives
- Dawid and Skene (1979), Raykar et al. (2010): Use maximum likelihood or joint modeling to estimate annotator error rates, worker quality, and classifier parameters. Whitehill et al. (2009), Zhou et al. (2012) estimate expertise and task difficulty and reweight.
- Reputation and peer prediction: EigenTrust (Kamvar et al., 2003) aggregates historical interactions into trust scores; peer prediction by Miller et al. (2005) and Bayesian truth serum by Prelec (2004) incentivize truthful reporting without ground truth. The authors state that their aggregation is compatible with these ideas of trust weighting, and rewards still follow cost-aware PoQ.
- Adversarial evaluation signals and LLM judging: Bagdasaryan et al. (2020), Fang et al. (2020) show that a few malicious participants can break federated models; Fung et al. (2020) discuss Sybil. The authors change the attack surface to manipulating scores rather than poisoning gradients. Chen et al. (2024), Fu et al. (2023), Wang et al. (2024) discuss bias, task dependence, and factuality limits of LLM judging. The authors state that GPT-based judging in their pipeline is only an auxiliary analysis signal, and the threat model targets evaluator nodes that directly manipulate the PoQ scoring layer.
Baseline methods are simple mean, median, trimmed mean, and adaptive weighted mean on the same scoring interface; task data are the SQuAD v1.1 development set and CNN/Daily Mail. The authors position this paper as an adversarially robust extension of cost-aware PoQ: using aggregation rules and trust weighting to limit strategic evaluators, rather than relying on secure aggregation to guarantee score correctness.
How does the paper address this problem?
The mechanism retains the cost-aware reward, forms consensus via median, trimmed mean, or trust weighting, and updates evaluator weights online based on deviation.
What the authors extend is adversary-resilient cost-aware PoQ: rewards still consider both quality and cost, the consensus layer switches to robust aggregation, and evaluator weights are adjusted online using deviation signals. Figure 1 summarizes the flow from inference, evaluation, cost, consensus, to rewards and weight updates; Figure 2 marks the four types of score manipulation and the positions of robust aggregation and deviation signals.
Roles, sampling, and cost
- Two types of nodes: inference nodes host the LLMs in pool F and generate outputs for queries and contexts; evaluation nodes host lightweight scoring models. Task t samples a subset of size K, and each evaluator submits a score on [0, 10], aggregated into a consensus in the same range.
- Trust normalization: each evaluator has a nonnegative weight. When used for consensus, it is normalized by the full-pool weight so that the average weight is 1, making runs with different absolute scales comparable.
- Cost: average latency on a shared load is min-max normalized separately within the inference role and within the evaluation role to obtain a cost in [0, 1]. Throughput and peak GPU memory are also measured in the analysis, but the reward formula uses latency cost.
- Where experimental scores come from: the simulation reads precomputed records. Evaluators compute raw similarity between the reference text and the model output, then min-max normalize across all generated records for that evaluator, mapping to [0, 10]. This is not the same setting as "reference-free, live scoring."
Four consensus rules
- simple mean: the arithmetic mean of K scores. The authors state it is appropriate when scores are unbiased and approximately independent, but it is sensitive to extreme values and can be exploited by score inflation or deflation.
- median: the sample median of K scores, used to reduce the impact of large outliers.
- trimmed mean: after sorting scores, remove m from each end and average. m equals max{1, floor(γK)}, with γ in (0, 0.5). In the implementation, γ is a fixed hyperparameter, set to 0.2 in experiments. The authors state it usually retains more information than the median while limiting adversarial influence.
- adaptive weighted mean: a weighted average using normalized trust weights,
ctw=∑e∈ Etw̃e st,e/∑e∈ Etw̃e i.e., reducing the weight of repeatedly deviating evaluators in the current round's consensus. The four rules are switchable within the same interface.
Rewards and trust updates
- How quality enters the reward: the consensus is first divided by 10 to obtain a normalized quality in [0, 1]. The inference reward follows the cost-aware baseline: the base term is quality weight times quality minus cost weight times inference cost; when quality is below a threshold, the square of the threshold difference is deducted; there is also a capped efficiency reward of the form quality times 1 minus cost, rather than dividing by cost. The authors state that avoiding division and capping prevents reward inflation for extremely low-cost models. The paper does not give values for the quality weight, cost weight, threshold, or reward cap.
- Evaluator reward: deviation equals the absolute difference between the score and the consensus divided by 10; proximity is the larger of 0 and 1 minus deviation. The reward equals proximity weight times proximity minus evaluation cost weight times evaluation cost. The authors state this encourages scores consistent with the collective signal and with low latency; manipulation increases deviation and decreases proximity.
- Multiplicative trust update:
we←clip(we·(1+λ(0.5−dt,e)),wmin,wmax) Deviation below 0.5 increases the weight, above 0.5 decreases it, and it is clipped to the allowed range. The authors state it requires no additional supervision, and manipulation changes the deviation pattern. In experiments, the initial value is 1.0, the learning rate is 0.1, and the lower and upper bounds are 0.1 and 3.0.
Single-round flow and score replacement
- Uniformly sample a record containing a model key and a precomputed normalized score, and take the corresponding inference cost.
- Sample K evaluators among those with scores; if an evaluator is marked malicious, replace the honest score with the strategy from Section 3.6, then proceed to consensus and rewards.
- Compute the consensus according to the chosen rule; if trust weights are used, pass in the normalized weights.
- Record the inference reward; for each sampled evaluator, compute deviation, proximity, and evaluator reward, then update the weights according to the formula above.
Repeat for a fixed number of rounds T to estimate expected reward, reward variance, and robustness. Appendix A.2 only states that the noise half-width is r, the inflation or deflation bias is b, the intermittent manipulation magnitude is Δ, and the trigger probability is p, without giving these values. Default simulation parameters are in Table 7: T is 5000, K is 3, γ is 0.2.
What experiments did the paper conduct?
The full-pool median Pearson correlation is 0.748; under ρ=0.8 and sabotage, the inference reward change for the mean is −52.100%.
Experimental Setup
- Tasks and scale: 200 examples each sampled from the SQuAD v1.1 development set and CNN/Daily Mail, with a fixed random seed, for a total of 400 inputs. The paper does not give the seed value.
- Inference pool: 5 open-source instruction-tuned LLMs, each generating for every input, for a total of 2000 records. The QA prompt asks for a short answer based on the context and question; the summarization prompt asks for 2 to 3 sentences. Greedy decoding, with a fixed maximum generation length whose value is not reported.
- Evaluation pool and proxy: 2 cross-encoders and 3 bi-encoders compute similarity between the reference text and the model output, which is then min-max scaled to [0, 10] by the evaluator over the 2000 records. The ground-truth proxy is SQuAD-style token-level F1 multiplied by 10, used only for offline analysis. Avg GT in Table 1 is this proxy normalized to [0, 1].
- Simulation: Unless otherwise stated, T is 5000 and K is 3. The initial trust value is 1.0, λ is 0.1, weights are clamped to [0.1, 3.0], and γ is 0.2. The reward parameters follow the cost-aware baseline, including an efficiency reward cap and a quality threshold penalty; the values of α, β, τ, η, and Bmax are not reported. According to Eq. 7, with K of 3 and γ of 0.2, one score is removed from each end, leaving only the middle 1 for the trimmed mean, which is the same as the median.
- Attacks and controls: A proportion ρ of evaluators is randomly selected and replaced with noise, boosting, sabotage, or strategic. The control rules are simple mean, median, trimmed mean, and adaptive weighted. K is also swept from 1 to the full pool, and the malicious proportion is swept more finely. No numerical values are given for r, b, Δ, p; multi-seed repetition is not reported.
- Evaluation: The main alignment metrics are Pearson and Spearman with the F1 proxy. Section 2.6 calls GPT-based judging an auxiliary signal; the results tables in Sections 5–6 do not report this signal.
Main Results
Table 5 shows the change (%) in average inference reward at ρ of 0.8 relative to that defense's own ρ of 0.0. The default T is 5000 and K is 3, so Median and Trimmed are the same as defined in the previous section. The paper does not give the absolute average inference reward of each defense without attack.
Swipe horizontally to read the table
Attack Mean Median Trimmed Adaptive random noise -1.100% -0.500% -0.500% -1.100% strategic -2.200% -0.800% -0.800% -2.200% sabotage -52.100% -57.200% -57.200% -52.200% boost 39.300% 44.900% 44.900% 39.400% - The authors state that median and trimmed mean mitigate the reward shift caused by noise and strategic manipulation at high malicious proportions.
- The authors state that sabotage causes the largest drop in inference reward under all defenses, and that coordinated negative scoring remains difficult to handle. In the table, the Median and Trimmed changes in that row and the boost row are larger in magnitude than Mean; adaptive is close to Mean.
- The authors state that the rise in inference reward under boosting should be seen as payout inflation, not an improvement in output quality. Section 7.2 further states that at high malicious proportions robust rules are also overwhelmed, because the median and trimmed mean depend on a sufficiently large honest proportion. Section 7.1 argues that weights are updated using deviations from the same consensus that defines their participation, so contrast decreases under symmetric attacks or when malicious scores are close to the consensus, and small deviations may push most weights to the upper bound.
Consensus and Ground Truth
Table 4 aggregates over all available evaluator scores for each record, not the default K of 3 sampling. The evaluator pool has 5 members; the paper does not state whether every record has 5 available scores. Adaptive weighted is not in this table.
Swipe horizontally to read the table
Consensus Pearson all Spearman all Pearson QA Pearson sum simple mean 0.581 0.720 0.742 0.514 median 0.748 0.801 0.865 0.542 trimmed mean 0.725 0.798 0.844 0.545 - The authors report that median's Pearson all rises from 0.581 for simple mean to 0.748, and trimmed mean shows a comparable improvement.
- The authors state that this supports robust aggregation as the default defense for PoQ and can restore alignment to close to the highest among individual evaluators. The highest Pearson all in Table 3 is 0.754.
- The Pearson QA of all three rules is higher than the corresponding Pearson sum. In the summarization column, trimmed mean is 0.545, slightly higher than median's 0.542.
Evaluator Correlation with the Proxy
Table 3 is computed on scores normalized to [0, 10]. Figures 4–6 provide supplementary views of task trends, heatmaps, and scatter plots; the numerical values in the text follow the table.
Swipe horizontally to read the table
Evaluator Pearson all Spearman all Pearson QA Pearson sum ce minilm 0.392 0.426 0.422 0.425 ce deberta -0.487 -0.267 -0.635 0.071 sts stsb 0.733 0.776 0.863 0.433 sts minilm 0.737 0.812 0.877 0.576 sts paraphrase 0.754 0.806 0.872 0.519 - The authors state that bi-encoders correlate strongly with the proxy, with the best overall Pearson above 0.75, and that QA is higher than summarization. The three sts rows are consistent with QA being higher than summarization.
- The authors state that one cross-encoder is negatively correlated on QA, and that choosing the wrong evaluator may reverse the direction of incentives. ce deberta is that row; ce minilm's QA and summarization are nearly tied, with QA not higher.
K Sensitivity
- What was measured: K from 1 to 5, with T of 5000 per configuration. The paper does not state which consensus is used, nor whether this sweep injects attacks.
- Results: In Table 6, at K of 1 the average inference reward is 0.540 with standard deviation 0.158, and the evaluator average is 0.935 with standard deviation 0.118; at K of 5, inference is 0.536 and 0.154, and evaluator is 0.808 and 0.177. For K of 2, 3, and 4, the inference averages are 0.539, 0.534, and 0.538, and the evaluator averages are 0.838, 0.818, and 0.811.
- Authors' interpretation: The authors state that under this configuration the inference reward is relatively stable, and that a larger K lowers the evaluator average reward and increases its payout standard deviation, because opportunities to deviate from the consensus increase and the closeness reward decreases.
Other Ablations and Analyses
- Table 1 baseline inference rewards: llama 3 2 3b is 0.682 (Avg GT 0.541, Cost 0.223, Jobs 1033); gemma 2 2b it is 0.675; phi3 mini 4k is 0.340 (Avg GT 0.129, Cost 0.843). An unnamed default consensus rule is used.
- In Table 1, tinyllama 1 1b has Cost 0.000, Avg GT 0.205, and reward 0.630; qwen2 1 5b has Cost 1.000 and reward 0.341. The authors state that models with moderate cost and strong quality receive the highest reward, and that high-latency models are penalized even with some quality.
- Table 2: sts paraphrase has reward 0.910, Avg deviation 0.090, and Cost 0.020; ce deberta has reward 0.496, deviation 0.213, and Cost 1.000. The authors state that evaluator reward is driven by agreement with the consensus and by evaluation cost.
- Appendix A.2 and Table 7: attack magnitudes are given only as signs; γ of 0.2 and λ of 0.1 are fixed. Section 4.5 says λ will be examined empirically, and Section 6 does not give a sweep table for λ or γ.
- Figures 7, 8, and 10–14 supplement attack types, malicious proportions, and trust weight evolution. Apart from the listed tables, the text does not give cell or curve endpoint values for these figures.
What are some points that can be further explored?
The authors note that the F1 proxy, an adversary model without Sybil, and a trust heuristic that can saturate are limitations.
Limitations and future directions noted by the authors
- Quality proxy: unified token-level F1 suits question answering but may not represent the quality dimensions of summarization. The authors plan to add ROUGE or semantic factuality metrics (Section 7.4, Section 8).
- Adversary model: currently only manipulates evaluation scores and does not include identity Sybils beyond a fixed malicious proportion. The authors state that Sybils would weaken defenses assuming participant independence, and plan to evaluate sybil-resistant designs (Section 7.4, Section 8).
- Trust update: the authors state that the update is a lightweight heuristic that may saturate under typical deviations, and plan more principled reliability estimation and calibration to remain robust under adaptive adversaries (Section 7.4, Section 8).
- Design directions: the authors suggest calibrating the update to avoid monotonic weight growth under typical deviations; and adding task-aware calibration beyond consensus deviation, anchor tasks with stronger supervision, or divergence patterns across evaluator families (Section 7.1).
Experimental coverage
- Inference models are llama 3 2 3b, gemma 2 2b it, tinyllama 1 1b, qwen2 1 5b, phi3 mini 4k, 5 in total; evaluation models are ce minilm, ce deberta, sts stsb, sts minilm, sts paraphrase, 5 in total (Sections 5.2, 5.4, Tables 1, 2).
- Data are 200 examples each from the SQuAD v1.1 development set and CNN/Daily Mail, 400 inputs and 2000 generation records; prompts are fixed and decoding is greedy (Sections 5.1, 5.2).
- There are four consensus rules and four attack types; the relative inference reward change for ρ of 0.8 is in Table 5. Default T is 5000 and K is 3; the K sweep is 1 to 5 (Tables 6, 7).
- Offline alignment uses the token-level F1 proxy. The paper does not report r, b, Δ, or p, does not report multiple-seed repetitions, does not report a sweep table for λ or γ, and does not state the consensus rules for Table 6 or whether attacks are injected (Appendix A.2, Section 6.5).
- Section 2.6 states that GPT-based judging serves as an auxiliary signal in the pipeline rather than the sole arbiter; Sections 5–6 do not report values for that signal. Adversarial experiments are score replacement under a fixed proportion; the authors state in Section 7.4 that Sybils are not included in this experiment.
Summarize the main content of the paper
Cost-aware PoQ adds robust consensus; the authors state that the median has higher correlation with the proxy, while sabotage and boosting still distort rewards.
This extended work changes the consensus layer of cost-aware Proof of Quality into a form that withstands malicious evaluation scores, with rewards still considering both output quality and latency cost.
- Problem: Decentralized inference makes cryptographic verification difficult under interaction latency, so lightweight evaluators are sampled to score and determine payment. With open participation, evaluators can inject noise, inflate scores, suppress scores, or manipulate intermittently; simple mean may overpay or favor low-quality outputs.
- Mechanism: K evaluators are sampled per task, with scores in [0, 10]. Consensus can be mean, median, trimmed mean, or trust-weighted mean. Inference reward includes a quality term, a cost term, a squared penalty below threshold, and an efficiency reward with an upper bound in non-division form. Evaluator reward depends on closeness to consensus, minus evaluation cost. Weights update multiplicatively by deviation relative to 0.5, clamped to [0.1, 3.0] in experiments.
- Where the evidence comes from: 200 examples each from SQuAD v1.1 and CNN/Daily Mail, with 5 open-source instruction models producing 2000 outputs. 5 bi-encoders or cross-encoders compute similarity to reference text. The offline proxy is token-level F1. Default is 5000 rounds per configuration with K of 3.
- Key numbers: On all-pool available scores, median's Pearson with the proxy is 0.748, trimmed mean 0.725, simple mean 0.581 (Table 4). sts paraphrase Pearson all is 0.754; ce deberta on QA is -0.635 (Table 3). At ρ of 0.8 and K of 3, under noise and strategic, median's inference reward change is -0.500% and -0.800%, mean's is -1.100% and -2.200%; under sabotage, mean is -52.100% and median -57.200%; under boost, mean is 39.300% and median 44.900% (Table 5). At this K and γ of 0.2, trimmed mean and median are the same rule. Table 6 does not state the consensus or whether attack is present; there, inference average reward ranges from a low of 0.534 to a high of 0.540, and evaluator average reward from 0.935 at K of 1 to 0.808 at K of 5.
- Authors' conclusion: The authors believe robust aggregation should be a default component of cost-aware PoQ, and K should be chosen according to risk and cost budget; current adaptive weighting under deviation feedback does not necessarily separate honest from malicious evaluators. The authors plan to switch to task-specific quality proxies, more principled trust estimation, and study designs that can handle Sybil.