Posterior Label Smoothing for Node Classification

Jaeseung Heo, MoonJeong Park, Dongwoo Kim

TL;DR

This paper introduces "Posterior Label Smoothing" (PosteL), a novel method for node classification on graphs that leverages neighborhood information to create "soft labels." PosteL adapts to both homophilic (nodes with similar labels connect) and heterophilic (nodes with different labels connect) graphs, achieving significant accuracy improvements across various datasets and models.

What Problem Does This Paper Address?

Node classification, a fundamental task in graph machine learning, often relies on ground-truth labels. However, these labels can be noisy or incomplete, especially in large, real-world graphs. Traditional methods like label smoothing or knowledge distillation, while effective in other domains, haven't been fully explored for graph-structured data, particularly for heterophilic graphs where the assumption of local label consistency breaks down. This paper aims to bridge this gap by developing a regularization technique that effectively utilizes graph structure to improve node classification accuracy, even in challenging heterophilic settings.

Methods

The core of PosteL is deriving soft labels from a posterior distribution of a node's label, conditioned on the labels of its neighbors. This is achieved by:

  • Estimating Likelihood and Prior: The paper estimates the probability of a node having a certain label given its neighbors' labels (likelihood) and the overall label distribution in the graph (prior). These are derived from global graph statistics, making the method adaptable to different graph properties.
  • Bayes' Rule: Bayes' theorem is used to combine the likelihood and prior to compute the posterior distribution.
  • Iterative Pseudo-Labeling: To address the issue of missing labels for test nodes, an iterative process is introduced. The model is trained, then used to generate "pseudo-labels" for unlabeled nodes. These pseudo-labels are then used to refine the likelihood and prior estimates, leading to improved soft labels in subsequent training iterations.
  • Interpolation and Noise: The final soft label is an interpolation between the computed posterior and the original one-hot label, with an added small amount of uniform noise to prevent over-confidence.

Datasets

The authors evaluated PosteL on 10 benchmark datasets:

  • Homophilic: Cora, CiteSeer, PubMed (citation networks), Computers, Photo (Amazon co-purchase graphs).
  • Heterophilic: Chameleon, Squirrel (Wikipedia networks), Actor (co-occurrence network), Texas, Cornell (webpage graphs).

These datasets represent a diverse range of graph structures and label distributions, allowing for a comprehensive evaluation of PosteL's adaptability.

Key Insights and Ideas

  • Beyond Homophily: The paper demonstrates that effective node classification on graphs doesn't solely rely on the homophily assumption. By conditioning on neighborhood labels and using global statistics, PosteL can adapt to heterophilic structures where nodes often connect to dissimilar labels.
  • Posterior as Soft Label: Using the posterior distribution of a node's label, informed by its neighbors, provides a richer and more context-aware soft label than simple uniform noise or direct aggregation of neighbor labels.
  • Iterative Refinement is Key: The iterative pseudo-labeling process significantly boosts performance, especially on datasets with limited training labels or complex structures. This iterative refinement allows the model to learn from its own predictions, progressively improving the quality of the soft labels.
  • Robustness to Hyperparameters: The method shows consistent improvements across datasets and backbone models, suggesting its robustness and generalizability.

Key Results

  • Consistent Improvement: PosteL outperformed baseline methods in 76 out of 80 model-dataset combinations.
  • Substantial Gains: On the Cornell dataset with a GCN backbone, PosteL achieved a remarkable 14.43% improvement in classification accuracy.
  • Heterophily Advantage: Improvements were particularly significant on heterophilic datasets, highlighting PosteL's ability to handle these challenging graph structures.
  • Efficiency: While iterative pseudo-labeling adds overhead, PosteL without iterations is faster than knowledge distillation and ALS, and with a single iteration, it achieves comparable training times while offering significant accuracy gains.

Limitations and Future Work

  • Computational Cost: The iterative pseudo-labeling process, while effective, increases training time. The authors suggest that for applications where speed is critical, PosteL can be used without iterations or with a single iteration.
  • Sensitivity to Hyperparameters: While generally robust, the authors note that very high values of the posterior label ratio parameter ($\alpha$) might harm training, suggesting the necessity of interpolating with ground-truth labels.
  • Future Work: The paper implicitly suggests exploring more sophisticated ways to estimate likelihood and prior distributions, potentially incorporating more advanced graph structure information or leveraging different types of pseudo-labeling strategies. Further investigation into the theoretical underpinnings of PosteL's performance on extremely sparse or noisy graphs could also be valuable.

Summary updated

BibTeX
@inproceedings{heo2026posterior,
  author = {Jaeseung Heo and MoonJeong Park and Dongwoo Kim},
  title = {{Posterior Label Smoothing for Node Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i26.39321},
}
Figure