Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.2%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: RanGreidi
- Language: Python
- Default Branch: develop
- Size: 167 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
FLARE-Federated-Learning-with-Accumulated-Regularized-Embeddings
This repository is our simulation for __
Table of Contents
Abstract
Federated Learning (FL) is an emerging paradigm that allows for decentralized machine learning (ML), where multiple models are collaboratively trained in a privacy-preserving manner. It has attracted much interest due to the significant advantages it brings to training deep neural network (DNN) models, particularly in terms of prioritizing privacy and enhancing the efficiency of communication resources when local data is stored at the edge devices. However, since communications and computation resources are limited, training DNN models in FL systems face challenges such as elevated computational and communication costs in complex tasks.
Sparse training schemes gain increasing attention in order to scale down the dimensionality of each client (i.e., node) transmission. Specifically, sparsification with error correction methods is a promising technique, where only important updates are sent to the parameter server (PS) and the rest are accumulated locally. While error correction methods have shown to achieve a significant sparsification level of the client-to-PS message without harming convergence, pushing sparsity further remains unresolved due to the staleness effect. In this paper, we propose a novel algorithm, dubbed Federated Learning with Accumulated Regularized Embeddings (FLARE), to overcome this challenge. FLARE presents a novel sparse training approach via accumulated pulling of the updated models with regularization on the embeddings in the FL process, providing a powerful solution to the staleness effect, and pushing sparsity to an exceptional level. The performance of FLARE is validated through extensive experiments on diverse and complex models, achieving a remarkable sparsity level (10 times and more beyond the current state-of-the-art) along with significantly improved accuracy. Additionally, an open-source software package has been developed for the benefit of researchers and developers in related fields.
Directory Structure
Here's an overview of the project's directory structure:
data_handler/: Raw and processed data files.main/: main script for experiments grid runs.src/: Python source code for federtaed training with FLARE algorithm and evaluation of Error Correction.utils/: utilities functions and congifs.requirements.txt: List of required Python packages.README.md: Documentation providing an overview of the project.
Special Notes
Modules
Setup and Dependencies
To set up the project environment and follow these steps:
- Clone the repository:
```bash git clone https://github.com/RanGreidi/FLARE.git
cd repo and edit main.py with the desired FLARE paramerters (for example, set Sparsity as 0.001%) .
run main.py.
main scripts iterates on experiments, each experiments runs on it's paramerters.
results are created at results directory for each experiment.
Reconstruct Paper Results
To Reconstruct FLAER paper results, follow these steps:
- Clone the repository:
```bash git clone https://github.com/RanGreidi/FLARE.git
cd to repo and cd into paperexperiments _reconstruction/CNN or paperexperiments _reconstruction/VGG
run main.py
Results

## docker file included
Owner
- Login: RanGreidi
- Kind: user
- Website: https://www.linkedin.com/in/ran-greidi-4127401b4/
- Repositories: 1
- Profile: https://github.com/RanGreidi
Electrical Engineering Student, Ben-Gurion University.
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Greidi" given-names: "Ran" orcid: "https://orcid.org/0000-0000-0000-0000" - family-names: "Cohen" given-names: "Koby" orcid: "https://orcid.org/0000-0000-0000-0000" title: "FLARE: An open source software of FLARE" doi: 10.5281/zenodo.10207395 date-released: 2023-11-26 url: "https://github.com/RanGreidi/FLARE"