Abstract:Backdoor attacks have emerged as a critical threat to the security of federated learning models.While existing defense mechanisms,such as robust aggregation and anomaly detection,offer some mitigation,they still suffer from issues like high false positive rates and significant computational overhead.To address these propoblems,a novel federated learning backdoor defense method is propoesd,by integrating dynamic pruning with gradient-constrained fine-tuning.The method first constructs a sensitivity score by combining neuron activation intensity and weight deviation,enabling precise identification of potential backdoor pathways.Targeted pruning is then applied to critical neural network layers to purify the parameter space.Subsequently,during the client-side local fine-tuning phase,dual constraints on both gradient direction and magnitude are introduced to suppress malicious clients from reconstructing backdoor features through anomalous updates.Extensive experiments conducted on three benchmark datasets (MNIST, Fashion-MNIST,and CIFAR-10)demonstrate that,while largely preserving the primary task performance(with the average drop in primary task accuracy being less than 3%),the proposed method can significantly reduce the success rate of backdoor attacks to the level below 10%.For instance,the Backdoor Attack success rate(BA)of BadNets attacks on CIFAR-10 is reduced from 83.96% to 6.28%,and the BA on MNIST is reduced from 100% to 5.31%.It exhibits strong defensive efficacy and model robustness, providing a viable solution for building lightweight federated learning security frameworks that do not rely on trusted root data.