Explaining classification performance and bias via network structure and sampling technique

Lisette Espín-Noboa, Fariba Karimi, Bruno Ribeiro, Kristina Lerman, Claudia Wagner

Collective classification—the process of predicting missing node attributes based on network connections—is a cornerstone of social network analysis. However, it often operates as a "black box." This research, published in Applied Network Science, systematically explores how network topology and sampling methods influence both the performance and the inherent biases of these algorithms.

The Collective Classification Pipeline

To understand the interplay between network structure and classification, the researchers established a rigorous multi-stage pipeline. This process involves generating synthetic networks with controlled properties, sampling "seed" nodes for training, and applying a network-only Bayes classifier (nBC) with relaxation labeling (RL).

The collective classification workflow, illustrating the four main stages from input data to final inference.

The choice of nBC and RL was deliberate; unlike more complex deep learning models, their parameters directly reflect network properties like homophily and class balance, making the results highly interpretable.

Key Findings: Structure Over Algorithm

The study reveals that network structure is often a more potent predictor of classification success than the specific algorithm used.

The Heterophily Advantage

A counter-intuitive finding is the "heterophily advantage." In heterophilic networks—where "opposites attract" and nodes tend to connect to those with different labels—classification performance reaches high stability with significantly smaller training samples compared to homophilic networks. In these environments, the prevalence of cross-class edges provides a dominant, easily detectable signal. Conversely, homophilic networks require the model to learn two distinct signals (intra-class connections for both groups), making them more sensitive to noise in small samples.

The Parameter Estimation Paradox

The research also highlights a tension between statistical accuracy and classification performance. While partial crawls (simulating web crawlers) produce the most "honest" parameters that accurately reflect the whole network's statistics, degree sampling (targeting influential hubs) consistently yields the highest classification accuracy. This suggests that for practical prediction tasks, knowing the connections of influential nodes is more valuable than having a perfectly representative statistical sample.

Understanding and Mitigating Bias

Bias against minority groups is a significant concern in automated classification. The study found that this bias is most severe in homophilic networks with uneven class balances. In these scenarios, the algorithm tends to over-predict the majority class. Interestingly, heterophilic networks are naturally more robust, maintaining fairer classification outcomes even when data is scarce.

Conclusion and Future Directions

This work demonstrates that classification performance is highly predictable based on fundamental network properties: homophily, class balance, density, and sample size. While dense networks generally outperform sparse ones, the "neutral" regime (where connections are random) remains the most challenging.

Future research aims to move beyond binary attributes and undirected networks. Additionally, exploring "friends-of-friends" (2-hop) similarities may provide the necessary signal to improve performance in neutral networks where direct neighbors offer little predictive value.

Summary updated

BibTeX
@article{espinnoboa2021explaining,
  author = {Lisette Espín-Noboa and Fariba Karimi and Bruno Ribeiro and Kristina Lerman and Claudia Wagner},
  title = {{Explaining classification performance and bias via network structure and sampling technique}},
  journal = {Appl. Netw. Sci.},
  year = {2021},
  doi = {10.1007/s41109-021-00394-3},
}
Figure