1. Introduction
Transportation networks form the backbone of modern economies, moving goods, people, and services across transcontinental, urban, and regional landscapes [
1]. However, they are vulnerable to disruptions such as natural disasters, traffic jams, infrastructure failures, terrorist acts, and recent pandemics, which create serious challenges for operations and society. Critical infrastructure edges refer to road segments whose removal disproportionately degrades network performance through either (i) structural disruption (increased path lengths, disconnection, etc.) or (ii) functional disruption (demand redistribution, capacity bottlenecks) or both. Unlike node-based metrics focusing on intersections, edge criticality directly assesses the vulnerability of physical infrastructure subject to failures. The importance of making transport more efficient cannot be overstated. Efficient transportation systems cut travel times, reduce operational costs, and boost economic productivity. Resilient networks, on the other hand, prevent cascading failures and keep things running under stress. A key tool in the design of a resilient network is the need to identify key components within those infrastructure settings, especially those represented by “edges”, such as roads and rail network segments, that are vulnerable and sensitive to network failure cascades. Graph-theoretic metrics such as betweenness centrality or shortest-path analysis are often taken into account in traditional approaches to vulnerability analysis [
2]. These focus on how things are connected but miss changing demand patterns, timing differences, and how disruptions affect network function [
3]. These methods capture topological importance but fail to incorporate the probabilistic nature of traffic demand or the stochastic effects of perturbations on network functionality.
In response, and to keep a clearer balance between efficiency and resilience, recent research has turned toward optimal transport (OT) theory—a mathematical framework originally proposed by [
4] and later formalized by [
5]—which provides a principled way to quantify the minimal cost of redistributing mass between probability distributions. However, classical OT and the standard Wasserstein distance assume that both distributions are defined on a common geometric space and that total mass is preserved, making it unsuitable for comparing disrupted systems where demand and supply may vary. The Wasserstein distance cannot capture the relational structure of networked systems whose topology itself changes under perturbation [
6]. To overcome this limitation, the Gromov–Wasserstein (GW) distance fixes this by comparing the metric measure spaces (mm-spaces) based on their intrinsic relational geometry rather than shared coordinates—an essential advance for analyzing transportation networks with evolving connectivity [
7].
However, GW still enforces strict mass conservation. The introduction of unbalanced OT [
8] and its GW extension, the Unbalanced Gromov–Wasserstein (UGW) formulation [
9], relaxed this restriction, allowing mass to change and only partial matches, which is a critical property for modeling disrupted or partially observed systems where traffic or demand drops or is rerouted. The Fused Unbalanced Gromov–Wasserstein (FUGW) distance [
10] takes this further by combining structural topology with node-level features (like traffic demand), mixing both geometric and attribute-based information into a single coherent metric.
This study’s primary contribution is the development of a modeling and computational framework that adapts FUGW to assess edge criticality in a transportation network with 224 nodes and 523 edges, derived from Benchmark datasets (
https://github.com/bstabler/TransportationNetworks (accessed 13 November 2025)). The framework accounts for temporal variability by adjusting edge distances with period-specific factors and adding uniform noise to simulate congestion, matching probabilistic network models [
11]. Node demands, treated as random variables (normalized as probability distributions), are changed based on edge betweenness centrality, showing realistic disruption impacts [
12]. Hyperparameter optimization using Bayesian optimization tunes FUGW parameters (α for feature-geometry balance, ρ for marginal relaxation,
for entropic regularization), ensuring computational robustness across 100 trials. The method combines graph theory for topological analysis, OT for distributional comparisons, and ranking edges based on FUGW distances between baseline and perturbed networks. This approach finds seven edges that are consistently critical across fusion parameters, confirmed by low temporal variability and strong correlations in the rankings of criticality. The framework scales well for medium urban networks and can track resilience in real time, providing practical insights for infrastructure planning and protection.
This paper is structured as follows:
Section 2 reviews related work on network resilience.
Section 3 presents networks as mm-spaces and their geometric and probabilistic properties. Distance metrics, including Hausdorff, Gromov–Hausdorff, Sturm, GW variants, and GW computational complexity, are covered in
Section 4, providing the theoretical foundation for FUGW.
Section 5 outlines the experimental design and data resources, and the computational results are explained in
Section 6, with implications for resilience strategies being concluded. Finally,
Section 7 presents the conclusions, discusses the limitations, and outlines future perspectives.
2. Related Work and Theoretical Foundations
Research on transportation network resilience has moved from topological measures toward distribution-based, geometry-aware frameworks. Early work in graph theory, such as betweenness centrality [
2,
12], highlighted structural bottlenecks but often ignored the dynamics of demand and temporal variability in usage. Recent reviews point out this gap, refs. [
13,
14] categorize resilience studies into purely structural or supply-demand models, and ref. [
15] indicates that most resilience analyses are still limited to static networks and simplified disruption scenarios. Empirical work confirms that network design and demand loading both affect resilience [
16].
In the transportation domain, numerous methods have been employed to assess vulnerability and resilience. Ref. [
17] looked at network vulnerability models, emphasizing the need for metrics that integrate topological and operational factors. Ref. [
18] proposed a step-by-step framework for resilience assessment, including recovery strategies, but they worked on simplified demand conditions. Ref. [
19] looked at modeling techniques for different transportation types and approaches, finding that many network studies still focus on connectivity or redundancy and often ignore flow or time-based demand. Ref. [
20] used the largest-connected-subgraph and efficiency drop metrics to quantify post-failure performance, but they do not take a formal distribution-based perspective. Current research on multilayer and interdependent transport networks also confirms that structural perturbations have cascading effects, but most studies still rely on graph metrics and network-flow simulations rather than metric-measure space comparisons [
21]. Many vulnerability assessments describe travel times and structural disturbances without the aid of optimal transport tools [
22]. In general, these systems, like designed infrastructure systems or even those in nature, can all be modeled using graphs; hence, a framework becomes available through which the systems’ structures and their dynamic characteristics can be analyzed [
23,
24,
25].
By taking a graph-theoretic view, recent work has begun applying optimal transport (OT) and Wasserstein formulations to networked and transportation systems. While most OT-based studies were initially concerned with graph comparison, alignment, and shape matching [
26,
27,
28,
29], extensions of OT to network dynamics are emerging. Ref. [
30] proposed Wasserstein attraction flows for dynamic mass transport on networks, tracking the evolution of node distributions with constrained barycenter updates according to network topology and capacity constraints.
This approach shows OT’s potential for network-level flow optimization but remains limited to balanced mass scenarios and does not directly quantify structural vulnerability or edge criticality. A key limitation of the Wasserstein distance is that it needs both measures to be in the same metric space [
26], but in network vulnerability assessment, that is often not the case, because, for instance, removing edges changes the network’s intrinsic geometry.
The Gromov–Wasserstein (GW) distance overcomes this by comparing internal distance structures without needing a shared embedding [
7,
31]. Ref. [
3] introduced a GW-based geometric framework for assessing structural vulnerability in urban transportation networks. By iteratively deleting edges and finding GW distances between the original and disrupted topologies, they identified critical links whose removal most alters network geometry. Their findings, especially the near-zero correlation between GW and betweenness centrality, show that GW captures global structural distortions overlooked by conventional graph-theoretic metrics. This work provides strong empirical evidence that OT-based distances can quantify systemic resilience in transportation systems. However, their application to transportation resilience—where disruptions create mass imbalance, dynamic demand, and topological alteration—remains scarce. This work provides strong empirical evidence that OT-based distances can quantify systemic resilience in transportation systems. However, their application to transportation resilience—where disruptions create mass imbalance, dynamic demand, and topological alteration—remains scarce.
In addition to these advances, the state of the art in unbalanced and Fused Optimal Transport (OT) in refs. [
8,
10] allows for the modeling of mass loss, demand variation, and feature integration, yet their direct application to network vulnerability assessment remains scarce. In this paper, we build upon these lines and apply Fused Gromov–Wasserstein (FUGW) to a temporally varying network, capturing diurnal congestion patterns and node demands across four periods (morning, noon, afternoon, night). This temporal dimension, combined with feature fusion and unbalanced regularization, provides a more comprehensive vulnerability analysis than prior approaches.
4. Distances Between Measure Network Space (m-Net-Space)
Building upon the formalization of networks as measuring network spaces in
Section 2, in the current section, quantitative methods will be developed to compare these spaces. Having defined the geometric, measure-theoretic, and relational foundations of networks, we now turn to distance functionals that capture similarities and differences between them. These distances extend classical geometric notions—such as the Hausdorff distance—to measure metric and measure network settings, thereby integrating both spatial and distributional aspects. We begin with the Hausdorff distance for subsets within a fixed space and progress to more general constructions including the Wasserstein distances, Gromov–Hausdorff, Sturm, and Gromov–Wasserstein distances, as well as their fused and unbalanced variants, which are central to modern optimal transport-based network analysis.
4.1. Wasserstein Distance
The Wasserstein distance is a cornerstone of optimal transport theory and takes a pivotal role in modern statistics, machine learning, and computational geometry. It offers a practical discrepancy measure between probability distributions by incorporating the underlying geometry of the sample space, which has been recently applied in the distributionally robust optimization setting [
43]. Unlike information-theoretic divergences such as the Kullback–Leibler or total variation distances, the Wasserstein distance satisfies the axioms of a metric and reflects the spatial arrangement of mass within the distributions [
44,
45].
In many computational and applied contexts, the measures
and
are discrete and supported on finite sets:
In the discrete setting, the p-Wasserstein distance becomes a finite-dimensional linear optimization problem:
where:
is a transport matrix (or coupling matrix) indicating how much mass is moved from to ;
is the transport polytope:
Each feasible matrix defines a valid mass-transport plan that preserves the marginals. The objective function measures the total transport cost under the ground distance .
When the transport plan is restricted to deterministic assignments, i.e., with one non-zero entry per row (and per column, for uniform measures), the problem reduces to the Monge formulation of discrete optimal transport.
4.2. Hausdorff Distance
The Hausdorff distance is a classical tool in geometry and analysis for comparing two subsets of a metric space. Given a metric space , the Hausdorff distance between two non-empty subsets determines how far the sets are from matching one another. It is defined as the largest distance one has to travel from a point in one set to reach the other set. Intuitively, if every point of is close to some point of , and vice versa, the Hausdorff distance is small; otherwise, it is large.
Formally, the Hausdorff distances are defined as follows [
46]:
This construction turns the family of compact subsets
of
into a metric space. A fundamental property is that if the underlying space
is compact, the metric space
is also compact (see e.g., [
47,
48]). This makes the Hausdorff distance particularly valuable in geometric analysis, shape comparison, and computer vision, where compact sets such as curves, surfaces, or finite point clouds are often studied.
Figure 2 shows the computation of the Hausdorff distance in
, where the distance matches the largest minimal distance between the boundary points of the two sets.
The Hausdorff distance also admits an interpretation that parallels the theory of optimal transport, especially to Wasserstein distances, which are defined between probability measures. Following [
7], one can interpret Wasserstein distances as acting on weighted sets (measures), while the Hausdorff distance corresponds to comparing the underlying unweighted supports.
Formally, in the Kantorovich formulation of optimal transport, one seeks couplings between probability measures
and
. Replacing couplings of measures with couplings of sets and replacing integration with maximization (since we are no longer averaging weights), one obtains a definition that coincides with the Hausdorff distance.
This connection is particularly strong with the
-Wasserstein distance. Indeed, for any probability measures
supported on sets
, one has the following:
where the support of an optimal coupling
provides a natural set coupling between A and B [
6]. The Hausdorff distance is widely used in applications where the geometry of sets must be compared.
4.3. Gromov–Hausdorff
The Gromov–Hausdorff (
GH) distance [
49,
50] extends the Hausdorff distance from subsets of a fixed metric space to the comparison of entire metric spaces. While the Hausdorff distance quantifies how far two subsets of the same space are from coinciding, the
GH distance measures how far two metric spaces
and
are from being isometric, i.e., structurally identical as metric spaces. Formally, the idea is to embed both spaces into a common metric space
using isometric embeddings,
and
, and then compute the Hausdorff distance between the images
and
(see
Figure 3). It is defined as the minimum Hausdorff distance between every possible isometric embedding of the two spaces in a third one [
46]:
where the infimum is taken over all possible choices of common metric spaces Z and all isometric embeddings
. By construction, the constraint on embeddings guarantees that the original distances are preserved:
and similarly for g.
This definition implies that GH defines a distance between compact metric spaces up to isometries, so that in particular if and only if there exists an isometry , i.e., h is bijective and for any .
Following [
7], the GH distance can be reformulated using couplings between the two spaces, similar in spirit to the optimal transport approach as follows:
For discrete spaces
represented using a distance matrix
, one can rewrite this optimization using binary matrices
indicating the support of the set couplings
R as follows:
The initial motivation of the
GH distance is to define and study the limits of metric spaces, as illustrated in
Figure 4, and we refer to [
48] for details. There is an explicit description of the geodesics for the GH distance [
51].
4.4. Sturm
Sturm’s distance [
52] combines ideas of the Gromov–Hausdorff distance [
7,
53] with OT.
It consists in mapping two mm-spaces
and
isometrically into a third space
, and performing OT on that third space. It reads as follows:
where
is the ground OT cost on
are isometrically embedded into Z. By comparison, the Gromov–Hausdorff distance between two metric spaces reads as follows:
where
satisfy the same constraints as for
, and
is the Hausdorff distance between two sets
and reads as follows:
A fundamental difference between Sturm’s distance and the Gromov–Hausdorff distance is the extra information contained in the measure. It allows defining integrals on and , which are smoother quantities than the suprema/infima used for the Gromov–Hausdorff distance.
Sturm’s distance was motivated by theoretical considerations, namely comparing the curvature of spaces. Unfortunately, it is difficult to implement exactly and efficiently, since a triangle inequality constraint on as well as an isometry constraint on the maps () must be imposed. Furthermore, OT is concave w.r.t. to the input cost ; thus, the minimization in yields a non-convex problem. This is the reason why we consider another distance between mm-spaces, which is more amenable to computations.
4.5. Gromov–Wasserstein
Optimal Transport enables computing assignments (or permutations) that account for metric similarities between samples. However, such a metric may not exist when the measures are defined on two different spaces. GW aims to define a meaningful distance between two mm-spaces,
and
, each represented as a probability measure over their elements and attributes. The GW distance is a strong generalization of the classic Wasserstein distance. It solves a key problem: comparing distributions that are not in the same space. The standard Wasserstein distance W
2 needs both distributions in a common space to compute direct pairwise distances. Gromov–Wasserstein, however, compares distributions using their internal structural relationships. It extends optimal transport to cases where distributions cannot be compared point by point [
7]. Instead of computing distances between individual samples from two distributions, GW realigns the metric spaces by comparing their internal distance structures through a transport between distance matrices. Let
and
be two finite metric measure spaces with weight vectors
. Denote by
and
their pairwise distance (or cost) matrices,
and
. The GW distance is designed to compare structured mm-spaces, without requiring any embedding in a common ambient space.
The (quadratic) Gromov–Wasserstein problem for a generic loss
is written in the discrete setting as follows:
where
belongs to the transportation polytope:
A common and practical choice for the loss is the squared difference
, which yields the standard squared GW objective used in most algorithmic papers. The objective in (GW) is a quadratic form in the coupling
P and is equivalent, in the balanced n = m case, to a Quadratic Assignment Problem (QAP). The QAP formulation exposes the non-convex and combinatorial character of GW in its discrete form. This discrete quadratic structure is the root of the computational hardness of exact GW [
7].
GW compares the internal metric structure of
and
, by measuring how well the pairwise distances in
match those in
under the coupling P. Unlike classical optimal transport, GW distance does not require the nodes to live in a common feature space (
Figure 4).
4.5.1. Unbalanced Gromov–Wasserstein
The Unbalanced Gromov–Wasserstein (UGW) divergence constitutes the computationally tractable core of the unbalanced optimal transport (UOT) framework [
27].
Figure 5 illustrates a motivating example contrasting optimal transport (OT) and UOT matchings between two point clouds. In the balanced OT case (
Figure 5a), every point from the source distribution must be matched to some point in the target distribution, even when certain regions or “modes’’ of the data are distant or unmatched, leading to unrealistic correspondences. In contrast, the unbalanced formulation (
Figure 5b) allows portions of mass to be discarded, effectively ignoring outlier samples and yielding a more meaningful correspondence between comparable regions. This capacity to handle differing support motivates the introduction of UGW divergence.
It is designed to preserve the geometric interpretability of the classical GW distance while enabling flexibility in cases where the total transported mass between source and target distributions differs. This relaxation is crucial for practical applications—such as transportation or communication network analysis as will be shown in
Section 6—where disruptions, congestion, or demand fluctuations can alter the effective mass distribution across nodes or edges. In such settings, the UGW divergence naturally models partial correspondence between baseline and perturbed network states, allowing critical structural changes to be quantified even when total flow or demand is not conserved.
The divergence builds upon a natural extension of the classical formulation. While the original Gromov–Wasserstein distance enforces strict marginal constraints and , which implies perfect conservation of mass, the UGW divergence relaxes these constraints through the introduction of penalty terms that allow for controlled mass creation and destruction. This relaxation enables a soft correspondence between domains that differ in size, shape, or density, without requiring one-to-one matching of all elements. This could be the place to start determining the difference between .
Formally, given two measure network spaces
and
, the UGW divergence is defined as follows:
where:
: pairwise distance between nodes i and k in the source space (baseline network);
: pairwise distance between nodes j and l in the target space (modified network);
P: transport plan (coupling matrix between source and target nodes);
: probability distribution (weights) over source samples/nodes;
: probability distribution over target samples/nodes;
penalizes deviation of the source marginal of P (denoted ) from ;
penalizes deviation of the target marginal of P (denoted ) from ;
controls the strength of marginal relaxation, i.e., how strictly the transport plan must respect the input distributions;
: entropic regularization parameter.
penalizes changes in geometry, and
fosters matching all parts of the source and target distributions. Equation (20) refers to relaxing the hard marginal constraints of the underlying OT problem into soft ones as unbalancing. Here,
denotes the first marginal distribution of
P, and
is the second marginal distribution of
P. The notation ⊗ represents the Kronecker product between two vectors or two matrices.
denotes the Kullback–Leibler divergence, which is a typical choice to measure the discrepancy between two measures in the context of unbalanced optimal transport [
54]. The last term
is mainly introduced for computational purposes, as it helps accelerate the approximation scheme of the optimization problem. Typically, it is used in combination with a small value of
, so that the impact of other terms is not diluted.
Figure 6 demonstrates how the marginal relaxation parameter ρ controls the balance between mass preservation and geometric alignment in UGW transport for two synthetic metric spaces: a circular arrangement of eight nodes and an elliptical arrangement of six nodes. At low ρ values (
), weak marginal constraints permit mass creation/destruction to accommodate the unequal cardinalities, yielding lower divergence as the algorithm prioritizes structural matching. The divergence rises sharply between
as marginal penalty strengthens and then plateaus for
, converging to the balanced Gromov–Wasserstein regime where mass conservation is strictly enforced despite the dimension mismatch.
Figure 7 visualizes the corresponding transport plans, where the line thickness between source (purple) and target (orange) nodes represents the transported mass. At
, the transport is highly diffuse with many weak connections, reflecting flexible mass redistribution. As ρ increases to 0.1 and 1.0, the connections become more concentrated and structured, with clearer one-to-many matchings emerging. This transition illustrates how ρ selection is critical: small values enable flexible partial matching between spaces of different sizes, while large values recover classical balanced transport with near-deterministic assignments.
4.5.2. Fused Unbalanced Gromov–Wasserstein
The Fused Unbalanced Gromov–Wasserstein (FUGW) divergence extends the UGW framework by jointly accounting for feature similarity and geometric correspondence [
10]. This fusion enables a more comprehensive alignment of structured data—such as cortical surfaces or functional networks—where both intrinsic geometry and node-level attributes carry meaningful information. The FUGW divergence is especially suitable for transportation networks. Compared to UGW, FUGW adds a fusion mechanism that balances structural and feature-based comparisons, making it sensitive to edges that are both topologically central and functionally critical. This sensitivity is crucial for transportation networks, where disruptions may create minor topological changes but major demand redistribution or vice versa. By integrating geometry, features, and unbalanced measures, FUGW delivers a robust, interpretable, and comprehensive framework for identifying edges whose failure would most compromise network vulnerability.
Let
denote the feature matrix of the source domain, where each row
encodes a c-dimensional feature vector (e.g., functional activation values) associated with vertex
i. In this study,
encodes node demands across four temporal periods, yielding c = 4 dimensional feature vectors. The corresponding pairwise distance matrix and vertex weights are given by
and
, respectively. Analogously, the target domain is represented by
,
, and
. In the absence of prior information, uniform vertex weights are adopted:
Given the hyperparameter tuple
, where
and
, the FUGW loss for a transport plan
is defined as follows:
When , the divergence reduces to pure UGW, focusing only on structural changes;
When , only node attributes are considered;
Intermediate values yield a fused metric, capturing both topological disruption and shifts in demand.
The final objective seeks the optimal coupling
minimizing this loss:
where
and
.
The term aligns vertices with similar feature profiles, while enforces geometric consistency between the source and target domains. The unbalanced regularization promotes soft marginal matching, thereby accommodating local mass discrepancies. The entropy term ensures smoothness of the coupling and improves the stability of iterative optimization schemes.
Figure 8 illustrates the effect of the fusion parameter α on the Fused Unbalanced Gromov–Wasserstein (FUGW) distance for the synthetic network example. As α increases from 0 to 1, the total FUGW distance rises monotonically from 0.0517 (pure structural comparison) to 0.29 (pure feature-based comparison). The decomposition of the distance highlights the shifting contributions of structure and features: for small α values, the geometric (GW) component dominates, while the feature (W) component gradually becomes the main contributor as α approaches 1. The structure contribution decreases from 0.0517 to 0, and the feature contribution correspondingly increases from 0 to 0.29, indicating a smooth trade-off between topology and node attributes.
The results demonstrate that low α values prioritize capturing topological disruptions, whereas high α values emphasize shifts in node-level attributes (e.g., demand changes). The mean FUGW distance across all α values is 0.1811 with a standard deviation of 0.0734, highlighting the sensitivity of the metric to the choice of α. This analysis confirms that FUGW provides a flexible framework to balance structural and functional aspects of the network, making it suitable for identifying edges that are critical both geometrically and functionally.
The hyperparameters , and provide complementary control over the problem: balances feature versus geometric alignment, regulates mass conservation, and adjusts the level of entropic smoothing. Collectively, these terms define a flexible framework capable of aligning heterogeneous geometric and functional representations under realistic, unbalanced conditions.
4.5.3. Computational Complexity
While the previous section established the theoretical foundations of distance functions between measure network spaces, the practical computation of these distances—particularly the Gromov–Wasserstein and its fused unbalanced variant—poses severe computational challenges.
The optimization underlying GW is NP-hard, reducible to the Quadratic Assignment Problem (QAP) [
7,
55], one of the most intractable problems in combinatorial optimization. Solving the GW problem involves minimizing a non-convex quadratic functional over the space of transport couplings
P, a task that is computationally demanding even for moderate-sized graphs or distributions. The most widely adopted approach is the Conditional Gradient (CG), also known as the Frank–Wolfe algorithm [
56,
57]. At each iteration, the non-convex objective is linearized around the current coupling, and the next update direction is obtained by solving a linear optimal transport problem—often computed efficiently using entropic regularization and Sinkhorn iterations. This approach is conceptually simple, guarantees monotone descent, and exploits mature OT solvers, though it may converge slowly near stationary points. Alternative optimization schemes include the Projected Gradient (PG) method, which performs explicit gradient steps followed by projection onto the feasible transport polytope, achieving faster empirical convergence but requiring careful step-size tuning [
58], and Proximal Gradient methods, which introduce stabilizing regularizers to improve robustness at the cost of additional computation [
59]. Since UGW and FUGW share similar non-convex transport structures, these algorithms—particularly the Conditional Gradient and Proximal variants—extend naturally to those formulations.
The FUGW formulation further compounds non-convexity and NP-hardness by coupling geometric, feature-based, and mass-regularized terms, resulting in a higher-dimensional search landscape. Consequently, no polynomial-time algorithm is known to guarantee a global optimum, and existing solvers typically converge only to local stationary solutions [
27,
60]. Its quality typically depends on the initialization, and optimality cannot be certified in general. To address these difficulties, entropic relaxation [
61], sliced and projected GW methods [
62], and several computationally tractable lower bounds have been proposed [
7]. However, as shown in [
63], such bounds are not tight and may yield scores that are strictly lower than the true GW value
.
Motivated by applications such as shape registration, alternative formulations have been introduced to represent and compare mm-spaces more efficiently. An mm-space of
can, for instance, can be characterized through the global histogram of pairwise distances
[
64] or by the distribution of local distance histograms defined as
[
65]. These representations, which are distributions in
or
, can then be compared using optimal transport (OT) distances.
The optimal plan
obtained from these relaxed formulations can serve as an initialization for solving the full GW problem or as a computationally efficient surrogate in downstream applications. For example, the use of local distance histograms as a practical representation was demonstrated in [
26].
5. Design of Experiments
Following the theoretical formulation and computational analysis of the FUGW distance in the preceding sections, this section outlines the experimental design used to evaluate its effectiveness in assessing network resilience. Hyperparameter tuning is a critical step in this process, as the performance of FUGW depends significantly on the balance between geometric and feature contributions, the strength of regularization, and the treatment of unbalanced marginals. Careful optimization ensures that the distance accurately reflects network dissimilarities under perturbations, improving the reliability of edge criticality assessments [
66].
The optimization of hyperparameters in machine learning has been analyzed in several papers [
67,
68] and specifically for multiple sources [
69]. The FUGW distance in this study was conducted using the Optuna framework [
70], a Bayesian optimization library, to enhance the accuracy of edge criticality assessment in a transportation network with 224 nodes and 523 edges. Optuna was selected for its Tree-structured Parzen Estimator (TPE) algorithm, which efficiently handles mixed continuous/discrete parameter spaces. The process involved 100 trials, evaluating the FUGW objective function across 50 test scenarios generated from edge betweenness centrality computations. Four key hyperparameters were tuned via Bayesian optimization: the fusion parameter
(balancing the contribution of feature and geometry terms), entropic regularization
(entropic regularization strength), marginal relaxation penalty
(penalty for marginal deviations), and the maximum number of Sinkhorn iterations
(maximum Sinkhorn iterations). The objective was to minimize the FUGW cost, reflecting the dissimilarity between baseline and disrupted network states, with the best trial (Trial 86) achieving a value of 0.188956. This optimal configuration
indicates a strong reliance on geometric structure (low (
)), minimal marginal regularization, and a balanced regularization–iteration trade-off, ensuring computational efficiency and convergence stability. The parameter space exploration revealed wide variability, with (
) ranging from 0.100212 to 8.536190 (mean 0.550889, std 1.273967) and (
) from 0.010070 to 0.486111 (mean 0.051604, std 0.082346), highlighting the sensitivity of the FUGW distance to these settings.
Convergence analysis, visualized in
Figure 9, shows a rapid decrease in cost after initial trials, stabilizing around Trial 80, while
Figure 10 underscores the most influential parameters. Parameter distributions are depicted in
Figure 11. This tuning process enhances the reliability of UGW-based network vulnerability analysis by adapting the model to the network’s topological and demand dynamics. The hyperparameter tuning process for the FUGW distance is detailed in
Table 1.
6. Computational Results
In this section, we analyze critical infrastructure edges in an urban transportation network in Berlin—the Berlin Friedrichshain Center (BFC) network downloaded from TransportationNetworks,
https://github.com/bstabler/TransportationNetworks (accessed on 13 November 2025) [
71]. The network consists of 224 nodes and 523 edges (
Figure 12).
Table 2 summarizes the BFC network characteristics. Leveraging the FUGW distance with hyperparameters optimized via Optuna, we quantified network perturbations under edge removal scenarios while incorporating both geometric structure and node-level demand features.
Edge weights in the baseline network are computed as Euclidean distances between node coordinates, representing spatial separation in meters. While the BFC dataset provides geographic coordinates, travel time conversion would require speed limit data not available in the benchmark. Therefore, we treat these spatial distances as proxy travel costs, which are then modified by temporal and stochastic factors to simulate realistic traffic conditions. The base distance matrix D0 is computed via all-pairs shortest paths using Dijkstra’s algorithm. When edge removal may cause network disconnection, unreachable node pairs are assigned a penalty, ensuring finite distance matrices required for FUGW computation while heavily penalizing fragmentation without allowing infinite values to dominate the metric.
An undirected graph was constructed with these spatial edge weights. Temporal variability was incorporated by evaluating network perturbations across four time periods (morning, noon, afternoon, night) with period-specific traffic multipliers (1.3, 1.0, 1.2, 0.8) and uniform noise (0.9–1.1) to simulate diurnal congestion patterns. Stochastic demand perturbations at affected nodes, scaled by normalized edge betweenness centrality, captured the combined effect of topological importance and functional disruption. For each temporal period t ∈ {morning, noon, afternoon, night} and edge e with base travel time
, we determined the following:
For each edge, the algorithm removes it, recomputes the distance matrix, and perturbs endpoint demands using a reduction factor (1 − (0.5 + 0.4 × norm_bt)), where norm_bt is the normalized edge betweenness centrality (0 to 1), reflecting the fraction of shortest paths passing through the edge relative to the maximum in the graph. The norm_bt for an edge e = (i,j) in a graph G = (V,E) is defined as follows:
where BC(e) is the raw edge betweenness centrality of edge e, given by the following:
where
is the number of shortest paths from node s to node t, and
is the number of those shortest paths that pass through edge e.
denotes the maximum betweenness centrality across all edges
, with a default value of 1 if the maximum is undefined (e.g., if all betweenness values are zero or the graph has no edges, to prevent division by zero).
The normalization ensures , where:
: the edge lies on no shortest paths (least critical);
: the edge lies on the maximum fraction of shortest paths relative to other edges (most critical).
This yields a reduction factor from 0.1 (highly critical edges) to 0.5 (non-critical edges), aligning demand changes with edge importance.
Comparison with classical metrics adds more context.
Table 3 lists how the GW distance correlates with the classical metrics in both networks. In the BFC network, the correlation between GW distance and edge betweenness is basically zero (
). This lack of alignment shows that GW is not simply rediscovering centrality. While betweenness counts how many shortest paths traverse an edge, GW quantifies how the entire distribution of distances between all node pairs shifts under an edge failure. This means that GW is sensitive to global geometric changes that are invisible to flow-concentration measures.
By contrast, the correlation between GW and the —a structural indicator based on the difference in the maximum shortest path of the network (also known as the diameter)—is almost perfect. In BFC, the correlation reaches (), showing that GW internalizes the same global stretch information that is designed to capture. This shows that the GW-based methods’ distance works well as a broad metric for capturing structural vulnerability in urban transportation networks in comparison to classical traditional graph-theoretic metrics.
FUGW distances are computed for each time period using tuned parameters via the objective function from Equation (23), with costs averaged and standard deviations calculated. Computations are parallelized across CPU cores for efficiency. To systematically investigate the relative contributions of structural topology versus node-level features (demand distributions), we varied the fusion parameter α ∈ {0, 0.2, 0.5, 0.7, 1}, where α = 0 represents pure structural comparison (Unbalanced Gromov–Wasserstein) and α = 1 represents pure feature-based comparison (Wasserstein distance on node demands).
Figure 13 illustrates the complete methodological pipeline. The framework begins with network data input (Phase 1), including the BFC topology (224 nodes, 523 edges) and node demands across four temporal periods. Hyperparameter optimization via Bayesian optimization (Phase 2) identifies optimal values for the fusion parameter α, entropic regularization
, and marginal penalty
. For each edge, systematic perturbation (Phase 3) simulates failure by removing the edge, recomputing distance matrices with temporal congestion factors, and adjusting endpoint demands proportional to edge betweenness centrality. The FUGW distance (Phase 4) quantifies dissimilarity between baseline and perturbed networks through optimal transport coupling, balancing structural (Gromov–Wasserstein) and functional (Wasserstein) components. Criticality ranking (Phase 5) evaluates edges across five α values to identify consistently critical infrastructure. Finally, validation (Phase 6) confirms ranking stability and compares results against baseline methods, yielding seven critical stable edges across α values for infrastructure planning.
To ensure reproducibility and to encourage further exploration, all code developed for the network analysis, FUGW distance computation, and visualization is publicly available at
https://github.com/iman-ie/fugw-network-analyzer (accessed on 20 October 2025). All experiments were conducted on a workstation equipped with an Intel i7-9700 CPU and 16 GB of RAM. The FUGW distance estimations were performed using the Python 3.9 optimal transport (POT) library [
72], in conjunction with supporting packages including NetworkX 3.1 for graph processing, NumPy 1.24.4 and SciPy 1.10.1 for numerical computation, and Matplotlib 3.7.5 and Seaborn 0.13.2 for data visualization.
6.1. Critical Edge Identification and α-Dependency
The computational results reveal exceptional consistency in critical edge identification across the α spectrum, with seven edges maintaining top seven rankings across all five α values (
Figure 14). Specifically, edges 171–224, 55–222, 88–213, 56–54, 131–132, 112–130, and 182–212 demonstrated persistent criticality regardless of the structural–feature balance, suggesting that these connections represent fundamental vulnerabilities that manifest through both topological centrality and demand concentration. This remarkable α-invariance indicates that these edges serve as essential structural bridges while simultaneously accommodating critical demand flows—a dual criticality that persists across analytical frameworks. The heatmap visualization reveals a well-defined criticality hierarchy with three distinct tiers: (i) a high-impact cluster of seven edges with FUGW values ranging from 0.070 (α = 0) to 0.110 (α = 1), (ii) a moderate-impact tier including edges 186–189, 60–20, and 62–61 with FUGW values of 0.049–0.102, and (iii) lower-impact edges with more variable α-dependent rankings.
The seven edges maintaining top seven rankings across all α values exhibit three distinct characteristics that explain their persistent criticality. Structurally, all seven have betweenness centrality exceeding the 75th percentile of the network distribution, with five functioning as bridge edges connecting major network regions. Functionally, all seven connect zones with temporal demand exceeding the 60th percentile across all four periods, indicating sustained travel demand regardless of time of day. Spatially, these edges are distributed across different network sectors rather than concentrated in a single geographic area, forming critical corridors that integrate distinct neighborhoods. The α-invariance phenomenon occurs precisely because these edges score highly under both structural metrics (Unbalanced Gromov–Wasserstein component, dominant at α = 0) and demand-based metrics (Wasserstein component, dominant at α = 1). This dual criticality—where structural bottlenecks coincide with demand concentration—distinguishes them from edges that rank highly under only one criterion. Notably, edge 131–132 exhibits the highest criticality at α = 0 (FUGW = 0.0706), reflecting its exceptional topological importance, while edges 171–224, 55–222, and 88–213 achieve top rankings at higher α values (FUGW = 0.1106, 0.1106, and 0.1105, respectively, at α = 1), indicating additional demand concentration at these locations.
Table 4 presents the top 10 critical edges ranked by FUGW distance across all fusion parameters.
6.2. Quantitative Scaling and Feature Emphasis
As α increases from 0 to 1, we observe a systematic but moderate increase in absolute FUGW distances (
Figure 15), with the top-ranked edges exhibiting FUGW value increases of approximately 57% (from 0.0706 at α = 0 to 0.1106 at α = 1). This measured scaling behavior, substantially more conservative than purely additive models would predict, suggests that structural and feature-based vulnerabilities are partially overlapping rather than independent. The line comparison plot (
Figure 16) demonstrates relatively parallel trajectories for the top-ranked edges across α values, with a gradual but consistent increase in FUGW magnitudes. This parallelism indicates that the relative ordering of critical edges remains largely stable, with the primary effect of increasing α being a uniform amplification of distance magnitudes rather than a fundamental reordering of edge importance. Remarkably, the standard deviations decrease monotonically as α increases (from 0.0011 at α = 0 to 0.0004 at α = 1), suggesting that feature-based assessments produce more temporally stable criticality measures than pure structural analyses. This enhanced stability at higher α values may reflect the fact that demand patterns exhibit greater temporal consistency than structural centrality impacts, which can vary more substantially across different time-dependent routing patterns.
Table 5 summarizes FUGW distance distributions across all 523 edges. Mean FUGW distances increase monotonically from 0.0382 (α = 0) to 0.0648 (α = 1), representing a 69.6% amplification with feature emphasis. The coefficient of variation decreases from 0.372 to 0.307 as α increases, indicating more homogeneous criticality distributions under demand-sensitive metrics while maintaining consistent statistical structure across the analytical framework.
6.3. Distribution Characteristics and Statistical Stability
The box plot analysis (
Figure 17) reveals that FUGW distance distributions exhibit consistent statistical properties across α values, with relatively compact interquartile ranges and minimal outlier presence. The distributions show moderate positive skewness across all α settings, indicating that while most edges exhibit low-to-moderate criticality, a small subset of edges represents disproportionately high vulnerability. The median FUGW distances increase from approximately 0.032 (α = 0) to 0.052 (α = 1), representing a 63% increase that confirms the systematic amplification of criticality scores under feature-weighted metrics. Critically, the coefficient of variation remains relatively stable (≈0.48–0.52) across all α values, suggesting that the relative heterogeneity in edge criticality is an intrinsic network property largely independent of the structural–feature weighting paradigm. This stability implies that decision makers can confidently interpret criticality hierarchies without excessive concern about the specific α calibration, as the fundamental vulnerability structure persists across analytical frameworks.
6.4. Ranking Stability and Correlation Analysis
The ranking consistency analysis (
Figure 18) demonstrates exceptional stability for the top seven critical edges, which maintain their elite status across all α values with minimal rank fluctuations (maximum displacement ≤ 3 positions). Edges 171–224, 55–222, and 88–213 exhibit particularly remarkable stability, occupying the top three positions for α ≥ 0.2 with near-identical FUGW values at each α level. This triplet of edges represents a critical vulnerability core that should receive the highest priority in infrastructure planning, regardless of whether structural or feature-based concerns dominate decision making. The correlation matrix (
Figure 19) quantitatively confirms this stability, showing robust positive correlations (
) between FUGW distances at all α pairs. The correlation structure reveals a nearly monotonic relationship across α values, with correlations exceeding 0.99 between adjacent α settings (e.g.,
). This extreme correlation indicates that the fundamental vulnerability ranking is highly robust to α parameterization, enabling confident infrastructure planning recommendations even under substantial uncertainty regarding the relative importance of structural versus functional criticality metrics.
Notably, the correlation between extreme α values () remains remarkably high, suggesting that structural centrality and demand concentration are strongly covariate in this network—edges that serve as structural bridges tend to also carry high demand flows and vice versa. This covariation has important implications for vulnerability mitigation: addressing the top-ranked edges will simultaneously reduce both structural and functional vulnerabilities.
6.5. Spatial Distribution of Critical Infrastructure
The spatial network visualizations for each α value (
Figure 20) reveal that critical edges are not uniformly distributed but rather concentrate in specific network regions forming critical corridors. The persistent criticality of edges 171–224, 55–222, 88–213, and 56–54 across all α values suggests these connections form an essential backbone structure whose disruption would fragment the network both topologically and functionally. Edge 131–132 demonstrates interesting α-dependent behavior: it exhibits the highest criticality at α = 0 (FUGW = 0.0706, rank #1) but maintains strong criticality at α = 1 (FUGW = 0.1100, rank #5), indicating that this connection serves as a critical structural bridge with moderate-to-high demand concentration. Conversely, edges in the moderate-impact tier (186–189, 60–20, 62–61) show substantial rank improvements as α increases, with edge 60–20 advancing from outside the top 10 at α = 0 to rank #8 at α = 1 (FUGW = 0.1022). These edges represent locations with high demand concentrations that are less critical from a pure topological perspective, suggesting opportunities for demand management or load redistribution strategies.
6.6. Computational Performance and Scalability
The parallel implementation achieved efficient computational throughput, processing 523 edge removal scenarios across five α values and four time periods (10,460 total FUGW computations) with optimal resource utilization. The parallelization strategy enabled simultaneous evaluation of multiple edge removal scenarios, substantially reducing total computation time while maintaining numerical accuracy and stability.
To assess scalability beyond the BFC network, we conducted additional tests on synthetic graphs with varying sizes while maintaining comparable edge density. Networks with 500 nodes (~1000 edges) required approximately 6.3 s per FUGW computation, while 1000-node networks (~2000 edges) required approximately 52 s per computation. This empirical scaling is dominated by all-pairs shortest path computation and Sinkhorn iterations in the optimal transport solver. Based on these results, the framework remains computationally feasible for medium-scale urban networks (up to 500 nodes, representing typical city districts) with analysis completable within 2–3 h on modern workstations. Larger regional networks (>1000 nodes) would benefit from GPU acceleration or algorithmic approximations such as sliced Gromov–Wasserstein methods.
This performance profile enables practical application to medium-scale urban transportation networks and suggests feasibility for real-time vulnerability monitoring and dynamic resilience assessment with modern computational infrastructure.
Table 6 summarizes the overall computational experiment design and key aggregate metrics.
Table 7 classifies edges by their behavior across the α spectrum, identifying whether edges are structure-dominant, feature-dominant, or balanced in their criticality. The complete computational performance breakdown is presented in
Table 8, enabling practitioners to estimate runtime requirements for their specific network sizes and hardware configurations.
6.7. Validation of Secondary Network
To assess generalizability, we applied the FUGW framework to the Sioux Falls network, a widely used transportation benchmark representing a medium-sized urban area in South Dakota, USA, with 24 nodes and 76 edges [
71] (edge density 0.28, significantly higher than BFC’s 0.02).
The Sioux Falls validation strongly supports the FUGW framework as a robust and generalizable tool for transportation network vulnerability assessment. Four edges (23–24, 19–17, 20–19, 20–18) in
Table 9 demonstrate α-consistency, maintaining top 10 rankings across all fusion parameters, confirming that the framework successfully identifies edges with dual criticality—simultaneously important from both structural and functional perspectives. The cross-α rank correlation of
between pure structural (α = 0) and pure feature-based (α = 1) assessments indicates strong consistency in criticality rankings, demonstrating that FUGW captures fundamental network vulnerabilities that persist across different analytical emphases. This high correlation, combined with the identification of α-consistent critical edges in both BFC (seven edges) and Sioux Falls (four edges) networks, validates the framework’s core capability to distinguish infrastructure elements with persistent criticality from those with context-dependent vulnerability. Similar to BFC, the Sioux Falls network exhibits monotonic FUGW scaling with α (mean distances increasing from 0.0520 at α = 0 to 0.1001 at α = 1) and low temporal variability (SD = 0.0017), confirming the framework’s stability and reproducibility across diverse network configurations. The primary distinction lies in α-consistency prevalence: Sioux Falls shows four of the top ten edges as α-consistent compared to BFC’s seven, attributable to its substantially higher edge density (0.28 vs. 0.02) providing greater route redundancy that allows structural and functional vulnerabilities to occasionally diverge—edge 14–11 exemplifies this, ranking first structurally but outside top-10 functionally. This difference enhances rather than diminishes FUGW’s value: it demonstrates that the framework adapts to network topology, with the fusion parameter α providing meaningful differentiation in highly connected networks where planners must explicitly prioritize between structural resilience and functional performance. The validation confirms that FUGW offers a principled, mathematically rigorous approach to critical infrastructure identification that scales effectively across network sizes (24–224 nodes), densities (0.02–0.28), and planning contexts, making it a valuable addition to the transportation engineer’s analytical toolkit for evidence-based infrastructure prioritization and resilience investment decisions.
6.8. Infrastructure Management and Decision Support
These results provide actionable, high-confidence insights into transportation network management and resilience planning. The identification of seven stable critical edges across α values in BFC (171–224, 55–222, 88–213, 56–54, 131–132, 112–130, 182–212) and four in Sioux Falls (23–24, 19–17, 20–19, 20–18) with exceptional ranking stability suggests these connections should receive the highest priority for infrastructure investment. The extreme correlations between α settings ( for BFC, ρ = 0.82 for Sioux Falls) provide strong justification for confident decision making even under uncertainty regarding the relative importance of structural versus functional criticality. The fusion parameter α enables practitioners to align vulnerability assessment with specific planning priorities:
Structural Resilience Priority (α = 0): For emergency preparedness and disaster mitigation, focus on edges with the highest topological centrality. In BFC, edges 131–132, 112–130, and 182–212 (articulation edges causing disconnection) warrant structural reinforcement, redundant route construction, and protective infrastructure investment. In Sioux Falls, edges 14–11, 5–6, and 22–15 represent critical structural bridges.
Functional Performance Priority (α = 1): For daily operations and traffic management, prioritize edges with high demand concentration. BFC edges 171–224, 55–222, and 88–213 benefit from capacity expansion, signal optimization, and transit alternatives. Sioux Falls edges 23–24, 20–19, and 19–17 represent peak demand corridors requiring similar interventions.
Balanced Approach (α = 0.5)—Recommended Default: ** For resource-constrained environments or multi-objective planning, focus on α-consistent edges that address both structural and functional vulnerabilities simultaneously. In BFC, prioritizing the seven α-consistent edges (1.3% of network) addresses approximately 85% of total resilience risk. In Sioux Falls, the four α-consistent edges (5% of network) cover primary bottlenecks while optimizing resource allocation.
The moderate α-dependent edges (BFC: 60–20, 186–189, 62–61; Sioux Falls: 14–11 at α = 0, 5–6 at α = 1) enable scenario-specific strategies: structural reinforcement if topological resilience is prioritized, or demand management and enhanced monitoring if functional continuity dominates. The narrow FUGW ranges observed for top-tier edges indicate that criticality assessments are robust to substantial variations in analytical assumptions, supporting stable, defensible infrastructure planning decisions.
From a methodological perspective, the strong α-stability observed in both networks, particularly in sparser topologies like BFC, suggests that vulnerability assessments may be relatively insensitive to precise α calibration for similarly structured transportation systems. This robustness is particularly valuable for infrastructure planning contexts where stakeholder preferences regarding structural versus functional resilience may be difficult to quantify or where multiple planning scenarios with different emphases must be simultaneously accommodated. The framework thus provides both rigorous analytical foundation and practical flexibility for evidence-based infrastructure prioritization.
7. Conclusions, Limitations, and Perspectives
In this study, we combined theoretical insights and computational methodologies to evaluate network resilience using the FUGW distance. The experimental analysis on a 224-node, 523-edge transportation network demonstrated the effectiveness of FUGW in identifying critical infrastructure edges under realistic perturbations, accounting for both topological structure and node-level demand distributions. Hyperparameter tuning via Optuna enabled robust calibration of the fusion parameter (α), entropic regularization (), marginal penalties (), and Sinkhorn iterations, ensuring accurate and stable edge criticality assessments across temporal and stochastic variations. Notably, seven edges consistently ranked as the most critical across all α values, highlighting persistent network vulnerabilities that are invariant to structural–feature weighting.
The FUGW framework leverages approximations, sampling strategies, and entropic regularization to reduce computational burden while preserving accuracy. Our parallelized implementation demonstrated scalability to medium-sized networks, achieving efficient evaluation of thousands of FUGW computations across multiple time periods and fusion parameters.
The methodological contributions underscore several key insights. First, the α-invariance of top edges and the high correlation between structural and feature-based assessments indicate that essential network vulnerabilities can be identified with confidence, even under uncertainty regarding the relative importance of topology versus demand. This robustness of criticality rankings suggests that core infrastructure weaknesses remain detectable across different weighting schemes. Second, increasing α systematically amplifies FUGW distances, reflecting the influence of demand distributions on vulnerability assessments. However, this amplification does not fundamentally alter edge rankings, suggesting that structure and features contribute partially in overlapping ways to network criticality. Third, the proposed FUGW-based framework is computationally feasible for realistic network sizes, enabling actionable guidance for infrastructure maintenance, redundancy planning, and traffic management.
Limitations remain. The NP-hard nature of GW and its variants constrain exact optimization, requiring careful initialization and hyperparameter tuning to avoid poor local minima. The current analysis assumes deterministic edge states, whereas real-world networks may involve probabilistic edge lengths or capacity distributions, motivating extensions into stochastic metric and measure spaces.
Looking forward, several perspectives emerge that highlight the potential and versatility of the FUGW framework. The development of enhanced computational strategies—including low-rank approximations, entropic and sliced GW variants, and sampling-based methods—promises to accelerate computations without sacrificing accuracy, making these techniques more practical for large-scale applications. Beyond computational efficiency, FUGW provides a versatile framework for cross-domain applications, such as aligning heterogeneous networks in multi-modal neuroscience data or embedding spaces in transformer-based language models, where preserving structural relations among points is critical. Further extensions may incorporate probabilistic and multi-objective considerations, allowing the framework to handle stochastic edge properties and optimize trade-offs between speed, accuracy, and confidence. Such generalizations would enable FUGW to address dynamic and uncertain networks more effectively. Finally, FUGW and related GW-based distances hold significant promise for unsupervised alignment in high-dimensional systems, supporting domain alignment tasks—such as neural activity, behavioral models, or embeddings—that overcome the limitations of traditional correlation-based analyses. These directions underscore the broad applicability and future potential of optimal transport-based methods in complex, structured data settings.
In conclusion, the integration of FUGW distance with optimized hyperparameter tuning offers a powerful tool for network vulnerability assessment, providing both robust criticality rankings and actionable insights for infrastructure management. Future work can extend these methods to probabilistic, high-dimensional, and cross-domain scenarios, bridging theoretical optimal transport frameworks with practical, real-world applications.