Abstract
Traditional influence maximization models often treat networks as static entities, failing to account for the temporal dynamics inherent in real-world systems like social media or disease vectors. This paper introduces the Spatio-Temporal Influence Maximization (STIM) model, which utilizes Deep Reinforcement Learning (DRL) and Graph Embeddings to optimize seeding strategies in Time-Varying Graphs (TVGs). By integrating Structure2Vec for spatial representation and LSTMs for temporal sequence modeling, STIM identifies not only the most influential nodes but also the optimal time to activate them. Our results show that STIM significantly outperforms greedy baselines and generalizes effectively to real-world temporal networks.
Introduction
Influence maximization is the strategic selection of a set of "seed" nodes in a network to maximize the spread of information. While well-studied in static graphs, the problem becomes significantly more complex in Time-Varying Graphs (TVGs), where connectivity patterns evolve over time. In such environments, a node's importance is transient; acting too early may waste resources on an under-connected node, while waiting too long may miss a critical window of high connectivity. STIM addresses this dual spatial and temporal challenge by learning to predict future connectivity peaks and the resulting diffusion rewards.
Methodology
The STIM framework consists of three primary components designed to handle the complexity of dynamic networks:
Graph Embedding with Structure2Vec
To process complex graph topologies, STIM employs a modified Structure2Vec approach. This method transforms the local neighborhood of each node into a low-dimensional vector, allowing the model to capture spatial relationships efficiently.
Temporal Modeling and Reinforcement Learning
Because graph structures change at every discrete time step, STIM utilizes Long Short-Term Memory (LSTM) layers to process sequences of these embeddings. This temporal modeling allows the agent to identify whether a node is in a growth or shrinking phase of connectivity.
The decision-making process is governed by Distributional Reinforcement Learning (specifically the Categorical Algorithm). Unlike standard Q-learning, which predicts average rewards, the Categorical Algorithm predicts a distribution of possible rewards. This is crucial for information diffusion, which is inherently stochastic.
The model's reward function focuses on "Influence Count," incentivizing the agent to maximize the number of nodes susceptible to information, thereby ensuring a robust spread even before full "infection" occurs.
Experimental Evaluation
The model was evaluated using two primary datasets:
- Artificial TVGs: A training set of 500 synthetic graphs (500–1000 nodes) generated with scale-free properties and "cyclic nodes" to simulate periodic connectivity changes.
- Real-World TVG: The EU email temporal network, tracking exchanges over 803 days among 986 nodes.
Key Results
STIM demonstrated a clear advantage over the "Greedy" baseline, which simply selects nodes based on their current degree. Notably, STIM's performance approached that of an "Oracle" agent—an agent with perfect knowledge of the network's underlying evolution rules. This indicates that STIM successfully learned to reverse-engineer hidden network dynamics through observation. Furthermore, the model showed strong generalization capabilities, performing well on the real-world email dataset despite being trained solely on synthetic data.
Discussion and Conclusion
A significant advantage of the STIM framework is its linear scalability, with a time complexity of $O(|E|)$. This makes it a viable solution for large-scale networks where traditional algorithms struggle. Additionally, the architecture is versatile; by modifying the reward function, STIM could be adapted to halt diffusion (e.g., controlling epidemics) or manage budgeted influence maximization.
Future work will focus on adapting the model for continuous edge streams rather than discrete snapshots and incorporating explicit budget constraints into the reinforcement learning loop to penalize high-cost activations.
Summary updated