[Paper Review] A first look into the carbon footprint of federated learning
The paper presents the first quantitative CO2e emissions model for federated learning (FL), compares FL to centralized training, and shows FL can emit up to two orders of magnitude more carbon than centralized training depending on configuration, with some settings approaching centralization due to on-device energy savings.
Despite impressive results, deep learning-based technologies also raise severe privacy and environmental concerns induced by the training procedure often conducted in data centers. In response, alternatives to centralized training such as Federated Learning (FL) have emerged. Perhaps unexpectedly, FL is starting to be deployed at a global scale by companies that must adhere to new legal demands and policies originating from governments and social groups advocating for privacy protection. extit{However, the potential environmental impact related to FL remains unclear and unexplored. This paper offers the first-ever systematic study of the carbon footprint of FL.} First, we propose a rigorous model to quantify the carbon footprint, hence facilitating the investigation of the relationship between FL design and carbon emissions. Then, we compare the carbon footprint of FL to traditional centralized learning. Our findings show that, depending on the configuration, FL can emit up to two order of magnitude more carbon than centralized machine learning. However, in certain settings, it can be comparable to centralized learning due to the reduced energy consumption of embedded devices. We performed extensive experiments across different types of datasets, settings and various deep learning models with FL. Finally, we highlight and connect the reported results to the future challenges and trends in FL to reduce its environmental impact, including algorithms efficiency, hardware capabilities, and stronger industry transparency.
Motivation & Objective
- Motivate the need to assess environmental impact of FL alongside accuracy and efficiency.
- Propose a rigorous analytical model to estimate CO2e emissions from FL training and communication.
- Quantify how FL design choices affect carbon footprint across multiple tasks and datasets.
- Compare FL emissions to centralized training under realistic hardware and network settings.
- Outline a roadmap for reducing FL's environmental impact through algorithmic, hardware, and transparency improvements.
Proposed method
- Develop an analytical model to estimate FL energy consumption including per-client training energy and WAN communication energy (Equations 1 and 3).
- Convert energy consumption into CO2e emissions using location-specific emission factors (Equations 4 and 5).
- Conduct extensive experiments across tasks (image classification and speech) using real FL hardware (edge devices) and centralized servers, with IID and non-IID partitions.
- Investigate the impact of hyperparameters (e.g., number of local epochs, number of rounds, FedAVG vs FedADAM) on total emissions.
- Compare FL versus centralized training in terms of energy use and emissions under varied settings (datasets: CIFAR-10, FEMNIST, ImageNet; speech datasets).
- Analyze non-IID vs IID data distributions and discuss implications for carbon efficiency and convergence.
Experimental results
Research questions
- RQ1What is the first quantitative estimate of the CO2e emissions for federated learning under realistic hardware and network conditions?
- RQ2How do FL design choices (local epochs, aggregation strategy, IID/non-IID data, number of rounds) influence total energy use and CO2e emissions compared to centralized training?
- RQ3How does the FL WAN communication energy contribute to the overall carbon footprint relative to local training energy?
- RQ4Under what configurations can FL emissions be comparable to or substantially exceed centralized training, and why?
- RQ5What directions are suggested to reduce FL's carbon footprint (algorithms, hardware, transparency)?
Key findings
- FL emissions depend on many hyper-parameters; WAN communication can account for 0.7% to over 96% of total emissions.
- Compared to centralized training, FL can emit from 72% to hundreds of times more carbon in different tasks and settings.
- In some settings with embedded devices and energy-efficient local compute, FL emissions can be comparable to centralized training due to reduced energy use at the device level.
- Across tasks, centralized training generally consumes less energy than FL for image classification tasks like CIFAR-10 and ImageNet, while results vary by dataset and configuration.
- Non-IID partitions often increase total energy consumption and rounds needed, influencing emissions.
- The study provides a roadmap focusing on algorithmic efficiency, hardware capabilities, and industry transparency to reduce FL environmental impact.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.