<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>International Workshop on Modern Machine Learning Technologies, June</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Towards complexity reduction of large-scale epidemic simulation in two-scale networks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yulian Kuryliak</string-name>
          <email>yulian.a.kuryliak@lpnu.ua</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Michael Emmerich</string-name>
          <email>michael.t.m.emmerich@jyu.fi</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Information Technology, University of Jyväskylä</institution>
          ,
          <addr-line>P.O.Box 35 (Agora) FI-40014</addr-line>
          ,
          <country country="FI">Finland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Institute of Computer Science and Information Technologies, ICSIT of Lviv Polytechnic National University</institution>
          ,
          <addr-line>12 Stepan Bandera street, 79000 Lviv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2025</year>
      </pub-date>
      <volume>14</volume>
      <issue>2025</issue>
      <abstract>
        <p>We propose a two-scale epidemic model that distinguishes intra-community infection dynamics from intercommunity transmission. At the micro-layer, an epidemic outbreak within a community is simulated with the Gillespie SIR engine with additional infections. At the macro scale each community collapses to a single node in a mobility-weighted meta-population graph; stochastic transmissions between nodes are timed with a hazard-integral implementation of Gillespie's SSA allows dynamically varying infectivity and susceptibility parameters to account for behavior changes, interventions, or emerging variants. We aim to reduce the complexity of visual analysis and simulation by introducing techniques to capture key aspects of two-scale network dynamics. For visualization, we propose Sankey diagrams to depict virus strain infection rates across communities. Our two-scale simulation approach considers cumulative infection exposure, allowing nodes to continue receiving infection pressure from external sources after initial outbreaks, capturing the efect of ongoing inter-community interactions. By abstracting macro-edges from point-to-point contacts a complexity reduction by a multiplicative factor proportional to the squared average size of a community can be achieved. Barabási-Albert model of complex scale-free network Continuous-Time Markov Chain Intensive-Care Unit (special Infectious state) Susceptible-Infectious-Removed epidemic model Stochastic Simulation Algorithm (Gillespie)</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Large Scale Epidemic Simulation</kwd>
        <kwd>Hazard-Integral Timing</kwd>
        <kwd>Multi-Scale Complex Networks</kwd>
        <kwd>Multi-Scale Networks</kwd>
        <kwd>Multi-Scale Visualization</kwd>
        <kwd>Flow Graphs</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>BA
CTMC
ICU
SIR
SSA</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <p>The aim of the paper is to develop a stochastic simulation and visual analysis technique for epidemic
outbreaks on complex networks that would be possible to scale up to a country with millions of
inhabitants. We condense a community into a single node (metanode) to model transmission between
metanodes and use an agent-based simulation with infections from the outside to depict infection
dynamics within communities.</p>
      <p>Pandemic preparedness depends on our ability to anticipate how quickly and in what way an
infection will spread, so that intensive care capacity, test-and-trace teams, and vaccination logistics can
be mobilized in time and in the right places. In practice, the most critical policy indicators are how high
the simultaneous case load climbs and how long the authorities have before that peak arrives. Classical
compartmental models capture long-term averages, but they smooth out exactly those local surges that
overwhelm hospitals. A finer-grained lens is, therefore, essential.</p>
      <p>
        One principled way to incorporate such fine -grained detail is to represent every individual as a node
in a contact network and let infection propagate along its edges. Our previous work [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] presented a
continuous-time Markov chain simulator (CTMC) based on an eficient customized Gillespie algorithm
that realizes this idea without mean-field approximations, i.e., simulating the stochastic trajectory of
an epidemic outbreak with realistic timing of events. The method works well with tens of thousands of
individuals and accurately resolves the timing and magnitude of the infection peak. The complexity of
single infection of modeling an infection event is ( ), k - average degree of a node, N - number
of nodes in the network. Taking into account the complexity, scaling the same agent-based engine
from a 10 thousand-person community suburb to a country of 40 million multiplies the state space by
three orders of magnitude per each iteration. Even if the contact graph remains sparse (average degree
 ≈ 10) a single stochastic iteration grows from seconds to hours and modeling of one full iteration
grows from minutes to weeks. Therefore, even with aggressive algorithmic optimization and access to
powerful hardware, the agent-based engine is not an option for policy studies that require hundreds of
replications across multiple parameter sets.
      </p>
      <p>To overcome this limitation, we introduce a two-layer simulation model. By isolating the infection
process within each community (micro layer) from the inter-community spread (macro layer), we
efectively eliminate a large fraction of the network edges from the simulation space. This reduces
overall complexity: the simulation time scales roughly linearly with the number of communities, in
contrast to the quadratic growth in a full agent-based model. Moreover, representing each community
as a node on the macro layer opens up new avenues for localized intervention. Policies such as mobility
restrictions, targeted vaccination, or school closures can be applied to individual communities and their
impact on national-level epidemic dynamics can be eficiently simulated and analyzed.</p>
    </sec>
    <sec id="sec-3">
      <title>2. Related Work: Multi-Scale Network Simulation in Epidemics</title>
      <p>
        Out work is mainly inspired by Colizza et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], who describe a metapopulation system using transport
lfow data as city connections.
      </p>
      <p>
        Multi-scale epidemic models extend classical compartmental models by embedding them in
metapopulation frameworks, where nodes (metanodes) represent spatially distinct populations (e.g., cities or
regions), and edges (metalinks) represent interactions such as travel or migration. The foundational
work by Colizza and Vespignani [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] demonstrated how global disease spread can be modeled by coupling
intra-population SIR dynamics with inter-population mobility networks.
      </p>
      <p>
        Recent developments focus on integrating high-resolution mobility data, heterogeneous contact patterns,
and agent-based models at the local level while maintaining coarse-grained population-level transmission
dynamics between communities. Notable approaches include the GLEaM (Global Epidemic and Mobility
model) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which combines stochastic compartment models with global airline and commuting networks,
and patch-based models for integrating real-world commuting and transportation data [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        Advances in computational tools have also enabled scalable simulations across multiple levels of
granularity. For instance, EpiGraph [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] and Covasim [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] allow for nested simulations where
communitylevel dynamics inform inter-community transmission rates.
      </p>
      <p>
        One more work that describes multiscale agent-based model is [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>Ongoing challenges include aligning model granularity with data availability, handling
nonMarkovian transitions, and calibrating heterogeneous models under uncertainty.</p>
    </sec>
    <sec id="sec-4">
      <title>3. Two-Scale Epidemic Model: Conceptual Framework</title>
      <sec id="sec-4-1">
        <title>3.1. Overview of the Two-Scale Epidemic Model</title>
        <p>National-level epidemic simulations must reconcile two conflicting requirements: (i) microscopic realism
inside each locality and (ii) computational tractability across millions of individuals. Our Two-Scale
(a) Microscopic view. Agent-level contact graph (b) Two-layer abstraction. The inter-community
comprising four densely connected communities links have been abstracted to appear as single links
(colours) and a sparse set of inter-community links. (black edges) instead of point-to-point connections.</p>
        <p>Epidemic Model achieves that balance by running two inter-connected layers whose time lines advance
in perfect synchrony (Fig. 1b):
Micro layer. Every community is treated as an independent population and simulated with a stochastic
Gillespie-based engine. At the end of each micro step  micro (typically a few hours) the model
outputs two scalars: contagiousness () and susceptibility ().</p>
        <p>Macro layer. Communities are the nodes of a mobility-weighted graph. A continuous-time Markov
chain (CTMC)whose time-dependent rates   () =   ()  () capture cross-community
mobility generates the moments at which one community seeds a new infection in another. Event
timing is obtained with the hazard–integral method described in Section 3.2.</p>
        <p>Layer synchronisation. The two layers are updated in strict lock-step:
1. During each micro interval  micro every community integrates its own SIR dynamics and refreshes
(, ); those numbers are immediately passed to the macro layer to update all   ().
2. The macro CTMC accumulates hazard () = ∫︀ Θ( )  on the same grid  = 0 +  micro;
when () reaches its random budget  ∼ Exp(1) it triggers exactly one inter-community
infection, seeds an infectious individual in the destination micro model, sets 0 ← ⋆, draws a
new ′, and resumes.</p>
        <p>This bidirectional handshake guarantees that the two layers remain numerically consistent at every
discrete step.</p>
        <p>Sankey Flow diagram. The diagram in Fig. 2 summarizes the simulation output of a simulated
epidemic outbreak on the ’network of communities’ scale. Figure 2 arranges the communities in two
vertical bands. The bigger a node that represents a community is, the more infections the community
transmitted or received. Nodes on the (left) represent the source community of an infection event,
while those on the central and right marks the recipient communities. The flow from left to central
column counts all inter-community (macro-layer) infection events, while the frow from central to
right column tallies the accumulated intra-community (micro-layer) infections. The thickness of each
ribbon is scaled as</p>
        <p>=  √︀ ,
where  is the total number of transmissions and  a global scale factor chosen so that the thinnest
visible edge remains ≈ 0.4 pt. This square-root mapping preserves small but epidemiologically relevant
lfows without allowing the largest outbreaks to dominate the canvas.</p>
        <p>Start by following the thickest ribbons leaving the macro-layer. The most prominent stream pinpoints
the community that exports the bulk of infections. Next, compare the width of its return flow: a narrow
link back to itself but broad outgoing links to others signals a net exporter of infection pressure. In
contrast, symmetric back-and-forth ribbons between two nodes indicate reciprocal mixing. The
microlayer further reveals where those imports amplify, because the right-hand node width is proportional to
the cumulative intra-community burden. Thus, a modest import flow that swells into a thick micro-layer
node flags a vulnerable community with intense local spread. quick visual estimate of the proportional
contribution of each external source to a given outbreak.</p>
        <p>Because the underlying contact graph (in which the simulation 2 was performed) is generated with
the Barabási–Albert (BA) model, it contains high-degree hubs that contact many nodes in almost every
community. As a result, the in the network are not strongly separated communities, therefore the
totals of inter-community and intra-community infections are similar. Real-world contact networks
are also approximately scale-free but typically have hubs of lower degree—households, workplaces, or
schools rather than global “super-connectors.” We therefore expect real data to show a larger share of
intra-community transmission than the BA benchmark depicted here.</p>
        <p>Complexity advantage. Let  be the total number of agents (nodes) split into  communities.
Denote by  their local sizes, by  the number of edges in the intra-community contact graph of
community , and by inter the number of inter-community mobility edges in the macro graph. A naïve
agent-level SSA stores and updates one channel per susceptible–infectious edge, i.e. (tot) memory
and (tot  ) run time, with tot = ∑︀  + inter, T - total number of events. In dense networks
with  nodes, up to ( 2) edges may occur which can significantly strain the memory and time
resources, complicating simulations. Assuming the population can be partitioned into  equally sized
communities, and that all inter-community connections between the same pair of communities are
aggregated into a single weighted macro-link, the space complexity of the model can be reduced to
  (︀  )︀ 2)︁ . Simplifying the expression, we obtain that the space complexity reduces by a
multi︁(
plicative factor  ︁( 2 )︁</p>
        <p>
          sizes and Gillespie techniques as discussed in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. With the two-scale split:
        </p>
        <p>. The time complexity can be precisely determined using specific community
⟨⟩ are the current number of infectious nodes and their average intra-degree;
• each Gillespie micro engine costs () memory and (⟨⟩) time per infection, where  and
• the macro layer needs only (inter) channels and advances them in (inter) per macro event
by the hazard–integral rule.
inter︀) , yielding near-linear scaling in the number of communities.</p>
        <p>Overall storage scales as (︀ ∑︀  +inter ≪
︀)</p>
        <p>(tot) and the run time per global step as (︀ ∑︀ ⟨⟩+
Targeted–intervention capability. Because each community evolves in its own micro simulator,
the platform naturally supports spatially targeted measures—lock-downs, surge vaccination or travel
restrictions—are applied by simply altering that community’s parameters. An intervention applied to
community  simply modifies its micro parameters (e.g. infection and recovery rates, edge weights or
community structure), which in turn alters () and (). Those updated scalars automatically feed
into the macro rates   () and  (), letting the model capture knock-on efects such as reduced export
of cases from a locked-down community or heightened import risk for under-vaccinated comminuty.</p>
      </sec>
      <sec id="sec-4-2">
        <title>3.2. Macro-Layer: Inter-Community Transmission Model</title>
        <sec id="sec-4-2-1">
          <title>Network representation.</title>
          <p>The national (or regional) population is partitioned into  discrete
communities—cities, districts, university campuses, etc.— which become the nodes of a directed,
weighted meta-population network. The weight  on edge (, ) measures how easily infection
can pass from community  to community ; it can be estimated from commuting statistics,
transportation schedules, mobile-phone mobility data, or other social-interaction proxies.</p>
        </sec>
        <sec id="sec-4-2-2">
          <title>Node attributes.</title>
          <p>Every node carries two time-dependent scalars, obtained from a within-community
• Susceptibility  () – proportional to the remaining susceptible individuals in the community .
Inter-community transmission rate. The instantaneous hazard (rate) that one infection is seeded
from community  to community  is</p>
          <p>() =    ()  () ,
where  is infection rate or the biological transmission rate of the pathogen and  is a constant
calibration factor that matches the macro layer infection rate to the micro layer one. Only one kind of
stochastic event exists at the macro layer: “one additional infection appears in community ”. After such
an event, both () and  () are updated by the micro-layer models and all   () are refreshed.
(micro-layer) simulator:</p>
          <p>community ;
• Contagiousness () – proportional to the current number of infectious individuals in the</p>
        </sec>
        <sec id="sec-4-2-3">
          <title>3.2.1. Modelling the Waiting Time Between Events</title>
        </sec>
        <sec id="sec-4-2-4">
          <title>Why the classical exponential draw is insuficient.</title>
          <p>Gillespie algorithm samples the waiting time as
∆  = −
ln 
Θ
,
 ∼  (0, 1) .</p>
          <p>This relies on the density  () = Θ − Θ of the Exp(Θ)
distribution. In our application the rate is
not constant because () and  () evolve continuously. The correct total rate is therefore a function
of time:
With a constant total rate Θ =
∑︀̸=
  , the
Non-homogeneous Poisson formulation. For a time-dependent rate, the probability that the next
macro event has not occurred by real time  is
Θ( ) = ∑︁   ().</p>
          <p≯=
 (︀ event &gt; )︀ = exp(︁ − ∫︀0 Θ( )  ,</p>
          <p>
            ︁)
⏟
()
⏞
where 0 is the moment the previous macro event happened and () is the cumulative hazard.
This survival function generalises the familiar − Θ of the homogeneous case. For more information
see [
            <xref ref-type="bibr" rid="ref8">8</xref>
            ].
the cumulative hazard
Hazard–integral sampling rule. Let 0 be the calendar time of the last macro-layer event. Define
∫︁
          </p>
          <p>0
() =</p>
          <p>Θ( ) ,
where Θ( ) = ∑︀̸=
and convert it through the inverse cumulative distribution function (CDF) of the unit-rate exponential:
  () is the instantaneous network rate. Draw one uniform deviate  ∼  (0, 1)
 =  − 1( ) = − ln 
=⇒
 ∼ Exp(1).</p>
          <p>Thus  is a sample obtained from the CDF of the Exp(1) distribution. The next inter-community
infection occurs at the first calendar time ⋆ &gt; 0 satisfying</p>
          <p>(⋆) =  .</p>
          <p>Intuitively,  acts as a random “risk budget”; the event fires when the accumulated hazard reaches
this threshold. If Θ( ) is constant, () = Θ( 
formula ∆  = − ln /Θ .</p>
          <p>− 0) and the rule collapses to the familiar Gillespie</p>
        </sec>
        <sec id="sec-4-2-5">
          <title>Numerical scheme for a black-box Θ( ).</title>
          <p>Because Θ( ) is available only at discrete micro-layer
update times, we approximate the integral in rectangles of width  (e.g.  = 0.1 day):
+1 =  + Θ (︀  + 2 )︀ ,  +1 =  + .
[, +1); assuming Θ is nearly constant there, we interpolate to obtain the exact calendar time
We accumulate these rectangles until +1 ≥</p>
          <p>. The event must occur inside the last interval
⋆ =  +</p>
          <p>Θ (︀ − +2 )︀ .</p>
          <p>Selecting the transmitting edge. At ⋆ the probability that edge (, ) is the one that fires is</p>
          <p>Pr{︀ (, ) fires at ⋆}︀ =  Θ( (⋆⋆)) .</p>
          <p>We seed one infection in community , update the micro models for  and , set 0 ← ⋆, draw a new
′ ∼ Exp(1), and repeat the cycle.</p>
          <p>Accuracy and step-size choice. The local error of the midpoint rectangle is ( 3); choosing  one
order of magnitude smaller than the reporting interval (e.g. 0.1 day when epidemiological data are daily)
keeps timing errors below a few minutes—negligible relative to epidemiological uncertainty.
Constant-rate sanity check. If Θ( ) ≡  is constant, the integral collapses to  ( − 0) and the
method reproduces the classical formula ∆  = − ln / . Thus the hazard-integral procedure is a true
generalisation of Gillespie’s original algorithm.</p>
        </sec>
      </sec>
      <sec id="sec-4-3">
        <title>3.3. Micro-Layer: Intra-Community Infection Dynamics</title>
        <p>
          This layer runs an exact continuous-time SIR process on the contact graph of a single community. It
is implemented with the incremental Gillespie algorithm described in our earlier work [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] and extended
here to cooperate with occasional imported (macro-driven) infections.
        </p>
        <p>Reaction channels.</p>
        <p>2 →− 
3</p>
        <p>∅→−− − −
# Transition Propensity</p>
        <p>1  + →−− −  micro  +  1 =  micro</p>
        <p>imp()

2 = 
3 =  imp()</p>
        <p>Channel 1 captures within-community contagion, channel 2 recovery, and channel 3 the import
process: every macro-layer jump seeds one new infectious individual, drawn uniformly at random from
the current susceptible list (alternative heuristics—e.g. degree-weighted seeding— are possible).
Synchronising with the macro layer. At the end of each micro step of length  micro the engine
exports
() = (),
() = (),
which refresh the inter-community rates   (). Conversely, when the macro CTMC fires an
intercommunity infection at time ⋆, the micro model of the destination community receives one additional
 via channel 3, after which all propensities and the next-event clock are recomputed. Hence the two
layers remain fully synchronised at every discrete tick.</p>
        <p>Impact of imports on epidemic curves. Figure 3 illustrates how two external seeding events (red
arrows) alter the virus dynamics within a single community: the first import at  = 7 (orange curve)
raises and advances the peak, while a second import at  = 9 (black curve) produces an even higher
and earlier epidemic crest. The plot confirms that the micro–macro simulator is supposed to accurately
capture the compound efect of imported infections on local dynamics.</p>
        <sec id="sec-4-3-1">
          <title>Challenge: waiting-time modelling with imports. External arrivals break the memoryless prop</title>
          <p>erty that underpins the classic Gillespie exponential draw:</p>
          <p>• The internal hazard Θ int() =  micro/ +  evolves continuously.
• The import hazard  imp() changes asynchronously whenever the macro layer injects a case,
producing instantaneous jumps in the total hazard.</p>
          <p>Two technical issues follow:
1. Interrupted exponentials. If an import lands before the next internally scheduled event, the
pending exponential draw becomes invalid and must be discarded; a new draw is generated from
the updated state.
2. Cumulative-hazard evaluation. A draw-once strategy keeps a running integral () =
∫︀0 Θ int()  and fires when () first exceeds  ∼ Exp(1), but the integral must be reset each
time  imp() jumps.</p>
          <p>These complications motivate a dedicated time-estimation scheme, presented in the following
subsection, that merges internal CTMC dynamics with macro imports without biasing event times.</p>
        </sec>
        <sec id="sec-4-3-2">
          <title>3.3.1. Modelling Waiting Time Between Events at Micro Layer</title>
          <p>The intra–community clock must decide which happens first:
1. an internal infection or recovery generated by the SIR Gillespie channels (propensity Θ int() =
 micro/ +  ), or
2. an import scheduled by the macro layer at a deterministic calendar time imp, ( = 1, 2, . . . ).</p>
          <p>Because the SIR propensities are constant between events, Θ int does not vary on [︀ 0, min{imp,1, ⋆})︀ .
This permits an exact, (1) waiting–time draw without numerical integration.</p>
        </sec>
        <sec id="sec-4-3-3">
          <title>Residual–budget algorithm for deterministic imports.</title>
          <p>1. Initial draw. At time 0 sample one exponential budget</p>
          <p>= − ln ,  ∼  (0, 1).</p>
          <p>If no import were pending, the internal waiting time would be ∆ int = /Θ int.
2. Compare with next import. Let bar be the next deterministic import time (or +∞ if the
queue is empty).</p>
          <p>bar − 0
{︃&lt; ∆ int import arrives first ,</p>
          <p>≥ ∆ int internal event wins.
3. Case A: internal event wins. Fire the infection or recovery at ⋆ = 0 + ∆ int, update (, , ),
set 0 ← ⋆, and return to step 1.
4. Case B: import arrives first. Advance the clock to bar = 0 +  with  &lt; ∆ int; insert one
infectious node (channel 3), which changes the rate to Θ i′nt.</p>
          <p>Compute the residual hazard budget
and resume the clock with
res =  − Θ int,
∆ after =
res .
Θ i′nt</p>
          <p>Pop the next import from the queue (if any) and go back to step 2.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>4. Summary and Outlook</title>
      <p>We introduced a two-scale modeling framework for large-scale epidemic simulation that decouples
intra-community infection dynamics from inter-community transmission. The core idea is to model
each community independently at the micro-layer — using stochastic agent-based algorithm — and
aggregate inter-community interactions via a macro-level meta-population graph. This separation of
scales enables significant computational savings while preserving the essential structure of disease
spread across regions.</p>
      <p>Our analysis shows that, assuming a balanced partition into  equally sized communities, simulation
and storage complexity can be reduced by a factor of  , from ( 2) to ((  )2 ·  ), where  is the
total population. This reduction is achieved both through an optimized two-level Gillespie algorithm
and by learning intra-community dynamics via machine learning surrogates, enabling near-quadratic
gains in some configurations. Similar principles apply to visualization: abstracting macro-transmissions
and aggregating infection curves allows epidemic flow diagrams to remain interpretable even at national
scale.</p>
      <p>The important next step would be a thorough analysis of the approximation error introduced by our
abstraction to macro-edges and the approximation of inter-infection error introduced by infection of a
random node inside a community. We could use Gillespies model on the full network as a reference
model, at least for moderate size graphs, and use empirical data or paralllel computing clusters for
sampling micro-simulation reference data for large scale reference networks.</p>
      <p>Looking ahead, several extensions are promising. First, improving the fidelity of intra-community
dynamics through hybrid machine learning–mechanistic models could boost both accuracy and speed.
Second, using data from real-world mobility and contact data for macro-layer weighting will enhance
policy relevance. Finally, we envision this framework as a foundation for real-time decision support
systems that simulate interventions interactively across spatial and social layers.
During the preparation of this work, one of the authors (Y. Kuryliak) used ChatGPT-4o and ChatGPT-o3
in order to improve grammar and text readability. Further, the author used ChatGPT to generate
ifgure 1(b). After using these tool, the author reviewed and edited the content as needed and take full
responsibility for the publication’s content.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Kuryliak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. T.</given-names>
            <surname>Emmerich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dosyn</surname>
          </string-name>
          ,
          <article-title>Simulating epidemic peak dynamics on complex networks using eficient gillespie algorithms, Infection, Genetics and Evolution (</article-title>
          <year>2025</year>
          )
          <fpage>105768</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>V.</given-names>
            <surname>Colizza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Vespignani</surname>
          </string-name>
          ,
          <article-title>Epidemic modeling in metapopulation systems with heterogeneous coupling pattern: Theory and simulations</article-title>
          ,
          <source>Journal of theoretical biology 251</source>
          (
          <year>2008</year>
          )
          <fpage>450</fpage>
          -
          <lpage>467</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            <surname>Balcan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Colizza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gonçalves</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Ramasco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Vespignani</surname>
          </string-name>
          ,
          <article-title>Modeling the spatial spread of infectious diseases: The global epidemic and mobility computational model</article-title>
          ,
          <source>Journal of Computational Science</source>
          <volume>1</volume>
          (
          <year>2010</year>
          )
          <fpage>132</fpage>
          -
          <lpage>145</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>M.</given-names>
            <surname>Ajelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gonçalves</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Balcan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Colizza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. J.</given-names>
            <surname>Ramasco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Merler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Vespignani</surname>
          </string-name>
          ,
          <article-title>Comparing large-scale computational approaches to epidemic modeling: Agent-based versus structured metapopulation models</article-title>
          ,
          <source>BMC Infectious Diseases</source>
          <volume>10</volume>
          (
          <year>2010</year>
          )
          <fpage>190</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>N.</given-names>
            <surname>Hoertel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Blachier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Blanco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Olfson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Massetti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Rico</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Limosin</surname>
          </string-name>
          ,
          <article-title>A stochastic agent-based model of the sars-cov-2 epidemic in france</article-title>
          ,
          <source>Nature Medicine</source>
          <volume>26</volume>
          (
          <year>2020</year>
          )
          <fpage>1417</fpage>
          -
          <lpage>1421</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>C. C.</given-names>
            <surname>Kerr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. M.</given-names>
            <surname>Stuart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Mistry</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. G.</given-names>
            <surname>Abeysuriya</surname>
          </string-name>
          , G. Hart,
          <string-name>
            <given-names>K.</given-names>
            <surname>Rosenfeld</surname>
          </string-name>
          , et al.,
          <article-title>Covasim: an agent-based model of covid-19 dynamics and interventions</article-title>
          ,
          <source>PLoS Computational Biology</source>
          <volume>17</volume>
          (
          <year>2021</year>
          )
          <article-title>e1009149</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>L.</given-names>
            <surname>Kou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <article-title>A multi-scale agent-based model of infectious disease transmission to assess the impact of vaccination and non-pharmaceutical interventions: The covid19 case</article-title>
          ,
          <source>Journal of Safety Science and Resilience</source>
          <volume>2</volume>
          (
          <year>2021</year>
          )
          <fpage>199</fpage>
          -
          <lpage>207</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>C. L.</given-names>
            <surname>Vestergaard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Génois</surname>
          </string-name>
          ,
          <article-title>Temporal gillespie algorithm: Fast simulation of contagion processes on time-varying networks</article-title>
          ,
          <source>PLoS Computational Biology</source>
          <volume>11</volume>
          (
          <year>2015</year>
          )
          <article-title>e1004579</article-title>
          . doi:
          <volume>10</volume>
          .1371/journal. pcbi.
          <volume>1004579</volume>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>