Order-Statistic Gossip for Faithful Rule Learning Without a Server

Several groups of organizations each hold a private fragment of a knowledge graph, a database of facts such as "Alice works_for Acme". They want to learn shared logical rules that predict missing facts, for example "if x works_for y and y located_in z, then x lives_in z". No one should collect the data centrally, and no single server should be trusted. Existing federated rule learners still route everything through a coordinator. Existing serverless ("peer-to-peer") learning mixes parameters by averaging with neighbors, and averaging interacts badly with rule learning. When data differs across peers, averaging dilutes a rule that only a few peers can observe. Replacing the average with a maximum fixes the dilution, but a single attacker can then broadcast an inflated rule weight that spreads to every peer.

We propose to aggregate rule confidences with an order statistic: each peer adopts the $(f+1)$-th largest value it receives from its neighbors, where $f$ is the number of attackers it is willing to tolerate. We pair this with rule models whose predictions are exactly explained by their extracted rules. That pairing does two things. Rarely observed but true rules survive aggregation, and a poisoned update becomes an explicit, human-readable rule that a peer can check against its own data, rather than diffuse damage hidden in many weights. The claim is that faithfulness, which so far has been studied only as an interpretability property, also determines which decentralized aggregators are safe and useful.

Core Claim

Faithful Approaches to Rule Learning shows the problem with Neural-LP, a differentiable rule learner. Neural-LP sums evidence over reasoning paths, so its extracted rules explain under 3% of its own predictions on FB15K and NELL. Replacing the sum with a max ("max-Neural-LP") makes each prediction derivable by a single rule, without losing F1 or AUC across 12 benchmarks.

In such a model, the score of a candidate fact $q(a,b)$ is $s(q(a,b)) = \max_r w_r \cdot \mathbb{1}[\text{rule body } r \text{ holds for } (a,b)]$. Here $w_r \in [0,1]$ is the confidence of rule $r$. Because the model's knowledge is a vector of per-rule confidences, aggregation across peers is a choice of how to combine scalars per rule.

We argue there are three natural choices, and each says something different about what "the network believes" a rule:

  1. Linear gossip averaging, used by Muffliato and consensus gradient descent, treats a rule as true only to the extent that most peers see it. Under non-IID partitions it drives locally supported rules toward zero.
  2. Max-consensus treats a rule as true if anyone claims it. Its breakdown point is zero.
  3. Order-statistic gossip. Each peer $i$ updates $$w_r^{(i)} \leftarrow \operatorname{top}_{f+1}\big(\{w_r^{(j)} : j \in N(i)\cup\{i\}\}\big),$$ where $N(i)$ is the neighbor set and $\operatorname{top}_{f+1}$ returns the $(f+1)$-th largest value. This accepts a rule at a confidence only if at least $f+1$ sources vouch for it. With at most $f$ adversarial neighbors, that accepted value is bounded by some honest peer's value, which is the standard argument from resilient consensus.

Faithfulness adds a second, local line of defense. Any rule that arrives with a raised confidence can be audited exactly. The peer evaluates it on its own held-out facts and rejects it if it derives facts that are locally known to be false. This audit is only meaningful when rules fully account for predictions.

Relation to Prior Work

Two systems learn rules federatedly, and both motivate this work by leaving the server in place. Federated Neuro-Symbolic Learning (FedNSL) has clients score rule bodies locally and a server fit a Transformer prior over rules. Towards Rule-Based Knowledge Sharing in Federated Learning (RFL) has a server build a propositional rule network from client class prototypes. We remove the coordinator, and unlike RFL we work with relational, multi-hop rules. We also inherit FedNSL's restriction to a fixed predicate set rather than claiming open-ended rule discovery.

Two client-side defenses constrain the design. Backdoor Attacks in Peer-to-Peer Federated Learning shows that PageRank-chosen attackers holding 5% of nodes reach near-100% attack success, and it counters this with Two-Norm Clipping on incoming updates. FL-WBC shows that poison hides in parameter directions that benign data never touches. Both operate on unstructured weight vectors. We operate on per-rule scalars with symbolic meaning, which is what makes both the order statistic and the exact audit possible. We reuse the PageRank attacker placement as our threat model.

Muffliato supplies a cautionary contrast. Its privacy amplification comes from noise mixing under linear averaging, and order statistics do not mix. We therefore do not claim its privacy guarantees and treat privacy as a measured cost, not a feature.

Decentralized Knowledge Graph Representation Learning is "decentralized" only in its graph-network architecture, not in its system design, so it is not a competitor.

Research Program

The learner. We build a decentralized max-Neural-LP in which each peer trains on its own knowledge-graph shard. Every few local epochs, peers gossip only rule-confidence vectors over a fixed communication graph. We test random regular graphs (well-connected expanders) and scale-free graphs (where a few high-PageRank hubs dominate).

The analysis. We will prove two properties of order-statistic gossip:

  1. Every honest peer's confidence stays within the range of honest values, under the robustness condition on the graph that resilient consensus requires.
  2. A rule supported by at least $f+1$ honest peers in every neighborhood along a path is not driven to zero.

We will also characterize when averaging provably erases rules that live only in a minority partition.

The empirical study. We map, as a function of data heterogeneity and attacker fraction, where averaging, max, median, and the $(f+1)$-th order statistic each win.

Baselines

The naive reference point is local-only max-Neural-LP: each peer trains on its own shard and never communicates. Any decentralized method must beat it on held-out facts that involve relations or entities rare in a peer's own shard.

The centralized upper bound is max-Neural-LP trained on the pooled graph. Faithful Approaches to Rule Learning reports it as comparable to Neural-LP on F1 and AUC, but the file gives no specific value on Lacuna, so we will reproduce it ourselves. We also run centralized FedNSL as the server-based rule learner. On DWIE it beat the best federated baseline (from FedAvg, pFedMe, Per-FedAvg) by 17% in unbalanced training accuracy and 29% in test accuracy on unseen data (Federated Neuro-Symbolic Learning). Matching it without a server, while staying robust when its server role is compromised, would count as success.

The strongest decentralized competitor is gossip-averaged max-Neural-LP with Two-Norm Clipping on incoming updates, following Backdoor Attacks in Peer-to-Peer Federated Learning. That paper reports attack success rate falling from 1.0 to 0.0 in multiple scenarios on image benchmarks. No reported result was found on Lacuna for it on knowledge-graph rule learning. We add a coordinate-median gossip variant as the standard robust-statistics competitor.

Fairness controls. All methods share the same partitions, communication graph, number of gossip rounds, and per-peer compute. Clipping thresholds, median trimming, and our $f$ each get the same tuning budget on a validation partition. Beating the strongest competitor means two things together: equal or lower attack success, and higher accuracy on minority-partition rules.

Ablations. Two ablations isolate the key ingredients:

  1. Faithfulness. We run order-statistic gossip on summation Neural-LP. Here the audit cannot attribute predictions to rules, so any loss of robustness is due to unfaithfulness.
  2. Audit versus aggregator. We run our method with the local audit disabled, to separate the contribution of the order statistic from the contribution of verification.

Why not just…?

Why not just average rule weights with norm clipping or a coordinate median? This is the most serious threat. If rules are spread roughly evenly across peers, the median is cheap and probably sufficient. Our thesis rests on non-IID data, which the P2P backdoor paper identifies as the regime where honest diversity hides poison. In that regime, a rule supported by fewer than half the peers has median zero. We will measure accuracy on minority-partition rules separately. If median and clipping match us there, the idea reduces to known robust aggregation and we will say so.

Why not just keep a server, as in FedNSL, or replace it with a rotating committee? A server is the single point of failure that this direction targets. The committee designs in A Blockchain-Based Decentralized Federated Learning Framework with Committee Consensus shift trust onto an elected subset and add the cryptographic overhead documented in Scalable and Communication-efficient Decentralized Federated Edge Learning with Multi-blockchain Framework. We will report FedNSL under a compromised server, which flips its broadcast prior, to quantify what removing the server buys.

Why not just validate each incoming model on local held-out data? Local validation is part of our method. Alone, it fails under non-IID data, because a peer cannot validate a rule about relations it never observes. It also gives little signal for unfaithful models, where no single rule can be blamed. The order statistic covers the rules a peer cannot check itself, and the "audit off" and "faithfulness off" ablations measure each part's contribution.

Why not just keep summation Neural-LP and gossip it? Its extracted rules explain under 3% of its predictions (Faithful Approaches to Rule Learning). A poisoned update therefore has no symbolic handle to audit. This is tested directly by the faithfulness ablation.

Proposed Experiments

Benchmarks and partitions. We use FB15K-237, NELL-995, and WN18RR, partitioned across 20 to 100 peers. Partitions are either IID or non-IID by relation-type and entity community, with heterogeneity controlled by a Dirichlet concentration parameter. We also use DWIE (DWIE) split by document topic, following FedNSL.

Threat model. Attackers occupy 5% to 20% of nodes, placed either at random or by PageRank. They run two attacks:

  1. Rule-inflation backdoor. Attackers push a false rule, for example one mapping a trigger relation to a target relation, to confidence 1.
  2. Suppression. Attackers drive a true minority rule to 0.

Metrics. We report MRR, Hits@1, F1, and AUC; faithfulness, measured as the fraction of predictions derived by extracted rules; recall of ground-truth minority rules; attack success rate; and rounds to consensus.

Decisive checks. Three results would settle the claim:

  1. Under non-IID partitions with no attack, order-statistic gossip should beat averaging and median on minority-rule recall while matching them on overall MRR.
  2. Under PageRank-placed rule inflation, max-consensus should reach near-total attack success while order-statistic gossip should not, as long as attackers number at most $f$.
  3. Removing faithfulness should measurably weaken the audit.

If the first check fails, meaning rare rules do not matter for accuracy on these benchmarks, the proposal's case collapses to robustness alone, and we would redirect toward the audit as the main contribution.