A Federated Cascade Learning Approach for Efficient Occupancy Detection in Smart Buildings

preprint OA: closed
Full text JSON View at publisher
Full text 12,864 characters · extracted from preprint-html · click to expand
A Federated Cascade Learning Approach for Efficient Occupancy Detection in Smart Buildings | 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 Article A Federated Cascade Learning Approach for Efficient Occupancy Detection in Smart Buildings Mohamed Rafik Aymene Berkani, Ammar Chouchane, Yassine Himeur, and 5 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7441685/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Occupancy detection plays a pivotal role in optimizing energy consumption, enhancing occupant comfort, and enabling intelligent decision-making in smart building environments. While traditional centralized learning methods often compromise user privacy and scalability, federated learning (FL) offers a promising privacy-preserving alternative. In this study, we propose Federated Cascade Learning with Long Short-Term Memory and Attention (FCL-LSTMA), a novel decentralized architecture that synergistically combines FL and cascade learning to enable accurate and efficient occupancy detection across distributed environments. The FCL-LSTMA framework operates through a two-stage training process: initially, Block B1 leverages 1D convolution, batch normalization, and a parallel LSTM layer for foundational feature learning. Once stabilized, the block is frozen and extended to Block B2, which incorporates attention mechanisms and an additional LSTM layer to refine temporal feature extraction. This progressive training ensures improved stability, model depth, and generalization without compromising data privacy. Experimental results on four benchmark datasets demonstrate the superiority of the proposed framework. FCL-LSTMA achieves outstanding accuracy for binary occupancy detection: 99.99% on the Living Room dataset, 98.95% on the UCI Occupancy Detection dataset, 99.95% on both the UCI Room Occupancy Estimation and IEQ datasets. For multi-class tasks, the model achieves 99.98% and 99.95% on the Living Room and UCI Room Occupancy Estimation datasets, respectively. Furthermore, it demonstrates computational efficiency with inference times ranging from 0.2028 to 0.562 milliseconds and memory usage between 0.17 MB and 0.49 MB. These results confirm the robustness, scalability, and privacy-preserving capabilities of FCL-LSTMA, making it a compelling solution for real-time occupancy detection in smart building systems. Physical sciences/Engineering Physical sciences/Mathematics and computing Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted 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-7441685","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":515618845,"identity":"939a0d1b-e101-4dd9-8656-08dc745807ef","order_by":0,"name":"Mohamed Rafik Aymene Berkani","email":"","orcid":"","institution":"University Yahia Fares of Medea","correspondingAuthor":false,"prefix":"","firstName":"Mohamed","middleName":"Rafik Aymene","lastName":"Berkani","suffix":""},{"id":515618846,"identity":"e9f52f27-c7df-4323-863a-1ec780945d1d","order_by":1,"name":"Ammar Chouchane","email":"","orcid":"","institution":"University Center of Barika","correspondingAuthor":false,"prefix":"","firstName":"Ammar","middleName":"","lastName":"Chouchane","suffix":""},{"id":515618847,"identity":"c35648fd-4858-4f32-aeba-04acfcbb3696","order_by":2,"name":"Yassine Himeur","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAwElEQVRIiWNgGAWjYDACCcYGECXHwJBAohZjUrRAqMQGorUY3G5u3fCx7V76huMJjB9+MNjJEdZy52DbzZltxbkbzjxgluxhSDYmrOVGYttt3raE3A03EhikGRiYgS4kRsvftoR0gxsJzL8ZGOrridPC2JaQANTCBrTlcAJBh0kCtdzsOZdgOPPMwzbLHoPjhgRt4buR/uzGj7IEeb7jyYdv/Kiolidoi8IBOBMUpwYENTAwyBN0xygYBaNgFIwCACexQp0fK+BoAAAAAElFTkSuQmCC","orcid":"","institution":"University of Dubai","correspondingAuthor":true,"prefix":"","firstName":"Yassine","middleName":"","lastName":"Himeur","suffix":""},{"id":515618848,"identity":"c5ea8bc1-2a40-4681-a44a-73ac5f61f4ba","order_by":3,"name":"Ali Teta","email":"","orcid":"","institution":"Ziane Achour University of Djelfa","correspondingAuthor":false,"prefix":"","firstName":"Ali","middleName":"","lastName":"Teta","suffix":""},{"id":515618849,"identity":"4285ac32-d885-4172-a0c3-e27985c7e2c0","order_by":4,"name":"El Ouanas Belabbaci","email":"","orcid":"","institution":"University of Béjaïa","correspondingAuthor":false,"prefix":"","firstName":"El","middleName":"Ouanas","lastName":"Belabbaci","suffix":""},{"id":515618850,"identity":"bcb17399-3290-4009-a360-d0e6b0afff3d","order_by":5,"name":"Abdelmalik Ouamane","email":"","orcid":"","institution":"University of Biskra","correspondingAuthor":false,"prefix":"","firstName":"Abdelmalik","middleName":"","lastName":"Ouamane","suffix":""},{"id":515618851,"identity":"e7d443bc-b3a4-47bc-8885-e40cf03fa086","order_by":6,"name":"Shadi Atalla","email":"","orcid":"","institution":"University of Dubai","correspondingAuthor":false,"prefix":"","firstName":"Shadi","middleName":"","lastName":"Atalla","suffix":""},{"id":515618852,"identity":"6552e8e0-a593-490b-85f5-12537971baa9","order_by":7,"name":"Wathiq Mansoor","email":"","orcid":"","institution":"University of Dubai","correspondingAuthor":false,"prefix":"","firstName":"Wathiq","middleName":"","lastName":"Mansoor","suffix":""}],"badges":[],"createdAt":"2025-08-23 13:53:15","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7441685/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7441685/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":98628605,"identity":"6a0fb399-9be9-41bc-b3fa-d2e8c7c0dbba","added_by":"auto","created_at":"2025-12-19 17:11:50","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":19644096,"visible":true,"origin":"","legend":"","description":"","filename":"main.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7441685/v1_covered_b5ca1bc3-ec0f-42bf-bc52-548dac4089bd.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"A Federated Cascade Learning Approach for Efficient Occupancy Detection in Smart Buildings","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"","lastPublishedDoi":"10.21203/rs.3.rs-7441685/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7441685/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"Occupancy detection plays a pivotal role in optimizing energy consumption, enhancing occupant comfort, and enabling intelligent decision-making in smart building environments. While traditional centralized learning methods often compromise user privacy and scalability, federated learning (FL) offers a promising privacy-preserving alternative. In this study, we propose Federated Cascade Learning with Long Short-Term Memory and Attention (FCL-LSTMA), a novel decentralized architecture that synergistically combines FL and cascade learning to enable accurate and efficient occupancy detection across distributed environments. The FCL-LSTMA framework operates through a two-stage training process: initially, Block B1 leverages 1D convolution, batch normalization, and a parallel LSTM layer for foundational feature learning. Once stabilized, the block is frozen and extended to Block B2, which incorporates attention mechanisms and an additional LSTM layer to refine temporal feature extraction. This progressive training ensures improved stability, model depth, and generalization without compromising data privacy. Experimental results on four benchmark datasets demonstrate the superiority of the proposed framework. FCL-LSTMA achieves outstanding accuracy for binary occupancy detection: 99.99% on the Living Room dataset, 98.95% on the UCI Occupancy Detection dataset, 99.95% on both the UCI Room Occupancy Estimation and IEQ datasets. For multi-class tasks, the model achieves 99.98% and 99.95% on the Living Room and UCI Room Occupancy Estimation datasets, respectively. Furthermore, it demonstrates computational efficiency with inference times ranging from 0.2028 to 0.562 milliseconds and memory usage between 0.17 MB and 0.49 MB. These results confirm the robustness, scalability, and privacy-preserving capabilities of FCL-LSTMA, making it a compelling solution for real-time occupancy detection in smart building systems.","manuscriptTitle":"A Federated Cascade Learning Approach for Efficient Occupancy Detection in Smart Buildings","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-09-17 06:11:44","doi":"10.21203/rs.3.rs-7441685/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"e5afdcaa-c700-49b7-ae97-bc5176d81c8e","owner":[],"postedDate":"September 17th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":54772060,"name":"Physical sciences/Engineering"},{"id":54772061,"name":"Physical sciences/Mathematics and computing"}],"tags":[],"updatedAt":"2025-12-19T14:24:08+00:00","versionOfRecord":[],"versionCreatedAt":"2025-09-17 06:11:44","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7441685","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7441685","identity":"rs-7441685","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.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00