Physically Certified Federated Learning: Securing Collaborative Anomaly Detection for Critical Water InfrastructurePhysics-Attested Federated Learning: Securing Collaborative Anomaly Detection in Critical Water Infrastructure
The authors add a physical admission gate to federated anomaly detection; SWaT experiments report that protection gains depend on invariant coverage scope.
A white-box adversary controls part of the facility, knows the protocol, global parameters, its own telemetry, and all invariants and tolerances, and reduces the shared detector's recall for specified attacks through targeted exposure poisoning; attacks that directly tamper with updates are also evaluated.
- Federated anomaly detection hides local training telemetry, and the authors argue that checking only update vectors makes it difficult to identify updates trained on forged data. The research focuses on poisoning that makes detectors learn specified attacks as normal behavior in water infrastructure.
- The authors mine actuator–flow coupling and tank mass balance from clean telemetry, using batch physical consistency as a pre-aggregation admission condition; PA-FL Lite uses zero-knowledge proofs to check sampled rows of committed batches.
- SWaT's wide invariant set covers 20 / 35 attacks (Table 4); the FedAvg replay experiment removes 71% of target recall damage, with statistics including 2 valid seeds (Table 7). Batches satisfying the invariants can still poison.
- The authors note that the proof is not yet bound to the submitted update and training batch, and stronger joint adaptive attacks remain to be studied. The experiments use testbed and simulated records; physical protection scope depends on sensor coverage, and sampled proofs also have honest-batch false rejections.
- Evaluated models
- reconstruction autoencoderphysics admission gate (process invariants)
- Benchmarks
- SWaTWADIBATADALHAISimulator
- Metrics
- Targeted-Attack RecallDamage-Weighted Removal RatioRuntargF1AUC-PRFRRgate admission ratesproof generation timeproof verification time
The study proposes "physics-attested federated learning", transforming cyber-physical process invariants such as conservation laws and actuator coupling from runtime detection heuristics into verifiable admission conditions for federated updates, automatically mined from clean operational data. On the SWaT and WADI water testbeds and the BATADAL benchmark, the mined invariants reject zero of 100 honest shards and reject all naive forged updates, including optimized perturbations that FoolsGold fully admits.
Paper analysis
What problem does this paper attempt to solve?
The authors aim to prevent physically inconsistent training data from entering a federated detector without disclosing telemetry.
The core problem is how to check the training telemetry behind federated updates without disclosing that data to the coordinator. The authors focus on targeted data poisoning when water treatment and distribution facilities share anomaly detectors.
- Application scenario: Facilities train locally and exchange only parameter updates. The authors argue that scarce local attack data motivates collaborative training, but hidden telemetry also prevents the coordinator from checking the data source of updates.
- Existing defenses: Robust aggregation checks update geometry, and cryptographic input verification checks norms of hidden updates. The authors argue that neither constrains the training telemetry that generates the updates.
- Core observation: Water system telemetry is constrained by actuator–flow relationships and mass conservation. The authors turn runtime detection invariants into admission conditions for training batches, but the protection scope depends on measured physical relationships.
- Proposed approach: The physical admission gate first excludes non-compliant batches before passing them to aggregation rules; PA-FL Lite uses zero-knowledge proofs to verify sampled rows of committed batches.
- Threat model: The victim system is a federated reconstruction autoencoder, and the goal is to reduce its recall on specified attacks (Section 3.1).
- Knowledge: A white-box adversary knows the protocol, global parameters, its own telemetry, all invariants, and tolerances.
- Control: The main configuration controls 3 of 10 clients; a smaller configuration controls 2 of 5, with the ability to coordinate contamination of local data.
- Adaptive capability: The adversary can project contaminated data into the invariant feasible region; there is also a baseline attack that directly modifies update vectors.
What related research exists?
The authors connect robust aggregation, physical monitoring, and cryptographic verification to admission checks on training data.
Related work is divided into update-space defenses, runtime physical detection, cryptographic verification, and industrial anomaly detection. The authors' positioning is to move the verification target to local training telemetry.
Update-space aggregation and poisoning
- FedAvg and robust rules: McMahan et al. (2017) use weighted averaging; Krum, Median, Trimmed Mean, Norm Clipping, FLTrust, and FoolsGold process updates based on distance, coordinate statistics, norms, trusted gradients, or historical similarity, respectively.
- Poisoning and evasion: Bagdasaryan et al. (2020) inject backdoors via gradient scaling; Geiping et al. (2021) study gradient-matching poisoning; Baruch, Fang, and Shejwalkar et al. study optimization attacks that evade update filtering.
- Exposure poisoning: Nguyen et al. (2020) have compromised clients train on attack traffic as normal data, causing federated anomaly detectors to learn to accept these patterns.
Physical invariants and coverage boundaries
- Invariant construction: Adepu and Mathur (2016) derive invariants from process design; Feng et al. (2019) and Zhu et al. (2025) automatically extract rules from normal records.
- Other physical detection: NoisePrint (2018) examines sensor and process noise; Feng and Tian (2021) combine neural system identification with Bayesian state estimation.
- Coverage audit: The authors cite Cho (2026)'s analysis of SWaT, emphasizing that invariants can only check relationships covered by instrumentation; this paper brings that boundary into poisoning defense.
Cryptographic federated verification
- Secure aggregation and input verification: Bonawitz et al. (2017) hide individual updates; RoFL and ACORN verify norm bounds on hidden updates, and Armadillo discusses the privacy–utility trade-off under malicious servers.
- Aggregation and model verification: Wang et al.'s framework and zkFL check coordinator aggregation or model constraints; the authors argue these works do not verify the physical validity of training telemetry.
- Proof components: Groth16 and Poseidon support this paper's proofs and commitments; the authors cite ZKML and related surveys on the computational cost of full training proofs.
Industrial detection and experimental baselines
- Detector research: Kravchik and Shabtai (2018, 2022) discuss reconstruction-based industrial anomaly detection; Huong et al. (2022) study federated explainable anomaly detection.
- Baseline methods: This paper uses seven aggregation rules on SWaT and three each on WADI and BATADAL; Table 3 also lists Simulator, and HAI serves as a negative control for invariant applicability.
The authors state that the difference is turning physical invariants from runtime alarm rules into pre-aggregation training batch admission conditions, using zero-knowledge proofs to hide raw telemetry.
How does the paper address this problem?
The physical admission gate checks training batches, and PA-FL Lite then generates proofs from sampled checks of already committed batches.
Physics-Attested Federated Learning adds a data-space admission layer before aggregation rules. PA-FL Lite implements batch sampling compliance proofs; it does not prove that the submitted update was actually trained from that batch.
Invariant Discovery and Tolerance Calibration
- Actuator–flow coupling: compare flow distributions corresponding to actuator states, retaining relations with support and low variance; rows during transitions do not participate in this coupling check.
- Tank mass balance: fit level changes against boundary flows using sparse linear regression. Candidate relations with R² ≥ 0.60 are retained by default.
- Noise tolerance: using independent clean calibration data, set tolerance as εj=1.5× Q0.999(|rj|), i.e., 1.5 times the empirical 99.9th percentile of absolute residuals (Equation 3).
- Coverage configuration: SWaT narrow uses 5 rules; wide uses 9. Section 5.2.1 reports that wide relaxes the screening threshold to include cross-stage mass balance.
Batch Admission and Aggregation
- Violation definition: a row is a violation if it violates any applicable invariant; a batch is admitted only if the proportion of violating rows in the full batch does not exceed 1% (Equation 4).
- Admission position: non-compliant clients are excluded for that round; compliant updates continue through FedAvg or robust aggregation rules. The two layers check training data and parameter updates separately.
- Attack coverage definition: an attack segment is counted as covered by the invariant set when its violating-row proportion exceeds 1%; this criterion is also used for coverage audits.
Adaptive Adversary and Damage Definition
- Adversary modeling: a physics-aware adversary projects the poisoned batch into the feasible region satisfying all invariant tolerances; discrete actuators remain fixed, only continuous readings change (Section 3.3.1).
- Poisoning mechanism: data-space attacks make the detector learn to reconstruct attack patterns; update-space baselines train on clean data then modify parameter updates. This only describes the mechanism, not the detailed poisoning construction steps.
- Damage removal: Removal=1−(Rref−Rgated)/(Rref−Rnaive), indicating how much of the target recall damage from naive poisoning the admission removes relative to the Honest-Only reference (Equation 7).
- Statistical criterion: damage-weighted proportions are computed only over seeds where naive damage is at least 1.0 percentage point; values above 100% mean gated results exceed the reference, which the authors attribute to seed and small-batch variance.
PA-FL Lite Commitment and Sampling Proof
- Batch commitment: the client builds a depth-10 Poseidon Merkle tree over N=1,024 rows; after commitment, unpredictable challenges are received, from which k=32 sampling indices are derived.
- Proof statement: Groth16 over BN128 checks Merkle openings for sampled rows and their predecessors, invariant residuals, violation budget vmax, and non-applicability check budget umax.
- Verification and forwarding: the server checks the proof and public inputs, forwarding only passing updates to aggregation; raw telemetry is not disclosed.
Circuit Implementation and Proof Scope
- Arithmetic representation: Appendix C uses biased fixed-point representation and range checks for signed data; invariant coefficients and tolerances are compiled as circuit constants.
- Cost structure: block Poseidon hashing and two Merkle paths dominate constraints; violation flags are accumulated and checked against the budget at once, rather than failing immediately on a single violation.
- Boundaries: the sampling proof and the full-batch 1% check are different protocols. The authors explicitly state in Section 6.4 that cryptographic binding of batch to update and strict equivalence of fixed-point and floating-point constraints are not yet resolved.
What experiments did the paper conduct?
The SWaT main experiment reports admission gains and also records boundaries for rule coverage, effective seed counts, and proof sampling.
The primary evidence comes from targeted recall experiments on SWaT, supplemented by cross-record invariant audits and zero-knowledge proof benchmarks. The false rejection results for full-batch admission and sampled proofs need to be read separately.
Experimental Setup
- Model under test: Each condition uses an unnamed deep reconstruction autoencoder; window W=10, 128-unit ReLU hidden layer, 24-dimensional bottleneck, and symmetric decoder, trained with mean squared error.
- Data records: SWaT December 2015 and WADI October 2017 both use 5-second steps, with 35 and 14 attack segments separated out; BATADAL uses year-long hourly records and 14 scenarios; HAI 21.03 serves as a negative control for physical applicability.
- Partitioning and training: Normal records are split chronologically into invariant discovery 30%, validation 15%, server root 5%, and client 50%. Training runs 25 rounds with 2 local epochs each, Adam, learning rate 10⁻³, batch size 1,024.
- Aggregation baselines: SWaT uses FedAvg, Median, Trimmed Mean, Norm Clipping, Krum, FLTrust, and FoolsGold; WADI and BATADAL each use three, but Table 3 does not list their names. Six rule-based Simulator experiments are also listed.
- Metrics and decision: An alarm is raised when reconstruction error exceeds the 99.5th percentile of clean validation loss, with no LLM review; the primary metrics are target attack row recall and damage-weighted removal proportion, with non-target recall, F1, AUC-PR, and admission rate also reported.
- Scale and repetition: Table 3 totals 1,120 training units, of which SWaT 907, WADI 90, BATADAL 72, and Simulator 51; the main configuration uses 5 seeds and secondary scans use 3. The separate audit draws 200 batches of 1,000 rows per record.
Main Results
Per Appendix B and Table 7: SWaT wide has 9 rules and 5 run seeds; n is the number of effective seeds where naive damage is at least 1.0 percentage point. Damage is relative to Honest-Only, and removal proportions use damage-weighted statistics.
Swipe horizontally to read the table
Aggregation rule Replay n Replay damage (percentage points) Replay gate removal Channel roll n Channel roll gate removal FedAvg 2 13.8 71% 2 92% Median 3 6.2 103% 2 101% Norm clip 3 7.4 104% 2 100% Trimmed mean 3 5.1 91% 2 89% FLTrust 3 2.2 69% 2 54% - Statistical boundaries: Krum and FoolsGold are omitted from the table. Figure 8 marks n/a for combinations with fewer than 2 effective seeds; Table 7 still lists Krum's n=1 proportions, as well as FoolsGold's channel roll n=1 and 259% proportion.
- Authors' interpretation: The authors attribute the gains mainly to batch exclusion rather than the projection itself removing poisoning. Proportions above the reference level are interpreted as seed and small-batch variance.
- Summary discrepancies: The abstract states replay removal of 69–100% and forged telemetry removal of 54–100%; Table 7 includes results above 100%, so it should be read condition by condition.
Invariant Separation and Attack Coverage
- Real attack coverage: In Table 4, SWaT narrow covers 12 / 35 attacks and 1,137 / 10,931 attack rows; wide covers 20 / 35 and 8,991 / 10,931. Honest violation rates are 0.21% and 0.36%, respectively.
- Cross-record boundaries: WADI's 7 coupled invariants cover 3 / 14 attacks and 395 / 1,996 attack rows (Table 4). The authors state that unmeasured user demand makes mass balance difficult to mine; HAI has no coupling and only three weak balances, and the Figure 5 caption states all batches are admitted.
- Exceptions and summary conflicts: Section 5.1 reports that Regime Splicing violates only 0.12%–0.36% of rows and passes the 1% threshold; this conflicts with the introduction's summary of "rejecting every forged batch." The 100 honest client shards have no rejections, with a maximum violation rate of 0.51%.
Update-Space Defenses and Adaptive Attacks
- Two-layer division: In Figure 6's SWaT wide no-gate experiment, FoolsGold accepts all optimised perturbation updates, losing 6.0 percentage points of target recall; the physical check has an admission rate of 0.00 for that batch and 1.00 for all four update-space attacks.
- Negative results: In the same figure, Krum accepts 0.00 of the four data attacks yet loses 9.2 percentage points on all of them; the authors explain this as single-client selection variance. Its free rider and min-max losses are 14.6 and 14.7 percentage points.
- Adaptive admission: In Table 5, SWaT wide replay is accepted 0 / 15 before projection and 6 / 15 after; BATADAL is 6 / 6 after projection and WADI is 3 / 9. Honest shard rejections are 0 / 35, 0 / 9, and 0 / 21, respectively.
Zero-Knowledge Proof Cost and Sampling Results
- Runtime cost: Table 6's SWaT wide, N=1,024, k=32, Apple M3 Pro configuration has 297,736 constraints; proof generation is 12.0 s, peak memory 3.8 GB, verification 290 ms, and the JSON proof is 806 B.
- Sampling decision: Table 8 uses seed-0 SWaT batches, vmax=1, umax=8, with 19,992 random index samples over 56 honest windows. At k=32, the honest acceptance rate is 98.51%, and replay and channel roll detection rates are both 99.8%.
- Adaptive exception: Table 8's projected batch has 0.68% violating rows and verifies successfully; therefore, a valid proof does not equal no poisoning. Full-shard zero rejection cannot replace the acceptance rate of sampled proofs.
Other Ablations and Analyses
- Coverage configurations: Table 7's narrow replay gate removal: FedAvg 22%, Median 35%, Norm clip 9%, Trimmed mean 8%, FLTrust 49%; the n values per row are 2, 3, 3, 3, 3.
- Failed combinations: Table 7's narrow, FoolsGold, channel roll gate removal is -202%, n=1; no separate mechanism explanation is given for that row.
- Sampling sizes: Table 8's k=16 honest acceptance rate is 99.41%, channel roll detection rate 93.5%, and replay detection rate 91.7%.
- Cost differences: Table 8's k=16 proof generation is 6.55 s, 2.3 GB, verification 300 ms; the main text correspondingly writes 2.4 GB and states verification cost is the same, but the table values differ.
- Preprocessing: Appendix A.1 reports that after removing AIT and correcting scaling, clean F1 goes from 0.27 to 0.756; this is a joint modification result and cannot be attributed to either change alone.
Figures 3, 5, and 7–9 are interpreted only through visible text annotations, captions, and tables; the converted text cannot support additional judgments about curve positions or bar heights.
What are some points that can be further explored?
The authors note that updates and batches are not yet bound, and joint adaptive attacks and physical applicability scope remain to be studied.
The authors list stronger adaptive attacks, proof statement boundaries, and cross-physical-system generalization as open problems. These issues should be read separately from the coverage facts of the existing experiments.
Limitations and Future Directions Noted by the Authors
- Compliant data can still poison: Section 6.4 explicitly states that compliant replay, Regime Splicing, and successfully projected batches can bypass admission; damage removal should be understood for covered attacks.
- Joint adaptive optimization: Section 6.4 lists simultaneous optimization of poisoning objectives within the physically feasible region and downstream aggregation evasion as a stronger threat, with its remaining poisoning capability still an open problem.
- Update binding: Section 6.4 states the proof only checks sampled rows of the committed batch and does not guarantee the submitted update was computed from that batch; Figure 10 leaves proof-of-gradient to future work.
- Arithmetic equivalence: Section 6.4 explicitly says strict equivalence between fixed-point invariants and floating-point constraints is only argued, not proven.
- Invariant privacy: Section 6.4 notes coefficients in the public circuit reveal part of the facility topology to the coordinator; privately evaluating invariant equations remains to be studied.
- Generalization scope: Section 6.4 lists thermal cycles, decoupled grid dynamics, and real operating facilities as future directions; Section 6.2 explicitly limits protection scope to physical relationships covered by instrumentation.
Experimental Coverage
- Records and topology: training grids use SWaT, WADI, BATADAL, Simulator; HAI is used as a negative control for invariant separation. Clients come from time slices of the same records (Table 3, Figure 4).
- Models and repeats: each condition uses the same class of reconstruction autoencoder; the main configuration runs 5 seeds; most main proportions in Table 7 have only 2 or 3 valid seeds, with some combinations at 0 or 1.
- Defenses and threats: SWaT compares seven aggregation rules, four data-space and four update-space attacks; the adaptive adversary keeps discrete actuators fixed (Figure 6, Section 3.3.1).
- Proof experiments: Table 8 uses seed-0 SWaT batches, comparing k=16, 32; sampling estimates are based on 56 honest windows and 19,992 samples, run on Apple M3 Pro hardware.
- Information reporting: Table 3 gives three rules for each column of WADI and BATADAL but no specific names; Table 7 does not report confidence intervals or statistical significance tests for removal proportions.
Summarize the main content of the paper
Physical admission adds data constraints to federated detection, but compliance proofs do not equal proof of no poisoning or proof of training provenance.
This is a study of physical admission defense for federated anomaly detection in water infrastructure. The authors address the poisoning-check problem from hidden training telemetry, combining invariant mining, pre-aggregation filtering, and zero-knowledge sampling proofs.
- Method highlights: extract actuator–flow coupling and tank mass balance from clean records, calibrate noise tolerance; training batches are checked for physical consistency before aggregation by update-space rules.
- Coverage results: SWaT wide, 9 rules cover 20 / 35 attacks, honest violation rate 0.36%; WADI, 7 rules cover 3 / 14 attacks (Table 4). The authors attribute the difference to quantifiable physical relationships.
- Defense results: SWaT wide FedAvg replay damage removal is 71%, n=2; FLTrust channel rolling removal is 54%, n=2 (Table 7). These percentages are damage-weighted results over valid seeds.
- Bypass boundaries: SWaT wide replay batches after projection are accepted 6 / 15; BATADAL 6 / 6 (Table 5). Section 5.1 also reports Regime Splicing passing the threshold; admission cannot be summarized as rejecting all forged data.
- Privacy verification: PA-FL Lite on SWaT wide, k=32, M3 Pro generates a proof in 12.0 s, verifies in 290 ms (Table 6); honest acceptance rate at the same sampling scale is 98.51% (Table 8).
- Authors' conclusions and scope: the authors consider data-space admission and update-space filtering complementary, with gains mainly from excluding non-compliant batches. They also note the proof is not yet bound to updates and batches, and protection scope is constrained by physical coverage.