Abstract
The goal of digital contact tracing is to diminish the spread of an epidemic or pandemic by detecting and mitigating public health emergencies using digital technologies. Since the start of the COVID-19 pandemic, a wide variety of mobile digital apps have been deployed to identify people exposed to the SARS-CoV-2 coronavirus and to stop onward transmission. Tracing sources of spreading (i.e., backward contact tracing), has been used in Japan and Australia, has proven crucial as going backward can pick up infections that might otherwise be missed at superspreading events. Can network science robustify backward contact tracing? How to automatically optimize data-driven contact tracing? This will entail a learning by design approach. In this paper, we formulate the forward and backward contact tracing problem for contagion source inference as a maximum-likelihood (ML) estimation problem with iterative infection networked data sampling. This covers a well-known special case of a priori knowing the entire infection network topology. As the full infection network topology is rarely accurately known upfront, this problem is challenging to solve due to its combinatorial complexity, problem scale and the speed of spreading as a disease virus becomes more infectious over time. We propose a Graph Neural Network (GNN) learning framework, DeepTrace, to efficiently compute the ML estimator and to track the most-likely superspreader iteratively as the contact tracing networked data grows in size. The GNN supervised learning leverages the likelihood-estimation structure so as to endow the training set with useful topological features to facilitate accelerated training time and convergence behavior. Using data of COVID-19 variants with different infectiousness property, we show that DeepTrace has better performance than the state-of-the-art for identifying superspreaders and can serve as a statistically rigorous basis to design scalable digital contact tracing for future epidemics.
Introduction
In the fight against global pandemics, contact tracing remains a primary weapon for public health authorities. While most digital efforts focus on forward tracing—identifying who an infected person might have exposed—backward tracing is often more effective at stopping outbreaks. By finding the source of an infection, tracers can pinpoint "superspreaders" responsible for the majority of transmissions.
However, the full "infection network" is rarely known upfront. Tracers must make decisions based on incomplete, growing data. Mathematically, finding the source in a network is a Maximum Likelihood Estimation (MLE) problem with staggering combinatorial complexity. Traditional methods, like rumor centrality, struggle to scale or handle the evolving topologies of real-world social networks. DeepTrace addresses these challenges by treating contact tracing as an iterative, data-driven optimization problem.
Methods
DeepTrace is an inductive learning framework that treats contact tracing as an "online maze solving" problem. It models forward tracing (expanding the network) and backward tracing (inferring the source) as a unified, iterative process.
The framework utilizes a GraphSage architecture with LSTM aggregators. This choice is critical because it is inductive—the model learns general rules about disease spread across graph structures, allowing it to function on networks of different sizes and shapes that it did not see during training. To assist the GNN in identifying the source, the authors engineered three key graph-theoretic features: Degree Ratio, Infected Proportion, and Boundary Distance Ratio. The model undergoes a two-phase training process: pre-training on large-scale synthetic data followed by fine-tuning on exact MLE labels to sharpen accuracy.
Key Results
The researchers validated DeepTrace using synthetic networks and real-world COVID-19 data from Taiwan and Hong Kong. In the Taiwan dataset, DeepTrace’s predictions matched the actual superspreaders identified by government health authorities.
One of the most powerful findings is the model's ability to generalize. A GNN trained on small networks can effectively identify sources in much larger networks without significant loss in accuracy.
As shown in the performance metrics, Top-10 and Top-20 prediction accuracy remained high (above 80% in many scenarios) even as the number of nodes in the validation graphs increased from 50 to 2,500. Furthermore, as the contact tracing network grew, the "hop distance" between the model's prediction and the true source decreased rapidly, demonstrating that the model successfully "zooms in" on the superspreader as more data arrives.
Conclusion
DeepTrace demonstrates that topological features, such as the Boundary Distance Ratio, are often more predictive of an infection source than simple infection counts. By framing contact tracing as a navigation problem within a graph, the model provides a scalable, statistically rigorous basis for digital health interventions. Future work will focus on adapting the model to more complex epidemiological dynamics (like SIR models) and improving robustness against noisy or missing contact data.
Summary updated