Fair Client Selection and Encrypted Aggregation: A Federated Learning Framework for Intrusion Detection in Resource-Constrained Networks | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Fair Client Selection and Encrypted Aggregation: A Federated Learning Framework for Intrusion Detection in Resource-Constrained Networks Rokaya Akter, Bian Naizheng, Irshad Ullah, Sudhanshu Singh, Abhishank Singh, and 1 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-6331407/v1 This work is licensed under a CC BY 4.0 License Status: Under Review Version 1 posted 9 You are reading this latest preprint version Abstract With the increasing deployment of resource-constrained networks, the need for secure and efficient intrusion detection is more pressing than ever, given the challenges posed by the heterogeneity and limited resources of client devices. Federated learning (FL) offers a promising decentralized approach, yet it faces critical issues such as privacy risks, class imbalance, and client diversity, hindering reliable global model development. To address these challenges, we introduce an adaptive federated learning framework designed to enhance security, balance data distribution, and optimize intrusion detection in distributed environments. Our framework ensures privacy preservation through encrypted model training using Fully Homomorphic Encryption (FHE), mitigates data imbalance by applying the Synthetic Minority Over-sampling Technique (SMOTE) based on the client selection informed by the highest and lowest Earth Mover's Distance (EMD) scores, thereby improving model fairness by strategically balancing client representation. By integrating these techniques, it effectively overcomes key obstacles in federated learning, transforming it into a practical and robust cybersecurity solution. We validate our approach using CICDDoS2019 and UNSW-NB15, two benchmark datasets known for their complex attack scenarios and diverse network traffic. The results are compelling, our method outperforms traditional methods across key metrics, achieving precision, recall, F1-score, MSE, and FAR of 0.9699, 0.9818, 0.9741, 0.0464, and 0.0619 respectively on the UNSW-NB15 dataset, and 0.8127, 0.9886, 0.8963, 0.3984, and 0.1889 respectively on the CICDDoS2019 dataset, even in resource-constrained and privacy-constrained environments. Our findings demonstrate that adaptive learning, intelligent client selection, and privacy-aware model aggregation are essential for future-proofing cybersecurity in distributed networks. Federated Learning Homomorphic Encryption Intrusion Detection Privacy Scalability Cybersecurity Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Under Review Version 1 posted Editorial decision: Revision requested 16 Sep, 2025 Reviews received at journal 15 Jul, 2025 Reviews received at journal 09 Jul, 2025 Reviewers agreed at journal 08 Jul, 2025 Reviewers agreed at journal 10 Jun, 2025 Reviewers invited by journal 26 May, 2025 Editor assigned by journal 01 Apr, 2025 Submission checks completed at journal 01 Apr, 2025 First submitted to journal 28 Mar, 2025 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-6331407","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":462265044,"identity":"e58a84a5-32cf-4180-bbd0-ff93f14dd6a9","order_by":0,"name":"Rokaya Akter","email":"","orcid":"","institution":"Hunan University","correspondingAuthor":false,"prefix":"","firstName":"Rokaya","middleName":"","lastName":"Akter","suffix":""},{"id":462265046,"identity":"ff887afc-a4e1-436a-9185-7a0368c267a4","order_by":1,"name":"Bian Naizheng","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAsElEQVRIiWNgGAWjYDACCcYGBoaKAxA2CVrOkKYFiBnbSNFiLt3c+Llw3p08gwPMB2/zMNjlEdRiOedgs/TMbc+KDQ6wJVvzMCQXE9RicCOxQZp32+HEDQd4zKR5GA4kNhChpfk37xyQFv5vRGtpk+ZtANvCRqSWOwfbrHmOHU6ceZjN2HKOQTIRWm63P77NU3M4se9488MbbyrsCGtBAGawCcSrHwWjYBSMglGABwAAL0w/2bCjexUAAAAASUVORK5CYII=","orcid":"","institution":"Hunan University","correspondingAuthor":true,"prefix":"","firstName":"Bian","middleName":"","lastName":"Naizheng","suffix":""},{"id":462265047,"identity":"3d37028c-91af-4434-a7d9-099d39a3ddc8","order_by":2,"name":"Irshad Ullah","email":"","orcid":"","institution":"Central South University","correspondingAuthor":false,"prefix":"","firstName":"Irshad","middleName":"","lastName":"Ullah","suffix":""},{"id":462265048,"identity":"c4e4cf8d-a6f8-426f-8341-08a60b0d480b","order_by":3,"name":"Sudhanshu Singh","email":"","orcid":"","institution":"Hunan University","correspondingAuthor":false,"prefix":"","firstName":"Sudhanshu","middleName":"","lastName":"Singh","suffix":""},{"id":462265049,"identity":"3c2a41c9-5e41-4017-84fc-806b87201d4c","order_by":4,"name":"Abhishank Singh","email":"","orcid":"","institution":"Hunan University","correspondingAuthor":false,"prefix":"","firstName":"Abhishank","middleName":"","lastName":"Singh","suffix":""},{"id":462265051,"identity":"4658450f-cd2f-4c49-ad85-91b11edf07d5","order_by":5,"name":"Mussawe Iqbal","email":"","orcid":"","institution":"Khushal Khan Khattak University Karak","correspondingAuthor":false,"prefix":"","firstName":"Mussawe","middleName":"","lastName":"Iqbal","suffix":""}],"badges":[],"createdAt":"2025-03-29 02:23:04","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-6331407/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-6331407/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":83569735,"identity":"d8d20ad8-c234-498e-a100-b96b140906ec","added_by":"auto","created_at":"2025-05-28 16:12:27","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1894108,"visible":true,"origin":"","legend":"","description":"","filename":"SpringerNatureLaTeXTemplate.pdf","url":"https://assets-eu.researchsquare.com/files/rs-6331407/v1_covered_3b779368-0cde-4770-81e7-a67fe369d6d9.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Fair Client Selection and Encrypted Aggregation: A Federated Learning Framework for Intrusion Detection in Resource-Constrained Networks","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":true,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"cluster-computing","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"","sideBox":"Learn more about [Cluster Computing](https://www.springer.com/journal/10586)","snPcode":"10586","submissionUrl":"https://submission.nature.com/new-submission/10586/3","title":"Cluster Computing","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false},"keywords":"Federated Learning, Homomorphic Encryption, Intrusion Detection, Privacy, Scalability, Cybersecurity","lastPublishedDoi":"10.21203/rs.3.rs-6331407/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-6331407/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"With the increasing deployment of resource-constrained networks, the need for secure and efficient intrusion detection is more pressing than ever, given the challenges posed by the heterogeneity and limited resources of client devices. Federated learning (FL) offers a promising decentralized approach, yet it faces critical issues such as privacy risks, class imbalance, and client diversity, hindering reliable global model development. To address these challenges, we introduce an adaptive federated learning framework designed to enhance security, balance data distribution, and optimize intrusion detection in distributed environments. Our framework ensures privacy preservation through encrypted model training using Fully Homomorphic Encryption (FHE), mitigates data imbalance by applying the Synthetic Minority Over-sampling Technique (SMOTE) based on the client selection informed by the highest and lowest Earth Mover's Distance (EMD) scores, thereby improving model fairness by strategically balancing client representation. By integrating these techniques, it effectively overcomes key obstacles in federated learning, transforming it into a practical and robust cybersecurity solution. We validate our approach using CICDDoS2019 and UNSW-NB15, two benchmark datasets known for their complex attack scenarios and diverse network traffic. The results are compelling, our method outperforms traditional methods across key metrics, achieving precision, recall, F1-score, MSE, and FAR of 0.9699, 0.9818, 0.9741, 0.0464, and 0.0619 respectively on the UNSW-NB15 dataset, and 0.8127, 0.9886, 0.8963, 0.3984, and 0.1889 respectively on the CICDDoS2019 dataset, even in resource-constrained and privacy-constrained environments. Our findings demonstrate that adaptive learning, intelligent client selection, and privacy-aware model aggregation are essential for future-proofing cybersecurity in distributed networks.","manuscriptTitle":"Fair Client Selection and Encrypted Aggregation: A Federated Learning Framework for Intrusion Detection in Resource-Constrained Networks","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-05-28 16:04:19","doi":"10.21203/rs.3.rs-6331407/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2025-09-16T18:08:25+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-07-15T11:03:15+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-07-09T20:06:15+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"180039627793602303710167418298440587141","date":"2025-07-08T06:53:55+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"323935171251739361165790480402698370666","date":"2025-06-10T11:06:11+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-05-26T22:36:08+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2025-04-01T21:12:28+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-04-01T15:01:29+00:00","index":"","fulltext":""},{"type":"submitted","content":"Cluster Computing","date":"2025-03-29T02:07:46+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"cluster-computing","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"","sideBox":"Learn more about [Cluster Computing](https://www.springer.com/journal/10586)","snPcode":"10586","submissionUrl":"https://submission.nature.com/new-submission/10586/3","title":"Cluster Computing","twitterHandle":"","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"stoa","reportingPortfolio":"Springer Hybrid","inReviewEnabled":true,"inReviewRevisionsEnabled":false}}],"origin":"","ownerIdentity":"35b5aa2e-e5de-4dc8-9656-278e1c86cd93","owner":[],"postedDate":"May 28th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"under-review","subjectAreas":[],"tags":[],"updatedAt":"2025-12-25T16:08:35+00:00","versionOfRecord":[],"versionCreatedAt":"2025-05-28 16:04:19","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-6331407","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-6331407","identity":"rs-6331407","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.