Papers › Structured Cooperative Learning with Graphical Model Priors

Structured Cooperative Learning with Graphical Model Priors

16 Jun 2023arXiv:2306.09595archive 2025-07-28

Shuangtong Li, Tianyi Zhou, Xinmei Tian, DaCheng Tao

We study how to train personalized models for different tasks on decentralized devices with limited local data. We propose "Structured Cooperative Learning (SCooL)", in which a cooperation graph across devices is generated by a graphical model prior to automatically coordinate mutual learning between devices. By choosing graphical models enforcing different structures, we can derive a rich class of existing and novel decentralized learning algorithms via variational inference. In particular, we show three instantiations of SCooL that adopt Dirac distribution, stochastic block model (SBM), and attention as the prior generating cooperation graphs. These EM-type algorithms alternate between updating the cooperation graph and cooperative learning of local models. They can automatically capture the cross-task correlations among devices by only monitoring their model updating in order to optimize the cooperation graph. We evaluate SCooL and compare it with existing decentralized learning methods on an extensive set of benchmarks, on which SCooL always achieves the highest accuracy of personalized models and significantly outperforms other baselines on communication efficiency. Our code is available at https://github.com/ShuangtongLi/SCooL.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.09595")

Code

Syntology Ran 16 of 27 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 3 ran · honoured contract; 2 ran · our draft was wrong; 3 ran · fixture could not drive it; 8 ran with no contract checked.

By repository: official repository: 27 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shuangtongli/scool officialmentioned in papermentioned on GitHubpytorchGPL-3.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

27 samples harvested; 16 ran; 3 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
2ran · our draft was wrong
3ran · fixture could not drive it
8ran
11unverified

Licence: 27 of the 27 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from shuangtongli/scool. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

SBM shuangtongli/scool/SCooL_SBM.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · 94405d260fe4287c · report
convert_targets shuangtongli/scool/SCooL_SBM.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · cbb3676d764783b5 · report
expand_label_group shuangtongli/scool/SCooL_SBM.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · c0fdb29350b47fef · report
flatten_tensors shuangtongli/scool/SCooL_SBM.py official repository ran · honoured contract GPL-3.0 (copyleft) · pointer only · de96e9b005b53e0f · report
fusion_index_by_partition shuangtongli/scool/SCooL_SBM.py official repository ran · fixture could not drive it GPL-3.0 (copyleft) · pointer only · ce8985f9c6ff5d7a · report
gen_graph shuangtongli/scool/SCooL_SBM.py official repository ran GPL-3.0 (copyleft) · pointer only · 3b4d375bb85e7531 · report
get_gamma_mask1 shuangtongli/scool/SCooL_SBM.py official repository ran · honoured contract fingerprinted GPL-3.0 (copyleft) · pointer only · 41e093b5840c3c8e · report
get_local_testset_index shuangtongli/scool/SCooL_SBM.py official repository ran GPL-3.0 (copyleft) · pointer only · 787c57c7462ef291 · report
my_dataset shuangtongli/scool/SCooL_SBM.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · 14913b47dc804fc9 · report
select_partition shuangtongli/scool/SCooL_SBM.py official repository ran fingerprinted GPL-3.0 (copyleft) · pointer only · 2dfa877d72134757 · report
select_partition_rand_non_iid shuangtongli/scool/SCooL_SBM.py official repository ran · honoured contract fingerprinted GPL-3.0 (copyleft) · pointer only · 6feffb04f2f14bd0 · report
show_partition_labels shuangtongli/scool/SCooL_SBM.py official repository ran · fixture could not drive it GPL-3.0 (copyleft) · pointer only · c2e4eda6ed62704b · report
split_non_iid_dataset_tiny shuangtongli/scool/SCooL_SBM.py official repository ran GPL-3.0 (copyleft) · pointer only · a0c77613eca8be1d · report
test shuangtongli/scool/SCooL_SBM.py official repository ran · fixture could not drive it GPL-3.0 (copyleft) · pointer only · f26491b89ba8cbd1 · report
test_fast shuangtongli/scool/SCooL_SBM.py official repository ran GPL-3.0 (copyleft) · pointer only · bc928d693ea619a6 · report
unflatten_tensors shuangtongli/scool/SCooL_SBM.py official repository ran · our draft was wrong GPL-3.0 (copyleft) · pointer only · 349c36e737eadfe1 · report
CIFAR10 shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · 5ee024da6c8949f5 · report
Communicator shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · d77445da3ef0a1dd · report
GradientCommunicator shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · d876497e00e6c106 · report
Recorder shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · 18c8289cf4a4ed2f · report
get_child_rank_list shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · addd1210c4f11516 · report
get_mixing_mat shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · 794e7158191ec7b9 · report
get_true_correlation shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · 773b2394ca8b41a9 · report
partition_non_iid_determine_dataset shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · 5fd2e83393abbe88 · report
partition_non_iid_random_dataset shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · c54edd3381deb898 · report
run shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · 66a8ff916b55511a · report
split_device shuangtongli/scool/SCooL_SBM.py official repository unverified GPL-3.0 (copyleft) · pointer only · e1199bb49610617a · report

Tasks

Stochastic Block ModelVariational Inferencemodel

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections