Manuscript Offprint

arXiv:2608.23952

STAIN-FL: Stealthy Targeted Attack Injection with Contextual Triggers in Federated Learning

Ashlinder Kaur, Purnima Murali Mohan, Zengxiang Li, Tram Truong-Huu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Federated video anomaly detection trains model collaboratively without sharing raw surveillance footage, but limited server-side visibility lets compromised clients to inject backdoor via malicious updates. This paper introduces STAIN-FL, a stealthy targeted backdoor attack injection framework that uses naturally occurring surveillance conditions, including low-light scenes, indoor settings, and crowd density, as contextual triggers. STAIN-FL combines anomaly-to-benign label manipulation with gradient masking over least-updated coordinates to preserve clean accuracy while inducing trigger-conditioned misclassification. We evaluate STAIN-FL on UCF-Crime using 1024-dimensional I3D features in a non-IID four-client multi-agency setting, comparing FedAvg and FedProx under sparse and continuous attacks. Results show that sparse attacks have low-detectability, operationally significant attacks rather than high-intensity attacks: they keep the mean clean-accuracy drop below 2%, yet still misclassify more than half of triggered anomalies at peak backdoor accuracy under FedAvg (56.7%) and FedProx (54.2%). Under FedAvg, the sparse backdoor remains above the 25% backdoor-accuracy threshold for an average of 336 post-attack rounds, highlighting the persistence risk of contextually triggered attacks in surveillance systems.

KEYWORDS

Federated learning, backdoor attacks, video anomaly detection, contextual triggers, non-IID learning

ACM Reference Format:

Ashlinder Kaur, Purnima Murali Mohan, Zengxiang Li, and Tram Truong-Huu. 2026. STAIN-FL: Stealthy Targeted Attack Injection with Contextual Triggers in Federated Learning. In Proceedings of Joint Workshop on Federated Learning for Multi-agent Systems and Data Mining (FedKDD/FedMAS 2026). ACM, New York, NY, USA, 7 pages.

Purnima Murali Mohan

Singapore Institute of Technology (SIT)

Singapore

purnima.mohan@singaporetech.edu.sg

Tram Truong-Huu

Singapore Institute of Technology (SIT)

Singapore

truonghuu.tram@singaporetech.edu.sg