Abstract
Temporal networks are vital for modeling dynamic processes like disease spread, yet existing generative models often fail to preserve the community structures inherent in real-world social interactions. This paper introduces LETN (Labeled Egocentric Temporal Neighborhood), a generative framework that incorporates node labels—such as roles or group affiliations—into local interaction patterns. By encoding these labels into temporal signatures, LETN produces synthetic datasets that accurately mimic the social organization, modularity, and interaction durations of human behavior. Validation across diverse datasets demonstrates that LETN significantly outperforms label-unaware models in maintaining structural realism.
Introduction
The study of temporal networks—graphs where edges evolve over time—is essential for understanding dynamic systems. However, researchers frequently encounter three primary challenges: data scarcity, privacy concerns, and a lack of structural realism in synthetic models. High-quality interaction data, such as face-to-face sensor data, is often limited in scale and duration. Furthermore, sharing raw data poses significant privacy risks.
Existing generative models, such as ETN-gen, typically treat nodes as stochastically similar. In reality, social systems like hospitals or schools are highly structured; for instance, nurses interact frequently with patients but less so with other nurses over long periods. Without accounting for these roles (labels), synthetic networks often lose the modular "community" structure that defines real-world social systems, resulting in a "random soup" of interactions.
Methodology: The LETN Framework
The authors propose LETN, an extension of the ETN-gen framework designed to be community-aware. The process involves three primary stages:
1. Signature Encoding (LETNS)
For every node (the "ego"), the model examines its neighborhood over a short temporal window ($k$ steps). It encodes both the presence of links and the labels of the neighbors into a unique binary string, termed the Labelled Egocentric Temporal Neighborhood Signature (LETNS).
2. Probability Dictionaries
The model constructs a dictionary of these signatures from empirical data. It learns the transition probabilities—the likelihood that a specific local configuration (e.g., a teacher interacting with two students) will evolve into a new state in the subsequent time step.
3. Surrogate Generation and Validation
To generate a new network, the model samples from these learned dictionaries to create provisional snapshots. A critical validation step ensures that connections align with learned social "consensus" rules. If Node A attempts to connect with Node B, the link is only finalized if it is mutually supported by their respective local signatures.
Datasets and Experimental Setup
The model was validated using seven diverse datasets from the SocioPatterns repository, which tracks face-to-face interactions via wearable sensors. These include:
- Primary and High Schools: Tracking interactions between students and teachers across multiple years.
- Hospital: Capturing dynamics between patients, nurses, and doctors.
- Workplace: Office-based interactions categorized by departmental roles.
In cases where metadata is unavailable, the authors provide fallback strategies (CLETN and DLETN) to infer roles using static or dynamic community detection.
Key Results and Insights
The evaluation of LETN against the original ETN-gen and motif-based models (MTM) yielded several key findings:
- Emergent Global Structure: A significant discovery is that global community structure emerges naturally from local rules. By modeling how an individual (ego) interacts with specific types of neighbors, the global modularity of the network is preserved without being explicitly forced.
- Modularity Preservation: In the High School 2013 dataset, the original modularity was approximately 0.76. LETN achieved 0.80, whereas the label-unaware ETN-gen dropped to nearly 0.00, failing to capture any community structure.
- Temporal Fidelity: LETN accurately reproduces interaction durations. It correctly learns that intra-community interactions (e.g., within the same class) last longer than fleeting inter-community encounters.
- Bridge Behavior: The model successfully replicates "bridge" nodes, such as teachers who move between different student groups, a feature often missed by heterogeneous-unaware models.
Conclusion and Future Directions
LETN represents a significant advancement in generating realistic synthetic temporal networks. By integrating node labels, it bridges the gap between local dynamics and global social structure. Future work will explore the impact of shifting roles (label instability) and extending the temporal window to capture long-range periodicities, such as weekly routines. Additionally, applying these community-aware surrogates to epidemiological simulations will help quantify their predictive accuracy for disease spread in structured environments.
Summary updated