Graph Learning from Label Proportions using Topology-Aware Pseudo Labeling and Aggregation

Yufei Jin, Jiajun Shen, Yi He, Xingquan ZhuNeurIPS 2026

TL;DR

How do you classify individual nodes in a network when privacy rules forbid you from seeing individual labels, giving you only aggregate statistics—like a neighborhood's overall COVID-19 infection rate? This paper brings Learning from Label Proportions (LLP) into the graph domain for the first time. By combining Graph Neural Networks with Optimal Transport, the authors figure out how to unpack coarse, group-level statistics into accurate, individual-level predictions without ever seeing a single ground-truth node label.

What Problem Does This Paper Address?

Standard Graph Neural Networks (GNNs) thrive on explicit, node-level labels—knowing Alice has a specific trait helps predict Bob's traits if they share an edge. In sensitive domains like public health, demographics, or finance, however, individual labels are often locked behind privacy walls. Instead, you get "bags" of nodes paired with aggregated class proportions (e.g., "30% of people in this zip code tested positive").

This setup is called Learning from Label Proportions (LLP). Existing LLP methods were built for independent tabular rows or images, ignoring network connections. Meanwhile, naive attempts to adapt GNNs—either by randomly assigning labels to match bag proportions or by simply training the GNN's average bag output to match the true distribution via KL-divergence—fall flat. Without a mechanism to respect how connected nodes influence each other, bag-level signals are simply too blurry to guide node-level learning.

Figure 1: (a) Traditional vs. (b) GLLP. (c) Bag-level losses (LLP-KL/PCE) show significant gaps vs. super- vised labels.

Methods

To bridge the gap between coarse bag proportions and fine-grained node predictions, the authors propose GLLP, an alternating framework that bounces between two coupled subproblems: generating node-level soft pseudo-labels and training a standard shallow Graph Convolutional Network (GCN).

The magic lies in how those pseudo-labels are generated using Entropic Optimal Transport (OT). Think of OT as finding the cheapest way to distribute a bag's known label budget across its individual nodes. What is novel here is the topology-aware cost matrix ($C^\lambda$) guiding that distribution, which combines two terms:

  1. Base Cost: The negative log-probability of the GCN's current predictions (preferring assignments the model already leans toward).
  2. Graph Penalty: A neighbor-averaging term based on the intra-bag subgraph. Grounded in homophily (birds of a feather flock together), this makes it "cheaper" to assign a node to a class if its connected neighbors lean toward that same class.
Figure 2: Overview of the proposed GLLP framework. The model integrates two complementary supervision signals: (i) a bag-level KL loss (top orange branch), which enforces consistency between predicted and ground- truth label proportions for each bag, and (ii) an node-level cross-entropy (CE) loss (bottom blue branch), which leverages soft pseudo-labels obtained via Optimal Transport (OT). Purple components denote the inputs, including the graph structure, node features, and bag-level label proportions. The overall joint loss in Eq. 11 combines both losses, where the KL loss is defined in Eq. 2 and the node-level CE loss in Eq. 10. Dashed line denotes loss propagation.

Once OT outputs structurally consistent pseudo-labels, the GCN is updated using a joint loss: a Cross-Entropy loss against the new node-level pseudo-labels, regularized by a standard bag-level KL-divergence loss so the model never drifts away from the ground-truth bag proportions. As the GCN improves, its updated logits feed back into the OT solver for the next round.

Datasets

Because Graph LLP is a newly formalized task, the authors adapt existing node-classification benchmarks by partitioning training nodes into mutually exclusive bags (varying bag counts from 3 to 10, and bag sizes from 10 to 80 nodes):

  • Standard Benchmarks: Citation networks (Cora, CiteSeer, PubMed), Amazon co-purchase graphs (Computers, Photos), and WikiCS.
  • Real-World Contact Graph: A Covid dataset modeling infection risk.
  • Extended Scalability & Heterophily Suite: OGB-arxiv, Amazon-ratings, Genius, and Roman-empire (explored in the appendices).

Key Insights and Ideas

  • More data doesn't help naive models: In preliminary tests, feeding naive KL-matching GNNs more labeled bags didn't improve accuracy—they frequently collapsed into shared, uninformative mappings. GLLP actually scales as supervision increases, behaving much closer to a fully supervised model.
  • Graph penalties belong in the OT solver, not the loss function: An ablation variant (LLP-KLG) that bypassed OT and tacked a graph smoothness penalty directly onto the bag-level KL loss showed zero gain—and often degraded performance. You have to resolve who gets what label structurally before computing gradients.
  • Strict homophily isn't required: The authors prove theoretically that their topology-aware OT yields better pseudo-labels under a "neighborhood-informativeness" condition. While strong homophily guarantees this, the math holds even on moderately homophilic graphs, so long as aggregated neighbor predictions are slightly more informative than topology-blind guesses.
  • Zero-label hyperparameter tuning works: In practice, you can't tune hyperparameters if you have no validation node labels. The authors show that cross-validating purely on held-out bag proportions comes within 1.63 percentage points of an oracle that cheats using true node labels.

Key Results

Across all bag configurations, GLLP outperforms existing LLP baselines by 17% on average in node classification accuracy:

  • Substantial leaps on benchmarks: On Photos, GLLP reaches 66.6% accuracy (vs. 44.9% for LLP-KL and 52.8% for LLP-MixBag). On Cora, GLLP hits 51.3% compared to 41.6% for LLP-KL and PT-LLP.
  • When simple diffusion wins: On the Covid contact dataset, a training-free label propagation baseline (LLP-LP) slightly edged out GLLP (51.4% vs. 50.1%), suggesting pure graph diffusion is tough to beat when raw contact edges directly mirror the target signal, though LLP-LP failed on feature-rich benchmarks (e.g., 29.1% on Cora).

Limitations and Future Work

  • Extreme Heterophily: When connected nodes systematically have different labels (anti-homophily, as in Roman-empire), neighborhood averaging misleads the OT solver. Graph rewiring (e.g., connecting nodes via feature-based k-nearest neighbors) is needed to rescue performance.
  • Bag Construction: Experiments relied on non-overlapping random or ego-network bags. Real-world data often comes in overlapping, biased, or administrative regions (like census tracts), which remains open for future work.
  • Noise Sensitivity: While GLLP handles mild (5%) Gaussian noise in the reported bag proportions well, its sensitivity noticeably increases when proportion noise hits 10%.

Summary updated

Abstract

Learning from Label Proportion (LLP) is a weakly supervised learning paradigm in which only aggregated label proportions over collections of instances (i.e., bags) are provided, rather than individual labels. This allows classification while preserving privacy or reducing annotation costs. Existing LLP methods, however, have been largely restricted to i.i.d. tabular or image data. To the best of our knowledge, no solution currently addresses graphs, where instances are inherently interdependent through network structure. In this paper, we generalize LLP to the graph domain and study the problem of node classification with label proportions, where only distributional supervision is available for node bags, and the goal is to infer labels for all nodes in the graph. We argue that the lack of node-level supervision is the main challenge for LLP on graphs, and that existing methods based on i.i.d. assumptions fail to exploit topological correlations. To overcome this, we propose GLLP~(Graph Learning from Label Proportions), a framework that leverages Optimal Transport (OT) with a homophily-aware cost to generate soft pseudo-labels for individual nodes. These pseudo-labels provide stronger supervision signals for training Graph Neural Networks. We further establish theoretical guarantees showing the alignment of our cost function with the node classification objective. Extensive experiments on six common graph benchmarks and one real-world Covid dataset demonstrate that GLLP outperforms or is on par with existing LLP baselines and variants.
BibTeX
@inproceedings{jin2026graph,
  author = {Yufei Jin and Jiajun Shen and Yi He and Xingquan Zhu},
  title = {{Graph Learning from Label Proportions using Topology-Aware Pseudo Labeling and Aggregation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=0f6mA6p98z},
}
Figure