Abstract
Temporal networks are essential for modeling and understanding systems whose behavior varies in time, from social interactions to biological systems. Often, however, real-world data are prohibitively expensive to collect on a large scale or unshareable due to privacy concerns. A promising way to bypass this problem consists in generating arbitrarily large and anonymized synthetic graphs with the properties of real-world networks, namely 'surrogate networks'. Until now, the generation of realistic surrogate temporal networks has remained an open problem due to the difficulty of capturing both temporal and topological properties, as well as their correlations, in a scalable model. We propose ETN-gen, a novel and simple method for generating surrogate temporal networks. Our method decomposes the input network into star-like structures evolving in time, which are then used as building blocks to generate a surrogate temporal network. Our model vastly outperforms current methods across multiple examples of temporal networks in terms of both topological and dynamical similarity. We further show that beyond generating realistic interaction patterns, our method captures intrinsic temporal periodicity, all with an execution time lower than competing methods by multiple orders of magnitude. The simplicity of our algorithm makes it easily interpretable, extendable and algorithmically scalable.
Introduction
Temporal networks—graphs where connections between nodes change over time—are vital for studying dynamic processes such as disease spread and social interactions. However, high-quality temporal data is often difficult to obtain or share due to privacy regulations. Surrogate networks provide a solution by creating synthetic datasets that preserve the statistical properties of the original data without revealing individual identities. The primary challenge in generating these networks is capturing the "non-trivial interplay" between topology (who is connected) and dynamics (when they are connected). Existing models often fail to scale or miss fine-grained patterns like periodicity.
Methods: The ETN-gen Algorithm
The core innovation of ETN-gen is the Egocentric Temporal Neighborhood (ETN). Instead of modeling the global graph, the algorithm adopts the perspective of an individual "ego" node.
1. Decomposition and Encoding
The input network is decomposed into neighborhoods consisting of an ego and its immediate neighbors over a short time window ($k$). These neighborhoods are encoded as binary strings (1 for an interaction, 0 for none). By ignoring connections between neighbors, the method "linearizes" the neighborhood, avoiding the computationally expensive subgraph isomorphism problem that plagues other motif-based methods.
2. Local Probability Distributions
The model constructs a local probability distribution for these signatures. Given a "prefix" (the state of a neighborhood over the last $k-1$ steps), it calculates the likelihood of various "extensions" into the next time step. This allows the model to capture local temporal dependencies and periodicity.
3. Generation and Validation
To generate a new temporal layer, the model samples from these distributions for every node. This creates a "provisional layer" of connection requests. Because nodes sample independently, conflicts can arise (e.g., node A requests B, but B does not request A). A validation system resolves these to ensure topological consistency.
Datasets and Evaluation
ETN-gen was evaluated on 10 diverse datasets, including face-to-face interactions from SocioPatterns (hospitals, schools) and communication logs (SMS, phone calls). These datasets range from 75 to 568 nodes with temporal resolutions of 5 to 10 minutes.
Key Results
- Efficiency: ETN-gen is orders of magnitude faster than state-of-the-art methods. For instance, it processed the Hospital dataset in 17 seconds, compared to 10 hours for the Dymond model.
- Topological Fidelity: Using the Kolmogorov-Smirnov (KS) distance, ETN-gen consistently outperformed competitors across 17 metrics, including node centrality and contact duration.
- Functional Preservation: Simulations of Random Walks and SIR epidemic models on ETN-gen networks yielded results highly similar to those on original networks, confirming that the surrogate networks preserve the dynamical properties of the real systems.
Discussion and Limitations
While ETN-gen is highly effective, its reliance on a short time window ($k$) limits its "long-term memory," making it difficult to capture very infrequent interactions. Additionally, the egocentric focus can overlook high-order global structures like large-scale communities. Future work may involve incorporating memory mechanisms or second-order interactions to address these gaps.
Conclusion
ETN-gen offers a scalable, interpretable, and high-performance framework for generating surrogate temporal networks. Its simplicity and speed make it a powerful tool for data augmentation and privacy-preserving research in complex systems.
Summary updated