← Lab /AI/ML

Federated learning can identify attack campaigns from gradient geometry

FedIoC can recover cross-organizational attack campaign patterns using only gradient updates

AI/ML arXiv 4 Sep 2026 Method Prototype evidence

Published as “Federated Attack Campaign Detection via Contrastive Encoding of Threat Indicators in Gradient Updates”

Why it matters

Campaign attribution can be performed without sharing raw IoC, but the current encoding offers no accuracy gain over existing FL baselines, limiting immediate operational impact.

Summary

The server can recover attack-campaign cohorts by clustering client gradient directions, achieving up to 0.97 peak ARI on CTU-13, but the indicator-specific contrastive loss does not provide a measurable advantage over plain FedAvg or a label-only contrastive control. Detection performance (macro-F1) remains unchanged. Evidence comes from Table 1 where FedIoC’s ARI and F1 are statistically indistinguishable from baselines.

What they found 2

  1. Gradient geometry alone enables high-quality campaign recovery.

    “Gradient geometry recovers campaign cohorts, but the IoC encoding needs further investigation.”

  2. Indicator-weighted contrastive loss does not yield a separable gain over label-only contrastive learning.

    “the indicator-weighted objective therefore does not yet yield a gain separable from contrastive up-weighting of the malicious class;”

Caveats 4

  • FedIoC’s peak ARI (0.97) and mean ARI (0.85) are within run-to-run variance of FedAvg (0.97/0.80) and the label-only control (0.94/0.86), showing no clear benefit from the IoC-specific objective.
  • the indicator-weighted objective is not separable from a label-only control on the benchmark dataset
  • the contrastive signal thus composes unevenly with proximal and variance-reduction regularizers.
  • SCAFFOLD is moreover unstable in our E=1 regime (F1 0.36, high variance).

What’s new here 4

  • Encodes STIX threat indicators into federated gradient updates via a supervised contrastive loss.
  • Recovers campaign-level attribution without transmitting raw indicators.
  • Provides a modular framework where the gradient encoder can be swapped.
  • Applies cosine similarity clustering on gradient directions for cohort detection.