Papers › SSSNET: Semi-Supervised Signed Network Clustering

SSSNET: Semi-Supervised Signed Network Clustering

13 Oct 2021arXiv:2110.06623archive 2025-07-28

Yixuan He, Gesine Reinert, Songchao Wang, Mihai Cucuringu

Node embeddings are a powerful tool in the analysis of networks; yet, their full potential for the important task of node clustering has not been fully exploited. In particular, most state-of-the-art methods generating node embeddings of signed networks focus on link sign prediction, and those that pertain to node clustering are usually not graph neural network (GNN) methods. Here, we introduce a novel probabilistic balanced normalized cut loss for training nodes in a GNN framework for semi-supervised signed network clustering, called SSSNET. The method is end-to-end in combining embedding generation and clustering without an intermediate step; it has node clustering as main focus, with an emphasis on polarization effects arising in networks. The main novelty of our approach is a new take on the role of social balance theory for signed network embeddings. The standard heuristic for justifying the criteria for the embeddings hinges on the assumption that "an enemy's enemy is a friend". Here, instead, a neutral stance is assumed on whether or not the enemy of an enemy is a friend. Experimental results on various data sets, including a synthetic signed stochastic block model, a polarized version of it, and real-world data at different scales, demonstrate that SSSNET can achieve comparable or better results than state-of-the-art spectral clustering methods, for a wide range of noise and sparsity levels. SSSNET complements existing methods through the possibility of including exogenous information, in the form of node-level features or labels.

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

Code

Syntology Ran 1 of 13 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran with no contract checked.

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

sherylhyx/sssnet_signed_clustering officialmentioned in papermentioned on GitHubpytorchMIT 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

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

1ran
12unverified

Licence: 0 of the 13 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 sherylhyx/sssnet_signed_clustering. “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.

load_data_from_memory sherylhyx/sssnet_signed_clustering/src/preprocess.py official repository ran MIT (permissive) · deddc4458686cd82 · report
ConvertSMVer2Cores sherylhyx/sssnet_signed_clustering/cuda_check.py official repository unverified MIT (permissive) · 292f2f8aa3c972d1 · report
SSBM sherylhyx/sssnet_signed_clustering/src/utils.py official repository unverified MIT (permissive) · 325b1acd86ab7132 · report
cuda_canonical_version sherylhyx/sssnet_signed_clustering/install_dependencies.py official repository unverified MIT (permissive) · 53641a1aa95bd9d2 · report
fill sherylhyx/sssnet_signed_clustering/src/utils.py official repository unverified MIT (permissive) · 5532a45b7a61f6bb · report
fix_network sherylhyx/sssnet_signed_clustering/src/utils.py official repository unverified MIT (permissive) · 61c1e705c0cef2af · report
invdiag sherylhyx/sssnet_signed_clustering/src/signet_utils.py official repository unverified MIT (permissive) · ac2e486e413404a7 · report
label_size_ratio sherylhyx/sssnet_signed_clustering/src/metrics.py official repository unverified MIT (permissive) · 56f5884d0ac3f418 · report
load_corre_networks sherylhyx/sssnet_signed_clustering/src/preprocess.py official repository unverified MIT (permissive) · 03cd4246adc37e93 · report
objscore sherylhyx/sssnet_signed_clustering/src/signet_utils.py official repository unverified MIT (permissive) · 686cc71cff023b7c · report
sizeorder sherylhyx/sssnet_signed_clustering/src/signet_utils.py official repository unverified MIT (permissive) · ae557b0431639df1 · report
triplet_loss_InnerProduct sherylhyx/sssnet_signed_clustering/src/metrics.py official repository unverified MIT (permissive) · 1447da5cf2f5597d · report
triplet_loss_InnerProduct_alpha sherylhyx/sssnet_signed_clustering/src/metrics.py official repository unverified MIT (permissive) · 3c8b10a13b664971 · report

Tasks

Cloud RemovalClusteringGraph Neural NetworkLink Sign PredictionNode ClusteringStochastic Block Model

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Graph Neural NetworkSpectral Clustering

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