Research Libary for Federated Learing Loss Landscapes
Project description
Fedland: Loss Landscapes in Federated Learning
Summary:
Loss landscapes in the federated learning [1] setting are relatively more complex and often fragmented as compared to the centralized setting, owing to variations in local data distributions [2]. The project will study and contrast local and global loss landscapes to derive insights about a local client’s contribution to the overall loss landscape. Understanding these dynamics can potentially enhance our ability to optimize federated learning systems.
Task:
-
Training a neural network model in two settings:
- In a centralized environment
- In a federated environment
-
Conduct experiments with the federated setting focusing on analyzing the loss landscapes of the models trained in these settings, including both the global model and individual client-side local models.
Project Layout:
Since we are using FEDn, we use their recommended project structure.
I have added pyproject.toml for managing our dependencies. I have written it to use Poetry. You probably want to use an virtual environment or tool to manage your virtualenv. To install the dependencies using poetry, simply run poetry install. I set it to use python 3.11
project
├ client
│ ├ fedn.yaml
│ ├ python_env.yaml
│ ├ model.py
│ ├ data.py
│ ├ train.py
│ └ validate.py
├ data
│ └ mnist.npz
├ fedland
│ └ __init__.py
├ README.md
├ pyproject.toml
├ scripts / notebooks
└ Dockerfile
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fedland-0.1.0.tar.gz.
File metadata
- Download URL: fedland-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.11.2-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7ea95b7763f6c5f5411d3a9f85b923a0c4efcc0bf2c3ef81e72601e7ce81566
|
|
| MD5 |
315180e02e4f66c97da5fa87f71aff4b
|
|
| BLAKE2b-256 |
55a176549da91ebb51340b03c03d4116b3434d58ac14d2c87cdfd9411569ae24
|
File details
Details for the file fedland-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fedland-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.6 Linux/6.11.2-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
419093aa0cb2134a2e8e8a726ff079f1deb58b79985c6e00ca38c76c83466cad
|
|
| MD5 |
f4ba8f5c564e044055a219da59c7398d
|
|
| BLAKE2b-256 |
e5f96e0f89b2864913ccfd9349e4c22125a97e6e8b452e2244da7d0225c9a55e
|