Abstract
The rapid growth of social networks and data access limitations have made obtaining complete network topologies increasingly difficult. While diffusion information is often available, existing inference algorithms typically focus on link accuracy while neglecting the preservation of critical topological characteristics. This paper introduces DANI (Diffusion Aware Network Inference), a novel method designed to infer underlying networks while maintaining structural properties like modularity and degree distribution. DANI utilizes a Markov transition matrix derived from time-series cascades and node-node similarity metrics. The algorithm boasts linear time complexity and is scalable via the MapReduce framework. Experimental results on synthetic and real-world datasets demonstrate that DANI achieves higher accuracy and lower runtimes than state-of-the-art methods while faithfully preserving network topology.
Introduction: The Challenge of Hidden Networks
In modern digital ecosystems, we frequently observe the effects of a social network—such as the spread of a viral meme or news story—without having access to the underlying "wires" (the actual follower or friend links). Privacy settings and API restrictions often obscure the true network topology. Network inference aims to reconstruct these hidden links by analyzing diffusion cascades: the sequence and timing of information propagation across nodes.
A significant limitation of previous algorithms is their failure to produce networks that "look" like real-world social structures. While they may identify individual links, they often fail to capture modular community structures, clustering coefficients, or specific degree distributions. DANI addresses this by balancing diffusion dynamics with physical topological constraints.
Methodology: The DANI Approach
DANI operates on a two-pronged strategy to reconstruct the network while ensuring structural fidelity:
- Diffusion Information (Markov Chain Modeling): DANI models information spread as a discrete-time stochastic process. It constructs a transition matrix where the probability of a link between node $u$ and $v$ is inversely proportional to the difference in their infection times. If node $v$ is infected shortly after node $u$, there is a higher mathematical probability of a direct connection.
- Structural Information (Node-Node Similarity): To preserve the network's "shape," DANI employs a similarity metric based on the Jaccard index. It analyzes how frequently two nodes appear in the same cascades. Consistent co-occurrence suggests the nodes belong to the same community (a "strong tie").
By combining these factors into a single weight for every potential edge and maximizing a log-likelihood function, DANI identifies the most probable network structure. Crucially, the algorithm is designed for speed, achieving linear time complexity relative to the number of nodes and cascades. A distributed version using MapReduce further enables scalability for massive datasets.
Experimental Evaluation
The researchers evaluated DANI using both synthetic benchmarks (LFR networks) and large-scale real-world datasets, including LinkedIn, MemeTracker, and a Twitter dataset containing 124k nodes.
Key Results
- Accuracy and Topology: DANI consistently outperformed or matched established methods like NetInf and NetRate in F1-scores. More importantly, it achieved the lowest Jensen-Shannon (JS) distance, indicating that its inferred degree distributions were the most similar to the ground truth.
- Computational Efficiency: On the massive Twitter dataset, DANI was one of the few algorithms capable of terminating in a reasonable timeframe, whereas competing methods often took days or failed to complete.
- Structural Integrity: Unlike probabilistic models that often leave active nodes isolated, DANI ensures that nodes participating in cascades are connected to the network, maintaining the modularity and density typical of real social structures.
Conclusion and Future Work
DANI represents a significant step forward in network inference by prioritizing topological structure alongside link accuracy. By treating a network as a topological entity rather than just a collection of edges, it provides more useful models for downstream tasks like viral marketing or community analysis. Future research will address the challenge of missing data, focusing on inferring "phantom" nodes that may be hidden due to privacy settings but are essential for passing information between observed users.
Summary updated