Network quantification despite biased labels

Lei Tang, Huiji Gao, Huan LiuMLG @ KDD 2010

TL;DR

This paper tackles the challenge of estimating the prevalence of a particular characteristic (e.g., political leaning, product preference) within a social network, even when the available labeled data is biased. They propose and compare two main approaches: classification-based quantification and a novel link-based quantification method, demonstrating that specialized techniques are crucial for accurate network-level estimations, outperforming simple classification-based counts.

What Problem Does This Paper Address?

In today's digital age, social media and online platforms generate vast amounts of network data, offering unprecedented opportunities to understand collective human behavior. Often, the goal isn't to classify individual users but to understand the aggregated properties of groups – for instance, what percentage of users support a certain political candidate or have a particular opinion. This is known as "quantification."

Traditional machine learning methods, however, are typically optimized for individual predictions and often assume that the training data and the data to be predicted share the same distribution. This assumption breaks down in real-world scenarios, especially with social networks where:

  • Biased Labels: The process of collecting labels can introduce biases. For example, users who are more vocal about their opinions might be more likely to be labeled, skewing the dataset.
  • Dynamic Networks: Networks constantly evolve with new users and connections, making it hard for labeled samples to always reflect the current network state.
  • Imbalanced Classes: Some characteristics are rare, leading to a significant imbalance between positive and negative instances, which further challenges standard classification.

Furthermore, many existing quantification methods rely on classification, which can be computationally expensive for large networks. This paper aims to develop and evaluate methods for accurate network quantification that can handle biased labels and are efficient for large-scale networks.

Methods

The paper presents two main categories of quantification methods:

  1. Classification-Based Quantification: These methods leverage existing classifiers. The core idea is to train a classifier on the available (potentially biased) labeled data, obtain prediction scores for all nodes, and then use these scores to estimate prevalence.
  2. Classify & Count (CC): A naive approach where predictions are made, and then counts are taken. This is shown to be highly unreliable.
  3. Adjusted Count (AC): This method uses the true positive rate (TPR) and false positive rate (FPR) of a classifier to correct for biases. It relies on estimating TPR and FPR, often through cross-validation.
  4. Probabilistic Classify and Count (pCC) / Probabilistic Adjusted Count (PAC): These are "soft" versions of CC and AC, using probabilistic predictions rather than hard class labels, which can offer some improvement.
  5. T50: A heuristic for AC that sets the classification threshold to achieve a TPR of 50%.
  6. Median Sweep (MS): A more robust method that explores various classification thresholds to generate multiple prevalence estimates and then takes the median. This method is shown to be quite effective.
  7. Link-Based Quantification (LBQ): This is the novel contribution of the paper. Instead of relying on individual node predictions, LBQ leverages the network structure itself. It models the probability of a connection to a node as a mixture of probabilities from positive and negative class nodes.
  8. The core idea is based on the equation: $p(i) = p(i|+)p(+) + p(i|-)p(-)$, where $p(i)$ is the probability of a connection to node $i$, $p(i|+)$ and $p(i|-)$ are probabilities of connections from positive and negative nodes respectively, and $p(+)$ and $p(-)$ are the prevalences.
  9. This equation can be rearranged to estimate $p(+)$.
  10. To handle sparsity and capture more network structure, the method can be extended to consider nodes up to $k$ hops away (LBQk). The paper explores $k=1, 2, 3$ and finds $k=2$ often provides the best balance between information and noise.
  11. A key advantage is that LBQ does not require individual node classification or collective inference, making it significantly more efficient.

Datasets

The paper evaluates its methods on three benchmark network datasets:

  • CORA: A dataset of computer science research papers, where nodes are papers and edges are citations. Classes represent paper topics.
  • IMDb: A dataset derived from the Internet Movie Database, containing movies and their connections based on shared production companies. Classes indicate whether a movie's opening weekend box-office receipts exceeded $2 million.
  • Industry: A dataset of companies linked by co-occurrence in text documents, classified into 12 industry sectors.

For evaluation, the authors convert multi-class datasets into binary classification problems by treating one class as positive and all others as negative. They specifically test scenarios with varying numbers of labeled positive and negative instances to simulate imbalanced and potentially biased training data.

Key Insights and Ideas

  • Quantification is Not Just Classification: A classifier with high accuracy doesn't guarantee accurate prevalence estimation. A toy example illustrates how misclassifications can sometimes cancel out, leading to better quantification despite lower classification accuracy.
  • Bias is Pervasive and Problematic: Simple classification-based counting (CC) is highly sensitive to label bias and class imbalance, leading to significant errors. Even probabilistic approaches offer only limited improvement if the underlying bias is strong.
  • Network Structure Holds Valuable Information: The link-based approach (LBQ) demonstrates that the connectivity patterns within a network can be directly leveraged to estimate prevalence, bypassing the need for individual predictions.
  • Median Sweep is Robust: Among classification-based methods, Median Sweep (MS) consistently performs well across various metrics, highlighting its robustness to label biases.
  • Efficiency Matters: For large-scale networks, the computational cost of classification-based methods (especially those involving collective inference and cross-validation) can be prohibitive. LBQ offers a significantly more efficient alternative.
  • Hop Distance is Key for LBQ: The number of hops considered in LBQ ($k$) impacts performance. While more hops capture more network structure, they can also introduce noise. The study found that 2-hop connections often yield the best results.

Key Results

  • LBQ Outperforms CC: Both classification-based quantification and LBQ significantly outperform the naive Classify & Count (CC) method, underscoring the necessity of specialized quantification techniques.
  • MS is the Most Accurate Classification-Based Method: Median Sweep (MS) consistently achieved the lowest absolute error and KL-divergence among classification-based methods.
  • LBQ is Highly Efficient: LBQ is orders of magnitude faster than classification-based methods, especially for large networks. For instance, on the Industry dataset, LBQ took seconds, while classification-based methods took minutes.
  • LBQ Performance is Sensitive to $k$: While LBQ is efficient, its accuracy is influenced by the choice of $k$. LBQ2 (2-hop) generally provided the best balance of valid estimates and accuracy.
  • Bias Mitigation: Methods like MS and LBQ are shown to be effective in mitigating biases present in the labeled data.

Limitations and Future Work

  • LBQ vs. MS Accuracy: While LBQ is highly efficient, its quantification performance is not as accurate as the best classification-based methods like MS.
  • LBQ Parameter Sensitivity: The performance of LBQ is sensitive to the choice of $k_{max}$ (maximum hops).
  • Future Work: The authors plan to integrate both network and attribute data for more effective quantification. They also suggest extending their social-dimension based framework for network classification to quantification. Addressing the open problem of modeling class prevalence more effectively and efficiently in networks remains a key research direction.

Summary updated

BibTeX
@inproceedings{tang2010network,
  author = {Lei Tang and Huiji Gao and Huan Liu},
  title = {{Network quantification despite biased labels}},
  booktitle = {MLG @ KDD},
  year = {2010},
  doi = {10.1145/1830252.1830271},
}

Loading related content...

Figure