In plain words
The paper introduces Class-Competence Aggregation, a method for combining intrusion-detection models trained across separate clients. When one client has nearly all examples of an attack, the others can unintentionally push the shared model’s detector for that attack in the wrong direction.
CCA gives more weight to clients that score well on each attack class, while combining the model’s shared layers in the usual way.
In one simulated five-client test, it recovered detection of the concentrated LDAP attack class where standard averaging scored zero F1, a score combining correct detections with how many actual cases are caught.
The research
For intrusion detection, a model that misses an attack class concentrated at one sensor can look acceptable overall while failing on that class.
This result changes the expectation that averaging client models will preserve every class: how a server combines class-specific output parameters can determine whether a concentrated attack remains detectable in the tested federation.
Class-Competence Aggregation routes each class’s output parameters toward clients with stronger local validation F1, while leaving shared hidden layers under size-weighted averaging.
In the five-client CIC-DDoS2019 evaluation, the full CNN-LSTM CCA configuration reached 91.64 ± 0.57% macro F1, versus 53.16 ± 8.29% for FedAvg. Macro F1 gives each class equal weight and averages F1 scores, which combine precision (the share of predicted cases that are correct) and recall (the share of actual cases detected).
The full configurations differ in training procedure, so a separate comparison added CCA to FLAD plus class-weighted loss.
Across three seeds, that addition raised LDAP F1 from zero to 84.83 ± 1.65% and macro F1 from 71.46 ± 3.25% to 91.46 ± 1.16%. This supports the view that class-specific output aggregation addresses a bottleneck in that training chain.
The main results come from simulated federations and three fixed training seeds, which the authors say provide limited statistical power. CCA also relies on honest client-reported F1 scores, and results vary by architecture and class.
What the evidence shows
- A concentrated class can collapse
Class-Competence Aggregation (CCA) is a federated method for combining multiclass intrusion-detection models. The problem it targets arises when an attack class is concentrated at one client.
In the paper’s CIC-DDoS2019 partition, clients without LDAP examples still train an LDAP output neuron; training on other classes pushes that neuron toward suppressing LDAP. Dataset-size-weighted averaging can therefore let those clients overwhelm the LDAP specialist.
- Change aggregation where failure occurs
CCA weights each class’s output parameters using clients’ locally measured validation F1 for that class. F1 combines precision, the share of predicted cases that are correct, and recall, the share of actual cases detected.
It leaves the model’s shared hidden layers under standard dataset-size-weighted FedAvg. The method’s design follows the proposed diagnosis: route the class-specific output parameters toward clients that show competence on that class, while retaining the usual aggregation for parameters shared across classes.
- Full method recovers LDAP
The full CCA configuration performed much better than FedAvg on this test, including recovering LDAP. Macro F1, the equal-weight average across classes of a score combining precision and recall, also rose.
Because the configurations differ in their training procedures, this comparison alone cannot isolate CCA’s effect; the targeted comparison below is more informative.
- A targeted comparison identifies CCA
In the targeted CNN-LSTM comparison, adding CCA to FLAD plus class-weighted loss raised LDAP F1 from 0.00 ± 0.00% to 84.83 ± 1.65%. F1 combines precision, the share of predicted cases that are correct, and recall, the share of actual cases detected.
Macro F1, the equal-weight average of that score across classes, rose from 71.46 ± 3.25% to 91.46 ± 1.16%. This supports the interpretation that output-layer aggregation was a key bottleneck in that tested chain.
- Transfer depends on model and class
The CICIDS2017 replication found a similar gain for the CNN-LSTM, but the MLP’s macro F1 gain was smaller, and it failed to recover FTP-Patator in every tested configuration. The authors also report only three fixed seeds and assume clients report honest competence scores.
The findings support CCA in the tested simulated partitions, with results bounded by model, class, and reporting trust.
Deep
- Original paper authors
- Tapu Datta, Hafiz Imtiaz
- Submitted to arXiv
- License
- arXiv non-exclusive