Learning Peer Influence Probabilities with Linear Contextual Bandits

Ahmed Sayeed Faruk, Mohammad Shahverdikondori, Elena ZhelevaarXiv 2025 · DOI

Introduction

In social recommendation and viral marketing systems, identifying "influence probability"—the likelihood that one user's action will trigger another's—is a critical yet elusive goal. Traditional observational methods often struggle to distinguish between genuine influence, homophily (similar users associating), and confounding factors (external events affecting all users). To accurately measure influence, systems must intervene by actively suggesting products or actions. However, standard online learning approaches like Multi-Armed Bandits (MABs) are typically "greedy," focusing on immediate engagement (minimizing regret) while ignoring less-tested parts of the network, leading to significant estimation errors.

The InfluenceCB Framework

This paper introduces InfluenceCB, a framework that treats influence learning as a Linear Contextual Multi-Armed Bandit (CMAB) task. In this model, each edge in the social network is an "arm" characterized by a feature vector derived from user attributes and network structure.

InfluenceCB employs an uncertainty-guided exploration strategy to balance the competing goals of engagement and network mapping. The algorithm uses an adaptive threshold ($C/t^\beta$) to switch between two phases:

  1. Exploration Phase: When uncertainty is high, the system selects the most "mysterious" edges to improve its map of the network.
  2. Exploitation Phase: When uncertainty is low, it utilizes a standard bandit algorithm (like CombLinUCB) to maximize immediate activations.

The parameter $\beta$ serves as a tunable "knob" for practitioners. Setting $\beta = 1/4$ prioritizes immediate engagement (minimizing regret), while $\beta = 1/2$ prioritizes learning the network's underlying influence patterns (minimizing RMSE).

Sensitivity analysis of Regret and RMSE across varying values of β and C on Flickr and BlogCatalog datasets.

The Fundamental Trade-off

A core theoretical contribution of this work is the proof of a "no free lunch" theorem: no algorithm can simultaneously achieve optimal rates for both regret and estimation error. If a system seeks a perfect understanding of the network, it must sacrifice immediate engagement; conversely, maximizing engagement necessitates remaining ignorant of certain network segments. Figure 1 illustrates this Pareto frontier, showing how Regret and RMSE move in opposite directions as $\beta$ is adjusted.

Empirical Results

The researchers evaluated InfluenceCB using semi-synthetic versions of the Flickr and BlogCatalog social networks. To ensure robustness, they tested the algorithm against both linear and non-linear (neural network) influence models.

Performance comparison of InfluenceCB against static, bandit, and online learning baselines.

As shown in the comparative results, InfluenceCB consistently expands the Pareto frontier, outperforming static models (like Ridge regression or NCNC) and standard bandit approaches (like LinUCB). For instance, on the Flickr dataset, InfluenceCB(0.25, RMSE) reduced estimation error (RMSE) by 31.1% compared to LinUCB, with a manageable 24.2% increase in regret. The framework also demonstrated significant robustness when actual influence patterns were non-linear, despite its linear theoretical foundations.

Conclusion

InfluenceCB provides a mathematically grounded and practically tunable solution for the exploration-exploitation dilemma in social networks. By adjusting $\beta$ and $C$, practitioners can navigate the trade-off between immediate viral success and long-term network knowledge. Future work aims to extend this framework to dynamic networks where the graph structure changes over time and to further explore non-linear reward dynamics.

Summary updated

BibTeX
@misc{faruk2025learning,
  author = {Ahmed Sayeed Faruk and Mohammad Shahverdikondori and Elena Zheleva},
  title = {{Learning Peer Influence Probabilities with Linear Contextual Bandits}},
  year = {2025},
  eprint = {2510.19119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.19119},
}
Figure