Skip to content

feat: add online FLDetector defense - #26

Merged
maligulzar merged 1 commit into
feat/before-round-client-selectionfrom
feat/fldetector-online
Sep 17, 2026
Merged

maligulzar merged 1 commit into
feat/before-round-client-selectionfrom
feat/fldetector-online

Conversation

@soomro-abd

Copy link
Copy Markdown
Collaborator

Summary

  • Add an online FLDetector defense using history-based L-BFGS predictions, rolling inconsistency scores, and gap-statistic clustering.
  • Filter detected clients before aggregation and exclude them from later rounds through before_round.
  • Validate stable client IDs and defense ordering; preserve server-side detection metrics in Flower.
  • This online variant does not restart training from the initial model.

Verification

  • Full pytest suite passed (85 tests).
  • mkdocs build --strict passed on the committed checkout.
  • Diff whitespace check passed.

@soomro-abd
soomro-abd added this pull request to stack #27 September 17, 2026 16:18
@maligulzar
maligulzar merged commit 4507f27 into feat/model-replacement-attack Sep 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants