Contagion Effect Estimation Using Proximal Embeddings

Zahra Fatemi, Elena Zheleva

TL;DR

This paper introduces ProEmb, a novel framework that uses Variational Autoencoders (VAEs) and adversarial networks to accurately estimate contagion effects in social networks, even when dealing with high-dimensional and unobserved confounding factors. ProEmb significantly reduces estimation error and variance compared to existing methods, making it more reliable for real-world applications.

What Problem Does This Paper Address?

Estimating the "contagion effect" – how one person's behavior influences their peers – is crucial for understanding social dynamics. However, this is notoriously difficult due to "latent homophily." This means people tend to connect with others who are already similar to them (e.g., similar political views, interests). This similarity can make it hard to distinguish genuine influence (contagion) from pre-existing similarities. Traditional methods often rely on "proxies" for these unobserved similarities. The core problem this paper tackles is that when these proxies are "high-dimensional" (i.e., have many features, like text from social media posts), existing proxy-based methods become highly inaccurate and have high variance. This makes them unreliable for real-world, data-rich scenarios.

Methods

ProEmb is a three-component framework designed to overcome the challenges of high-dimensional proxies and latent homophily:

  1. Embedding Learning: This component uses Variational Autoencoders (VAEs) to learn low-dimensional representations (embeddings) of high-dimensional proxy variables. VAEs are good at dimensionality reduction and capturing underlying structure, which helps to make the proxies more manageable and less sparse.
  2. Representation Balancing: A key novelty here is the integration of adversarial networks. These networks are trained to balance the embeddings generated by the VAEs across different "treatment groups" (e.g., individuals who are influenced vs. those who are not). This is crucial because observational data often has different distributions for these groups, and balancing them is essential for accurate causal inference. This adversarial component helps to mitigate "selection bias."
  3. Counterfactual Learning: This final component uses the balanced, low-dimensional embeddings to estimate counterfactual outcomes. The paper demonstrates this using a T-learner meta-learning algorithm, which is a standard approach for estimating individual treatment effects.

The novelty lies in the combination of VAEs for embedding high-dimensional proxies, adversarial networks for balancing representations (specifically for contagion estimation), and applying this integrated approach to the problem of contagion effects in networks.

Datasets

The paper uses a combination of semi-synthetic data and real-world datasets for evaluation:

  • Semi-synthetic data: Generated from four real-world datasets:
  • Hateful Users: A sample of tweets related to hateful and normal content.
  • Stay-at-Home (SAH): Tweets reflecting attitudes towards stay-at-home orders during COVID-19.
  • BlogCatalog: A dataset of bloggers from an online community.
  • Flickr: A dataset of users sharing photos on the platform. For Hateful Users and SAH, topic distributions derived from Latent Dirichlet Allocation (LDA) were used as unobserved confounders. For BlogCatalog and Flickr, 50 topics were learned. Network connections were synthetically generated based on latent homophily.

  • Real-world datasets:

    • French Election: A Twitter dataset about the 2017 French presidential election, used to study contagion of emotions and attitudes.
  • Peer Smoking: A dataset of high school students, used to study the influence of peer smoking behavior on individual smoking habits.

Key Insights and Ideas

  • High-dimensional proxies are a major hurdle: The paper strongly demonstrates that existing methods struggle significantly with high-dimensional proxies, leading to high bias and variance in contagion effect estimates.
  • Adversarial balancing is key for observational data: The integration of adversarial networks to balance representations between treatment and control groups is highlighted as a critical component for handling selection bias in observational network data. This is a novel contribution beyond standard VAE applications in causal inference.
  • ProEmb offers a robust solution: The ProEmb framework consistently outperforms state-of-the-art methods across various datasets and settings, showing significant improvements in accuracy and reduction in variance.
  • The "reflection problem" is real: The paper's findings in real-world scenarios, like the French Election dataset, show that sometimes peer influence can be negative or non-existent, underscoring the need for careful estimation that doesn't assume positive contagion.

Key Results

  • Significant RMSE reduction: ProEmb (specifically the PE-GB variant) consistently achieved the lowest Root Mean Squared Error (RMSE) for contagion effect estimation across all tested datasets, often by a substantial margin compared to baselines like TSLS, CEVAE, and NetD. For example, in Table 1, PE-GB shows RMSE values significantly lower than TSLS across all datasets and activation functions.
  • TSLS underperforms: Surprisingly, the established TSLS method showed the highest error and variance, suggesting its limitations with the complex, high-dimensional data scenarios addressed in this paper.
  • Real-world applicability: The framework successfully identified contagion effects in real-world scenarios, such as the negative effect of peer voting attitudes on individual tweets and the positive influence of boyfriend/girlfriend smoking on individual smoking habits.

Limitations and Future Work

  • Limitations:
    • The paper focuses on estimating contagion effects in a single hop (direct neighbors).
  • While the framework is designed for unobserved confounders, the effectiveness relies on the quality of the chosen proxies.
  • Future Work:
    • The authors suggest extending the framework to measure "multi-hop contagion effects" in networks with latent confounders.
  • Exploring other meta-learners beyond T-learner and S-learner for the counterfactual learning component.

Summary updated

BibTeX
@inproceedings{fatemi2025contagion,
  author = {Zahra Fatemi and Elena Zheleva},
  title = {{Contagion Effect Estimation Using Proximal Embeddings}},
  booktitle = {CLeaR},
  year = {2025},
  url = {https://openreview.net/forum?id=AZbOK73wPT},
}
Figure