Litcius/Paper detail

AspectFL: Aspect-Oriented Programming for Trustworthy and Compliant Federated Learning Systems

Anas Alsobeh, Amani Shatnawi, Aws A. Magableh

2025Information8 citationsDOIOpen Access PDF

Abstract

Federated learning (FL) has emerged as a paradigm-shifting approach for collaborative machine learning (ML) while preserving data privacy. However, existing FL frameworks face significant challenges in ensuring trustworthiness, regulatory compliance, and security across heterogeneous institutional environments. We introduce AspectFL, a novel aspect-oriented programming (AOP) framework that seamlessly integrates trust, compliance, and security concerns into FL systems through cross-cutting aspect weaving. Our framework implements four core aspects: FAIR (Findability, Accessibility, Interoperability, Reusability) compliance, security threat detection and mitigation, provenance tracking, and institutional policy enforcement. AspectFL employs a sophisticated aspect weaver that intercepts FL execution at critical joinpoints, enabling dynamic policy enforcement and real-time compliance monitoring without modifying core learning algorithms. We demonstrate AspectFL’s effectiveness through experiments on healthcare and financial datasets, including a detailed and reproducible evaluation on the real-world MIMIC-III dataset. Our results, reported with 95% confidence intervals and validated with appropriate statistical tests, show significant improvements in model performance, with a 4.52% and 0.90% increase in Area Under the Curve (AUC) for the healthcare and financial scenarios, respectively. Furthermore, we present a detailed ablation study, a comparative benchmark against existing FL frameworks, and an empirical scalability analysis, demonstrating the practical viability of our approach. AspectFL achieves high FAIR compliance scores (0.762), robust security (0.798 security score), and consistent policy adherence (over 84%), establishing a new standard for trustworthy FL.

Topics & Concepts

Computer scienceScalabilityBenchmark (surveying)EnforcementComputer securityTrusted ComputingWorkloadHealth careSecurity policyAuthentication (law)TrustworthinessComputer security modelData securityEmpirical researchMachine learningCore (optical fiber)Scheme (mathematics)Access controlBaseline (sea)Stability (learning theory)Reinforcement learningServerData breachInformation privacyData scienceResilience (materials science)Software deploymentSoftware security assuranceTrusted computing baseProgramming paradigmFace (sociological concept)Best practiceArtificial intelligenceDatabaseSoftware engineeringSecurity analysisPrivacy-Preserving Technologies in DataScientific Computing and Data ManagementAdversarial Robustness in Machine Learning