Papers › Balanced Multi-Relational Graph Clustering

Balanced Multi-Relational Graph Clustering

23 Jul 2024arXiv:2407.16863archive 2025-07-28

Zhixiang Shen, Haolan He, Zhao Kang

Multi-relational graph clustering has demonstrated remarkable success in uncovering underlying patterns in complex networks. Representative methods manage to align different views motivated by advances in contrastive learning. Our empirical study finds the pervasive presence of imbalance in real-world graphs, which is in principle contradictory to the motivation of alignment. In this paper, we first propose a novel metric, the Aggregation Class Distance, to empirically quantify structural disparities among different graphs. To address the challenge of view imbalance, we propose Balanced Multi-Relational Graph Clustering (BMGC), comprising unsupervised dominant view mining and dual signals guided representation learning. It dynamically mines the dominant view throughout the training process, synergistically improving clustering performance with representation learning. Theoretical analysis ensures the effectiveness of dominant view mining. Extensive experiments and in-depth analysis on real-world and synthetic datasets showcase that BMGC achieves state-of-the-art performance, underscoring its superiority in addressing the view imbalance inherent in multi-relational graphs. The source code and datasets are available at https://github.com/zxlearningdeep/BMGC.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 15 code samples harvested from 1 repository linked to this paper: 15 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 4 honoured, 0 violated, 4 with no contract checked; 7 where Syntology's instrument failed) · 0 unverified. Where Syntology's instrument failed: 5 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 15 samples from 1 repository, 15 ran (8 with no instrument failure; 7 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 1 of the 15 samples that ran has no recorded date.

zxlearningdeep/bmgc officialmentioned in papermentioned on GitHubpytorchSyntology: 15 samples, 15 ran (7 instrument-failed) · 0 unverified 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

15 samples harvested: 15 ran (of which 0 constructed an object rather than computing a result; 8 with no instrument failure: 4 honoured, 0 violated, 4 with no contract checked; 7 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

4ran · honoured contract
5ran · our draft was wrong
2ran; the contract check could not run
4ran

Licence: 15 of the 15 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 zxlearningdeep/bmgc. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

zxlearningdeep/bmgc official repository 15 samples, 15 ran (7 instrument-failed) · 0 unverified
ContextualSBM BMGC/cSBM_dataset.py ran no licence file found · pointer only · 68336d1f001f0b28 · report fixture: signature n:int/0/int, d:int/0/int, Lambda:float/0/float, p:int/0/int, mu:float/0/float, train_percent:float/0/float · returned Data · level recorded 2026-09-24
cluster_acc in 33 papers BMGC/utils/metrics.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 1b3f8d0522a46d1e · report fixture: signature y_true:ndarray/1/int, y_pred:ndarray/1/int · returned float64 · level recorded 2026-09-24
encode_onehot in 24 papers
census: 3 implementations from 5 papers, 2 distinct outputs across 2 buckets, one shared input per bucket this sample: bucket 2 of 2, arg 1: rank 2, kind int, dtype int64
BMGC/utils/load_data.py ran · honoured contract fingerprinted no licence file found · pointer only · 6c897974e5ceb4aa · report fixture: signature labels:ndarray/2/int · returned ndarray · level recorded, date not recorded
format_time in 140 papers BMGC/large.py ran · our draft was wrong fingerprinted no licence file found · pointer only · e28ee89385e5f8a3 · report fixture: signature time:float/0/float · returned str · level recorded 2026-09-22
index_to_mask in 25 papers
census: 3 implementations from 7 papers, 2 distinct outputs on one shared input this sample: bucket 1 of 1, arg 1: rank 1, kind int, dtype int64
BMGC/cSBM_dataset.py ran · our draft was wrong no licence file found · pointer only · da80a2b9fd449bd2 · report fixture: signature index:Tensor/1/int, size:int/0/int · returned Tensor · level recorded 2026-09-22
make_cost_matrix in 8 papers BMGC/utils/munkres.py ran; the contract check could not run (RAISES) no licence file found · pointer only · ff672d0bb314d651 · report fixture: signature profit_matrix:list/1/list, inversion_function:callable/0/? · returned list · level recorded 2026-09-24
normalize_adj in 55 papers BMGC/utils/load_data.py ran · our draft was wrong no licence file found · pointer only · 21b0199200507ff0 · report fixture: signature adj:coo_matrix/2/float · returned coo_matrix · level recorded 2026-09-22
normalize_adj in 55 papers BMGC/module/preprocess.py ran · honoured contract no licence file found · pointer only · c5ffb6ba7ad635ec · report fixture: signature adj:coo_matrix/2/float · returned Tensor · level recorded 2026-09-24
preprocess_features in 20 papers BMGC/utils/load_data.py ran · honoured contract no licence file found · pointer only · 2c7fd193a4fb9c0f · report fixture: signature features:csr_matrix/2/float · returned matrix · level recorded 2026-09-24
random_planetoid_splits in 9 papers BMGC/cSBM_dataset.py ran no licence file found · pointer only · b2ec532bac93b091 · report fixture: signature data:SimpleData/0/?, num_classes:int/0/int, percls_trn:int/0/int, val_lb:int/0/int, Flag:int/0/int · returned SimpleData · level recorded 2026-09-26
sce_loss in 15 papers BMGC/module/loss_fun.py ran fingerprinted no licence file found · pointer only · 6188cda4ac7f17da · report fixture: signature x:Tensor/2/float, y:Tensor/2/float, beta:int/0/int · returned Tensor · level recorded 2026-09-24
soft_assignment BMGC/module/loss_fun.py ran no licence file found · pointer only · 4765f3b8e5dce9f3 · report fixture: signature device:str/0/str, embeddings:Tensor/2/float, n_clusters:int/0/int, cluster_index:list/1/Tensor, alpha:int/0/int · returned Tensor · level recorded 2026-09-24
sparse_mx_to_torch_sparse_tensor in 41 papers BMGC/module/preprocess.py ran · our draft was wrong no licence file found · pointer only · c97b99c4e8201a97 · report fixture: signature sparse_mx:csr_matrix/2/float · returned Tensor · level recorded 2026-09-22
sparse_to_tuple in 22 papers BMGC/module/preprocess.py ran · our draft was wrong no licence file found · pointer only · 3965c8f8e2d0023e · report fixture: signature sparse_mx:coo_matrix/2/float · returned tuple · level recorded 2026-09-22
target_distribution in 16 papers
census: 3 implementations from 5 papers, 1 distinct output on one shared input this sample: bucket 1 of 1, arg 1: rank 2, kind float, dtype float32
BMGC/module/loss_fun.py ran · honoured contract fingerprinted no licence file found · pointer only · c8b8a6955c6ca85d · report fixture: signature q:Tensor/2/float · returned Tensor · level recorded 2026-09-22

Tasks

ClusteringContrastive LearningGraph ClusteringRepresentation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

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