CLEAR: Complementary Tripartite Play with Bayesian Calibration for Semi-Supervised Edge Classification

Zhipeng Sun, Fanchun Meng, Jiazhen Huang, Yongpeng Zhang, Tao Ren, Yifan Wang, Wei Ju, Xiao LuoNeurIPS 2026

TL;DR

Graph Neural Networks excel at classifying nodes, yet figuring out the nature of the connections between them—edge classification—breaks down when labeled data is scarce. CLEAR solves this by staging a three-way "game" between two specialized student models and a meta-learning teacher, using Bayesian statistics to turn noisy guesses into reliable training signals. Even when 99% of edge labels are missing, it dramatically boosts standard GNNs on everything from crypto trust networks to IoT cyberattacks.

What Problem Does This Paper Address?

Imagine looking at a social network and trying to guess if an interaction between two users is friendly or hostile. That is edge classification. In the real world, manually labeling pairwise relationships is exhausting, leaving us with graphs that are 99% unlabeled.

Standard semi-supervised tricks—like having models guess "pseudo-labels" for unlabeled data—trip over two major hurdles on edges:

  1. View Asymmetry: Graphs contain a mix of homophilous edges (similar nodes connecting) and heterophilous edges (opposites connecting). A model looking purely at network structure (topology) might nail homophilous links, while a model looking at local neighborhood features (context) does better on heterophilous ones. Treating different views as equally reliable across the whole graph fails.
  2. Confirmation Bias: Edge types are usually heavily imbalanced (e.g., 90% positive ratings, 10% negative). Early, overconfident mistakes on unlabeled edges snowball, drowning out minority classes.
Figure 1: Motivation of our CLEAR. (a) Different views provide asymmetric reliability across ho- mophilous and heterophilous edges. (b) Scarce labels and noisy pseudo-labels introduce biased supervision, limiting discriminative edge represen- tation learning.

Methods

Instead of relying on a single model or standard symmetric co-training, the authors propose CLEAR (Complementary Tripartite Play with Bayesian Calibration), a framework built around three interacting roles:

  • Two Asymmetric Student Branches: Both read the same graph, but learn different self-supervised tasks on unlabeled edges. The Topological Branch learns by reconstructing graph connections and masked edge attributes. The Contextual Branch learns by predicting a summary of the $k$-hop neighborhood around an edge.
  • Uncertainty Filtering & Bayesian Calibration (New): Raw model confidence is famously untrustworthy. Before a student shares a pseudo-label, CLEAR runs multiple stochastic passes with dropout to measure epistemic uncertainty via Mutual Information (MI), filtering out shaky guesses. Next, it builds a local Bayesian prior from neighboring labeled and reliable unlabeled edges (defaulting to a 2-hop radius). Combining the student's raw prediction (likelihood) with this local neighborhood prior corrects local class bias.
  • A Stackelberg Meta-Teacher (New): Rather than letting the two students blindly teach each other, a meta-teacher network acts as a referee. Looking at branch disagreement, uncertainty, and local priors, the teacher dynamically assigns trust weights to each student for every single edge. The students take a one-step gradient update using the teacher's weights, and the teacher updates itself based on how well the students subsequently perform on a held-out validation set.
Figure 2: Framework overview of our CLEAR. Two asymmetric student branches learn complementary topological and contextual edge predictors from unlabeled edges. Each branch filters uncertain predictions with mutual information and constructs a neighborhood-aware Bayesian prior to obtain calibrated posterior pseudo-labels. A meta teacher then regulates the complementary tripartite play by assigning branch trust weights and edge-wise transfer strength for cross-view supervision.

Datasets

The authors evaluate CLEAR across six existing real-world, class-imbalanced benchmarks (no new datasets are introduced), training with only 1% of edges labeled:

  • Trust & Social Networks: Bitcoin-alpha (crypto user ratings; used in both binary and multi-class settings, >90% majority class), Epinions (consumer review trust, 85.4% trust links), and Reddit (inter-community sentiment links).
  • Biology: HSPPI (protein-protein interactions distinguishing direct physical vs. indirect functional links).
  • Security & Academia (Multi-class): NID (IoT network traffic flows across 9 attack/normal categories) and MAG (scholarly co-authorship/citation links across 10 fields of study).

Key Insights and Ideas

  • Neighborhood Priors Mathematically Fix Bad Guesses: The authors prove theoretically that their Bayesian calibration is equivalent to solving a KL-regularized optimization problem. If a student's raw prediction is wrong, a sufficiently informative local 2-hop neighborhood prior provably flips the pseudo-label back to the Bayes-optimal true class.
  • Architecture Agnosticism: CLEAR isn't a replacement for your favorite GNN; it's an upgrade wrapper. Wrapping it around standard backbones (GCN, GAT, ChebNet) consistently elevates all of them, proving the bottleneck in scarce-label edge classification is supervision quality, not encoder design.
  • Every Piece Pulls Its Weight: Ablation studies show that dropping the meta-teacher ("Controllable Tripartite Play") causes the steepest performance cliff—worse than dropping either student branch individually—proving that how models share knowledge matters just as much as what they learn.

Key Results

Across both binary and multi-class tasks at a 1% label rate, CLEAR consistently beats heuristic methods, specialized edge encoders, and recent topology-imbalance baselines like TopoEdge:

  • Big Jumps in Binary Classification: On Bitcoin-alpha, adding CLEAR boosts GAT's Balanced Accuracy from 0.528 to 0.725 (beating GAT+TopoEdge by nearly 10 percentage points) and lifts Macro-F1 from 0.452 to 0.664.
  • Multi-Class Gains: On the 9-class NID security dataset using ChebNet, Balanced Accuracy climbs from 0.518 (vanilla) and 0.621 (+TopoEdge) up to 0.674 with CLEAR.
  • Crisp Representations: t-SNE visualizations of edge embeddings on Bitcoin-alpha show GAT and ChebNet producing tangled clouds of overlapping classes, whereas CLEAR carves out tight, cleanly separated clusters. Furthermore, scaling label rates from 1% to 5% yields steep gains (pushing Bitcoin-alpha Balanced Accuracy to 0.844) before gracefully plateauing.

Limitations and Future Work

While the paper does not include a standalone limitations section, the authors note a clear computational trade-off in their sensitivity analysis: expanding the neighborhood range $k$ beyond 2 hops for the Bayesian prior yields diminishing accuracy returns while increasing computational overhead. (Readers might also note that running $K$ stochastic forward passes for MI filtering and bi-level meta-gradients naturally adds training overhead compared to vanilla GNNs, and the meta-teacher relies on having a representative validation set—40% of edges in their split—to steer updates.) Future research directions are not explicitly discussed in the paper.

Summary updated

Abstract

This paper studies the problem of semi-supervised edge classification, which aims to identify edge relations using both labeled and unlabeled data. This problem is highly challenging due to the inherent asymmetry of edge relations and strong prediction biases from imbalanced homophilous and heterophilous edges. Towards this end, this paper proposes a novel approach named Complementary Tripartite Play with Bayesian CaLibration (CLEAR) for semi-supervised edge classification. The core of our CLEAR is to incorporate asymmetric semantic branches and a meta-teacher into a tripartite-play framework, enabling reliable guidance and optimization under label scarcity. In particular, our CLEAR introduces a topological branch and a contextual branch which extracts graph semantics, generating pseudo-labels in complementary views. To improve the reliability of pseudo-labels, we filter low-quality pseudo-labels using epistemic uncertainty, and then calibrate posterior distributions using the priors induced by neighborhood information. More importantly, we utilize a meta-teacher to guide the optimization of two branches by outputting the objective coefficients, ensuring a reliable pseudo-labeling process in a tripartite play framework. Extensive experiments on benchmark datasets validate the superiority of the proposed CLEAR in comparison to various baselines. Our code is available at https://github.com/szp4ever/CLEAR.
BibTeX
@inproceedings{sun2026clear,
  author = {Zhipeng Sun and Fanchun Meng and Jiazhen Huang and Yongpeng Zhang and Tao Ren and Yifan Wang and Wei Ju and Xiao Luo},
  title = {{CLEAR: Complementary Tripartite Play with Bayesian Calibration for Semi-Supervised Edge Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=KnVgeVUR19},
}
Figure