alinadevkota commited on
Commit
dbe8ac7
·
verified ·
1 Parent(s): 6c14da1

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+
3
+ license: cc-by-nc-4.0
4
+ tags:
5
+ - federated-learning
6
+ - foundation-models
7
+ - medical-imaging
8
+ - endoscopy
9
+ - self-supervised-learning
10
+ - masked-autoencoder
11
+ - contrastive-learning
12
+ - pytorch
13
+
14
+ ---
15
+
16
+ # FedFound: Federated Foundation Models for Gastrointestinal Endoscopy
17
+
18
+ This repository contains pretrained foundation models released as part of the paper:
19
+
20
+ **FedFound: Federated Foundation Models for Gastrointestinal Endoscopy**
21
+
22
+ The models were trained using self-supervised learning on gastrointestinal endoscopy images under centralized, local, and federated learning settings. Two pretraining paradigms are provided:
23
+
24
+ * **Masked Autoencoder (MAE)**
25
+ * **Momentum Contrast (MoCo)**
26
+
27
+ These checkpoints can be used as initialization for downstream gastrointestinal endoscopy tasks such as classification, segmentation, and representation learning.
28
+
29
+ ---
30
+
31
+ ## Available Checkpoints
32
+
33
+ | Checkpoint | Clients | Pretraining |
34
+ | ---------------------- | ----------- | ----------- |
35
+ | lb_split1.pth | 1 | MAE |
36
+ | lb_split2.pth | 1 | MAE |
37
+ | lb_split10.pth | 10 | MAE |
38
+ | lb_split20.pth | 20 | MAE |
39
+ | ub_central.pth | Centralized | MAE |
40
+ | fedavg_split1.pth | 6 | MAE |
41
+ | fedavg_split2.pth | 6 | MAE |
42
+ | fedavg_split10.pth | 10 | MAE |
43
+ | fedavg_split20.pth | 20 | MAE |
44
+ | fedavgm_split1.pth | 6 | MAE |
45
+ | fedavgm_split2.pth | 6 | MAE |
46
+ | fedavgm_split10.pth | 10 | MAE |
47
+ | fedavgm_split20.pth | 20 | MAE |
48
+ | fedadam_split1.pth | 6 | MAE |
49
+ | fedadam_split2.pth | 6 | MAE |
50
+ | fedadam_split10.pth | 10 | MAE |
51
+ | fedadam_split20.pth | 20 | MAE |
52
+ | fedadagrad_split1.pth | 6 | MAE |
53
+ | fedadagrad_split2.pth | 6 | MAE |
54
+ | fedadagrad_split10.pth | 10 | MAE |
55
+ | fedadagrad_split20.pth | 20 | MAE |
56
+ | moco_lb_split1.pth | 1 | MoCo |
57
+ | moco_lb_split2.pth | 1 | MoCo |
58
+ | moco_ub_central.pth | Centralized | MoCo |
59
+ | moco_fedavg_split1.pth | 6 | MoCo |
60
+ | moco_fedavg_split2.pth | 6 | MoCo |
61
+
62
+ ---
63
+
64
+ ## Naming Convention
65
+
66
+ * **lb**: Lower Bound (single-client training)
67
+ * **ub**: Upper Bound (centralized training)
68
+ * **fedavg**: FedAvg aggregation
69
+ * **fedavgm**: FedAvgM aggregation
70
+ * **fedadam**: FedAdam aggregation
71
+ * **fedadagrad**: FedAdagrad aggregation
72
+ * **moco**: Momentum Contrast (MoCo) pretraining
73
+ * Models without the `moco` prefix use Masked Autoencoder (MAE) pretraining
74
+
75
+ ---
76
+
77
+ ## Usage
78
+
79
+ ```python
80
+ import torch
81
+
82
+ checkpoint = torch.load("fedavg_split1.pth", map_location="cpu")
83
+
84
+ if isinstance(checkpoint, dict) and "model" in checkpoint:
85
+ state_dict = checkpoint["model"]
86
+ else:
87
+ state_dict = checkpoint
88
+
89
+ model.load_state_dict(state_dict, strict=False)
90
+ ```
91
+
92
+
93
+ ## Repository Contents
94
+
95
+ This repository contains only pretrained model weights.
96
+
97
+ No patient images, labels, metadata, or clinical information are included.
98
+
99
+ ---
100
+
101
+ ## Citation
102
+
103
+ If you use these models in your research, please cite:
104
+
105
+ ```bibtex
106
+ @article{devkota2025federated,
107
+ title={Federated foundation model for gi endoscopy images},
108
+ author={Devkota, Alina and Amireskandari, Annahita and Palko, Joel and Thakkar, Shyam and Adjeroh, Donald and Jiang, Xiajun and Bhattarai, Binod and Gyawali, Prashnna K},
109
+ journal={arXiv preprint arXiv:2505.24108},
110
+ year={2025}
111
+ }
112
+ ```
113
+
114
+ ---
115
+
116
+ ## Contact
117
+
118
+ For questions regarding the models, datasets, or training procedures, please open an issue or contact the authors of the paper.
fedadagrad_split1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c683e5ebcc3bd568e7b6a4ade5ea5674dd987d9759249651fc00f9bbbc9a32a
3
+ size 2237550394
fedadagrad_split10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d8e0ce4a3a7c1f21b4b7e9cbc0c804f5f95e8d9d9896f74248d8948d439a076
3
+ size 2237550778
fedadagrad_split2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed1cf3a8f8adf39aad816cb0f3f2b6f8bfe2ba9841fc0572b6a953da0be6f2be
3
+ size 2237550394
fedadagrad_split20.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d8e0ce4a3a7c1f21b4b7e9cbc0c804f5f95e8d9d9896f74248d8948d439a076
3
+ size 2237550778
fedadam_split1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd7225cb43e9dd26a76d2ee59f648c0ed67c20767bff731b3a76b0834a3f69d7
3
+ size 2237550394
fedadam_split10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a27dd0b4e6e179009f2b4eb7703526e22830862c1e1a3648941343cfe3b871a0
3
+ size 2237550778
fedadam_split2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16c21a6c188ff6ecfce2a597692f8d70386a08a20b2851379bfd7896c1f68ef6
3
+ size 2237550458
fedadam_split20.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a27dd0b4e6e179009f2b4eb7703526e22830862c1e1a3648941343cfe3b871a0
3
+ size 2237550778
fedavg_split1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70319355389bdeff72a957bef6952ed91a777d3848419eee21117130ce04932b
3
+ size 1341501522
fedavg_split10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247e54529864ab40204e8e58c1c4ed2ce59297242bf5d95c108f852f0216cea0
3
+ size 1789526470
fedavg_split2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83b998cf246d9c92188494c45a91419e1e29c71c65a1e25fc7ec53d10a250427
3
+ size 1789526022
fedavg_split20.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50d27937015595ea807de09b72375f6cc23a839589a4067a15b6185071d205bc
3
+ size 1789527494
fedavgm_split1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbb58961690d9daac2d994334dd41b6b218ec4341bb1401d4481c3a855e1f007
3
+ size 1789526214
fedavgm_split10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eec8e4f62611417eeb99c7317d4090ede6d8918ed3b25de5864de62758bbeb5
3
+ size 1789526534
fedavgm_split2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a28fff253ccfe31c7e770f5d3969297d4f3564ec9aadc649d06d7dddc1bff6eb
3
+ size 1789526214
fedavgm_split20.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eec8e4f62611417eeb99c7317d4090ede6d8918ed3b25de5864de62758bbeb5
3
+ size 1789526534
lb_split1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d58e709ea832651c58ff0418831ba5f9706517d59cd0ceb4d8d4060050f0057b
3
+ size 1789525574
lb_split10.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5864acb1df885e1a633a5caecf134be3b4d75bca030d4e95ed73af694cc56009
3
+ size 1789525574
lb_split2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c718d1bdc1112f9280b5ef32f2cd9d2151e4612c2ee45dae9a71bfed01dab6f2
3
+ size 1341501074
lb_split20.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a9736576fa89081095c5b5c41030e27e16cb8892d850013f35e8692a4b34ec7
3
+ size 1789525574
moco_fedavg_split1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c9edea7e00fe8e0c3214bc9969f7cfcd3ba21f3a3d277627a29f527b8f65fc1
3
+ size 2388350448
moco_fedavg_split2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ed9e916941e836fbf8ee3cc9a873ebbf7ac77603578e9071986e84742a249bf
3
+ size 2388350448
moco_lb_split1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f26ceda4f0350a70f79d630c74596e09e57ce57d069ccd114062e72c40f8137
3
+ size 2388349936
moco_lb_split2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e294bf9c1086f280e9c6ceda6492357744e1c3880635c1d0ed60effa0cfa66a
3
+ size 2388349936
moco_ub_central.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abce2ce45049f966cbe63f6b1a02c8b8668b16da5979d8c5564f38e46966c009
3
+ size 2388349936
ub_central.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b5d4a625294cb5ee5b467a8ade92ad490b39e15eb2c96469e1fc0121098210f2
3
+ size 1341501074