Drew, SteveWang, XinAbbasi, Ali2024-08-012024-08-012024-07-23Abbasi, A. (2024). Carbon-aware federated learning with model size adaptation (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.https://hdl.handle.net/1880/119307Developing machine learning models heavily depends on the availability of data. Establishing a responsible data economy and safeguarding data ownership are essential to facilitate learning from distinct, heterogeneous data sources without centralizing data. Federated learning (FL) provides a collaborative framework that enables model development using data from geographically distributed clients, each characterized by unique carbon footprints associated with varying energy sources which can lead to significant carbon emissions when learning from these decentralized data from edge clients like smart phones and IoT devices. This variability in carbon intensity poses a substantial challenge in striving for environmentally sustainable model training with minimal carbon emissions. This thesis introduces innovative carbon-aware strategies within FL to mitigate total carbon emissions through strategic client engagement and resource allocation. We propose two distinct methods: (1) clustering clients based on data distribution and offsetting high carbon emissions with those exhibiting lower emissions, implemented through a client similarity matrix (FedGreenCS), and (2) adapting model sizes based on the carbon intensity of client locations (FedGreen), employing model compression techniques. Our results affirm the effectiveness of both approaches in harmonizing model performance with environmental impact, underscoring their potential as sustainable solutions in distributed learning scenarios. We conduct a theoretical analysis of the trade-offs between carbon emissions and convergence accuracy, taking into account the carbon intensity disparities across different regions to optimally select parameters. Empirical studies reveal that model size adaptation significantly reduces the carbon footprints of FL, surpassing contemporary methods while maintaining competitive accuracy. This research also highlights the viability of client selection and model adaptation as sustainable strategies in distributed learning contexts.enUniversity of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.federated learningcarbon emissionmodel compressionordered dropoutArtificial IntelligenceEngineering--Electronics and ElectricalComputer ScienceCarbon-aware Federated Learning with Model Size Adaptationmaster thesis