[Paper Review] Untargeted Poisoning Attack Detection in Federated Learning via Behavior Attestation
This paper proposes attestedFL, a novel defense against untargeted poisoning attacks in federated learning that detects malicious workers by analyzing their training behavior over time through state persistence and behavioral attestation. By monitoring consistency in model updates using cosine similarity and error trends, attestedFL identifies and excludes unreliable nodes, significantly improving model accuracy and convergence speed under diverse attack scenarios, including continuous and colluding attacks.
Federated Learning (FL) is a paradigm in Machine Learning (ML) that addresses data privacy, security, access rights and access to heterogeneous information issues by training a global model using distributed nodes. Despite its advantages, there is an increased potential for cyberattacks on FL-based ML techniques that can undermine the benefits. Model-poisoning attacks on FL target the availability of the model. The adversarial objective is to disrupt the training. We propose attestedFL, a defense mechanism that monitors the training of individual nodes through state persistence in order to detect a malicious worker. A fine-grained assessment of the history of the worker permits the evaluation of its behavior in time and results in innovative detection strategies. We present three lines of defense that aim at assessing if the worker is reliable by observing if the node is really training, advancing towards a goal. Our defense exposes an attacker's malicious behavior and removes unreliable nodes from the aggregation process so that the FL process converge faster. Through extensive evaluations and against various adversarial settings, attestedFL increased the accuracy of the model between 12% to 58% under different scenarios such as attacks performed at different stages of convergence, attackers colluding and continuous attacks.
Motivation & Objective
- To address the growing threat of untargeted poisoning attacks in federated learning that undermine model convergence and performance.
- To detect malicious workers who deviate from legitimate training behavior without relying on bounded assumptions about the number of attackers.
- To improve the robustness and convergence speed of federated learning by removing unreliable nodes based on behavioral consistency.
- To provide a defense mechanism effective against sophisticated, adaptive attackers who may collude or vary attack timing.
- To enable real-time detection at each training iteration without requiring prior knowledge of attack patterns.
Proposed method
- Uses state persistence to maintain a sliding window of recent local model updates for each worker, enabling time-series behavioral analysis.
- Employs cosine similarity between consecutive local model updates to assess training consistency and detect anomalies.
- Monitors error trends across epochs to identify workers whose loss values deviate from expected training progress.
- Applies three detection lines: (1) distance-based update consistency, (2) cosine similarity of weight changes, and (3) error trend deviation.
- Integrates detection into the global aggregation process, removing suspicious workers at each round to improve convergence.
- Uses a lightweight sliding window to optimize storage and reduce computational overhead during training.
Experimental results
Research questions
- RQ1Can behavioral attestation through state persistence detect untargeted poisoning attacks in federated learning without prior assumptions on attacker count?
- RQ2How effective is attestedFL in maintaining model accuracy under continuous, colluding, or randomized poisoning attacks?
- RQ3Does monitoring training consistency via cosine similarity and error trends improve convergence speed and robustness?
- RQ4How does attestedFL perform under varying numbers of workers and different datasets like MNIST and CIFAR-10?
- RQ5Can the defense detect stealthy attackers who adapt their behavior to mimic legitimate training patterns?
Key findings
- attestedFL increased model accuracy across all tested federated learning settings, including MNIST and CIFAR-10 with 10 to 50 workers.
- The defense effectively detected malicious workers even under continuous attacks and collusion scenarios, improving convergence speed.
- attestedFL-1 and attestedFL-3 showed higher computational cost than attestedFL-2, but the overall overhead remained negligible when using deep learning models.
- With 50 workers in the MNIST scenario, attestedFL added a 2.8× runtime overhead per iteration, but this was considered acceptable due to the defense’s performance gains.
- The sliding window mechanism optimized storage by maintaining only the previous update per worker, enabling scalable behavior monitoring.
- The defense remained effective even against attack-aware adversaries who attempted to evade detection by varying attack timing or patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.