Papers › Many processors, little time: MCMC for partitions via optimal transport couplings

Many processors, little time: MCMC for partitions via optimal transport couplings

23 Feb 2022arXiv:2202.11258archive 2025-07-28

Tin D. Nguyen, Brian L. Trippe, Tamara Broderick

Markov chain Monte Carlo (MCMC) methods are often used in clustering since they guarantee asymptotically exact expectations in the infinite-time limit. In finite time, though, slow mixing often leads to poor performance. Modern computing environments offer massive parallelism, but naive implementations of parallel MCMC can exhibit substantial bias. In MCMC samplers of continuous random variables, Markov chain couplings can overcome bias. But these approaches depend crucially on paired chains meetings after a small number of transitions. We show that straightforward applications of existing coupling ideas to discrete clustering variables fail to meet quickly. This failure arises from the "label-switching problem": semantically equivalent cluster relabelings impede fast meeting of coupled chains. We instead consider chains as exploring the space of partitions rather than partitions' (arbitrary) labelings. Using a metric on the partition space, we formulate a practical algorithm using optimal transport couplings. Our theory confirms our method is accurate and efficient. In experiments ranging from clustering of genes or seeds to graph colorings, we show the benefits of our coupling in the highly parallel, time-limited regime.

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="2202.11258")

Code

Syntology Ran 0 of 20 code samples harvested from 1 repository linked to this paper; 20 have no recorded run.

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

tinnguyen96/partition-coupling officialmentioned in paperMIT 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

20 samples harvested; 0 ran; 0 honoured the contract we drafted; 20 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.

20unverified

Licence: 0 of the 20 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 tinnguyen96/partition-coupling. “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.

LCP tinnguyen96/partition-coupling/modules/interesting_functions.py official repository unverified MIT (permissive) · 52ecba0403862b85 · report
SixNodeDegFourRegularinit tinnguyen96/partition-coupling/modules/priors.py official repository unverified MIT (permissive) · 757d637a887bc404 · report
VI_dist tinnguyen96/partition-coupling/modules/partitions.py official repository unverified MIT (permissive) · 006ad395725d839e · report
arith_mean tinnguyen96/partition-coupling/modules/aggregators.py official repository unverified MIT (permissive) · a8a74b742ef32668 · report
entropy tinnguyen96/partition-coupling/modules/partitions.py official repository unverified MIT (permissive) · 4bae1bb8c1f13a15 · report
extractUnbiasedEstimate tinnguyen96/partition-coupling/modules/samplerLib.py official repository unverified MIT (permissive) · 71a5be9eac813695 · report
find_representative_dists tinnguyen96/partition-coupling/modules/compileUtils.py official repository unverified MIT (permissive) · 46911ec11ede55ea · report
indep_coupling tinnguyen96/partition-coupling/modules/couplings.py official repository unverified MIT (permissive) · edd99dab9e297332 · report
loadGraphData tinnguyen96/partition-coupling/modules/dataUtils.py official repository unverified MIT (permissive) · fe91a32664a7e966 · report
loadMixtureData tinnguyen96/partition-coupling/modules/dataUtils.py official repository unverified MIT (permissive) · d9a3a10fbbe7322e · report
med_of_m tinnguyen96/partition-coupling/modules/aggregators.py official repository unverified MIT (permissive) · 5747252b4dfbd0bc · report
paired_init tinnguyen96/partition-coupling/modules/priors.py official repository unverified MIT (permissive) · 768b052a3ef85107 · report
pairwise_VI_dists tinnguyen96/partition-coupling/modules/partitions.py official repository unverified MIT (permissive) · b2c557935d487b3c · report
parse_compile_file tinnguyen96/partition-coupling/modules/names_and_parser.py official repository unverified MIT (permissive) · 5aaa57f3f9c92ea4 · report
parse_compile_file_type2 tinnguyen96/partition-coupling/modules/names_and_parser.py official repository unverified MIT (permissive) · 8c9a742daa3a2f4d · report
posterior_predictive_density tinnguyen96/partition-coupling/modules/interesting_functions.py official repository unverified MIT (permissive) · 1be9212a536baf06 · report
pure_maximal_coupling tinnguyen96/partition-coupling/modules/couplings.py official repository unverified MIT (permissive) · 2685d793e0e91366 · report
pure_naive_coupling tinnguyen96/partition-coupling/modules/couplings.py official repository unverified MIT (permissive) · ecc9d019e106cf66 · report
strToList tinnguyen96/partition-coupling/modules/names_and_parser.py official repository unverified MIT (permissive) · 13b4e62e68acd01a · report
trim_mean tinnguyen96/partition-coupling/modules/aggregators.py official repository unverified MIT (permissive) · 887b7c45b6e67b1a · report

Tasks

Clustering

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