Contingency-aware influence maximization: A reinforcement learning approach

Haipeng Chen, Wei Qiu, Han-Ching Ou, Bo An, Milind Tambe

Introduction

Influence Maximization (IM) is a fundamental problem in social network analysis, aimed at identifying a small set of "seed" nodes that can trigger the largest possible cascade of information. This has critical real-world applications, such as spreading awareness about HIV prevention among vulnerable populations. However, traditional IM models often fail to account for two major practical hurdles: contingency and computational cost.

Contingency refers to the reality that potential influencers may decline or be unable to participate. Most models assume a 100% acceptance rate, which is rarely the case in field work. Furthermore, state-of-the-art "greedy" algorithms (like CHANGE) are computationally expensive, often requiring hours of high-performance computing to process a 1,000-node network. This makes them impractical for non-profits operating with limited resources and time. This paper introduces RL4IM, a reinforcement learning approach designed to address these challenges by providing high-quality solutions in seconds.

The RL4IM Framework

The authors frame contingency-aware IM as a Markov Decision Process (MDP) and solve it using Deep Q-Learning. The architecture is built on three key innovations designed for efficiency and generalization.

Graph Embeddings and State Abstraction

To handle diverse social networks, RL4IM utilizes Structure to Vector (S2V) graph embeddings. This allows the model to learn structural features of influential nodes rather than just memorizing specific graph layouts. In a contingency-aware setting, a node's status can be complex: "unselected," "selected and willing," "selected and unwilling," or "selected but status unknown." RL4IM compresses this sparse state space into a compact vector by incorporating the prior probability ($q$) of a node's willingness to participate.

The RL4IM training pipeline and MDP state representation.

Surrogate Reward Shaping

A major bottleneck in IM is calculating the "expected marginal gain" of adding a new node, which is computationally intensive. Leveraging the mathematical property of submodularity—the principle of diminishing returns in networks—the authors developed a surrogate reward function. This reduces the complexity of reward calculation from exponential to constant time ($O(1)$), significantly accelerating the training process while maintaining theoretical guarantees on approximation accuracy.

Experimental Setup

The model was evaluated using synthetic power-law graphs (Barabási–Albert model) to mimic the "small-world" properties of human social networks. The training set consisted of 200 synthetic graphs, with 5 held-out graphs for validation and 10 completely unseen graphs (ranging from 50 to 1,000 nodes) for testing. This setup tests the model's ability to generalize its learned "rules of thumb" to entirely new community structures.

Results and Discussion

RL4IM demonstrates a significant leap in efficiency without sacrificing performance. While the baseline CHANGE algorithm required approximately 10 hours to select 20 seeds on a 1,000-node network, RL4IM generated solutions in mere seconds on a standard laptop.

Training stability and expected influence spread on validation graphs.

As shown in the training curves, the model quickly converges to a high level of expected influence. Key findings include:

  • Performance: RL4IM matched or slightly outperformed state-of-the-art greedy algorithms across various settings.
  • Robustness: The model remained stable across different levels of node willingness ($q$) and varying graph sizes. In contrast, simpler RL adaptations (like S2V-DQN-IM) proved highly unstable in these contingency-aware scenarios.
  • Generalization: Once trained, the agent can be deployed on new networks instantly, making it a viable tool for field practitioners who need quick answers without access to high-end hardware.

Conclusion and Future Work

RL4IM successfully bridges the gap between theoretical influence maximization and practical, resource-constrained application. By combining graph embeddings with submodular reward shaping, the authors have created a tool that is both robust to uncertainty and exceptionally fast. Future work will explore scenarios where the probability of participation varies between individuals or is initially unknown, further refining the model for complex real-world social dynamics.

Summary updated

BibTeX
@inproceedings{chen2021contingency,
  author = {Haipeng Chen and Wei Qiu and Han-Ching Ou and Bo An and Milind Tambe},
  title = {{Contingency-aware influence maximization: A reinforcement learning approach}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2021},
}
Figure