Skip to Content
SustainabilitySustainability
  • Article
  • Open Access

27 November 2026

53 Pages

Interpretable Deep Polynomial Neural Networks for Predictive Modeling of River Flow Geometry: Implications for Sustainable Flood-Risk Planning in Mackenzie River, Northwest Territories, Canada

,
,
,
,
and
1
École Nationale du Génie et de l’Eau et de l’Environnement de Strasbourg, 67070 Strasbourg, France
2
Department of Civil Engineering, University of Ottawa, 161 Louis Pasteur Private, Ottawa, ON K1N 6N5, Canada
3
Department of Soils and Agri-Food Engineering, Université Laval, Québec, QC G1V 0A6, Canada
4
Department of Civil, Environmental and Water Resources Engineering, College of Engineering, University of Guelph, Guelph, ON N1G 2W1, Canada

Abstract

Hydraulic models such as HEC-RAS provide detailed river-flow simulations that can inform sustainable water-resources management and resilient infrastructure planning, but evaluating many hydraulic scenarios can be computationally demanding. Data-driven surrogates can emulate selected hydraulic-model outputs, but evidence of generalization to unseen cross-sections and analytical interpretability remains limited. This study developed a Deep Polynomial Neural Network (DPNN) as a conditional surrogate model for HEC-RAS-derived top-width prediction, with leakage-safe cross-section evaluation and algebraic interpretability. A one-dimensional steady-flow HEC-RAS model generated 360 observations for 45 cross-sections in the Liard–Mackenzie system under eight return periods (2–10,000 years). Five hydraulic predictors (i.e., channel and overbank Manning roughness, discharge, flow depth, and energy-grade-line slope) were used to predict top width, with depth and slope obtained from HEC-RAS outputs. Nine cross-sections were reserved for independent testing, with cross-section grouping maintained throughout model development. The final fourth-order DPNN achieved R2 = 0.904, RMSE = 248.48 m, MAPE = 12.08%, and KGE = 0.842 on the unseen cross-sections. Relative to a separately tuned EPR-MOGA benchmark, DPNN reduced independent-test RMSE from 301.06 to 248.48 m and increased R2 from 0.859 to 0.904; paired cross-section bootstrap intervals for both differences excluded zero. Interpretability analyses identified discharge as the highest-ranked predictor, with discharge–depth and discharge–slope as the strongest pairwise interactions. The trained network was exactly expanded into a fourth-order polynomial with 126 monomial terms, reproducing DPNN predictions to numerical precision. The proposed framework enabled accurate and interpretable conditional prediction at unseen cross-sections within the represented hydraulic domain, providing a potential basis for transparent flood-hazard screening and sustainable water-resources planning; however, it does not independently replace HEC-RAS or establish end-to-end computational savings.

1. Introduction

Accurate knowledge of river channel geometry, particularly channel width across a range of flow conditions, underpins flood-hazard assessment, floodplain delineation, and infrastructure planning in river systems worldwide [1,2]. As discharge increases from frequent, low-magnitude events to rare, extreme floods, channel width closely reflects how flow is distributed between the active channel and adjacent floodplain and helps describe inundation extent and hydraulic conveyance [3]. This relationship is especially consequential in Canadian rivers, where flood events driven by intense precipitation, rapid snowmelt, and compound hydrological processes have repeatedly caused extensive damage and disruption in recent years [4,5]. Climate model projections further indicate that floodplain regimes across Canada are likely to shift under future climate conditions, altering the frequency and magnitude of flows that channels must convey [6]. Reliable, spatially consistent estimates of river top width across multiple return periods are therefore important not only for immediate flood-risk mapping but also for supporting long-term water-resources planning and adaptive infrastructure design in basins where field surveys and continuous monitoring remain logistically constrained [7].
From a sustainability perspective, hydraulic prediction tools add value beyond predictive accuracy by improving the transparency and reliability of information used in flood-risk management. Interpretable surrogate models can make the relationships between hydraulic conditions and predicted river top width more explicit, potentially supporting flood-scenario screening and the prioritization of detailed hydraulic assessments for resilient infrastructure planning. However, these potential applications depend on adequate model validation and the availability of required hydraulic inputs, and their practical benefits must be established independently.
River top width and other hydraulic characteristics are commonly estimated using physically based hydraulic models such as HEC-RAS, which simulate water-surface profiles and related hydraulic variables under specified geometric, roughness, discharge, and boundary conditions [8]. More detailed two-dimensional and coupled one-/two-dimensional HEC-RAS applications can improve the representation of floodplain flow in hydraulically complex settings, particularly where lateral flow and extensive overbank storage are important [9,10]. When coupled with flood-frequency analysis, hydraulic models can also be used to generate a structured range of design-flow scenarios spanning frequent to rare flood events [11]. However, repeated hydraulic simulations and post-processing across numerous cross-sections and flow scenarios can become computationally demanding, particularly when extensive sensitivity, uncertainty, or scenario analyses are required. These considerations have encouraged the development of data-driven emulators that approximate selected relationships contained in hydraulic-model outputs. However, whether such emulators actually reduce computational demands depends on whether their required predictors are available independently of the full hydraulic simulation.
Applying physically based hydraulic models across multiple cross-sections, return periods, and river reaches also depends on reliable geometric, roughness, and boundary-condition data, which may be limited in remote northern basins. Consequently, a surrogate’s ability to reproduce hydraulic-model outputs should be distinguished from its ability to replace the original simulation in practical applications. The latter requires the predictor variables to be independently available or estimated through a sufficiently accurate and computationally efficient alternative.
Data-driven surrogate models have increasingly been used to approximate computational hydraulic and hydrological relationships, with approaches ranging from conventional machine-learning algorithms to polynomial and neural-network formulations. Polynomial-based models are particularly attractive in engineering applications because they can combine nonlinear predictive capability with an explicit mathematical representation of the learned response. Group Method of Data Handling (GMDH)-type approaches, for example, construct polynomial relationships directly from data and have been applied to numerous hydraulic and hydrological problems [12,13]. More recently, deep polynomial neural networks have provided a broader framework in which multiplicative neural architectures can represent higher-order polynomial interactions while retaining the possibility of exact algebraic expansion of the fitted model [14,15]. This combination of nonlinear representation and algebraic transparency is particularly relevant for hydraulic surrogate modeling, where predictive performance and interpretability are both important.
Several previous studies directly inform the present work. Cardi et al. [16] coupled HEC-RAS simulations with an Expanded Framework of GMDH to develop explicit polynomial models for floodplain width, flow velocity, and flow depth in the Ottawa River. Qureshi et al. [3] later combined HEC-RAS simulations for flood scenarios up to a 10,000-year return period with a Next-Generation GMDH model to predict channel width, channel depth, and water-surface elevation. Both studies demonstrated that polynomial machine-learning models can reproduce HEC-RAS-derived hydraulic responses with high predictive accuracy while providing explicit model formulations. Collectively, these studies establish the potential of polynomial learning for hydraulic and hydrological applications, but they leave an important validation question unresolved: whether a surrogate trained on hydraulic states from a set of cross-sections can retain predictive skill when applied to cross-sections that are completely excluded from model development.
The Mackenzie–Liard system departs from this prior template in ways that are hydraulically, not merely geographically, significant. Rather than representing a single continuous reach subdivided into relatively homogeneous zones, as in Cardi et al. [16], the present hydraulic database spans three river segments: the Lower Liard River, the Mackenzie River upstream of the Liard confluence, and the Mackenzie River downstream of the confluence. Differences in channel geometry, discharge, roughness, flow depth, and energy-grade-line slope across these locations provide a more spatially heterogeneous setting for evaluating whether a single surrogate relationship can retain predictive skill across distinct cross-sections. This question is particularly relevant in large northern river systems, where hydrometric monitoring is comparatively sparse [17] and where the broader hydrological literature has emphasized the difficulty of transferring predictive relationships across locations with differing physical and hydrological characteristics [18,19,20]. The central challenge is therefore not simply to obtain high predictive accuracy from pooled hydraulic observations, but to determine whether that accuracy persists when complete spatial locations are withheld from model development.
In the present study, a one-dimensional steady-flow HEC-RAS model was used to generate a hydraulic database comprising 45 cross-sections: 14 along the Liard River, 21 along the Mackenzie River upstream of the Liard confluence, and 10 along the downstream Mackenzie River. Each cross-section was simulated for eight design-flow conditions corresponding to return periods of 2, 5, 10, 20, 50, 100, 1000, and 10,000 years, yielding 360 hydraulic observations. These simulations provide a common basis for evaluating surrogate performance across a broad range of flow conditions while preserving the spatial identity of each cross-section.
Accordingly, this study develops and evaluates a Deep Polynomial Neural Network (DPNN) surrogate for predicting river top width from channel Manning roughness, overbank Manning roughness, discharge, flow depth, and energy-grade-line slope. The study focuses on cross-section-level generalization: all hydraulic states from the same cross-section remain in the same data partition, and complete cross-sections are withheld for independent testing to prevent cross-section-level information leakage. Beyond predictive accuracy, the study examines the fitted DPNN’s internal response using Integrated Gradients, derivative-based sensitivity analysis, accumulated local effects, and Hessian-based interaction analysis. Because the selected DPNN is polynomial by construction, the trained network is also expanded exactly into an explicit polynomial in the original hydraulic predictors and compared with an independently tuned EPR-MOGA benchmark. The study therefore addresses four complementary questions: whether the DPNN can generalize to previously unseen river cross-sections; whether its learned hydraulic response remains interpretable across development and independent-test locations; whether the trained network can be represented exactly in algebraic form; and how its predictive performance and complexity compare with a parsimonious polynomial benchmark.

2. Study Area and Hydroclimatic Setting

2.1. Study Area and River Reaches

The study area is located in the Northwest Territories of Canada and encompasses selected reaches of the Mackenzie River and Liard River systems (Figure 1). The region extends approximately between 60°1′–62°26′ N and 117°16′–124°2′ W, covering an area of approximately 47,599 km2. Rather than a single hydraulically homogeneous stretch, the study domain spans three distinct reaches: the Lower Liard, Upper Mackenzie–Camsell Bend, and Upper Mackenzie–Mills Lake sections, which together represent structurally important components of the wider Mackenzie River drainage system. These reaches show substantial spatial variability in channel configuration, surrounding terrain, and surface-water conditions, consistent with the tributary-to-mainstem transition that motivates this study’s multi-reach design. The landscape is dominated by extensive river networks, wetlands, and lakes set within a relatively low-relief terrain, with more pronounced topographic variation confined to the western and upstream portions of the region.
Figure 1. The hydraulic model comprises 45 georeferenced cross-sections distributed across three modeled reaches: cross-sections 1–14 along the Liard River (summed geodesic separation ≈ 13.25 km; mean spacing ≈ 1.02 km), cross-sections 15–35 along the upstream Mackenzie River (≈30.38 km; ≈1.52 km), and cross-sections 36–45 along the downstream Mackenzie River (≈14.65 km; ≈1.63 km). Distances were calculated between consecutive cross-section reference coordinates using the haversine formula and do not represent river-centerline chainage.
The study area includes three locations used for monitoring and evaluating flood conditions along the river system: Fort Simpson, Liard River, and Strong Point (Figure 1). These locations span both the Liard tributary and the Mackenzie mainstem, providing a basis for examining variation in flood extent and surface-water conditions across hydraulically distinct sections of the Mackenzie–Liard system.

2.2. Hydraulic Setting and Observed Flood Dynamics Around the Confluence

The magnitude of channel-width change between non-flood and flood conditions, and how this change concentrates around the confluence rather than spreading evenly across the study area, is visually apparent in Landsat imagery acquired during a recent high-water event. Figure 2 compares the Lower Liard, Upper Mackenzie–Camsell Bend, and the upstream extent of the Upper Mackenzie–Mills Lake reach under non-flood conditions (Landsat 8, October 2022) and flood conditions (Landsat 9, June 2022). Under non-flood conditions, the Liard River and the Upper Mackenzie–Camsell Bend reach remain visually distinct tributaries converging near Fort Simpson, each occupying a clearly bounded channel. Under flood conditions, this distinction largely disappears: the confluence widens into a single, continuous water surface in which the separate margins of the Liard and Camsell Bend channels are no longer resolvable, and the widened water body extends both upstream along the Camsell Bend reach and downstream into the Mills Lake reach. These observations illustrate the pronounced spatial variability in hydraulic behavior surrounding the Mackenzie–Liard confluence. The Landsat imagery provides qualitative evidence of the expanded visible water surface under higher-water conditions. This general hydraulic behavior is consistent with the non-decreasing top widths obtained from the HEC-RAS simulations across increasing flood return periods. However, we did not convert the satellite scenes into cross-section-specific water-surface width measurements, nor did we match them to hydraulic simulations with the same acquisition dates, discharges, and water levels. Consequently, Figure 2 provides qualitative observational context rather than independent quantitative validation of the simulated top widths.
Figure 2. Landsat-based comparison of non-flood and flood conditions at the Lower Liard–Upper Mackenzie confluence near Fort Simpson, spanning the Lower Liard, Upper Mackenzie–Camsell Bend, and Upper Mackenzie–Mills Lake reaches, using Landsat 8 imagery acquired in October 2022 (non-flood, upper panel) and Landsat 9 imagery acquired in June 2022 (flood, lower panel).

2.3. Hydroclimatic and Land-Cover Characteristics

The study region lies within a subarctic climatic zone characterized by pronounced seasonal variation in temperature, precipitation, snow cover, and river discharge. Mean annual precipitation is 442 mm and mean annual air temperature is −2.1 °C, with average annual maximum and minimum temperatures of approximately 12.6 °C and −15.3 °C, respectively, and a mean elevation of 316 m above sea level. This strong seasonality, particularly the transition from snow-covered winter conditions to warmer summers, strongly controls river discharge, flood timing, and the basin’s broader hydrological behavior [21], while the region is also characterized by comparatively sparse hydrometric observations typical of northern Canada [17].
Land-cover conditions across the study area are highly heterogeneous and are themselves shaped by this northern climatic and hydrological setting. Based on the MODIS land-cover dataset (MCD12Q1), woody savannas (30–60% tree cover) form the dominant land-cover class, covering 83.4% of the study area, followed by evergreen conifer forest (8.1%), mixed forest (2.7%), and shrubland (1.7%). These land-cover data were used to characterize the spatial distribution of vegetation across the study area. The procedure used to assign and refine hydraulic roughness coefficients is described in Section 3.1. The combination of a dense river network, extensive lakes and wetlands, seasonal snow and ice conditions, and strong climatic seasonality makes the region particularly suitable for examining hydraulic behavior under a wide range of flow conditions.
While the basin-averaged values reported above characterize the study area as a whole, the underlying ERA5-Land climatology [22] reveals that temperature, precipitation, and runoff are distributed unevenly across the three study reaches rather than varying uniformly with latitude alone. Figure 3a shows the spatial distribution of mean annual air temperature over 1981–2025, ranging from approximately −4 °C to −0.29 °C across the domain. The coldest cells occur in two discontinuous zones: the northwestern portion of the Upper Mackenzie–Camsell Bend reach and isolated high-elevation pockets near the Liard headwaters in the southwestern corner of the Lower Liard reach, both consistent with elevation-driven cooling in the mountainous terrain bordering British Columbia. In contrast, the warmest cells concentrate along the southern margin of the Lower Liard reach, where the terrain transitions to a lower-relief plateau, producing an intra-basin temperature range of roughly 3.7 °C despite the study area’s comparatively narrow latitudinal extent.
Figure 3. Spatial distribution of mean annual hydroclimatic variables across the Mackenzie–Liard study area derived from ERA5-Land data for 1981–2025: (a) air temperature (°C), (b) precipitation (mm), and (c) runoff (mm). The three panels illustrate spatial variability in hydroclimatic conditions among the Lower Liard, Upper Mackenzie–Camsell Bend, and Upper Mackenzie–Mills Lake reaches.
Figure 3b shows a pronounced, monotonic west-to-east gradient in mean annual precipitation, ranging from approximately 327 mm to 756 mm across the domain. The highest totals, exceeding 700 mm, are confined to the mountainous western edge of the Lower Liard reach along the British Columbia border, whereas precipitation declines eastward across the confluence zone and reaches its minimum, below 400 mm, over the lower-relief Upper Mackenzie–Mills Lake reach. This more than twofold difference in precipitation between the western and eastern extremes of the study area indicates that the reaches differ not only in channel morphology but in the volume of atmospheric water input available to generate runoff.
Figure 3c shows that mean annual runoff exhibits a spatial pattern broadly consistent with the precipitation distribution in Figure 3b, but with a more concentrated spatial structure, ranging from near 0 mm to approximately 404 mm. The highest runoff values occur predominantly in the southwestern portion of the Lower Liard reach, coinciding with the area of highest mean annual precipitation, whereas runoff across much of the Upper Mackenzie–Camsell Bend and Upper Mackenzie–Mills Lake reaches generally remains below 100 mm. These patterns indicate substantial spatial variability in runoff generation across the study domain, with the Lower Liard sector exhibiting comparatively higher runoff than the two Mackenzie reaches. Taken together, the temperature, precipitation, and runoff distributions show that the three study reaches have distinct hydroclimatic settings, in addition to their contrasting channel configurations.

3. Data and Methodology

3.1. Hydraulic Simulation Database and Flood Scenarios

The hydraulic database used in this study was generated using the Hydrologic Engineering Center’s River Analysis System (HEC-RAS, v6.5; U.S. Army Corps of Engineers, Hydrologic Engineering Center, Davis, CA, USA), a physically based numerical modelling framework widely used for river hydraulics and floodplain-flow simulations. HEC-RAS has previously been coupled with data-driven models to generate hydraulic databases for surrogate-model development, allowing machine-learning approaches to approximate the input–output relationships represented by the underlying hydraulic simulations [3,16]. In the present study, HEC-RAS version 7.0.1 was used to develop a one-dimensional (1D), steady-flow hydraulic model covering the Lower Liard, Upper Mackenzie–Camsell Bend, and Upper Mackenzie–Mills Lake reaches (Figure 1). The resulting simulations formed the hydraulic database used to develop and evaluate the Deep Polynomial Neural Network (DPNN) surrogate model.
The hydraulic database comprised 45 cross-sections distributed across the three modelled river reaches, including 14 cross-sections along the Liard River, 21 along the upstream Mackenzie River, and 10 along the downstream Mackenzie River. Eight hydraulic scenarios were simulated at each cross-section, resulting in a total of 360 hydraulic observations.
River and floodplain geometry were represented through cross-sections distributed along the three modelled reaches. Cross-sectional geometry was developed using the Canadian Digital Elevation Model (CDEM, Natural Resources Canada, Ottawa, ON, Canada), while hydrographic information from the National Hydro Network (NHN, Natural Resources Canada, Ottawa, ON, Canada) was used to define the river alignment and drainage network. The spacing between consecutive cross-section reference coordinates was calculated using the haversine great-circle distance formula. The resulting mean spacing was approximately 1.02 km for the Liard River (13 intervals), 1.52 km for the upstream Mackenzie River (20 intervals), and 1.63 km for the downstream Mackenzie River (9 intervals). Individual distances ranged from 0.62 to 1.37 km, 0.90 to 2.27 km, and 1.41 to 2.14 km, respectively (Supplementary Figure S2). These distances represent point-to-point geodesic separations and should not be interpreted as river-centerline chainage.
Hydraulic resistance was represented using Manning roughness coefficients for the main channel and overbank areas. Initial Manning roughness coefficients were assigned following guidance provided in the HEC-RAS User’s Manual, with a separate coefficient specified for the main channel and a common coefficient assigned to the left and right overbanks. The overbank roughness coefficients were subsequently refined using vegetation and land-cover information derived from the Normalized Difference Vegetation Index (NDVI) through Google Earth Engine (GEE, Google LLC, Mountain View, CA, USA). Manning roughness coefficients were further adjusted during hydraulic-model calibration to improve agreement between observed and simulated water levels.
Flood conditions were represented using discharges corresponding to return periods of 2, 5, 10, 20, 50, 100, 1000, and 10,000 years. Hydrometric records were obtained from Water Survey of Canada stations 10ED002 (Liard River), 10FB006 (Strong Point), and 10GC001 (Fort Simpson) for the period 2000–2026. Flood-frequency analysis was conducted independently for each station using the Log-Pearson Type III distribution. For each station, the mean, standard deviation, and skew coefficient of the flood series were calculated. The skew coefficient was then used to obtain the frequency factor (K) for each return period, after which the corresponding frequency variate and design discharge were calculated. The resulting design discharges are summarized in Table A1. These design discharges represent point estimates from the fitted Log-Pearson Type III distributions and were treated as fixed inputs to the HEC-RAS hydraulic scenarios. Uncertainty bounds for the estimated discharge quantiles were not incorporated into the hydraulic simulation database. These scenarios span relatively frequent floods through rare extreme events and provide a consistent set of eight return-period conditions for characterization of hydraulic response across the study domain.
For each simulated flow scenario, HEC-RAS provided hydraulic and geometric information describing the response of the corresponding cross-section. The resulting database included discharge, minimum channel elevation, water-surface elevation, flow depth, energy-grade elevation, slope, flow velocity, flow area, Froude number, and top width, together with the channel and overbank Manning roughness coefficients. The slope variable used in the subsequent DPNN modelling specifically represents the Energy Grade Line Slope and was extracted directly from HEC-RAS for each simulation.
The hydraulic model was calibrated against observed water levels at the gauging stations. Calibration was performed by adjusting Manning roughness coefficients to improve agreement between observed and HEC-RAS-simulated water levels, with root mean squared error (RMSE) used as the calibration criterion. The calibrated hydraulic simulations therefore provided the physically based database from which the reduced predictor set and top-width target were subsequently defined for DPNN development. Although observed water levels were used during hydraulic-model calibration, agreement in water-surface elevation at gauging stations does not independently establish the accuracy of simulated top width at individual cross-sections. Top width is also influenced by the representation of channel and floodplain geometry and the simulated water-surface elevation. In the present study, no direct quantitative comparison was performed between the HEC-RAS-derived top widths and co-located field-surveyed or satellite-derived water-surface widths. Therefore, the hydraulic-model calibration and the subsequent DPNN evaluation should be distinguished from independent validation of the simulated top-width targets.

3.2. Development of the DPNN Dataset

The HEC-RAS simulation database was reorganized for development of the DPNN surrogate model, with each simulated return period representing one hydraulic state at a given cross-section. Each of the 45 cross-sections was therefore represented by eight observations corresponding to the 2-, 5-, 10-, 20-, 50-, 100-, 1000-, and 10,000-year return periods, yielding 360 observations in total.
From the complete hydraulic database, five predictors were retained for DPNN development: main-channel Manning roughness coefficient (nC), overbank Manning roughness coefficient (nO), discharge (Q), flow depth (D), and Energy Grade Line Slope (S). Top width (W) was defined as the prediction target. These variables were selected a priori based on their direct hydraulic relevance and their established role in controlling channel conveyance and flow characteristics in HEC-RAS. In particular, Manning roughness coefficients characterize hydraulic resistance, discharge represents the imposed flow magnitude, while flow depth and energy slope characterize the resulting hydraulic state and energy gradient. The predictor roles, data sources, and units are summarized in Table 1.
Table 1. Predictor and target variables used for development of the DPNN surrogate model.
The five predictors differ in their availability during practical deployment. Discharge (Q) and channel and overbank Manning roughness coefficients (nC and nO) represent prescribed hydraulic-model inputs, although estimating or calibrating roughness coefficients for previously unmodeled locations may require additional information. In contrast, flow depth (D) and energy-grade-line slope (S) were extracted directly from HEC-RAS outputs for each simulated hydraulic state. Accordingly, the proposed five-input DPNN represents a conditional surrogate whose application requires these hydraulic-state variables to be available at prediction time. The model should not be interpreted as an independent replacement for HEC-RAS when the required depth and slope must themselves be generated through a complete hydraulic simulation.
Return period was retained as scenario information but was not supplied directly to the DPNN as an input predictor. Cross-section identity was likewise excluded from the predictor set and was used exclusively as a grouping variable for dataset partitioning and cross-validation. All eight return-period observations belonging to a given cross-section were retained within the same development, validation, or independent-test group. This grouping strategy prevented hydraulic states from the same cross-section from being simultaneously represented in model-fitting and evaluation subsets and therefore avoided cross-section-level information leakage.

3.3. Deep Polynomial Neural Network

A Deep Polynomial Neural Network (DPNN) based on the Π-Net framework was used to model the relationship between the selected hydraulic predictors and top width. Polynomial neural networks differ from conventional multilayer neural networks in that higher-order nonlinear relationships are represented explicitly through polynomial interactions of the input variables rather than being generated solely through nonlinear activation functions. Chrysos et al. [14] introduced Π-Nets as neural architectures whose outputs correspond to high-order polynomial expansions and showed that tensor decompositions can be used to represent such expansions efficiently without explicitly estimating the complete high-order coefficient tensors. This framework was subsequently extended and analyzed in greater detail by Chrysos et al. [15].
Among the polynomial formulations proposed by Chrysos et al. [14], the present study employed the coupled canonical polyadic decomposition (CCP) architecture. In the CCP formulation, the coefficient tensors associated with different polynomial orders share factors through a coupled CP decomposition, substantially reducing the number of parameters required to represent the high-order polynomial. The hidden dimension of this decomposition is referred to as the CP rank, which controls the representational capacity of the model.
For a standardized predictor vector
z = [ z 1 , z 2 , … , z d ] T
where d denotes the number of predictors, the first latent representation is defined as
h 1 = U 1 z ,
where U 1 is a trainable projection matrix. For polynomial orders n = 2 , … , N , the latent representation is recursively updated according to
h n = ( U n z ) ⊙ h n − 1 + h n − 1 ,
where U n denotes the trainable projection matrix associated with order n, N is the maximum polynomial degree, and ⨀ represents the Hadamard, or element-wise, product. The final standardized prediction is then obtained from
y ^ s t d = C h N + β ,
where C is the output projection vector and β is the output bias. This recursive formulation corresponds to the CCP architecture proposed by Chrysos et al. [14] and implemented in the present study.
The polynomial character of the architecture can be understood directly from Equation (2). At the first level, h1 contains first-order functions of the predictors. Multiplication of h1 by another linear projection of z introduces second-order terms. Repeating this operation recursively generates progressively higher-order products of the input variables. The residual term +hn−1 preserves the lower-order contributions while new interactions of order n are introduced. Consequently, after N recursive levels, the model represents polynomial terms up to degree N. This property is intrinsic to the CCP Π-Net formulation and does not require nonlinear activation functions.
For example, if N = 3, the resulting model can contain linear terms such as zi, second-order terms such as zizj and third-order terms such as zizjzk, together with repeated-variable terms such as z i 2 , z i 3 , and z i 2 z j . The CCP decomposition does not explicitly construct all of these monomials individually; instead, they are represented implicitly through the shared low-rank projection matrices Un. This is the principal reason the architecture can represent high-order polynomial relationships without directly estimating a full high-order coefficient tensor.
In the final implementation, the DPNN comprised five standardized input variables, four polynomial projection stages (N = 4), and a CP rank of 54. Each stage employed a bias-free linear projection from the five-dimensional input space to the 54-dimensional latent space, followed by the element-wise multiplicative recursion defined in Equation (2). A final linear projection mapped the latent representation to a scalar prediction, with one additional output bias. No nonlinear activation functions or additional fully connected hidden layers were employed. This factorized architecture enabled the representation of higher-order polynomial relationships without explicitly constructing the complete polynomial coefficient tensors.
Before model training, each predictor was standardized according to
z j = x j − μ j σ j ,
where x j is the original value of predictor j, and μj and σj are the mean and standard deviation calculated from the corresponding training subset. The target variable was standardized independently using the same training-only procedure. Scaling parameters estimated from training data were subsequently applied unchanged to validation and testing observations, thereby avoiding information transfer from the evaluation subsets during preprocessing.
Predictions were transformed back to the original top-width scale using
y ^ = μ y + σ y y ^ s t d ,
where μ y and σ y denote the training-set mean and standard deviation of the target variable. Because standardization and back-transformation are affine operations, they do not alter the polynomial nature of the fitted function. The final trained DPNN can therefore be algebraically expressed as an exact polynomial of the original, unstandardized hydraulic variables. The explicit extraction and analysis of this polynomial are described in Section 3.6.
Model parameters were estimated by minimizing mean squared error in standardized target space using the AdamW optimizer with decoupled weight decay [23]. The final selected configuration used a learning rate of 5.506 × 10−4 and a weight-decay coefficient of 2.048 × 10−8. The remaining AdamW settings retained their PyTorch (v2.5.1) defaults, including β1 = 0.9, β2 = 0.999, and ε = 10−8. The weights of the four input projection matrices were initialized from a normal distribution with zero mean and a standard deviation of 0.05, while the output projection weights were initialized using Xavier uniform initialization and the output bias was initialized to zero. Given the relatively small hydraulic dataset, full-batch optimization was performed, with all observations in each training partition contributing to every update. Training was conducted for a fixed 270 epochs, without validation-based early stopping or a learning-rate scheduler. To improve numerical stability, global gradient-norm clipping was applied after backpropagation and before each optimizer update using the PyTorch (v2.5.1) clip_grad_norm_ function, with an L2 norm and a maximum norm of 6.481. The implementation used single-precision tensors for neural-network training.
Reproducibility was supported by a fixed global random seed of 42, applied to Python (v3.13.5), NumPy (v2.1.3), and PyTorch (v2.5.1). The first-stage Optuna samplers used fold-specific seeds of 42 plus the fold number, whereas the second-stage sampler used seed 1042. The final selected DPNN was initialized and trained using seed 42. Deterministic PyTorch (v2.5.1) algorithms were requested with warning-only handling for unsupported operations. The archived implementation was executed on Windows 11 using CPU computation with one PyTorch (v2.5.1) thread. The recorded software environment included Python 3.13.5, PyTorch 2.13.0+cpu, Optuna 4.9.0, NumPy 2.1.3, and pandas 2.2.3. The complete model-training and evaluation procedure is summarized in Supplementary Algorithm S1.
The principal DPNN hyperparameters were the maximum polynomial degree N , CP rank, learning rate, weight-decay coefficient, number of training epochs, and gradient-clipping threshold. These parameters were not fixed a priori but were determined through the multi-stage optimization and cross-validation framework described in Section 3.4.

3.4. DPNN Optimization and Evaluation Strategy

To provide an independent assessment of model generalization while preventing information leakage among hydraulic states belonging to the same river cross-section, the complete dataset was partitioned at the cross-section level before any hyperparameter optimization was performed. The 45 cross-sections were divided into an 80% development subset and a 20% independent test subset using a fixed random seed of 42. Consequently, 36 cross-sections (288 observations) were assigned to model development, and 9 cross-sections (72 observations) were retained for independent testing. All eight return-period observations belonging to a given cross-section were kept together, so no cross-section was represented simultaneously in the development and test subsets. Because every cross-section contained the same eight return-period scenarios, this group-wise partition also preserved the representation of return periods in both subsets.
The development subset was further divided into a fixed, shuffled, five-fold cross-validation scheme defined at the cross-section level. Unique cross-sections were randomly shuffled using the same reproducible seed and distributed as evenly as possible among the five validation folds. For each fold, all observations from a cross-section were assigned exclusively either to training or validation, thereby preventing the different return-period states of the same cross-section from appearing on both sides of a fold.
In the first stage, fold-specific hyperparameter exploration was conducted independently for each of the five cross-validation folds using Optuna [24]. Optuna provides a sequential hyperparameter-optimization framework and, in the present implementation, a multivariate Tree-structured Parzen Estimator (TPE) sampler was used to explore the predefined DPNN search space. For each validation fold, 100 independent optimization trials were performed, resulting in 500 first-stage trials across the five folds. Each trial trained a DPNN using the training cross-sections of that fold and evaluated it against the corresponding held-out validation cross-sections. Validation root mean square error (RMSE) was used as the optimization objective, with lower RMSE indicating a more suitable hyperparameter combination.
The broad hyperparameter ranges used during this initial exploration are summarized in Table 2. The search included the maximum polynomial degree, CP rank, learning rate, weight-decay coefficient, number of training epochs, and gradient-clipping threshold. Integer-valued parameters were sampled as discrete values, whereas learning rate, weight decay, and gradient clipping were explored on logarithmic scales.
Table 2. Hyperparameter search space used for DPNN optimization.
After completion of the five first-stage searches, the best-performing hyperparameter set from each fold was used to define a narrower region for subsequent optimization. For integer-valued parameters, the median of the five-fold-specific best values was used to characterize the consensus solution, whereas logarithmically sampled parameters were summarized using the median in logarithmic space. The refined search interval for each hyperparameter was constructed from the minimum and maximum values among the five-fold-specific optima and expanded by 25% of their observed span on both sides, while remaining constrained within the original search limits. For parameters sampled logarithmically, this refinement was performed in logarithmic space.
In the second stage, a common DPNN configuration was optimized across all five cross-validation folds. Two hundred additional Optuna trials were conducted within the refined search ranges. Unlike the first stage, in which each fold was optimized separately, every second-stage trial proposed a single identical hyperparameter vector, which was then trained and evaluated independently on each of the five fixed folds. The objective function was defined as the mean validation RMSE across the five folds:
J ( θ ) = 1 K ∑ k = 1 K R M S E k ( θ ) ,
where θ represents a candidate DPNN hyperparameter vector, K = 5 is the number of cross-validation folds, and RMSEk denotes validation RMSE for fold k. The hyperparameter vector producing the minimum mean cross-validation RMSE was selected as the common DPNN configuration. The standard deviation of fold-specific RMSE values was also retained to characterize variation in performance among the validation folds, although it was not included directly in the optimization objective.
After selection of the common hyperparameter vector, the same configuration was re-evaluated across the five fixed folds to generate fold-level validation statistics and out-of-fold predictions for the complete development subset. These predictions provided an internal cross-validation assessment in which each development observation was predicted by a model that had not been trained on its corresponding cross-section. Because the same five cross-validation folds were used both for hyperparameter selection and for reporting out-of-fold performance, the resulting development OOF metrics are subject to hyperparameter-selection bias and should not be interpreted as unbiased estimates of generalization performance. The independent holdout set therefore remained the primary evaluation of generalization to unseen cross-sections.
In the final stage, the selected DPNN configuration was fitted once using all 36 development cross-sections. Predictor and target scaling parameters were re-estimated using the complete development subset, after which the fitted model was applied without further modification to the nine independent test cross-sections that had remained isolated from all previous optimization and model-selection procedures. Predictions were therefore obtained for 72 completely held-out hydraulic states representing the eight return periods at nine previously unseen cross-sections. The final implementation trains the selected configuration on the complete development set and subsequently generates independent-test predictions without re-optimizing the hyperparameters.
To provide an additional assessment of spatial generalization while addressing potential bias associated with hyperparameter selection, a separate nested cross-section-grouped cross-validation experiment was conducted using the original 36 development cross-sections (288 observations). Five outer GroupKFold partitions were constructed, with eight cross-sections assigned to the first outer validation fold and seven to each remaining fold. Within each outer training subset, hyperparameters were optimized using four inner cross-section-grouped folds and 24 Optuna trials, with mean inner-validation RMSE as the selection criterion. Predictor and target standardization parameters were estimated exclusively from the corresponding training partitions. For each outer fold, the selected configuration was refitted using all available outer-training cross-sections and evaluated on the held-out outer-validation cross-sections. All eight return-period observations associated with each cross-section remained together throughout both nested validation levels. The original nine independent-test cross-sections were excluded from this experiment. Because the nested experiment employed a smaller hyperparameter-search budget than the original two-stage optimization, it was treated as a complementary assessment of generalization and model-selection sensitivity rather than a direct replication of the final DPNN evaluation.
A retrospective computational-budget audit was conducted using the original DPNN Optuna study archives and MATLAB (R2024b; MathWorks, Inc., Natick, MA, USA) EPR-MOGA optimization records. DPNN search time was reconstructed from the recorded start and completion timestamps of 700 optimization trials, comprising 500 first-stage single-fold trials and 200 s-stage trials evaluated across five folds. EPR-MOGA search time was reconstructed from archived configuration-level execution times for 40 five-fold screening configurations and five configurations subsequently evaluated using three random seeds across the same five folds. These durations represent recorded optimization-stage execution, including model fitting during the searches, rather than complete end-to-end model-development time. Complementary model-only inference times were measured for the two archived models on the same CPU using 72 independent-test hydraulic states with standardized inputs prepared in advance. An exact two-sided paired model-label permutation test was also performed by exchanging model assignments at the cross-section level across all 512 possible assignments for the nine independent-test cross-sections. This analysis complemented the previously reported paired cross-section bootstrap comparison.
To distinguish marginal within-range prediction from joint multivariate interpolation, the original independent-test predictors were compared with the convex hull of the 288 development observations in the full five-dimensional predictor space (nC, nO, Q, D, and S). All five variables were standardized using development-data means and standard deviations. Convex-hull membership was determined using linear programming and independently verified against convex-hull half-space inequalities. For observations outside the hull, the minimum L-infinity distance to the hull was calculated in standardized predictor units. Complementary Euclidean nearest-neighbor distances between test and development observations were compared against a development-only reference distribution constructed by excluding all eight observations from the same cross-section when identifying each development observation’s nearest neighbor. These diagnostics were calculated post hoc and did not influence model fitting or hyperparameter selection.
To evaluate the dependence of the proposed surrogate on HEC-RAS-derived hydraulic-state predictors, an additional input-ablation experiment was conducted. A reduced-input DPNN was trained using only discharge (Q), channel Manning roughness (nC), and overbank Manning roughness (nO), excluding flow depth (D) and energy-grade-line slope (S). The experiment retained the original DPNN architecture and selected hyperparameters, including polynomial degree 4, CP rank 54, learning rate 5.506 × 10−4, weight decay 2.048 × 10−8, 270 training epochs, and a gradient-clipping threshold of 6.481. The reduced-input model was fitted using the original 36 development cross-sections and evaluated on the same nine independent-test cross-sections used for the published five-input DPNN. Predictor and target scaling parameters were estimated exclusively from the corresponding training data. Additional cross-section-grouped validation was performed within the development subset. Differences in independent-test performance were assessed using paired bootstrap resampling of complete cross-sections, with 2500 replicates. The experiment was designed as a fixed-configuration input ablation rather than an independently optimized three-input model comparison.
To further distinguish the predictive contributions of the HEC-RAS-derived hydraulic-state variables, two additional four-input ablation models were evaluated. The first retained channel roughness, overbank roughness, discharge, and flow depth (nC, nO, Q, and D), while excluding energy-grade-line slope (S). The second retained channel roughness, overbank roughness, discharge, and energy-grade-line slope (nC, nO, Q, and S), while excluding flow depth (D). Both configurations used the original DPNN architecture, selected hyperparameters, and spatial development–test partition, with training-only standardization and grouped cross-validation. Performance differences were evaluated using 2500 paired cross-section bootstrap resamples, retaining all eight return-period observations within each resampled cross-section. These experiments represent fixed-configuration feature ablations rather than independently optimized reduced-input models. To further examine dependence among the hydraulic-state predictors, pairwise Pearson and Spearman correlation coefficients were calculated for discharge (Q), flow depth (D), and energy-grade-line slope (S). Correlations were evaluated using the 36 development cross-sections, both across the pooled dataset and separately for the three modeled river reaches. Because each cross-section contributed eight return-period observations, the resulting coefficients were interpreted descriptively rather than as independent-sample statistical tests.
Figure 4 provides a schematic representation of the proposed DPNN modeling framework. This hierarchical strategy was designed to separate hyperparameter exploration, common model selection, and independent evaluation. The first stage identified locally promising regions of the search space, the second stage selected a single configuration that performed consistently across multiple cross-section-held-out folds, and the final stage quantified predictive performance on cross-sections that played no role in model development. All dataset partitioning and fold construction were performed using cross-section identity rather than individual observations, thereby maintaining the eight return-period states of each cross-section as an indivisible group throughout the evaluation procedure.
Figure 4. Schematic representation of the proposed DPNN modeling framework: (a) coupled-CP polynomial neural network architecture relating the standardized hydraulic predictors to predicted top width through recursive polynomial interactions, and (b) three-step optimization and validation strategy comprising fold-wise hyperparameter exploration, cross-fold refinement and common model selection, and final refitting followed by independent cross-section evaluation.

3.5. Model Performance Criteria

Model performance was evaluated using complementary statistical criteria designed to characterize goodness of fit, absolute prediction error, relative error, distributional agreement, and systematic bias. The primary evaluation metrics were the coefficient of determination ( R 2 ), root mean square error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), Kling–Gupta efficiency (KGE) [25], and percent bias (PBIAS). These metrics were calculated for the cross-validation predictions and the independent test dataset, with the latter providing the primary assessment of generalization to previously unseen cross-sections. The implemented workflow also calculated several additional diagnostic statistics, including Pearson correlation, median and maximum absolute errors, centered RMSE, and normalized RMSE measures.
The coefficient of determination was calculated as:
R 2 = 1 − ∑ i = 1 n ( O i − P i ) 2 ∑ i = 1 n ( O i − O ¯ ) 2 ,
where O i and P i denote the simulated HEC-RAS and DPNN-predicted top widths for observation i , respectively, O ¯ is the mean of the HEC-RAS values, and n is the number of observations. Values approaching 1 indicate greater agreement between the DPNN predictions and the corresponding HEC-RAS outputs.
Prediction errors in the original unit of top width were quantified using RMSE and MAE:
R M S E = 1 n ∑ i = 1 n ( O i − P i ) 2 ,
M A E = 1 n ∑ i = 1 n ∣ O i − P i ∣ ,
RMSE assigns greater influence to relatively large prediction errors because the residuals are squared, whereas MAE represents the average magnitude of the absolute prediction error. Relative prediction error was evaluated using MAPE:
M A P E = 100 n ∑ i = 1 n ∣ O i − P i O i ∣ .
Observations with zero reference values were excluded from the MAPE calculation, consistent with the implemented evaluation procedure.
Kling–Gupta efficiency was additionally employed to evaluate agreement in terms of correlation, variability, and mean behavior simultaneously [25]:
K G E = 1 − ( r − 1 ) 2 + ( α − 1 ) 2 + ( β − 1 ) 2 ,
where
α = σ P σ O ,   β = μ P μ O ,
and r is the Pearson correlation coefficient between HEC-RAS and predicted top widths, while σ and μ denote their standard deviations and means, respectively. The implemented formulation corresponds to the original KGE formulation proposed by Gupta et al. [25].
Finally, systematic prediction bias was quantified using percent bias (PBIAS), defined here using the predicted-minus-reference sign convention:
P B I A S = 100 ∑ i = 1 n ( P i − O i ) ∑ i = 1 n O i .
Under this convention, positive PBIAS values indicate systematic overprediction, whereas negative values indicate underprediction, with an optimal value of zero. PBIAS complements the error-magnitude criteria by identifying systematic directional bias in model predictions.
To provide a more detailed assessment of prediction errors, additional distributional diagnostics were calculated from the fixed independent-test predictions without refitting the DPNN. Signed error was defined as the difference between DPNN-predicted and HEC-RAS-derived top width, while absolute error and absolute percentage error quantified the corresponding error magnitudes. Median, 90th-percentile, 95th-percentile, and maximum absolute errors were calculated, together with the root mean square error of natural-logarithm-transformed predicted and reference widths (LogRMSE). All evaluated top widths were positive. Error distributions were summarized separately for each return period and independent-test cross-section. Pooled results for the 2–100-year and 1000–10,000-year scenarios were also calculated as descriptive comparisons, without treating the multiple hydraulic states from a given cross-section as independent spatial observations.
To examine the concentration of prediction errors at individual cross-sections, each independent-test cross-section’s contribution to the total sum of squared errors was calculated across its eight return-period scenarios. Additional hydraulic diagnostics compared the changes in HEC-RAS-derived and DPNN-predicted top width between the 2- and 10,000-year scenarios. The ratio of HEC-RAS flow area (A) to the product of top width (W) and flow depth (D), A/(WD), was also calculated as a descriptive indicator of wetted cross-sectional configuration. These analyses used the existing hydraulic outputs and independent-test predictions without retraining the DPNN.
To quantify uncertainty associated with the performance metrics obtained from the independent test dataset, a nonparametric bootstrap analysis was conducted using 10,000 resamples at the cross-section level. In each bootstrap replicate, complete cross-sections were resampled with replacement, while all eight return-period observations associated with each selected cross-section were retained together to preserve the grouped structure of the dataset. The 2.5th and 97.5th percentiles of the resulting metric distributions were used to define the corresponding 95% percentile bootstrap intervals.

3.6. DPNN Interpretation and Exact Polynomial Representation

To improve the interpretability of the trained DPNN, three complementary analyses were performed: feature attribution using Integrated Gradients (IG), pairwise interaction analysis based on mixed second-order derivatives, and exact algebraic expansion of the final network into a polynomial expressed in the original hydraulic predictors. These analyses were applied to the final DPNN after hyperparameter selection and refitting on the complete development dataset.
Feature contributions were quantified using Integrated Gradients (IG), an attribution method that accumulates the gradient of the model output along a path between a reference input and the observation being evaluated [26]. In the present implementation, the reference was the zero vector in standardized predictor space. Because the predictors were standardized using the development-data mean and standard deviation, this baseline corresponds to the mean hydraulic state of the data used to fit the model. For predictor j , the Integrated Gradient for an observation z was defined as
I G j ( z ) = ( z j − z j ′ ) ∫ 0 1 ∂ F ( z ′ + α ( z − z ′ ) ) ∂ z j   d α ,
where F denotes the fitted DPNN, z ′ = 0 is the reference vector, and α defines the interpolation path between the baseline and the evaluated observation. The integral was approximated numerically using 64 equally spaced integration steps and trapezoidal weighting. The resulting attribution values were transformed to the original top-width unit before subsequent analysis.
Global feature importance was obtained from the mean absolute IG magnitude across all evaluated observations and normalized to sum to 100%:
I j I G = 100 1 n ∑ i = 1 n ∣ I G i j ∣ ∑ k = 1 d ( 1 n ∑ i = 1 n ∣ I G i k ∣ ) ,
where d is the number of predictors. This normalization provides a relative measure of the contribution of each predictor to the DPNN predictions. The same procedure was applied separately to the development and independent test datasets. The implemented global importance calculation is based directly on the normalized mean absolute IG values.
Because the DPNN explicitly contains multiplicative polynomial interactions, pairwise predictor interactions were additionally quantified from the Hessian of the model output with respect to the standardized inputs. For predictors j and k , the local mixed second derivative was
H j k ( z ) = ∂ 2 F ( z ) ∂ z j ∂ z k .
The interaction strength for each predictor pair was calculated from the mean absolute mixed second derivative across the evaluated observations. To account for numerical asymmetry between H j k and H k j , the two directions were averaged:
S j k = 1 2 n ∑ i = 1 n ( ∣ H j k ( z i ) ∣ + ∣ H k j ( z i ) ∣ ) .
The resulting pairwise interaction values were then normalized to sum to 100% across all unique predictor pairs:
z I j k H = 100 S j k ∑ p < q S p q .
The derivatives were computed with respect to standardized predictors so that interaction magnitudes were not dominated by differences in predictor units or numerical ranges. These Hessian-derived values represent the sensitivity of the fitted DPNN to coupled changes in two predictors and should therefore be interpreted as model-based interaction strengths rather than causal relationships. Importantly, they are not SHAP interaction values; the implemented procedure uses mean absolute mixed second derivatives of the DPNN output. To assess the stability of model interpretation across datasets, the rankings of both global IG feature importance and Hessian-based pairwise interaction importance were compared between the development and independent test datasets using Spearman’s rank correlation coefficient.
To quantify the spatial variability of the Hessian-derived interaction strengths, 95% percentile intervals for the normalized mean absolute mixed derivatives were calculated using 5000 bootstrap resamples of complete cross-sections, preserving all eight hydraulic states within each cross-section. As an exploratory null assessment, the mean signed standardized mixed derivative of each predictor pair was tested against zero across the nine independent-test cross-sections using a two-sided exact cross-section-level sign-flip test. Benjamini–Hochberg adjustment was applied across the ten tested pairs. This test examines mean signed curvature in the fixed fitted DPNN, rather than the existence or causal significance of physical predictor interactions. Interaction strengths were additionally summarized within observed low-, middle-, and high-discharge strata defined from development-data terciles and separately by river reach. These analyses were limited to recorded hydraulic states and did not use artificially recombined predictor values; they are descriptive, not full conditional-ALE estimators.
A distinctive property of the adopted DPNN architecture is that the final model can also be expressed exactly as a polynomial. Because the network contains only affine transformations, element-wise multiplications, and residual additions, without nonlinear activation functions, its output is a polynomial of maximum degree N in the standardized predictors [14]. Since standardization itself is an affine transformation, this polynomial can be transformed analytically back to the original hydraulic variables. Accordingly, the final model was expanded as
W ^ = ∑ ∣ α ∣ ≤ N c α ∏ j = 1 d x j α j ,
where W ^ denotes the predicted river top width (m), xj represents the jth original, unstandardized hydraulic predictor, α = (α1, …, αd) is a vector of non-negative integer exponents, ∣ α ∣ = ∑ j α j denotes the total polynomial degree, and cα is the corresponding polynomial coefficient. In this study, d = 5, and the predictors are ordered as channel Manning roughness (nC), overbank Manning roughness (nO), discharge (Q, m3/s), flow depth (D, m), and energy-grade-line slope (S, m/m). The polynomial is evaluated using the original predictor values rather than their standardized counterparts. The recursive DPNN formulation and its ability to represent high-order polynomial mappings follow the coupled polynomial-network formulation introduced by Chrysos et al. [14].
The coefficients of the exact 126-term polynomial were obtained directly from the trained network parameters and the fitted input and output scaling transformations, without fitting a secondary regression model for that exact representation. All nonzero monomial coefficients were retained in the resulting equation. The algebraic representation was subsequently evaluated on both the development and independent test datasets and compared numerically with the direct network predictions to verify that the expanded polynomial reproduced the DPNN output within numerical precision. To investigate the accuracy–parsimony trade-off of the exact polynomial representation, an additional sparse-polynomial distillation experiment was conducted using Orthogonal Matching Pursuit (OMP). The original five-input DPNN was retained as the reference model, and its predictions for the 36 development cross-sections were used as the distillation targets. All five hydraulic predictors were standardized using the development-data means and standard deviations, and polynomial features up to fourth order were generated. The monomial features were additionally standardized during OMP fitting, with the corresponding transformations subsequently absorbed into the fitted coefficients. Candidate representations containing 5, 10, 15, 20, 30, 40, 60, 80, 100, and 126 terms, including the intercept, were evaluated. A 20-term representation, consisting of 19 selected monomials and an intercept, was examined as a compact alternative rather than being selected through optimization of independent-test performance. The independent-test cross-sections were excluded from coefficient fitting. Model performance was evaluated against both HEC-RAS-derived top width and the original DPNN predictions, and differences in independent-test performance were assessed using 2500 paired cross-section bootstrap resamples. Unlike the exact 126-term polynomial, the reduced model represents an approximation of the trained DPNN. The complete coefficients, monomial exponents, and scaling constants of the 20-term representation are provided in Supplementary Table S3, following the same coefficient-reporting structure used for the original exact polynomial in Table A2.
Because polynomial coefficients are affected by predictor units, powers, and interactions with other terms, their absolute magnitudes were not interpreted as direct measures of predictor importance. Feature importance was therefore assessed using Integrated Gradients, whereas the polynomial expansion was used to provide an explicit analytical representation of the fitted DPNN.

3.7. Derivative-Based Sensitivity and Nonlinear Response Analysis

To further characterize the behavior of the final DPNN beyond predictive-performance metrics and attribution-based interpretation, complementary derivative-based and nonlinear-response analyses were conducted using the fixed model obtained after fitting all development cross-sections. These analyses were performed separately for the development and independent test datasets wherever applicable, without refitting or modifying the DPNN.
First, partial-derivative sensitivity analysis (PDSA) [27,28] was used to quantify the local response of predicted top width to each hydraulic predictor. For predictor x j , the local sensitivity was defined as
S j = ∂ W ^ ∂ x j ,
where W ^ is the DPNN-predicted top width. Because the predictors have different physical units and numerical ranges, two dimensionless sensitivity measures were additionally calculated. The standardized derivative was defined as
S j * = ∂ W ^ ∂ x j σ x j σ W ,
where σ x j and σ W are the development-data scaling factors for predictor x j and top width, respectively. Local elasticity was calculated as
E j = ∂ W ^ ∂ x j x j W ^ .
Global derivative-based sensitivity was summarized using the mean absolute standardized derivative, whereas elasticity was retained as a complementary measure of relative output responsiveness. Feature rankings obtained for the development and independent test datasets were compared using Spearman’s rank correlation coefficient. Sensitivities were also summarized separately by return period.
The direction of the model response was further examined by recording the proportion of observations for which each partial derivative was positive or negative. This directional analysis was used to determine whether the sign of the local model response to each predictor was stable across the development and independent test datasets.
Two-dimensional DPNN response surfaces were constructed for the Q × D and Q × S interactions on the original 80 × 80 development-defined grids, with the remaining three hydraulic predictors fixed at their development-data medians. To distinguish projected from complete predictor-domain support, each grid state was checked against both the two-dimensional convex hull of the corresponding predictor pair and the full five-dimensional development-data convex hull. The five-dimensional analysis was performed after standardizing the five predictors using development-data statistics. The response-surface visualization displays model predictions in color only for grid states inside the full five-dimensional hull, marks states inside the two-dimensional hull but outside the five-dimensional hull by hatching, and leaves states outside the two-dimensional hull blank. These support checks used only the original 288 development observations and did not affect model fitting.
Finally, first-order accumulated local effects (ALE) were calculated for all five predictors to characterize nonlinear marginal response patterns while reducing dependence on potentially unrealistic predictor combinations. Twelve quantile-based intervals were defined exclusively from the development dataset and subsequently applied unchanged to the independent test dataset. Within each interval, the average difference in model prediction obtained by moving the focal predictor from the lower to the upper interval boundary was calculated, accumulated across intervals, and centered to obtain the ALE curve in meters. Because discharge, flow depth, and energy-grade-line slope exhibit reach-specific dependence, an additional reach-conditioned, observed-gradient ALE variant was evaluated for Q, D, and S. The original DPNN was differentiated analytically at each observed five-input hydraulic state. Within each river reach, mean local derivatives were calculated in eight development-derived quantile intervals of the focal predictor, multiplied by the corresponding interval widths, accumulated, and centered using the number of observations per interval. Unlike finite-difference ALE evaluated at interval boundaries, this complementary gradient-based approximation evaluated the fitted network only at recorded hydraulic predictor combinations. Reach-specific curves were constructed from the 288 development observations. Local-derivative signs were also summarized for the 26 independent-test observations lying inside the full five-dimensional development-data convex hull. These analyses describe fitted-model sensitivity rather than causal effects of correlated hydraulic predictors.
To compare the interpretation methods without treating their outputs as interchangeable, Integrated Gradients (IG) rankings were based on normalized mean absolute attribution relative to the development-data mean baseline, PDSA rankings on mean absolute standardized partial derivatives evaluated at observed hydraulic states, and ALE on its centered first-order response curves rather than an equivalent global importance measure. Uncertainty in IG and PDSA rankings was assessed using 10,000 bootstrap resamples of complete cross-sections, separately for the 36 development and nine independent-test cross-sections, preserving all eight return-period observations within each cross-section and keeping the fitted DPNN fixed. Spearman’s rank correlation coefficient (ρ) was calculated across the same five predictors to compare development and independent-test rankings and IG and PDSA rankings within each dataset. Percentile-based 95% intervals were obtained from the bootstrap distributions. Development-versus-test rankings of elasticity-based sensitivity and the ten Hessian interaction pairs were assessed using the same cross-section resampling principle. These intervals characterize sensitivity to spatial sample composition and do not account for model refitting, baseline selection, or physical-observation uncertainty.

3.8. Cross-Section Robustness and Return-Period Monotonicity Assessment

To evaluate whether the sensitivity patterns identified at the dataset level were preserved across individual hydraulic sections, the spatial robustness of the derivative-based sensitivity rankings was assessed at the cross-section level. Mean absolute standardized derivatives were calculated separately for each predictor and cross-section, and the predictors were ranked within each cross-section. Agreement between each cross-section-specific ranking and the corresponding dataset-wide ranking was evaluated using Spearman’s rank correlation coefficient. Overall agreement among the cross-section-specific rankings was further summarized using Kendall’s coefficient of concordance (W). The frequency with which each predictor occupied the highest-sensitivity rank was also recorded for the development and independent test datasets.
In addition, monotonicity of top width across increasing return periods was evaluated independently for each cross-section. For both the HEC-RAS reference simulations and DPNN predictions, the sequence of top-width values was classified as monotonic when top width remained non-decreasing over all successive return-period levels. For any DPNN sequence that violated this condition, the number and magnitude of local decreases between adjacent return periods were recorded. This assessment was used to determine whether the unconstrained DPNN preserved the monotonic progression of top width represented in the HEC-RAS simulations.
To evaluate a prediction-only monotonicity correction without retraining the DPNN, equal-weight isotonic regression was applied independently to the eight predicted top widths of each cross-section, ordered by increasing return period. The pool-adjacent-violators algorithm obtained the nearest non-decreasing width sequence by minimizing the sum of squared changes from the unconstrained DPNN predictions. Only model predictions were used to derive the corrected sequences; HEC-RAS reference widths were not used in post-processing. The original fitted DPNN and the spatial development–test split were preserved. Predictive performance was compared before and after post-processing for the development and independent-test datasets, with the development comparison representing in-sample final-fit results. For the held-out cross-sections, adjustment magnitudes and changes in return-period-specific RMSE were also calculated. Paired uncertainty in the pooled RMSE difference was evaluated by resampling complete independent-test cross-sections. The projection enforces monotonicity only for the eight jointly available design-flood scenarios and does not make the underlying five-input DPNN globally monotonic.

4. Results

4.1. Optimization Outcome and Selected DPNN Configuration

The first-stage fold-specific optimization produced different preferred DPNN configurations across the five cross-validation folds. The optimal polynomial degree varied from 2 to 6 and the CP rank from 21 to 89, while the corresponding minimum validation RMSE ranged from 178.94 to 438.95 m. The second-stage optimization therefore searched for a single hyperparameter configuration evaluated consistently across all five folds.
Following refinement of the search domain, 200 additional trials were evaluated using the mean validation RMSE across the five fixed folds as the optimization objective. The selected configuration achieved a mean cross-validation RMSE of 324.17 m, with a between-fold standard deviation of 79.85 m. The final DPNN consisted of a fourth-order polynomial architecture with a CP rank of 54, a learning rate of 5.506 × 10−4, a weight decay of 2.048 × 10−8, 270 training epochs, and a gradient-clipping threshold of 6.481. The selected values relative to the original optimization ranges are summarized in Table 3.
Table 3. Selected hyperparameters of the final DPNN configuration.

4.2. Cross-Validated and Independent Predictive Performance

Table 4 summarizes the predictive performance of the selected DPNN configuration. Across the five validation folds, the mean R2 was 0.758 ± 0.086, with an RMSE of 324.17 ± 79.85 m, MAE of 234.63 ± 58.24 m, MAPE of 16.39 ± 4.38%, and KGE of 0.707 ± 0.130. Validation performance nevertheless varied among folds, with R2 ranging from 0.634 to 0.853 and RMSE from 252.86 to 447.20 m, reflecting differences among the cross-sections assigned to each validation subset.
Table 4. Predictive performance of the selected DPNN configuration.
When predictions from the five held-out folds were pooled, the development OOF performance was R2 = 0.784, RMSE = 330.70 m, MAE = 234.53 m, MAPE = 16.51%, and KGE = 0.878. These development OOF statistics should be interpreted as internal model-selection diagnostics rather than unbiased estimates of predictive performance, because the same cross-validation folds contributed to hyperparameter optimization. The nested cross-section-grouped validation provides a complementary assessment in which the outer validation cross-sections were excluded from their corresponding hyperparameter-selection procedures. In comparison, refitting the selected configuration on the complete development dataset produced an R2 of 0.901 and RMSE of 224.21 m. As expected, in-sample performance after refitting on the complete development dataset was higher than the OOF performance (R2 = 0.901; RMSE = 224.21 m).
The primary assessment of generalization was therefore based on the independent test dataset, comprising 9 previously unseen cross-sections and 72 hydraulic states. On this dataset, the final DPNN achieved an R2 of 0.904, RMSE of 248.48 m, MAE of 210.55 m, MAPE of 12.08%, and KGE of 0.842. The overall PBIAS was −2.03%, indicating a small net underprediction under the predicted-minus-reference sign convention adopted in this study. The corresponding observed-versus-predicted relationship is shown in Figure 5, together with the pooled cross-validated development predictions.
Figure 5. Observed versus DPNN-predicted top width for (a) pooled out-of-fold predictions from the development dataset and (b) the independent test dataset comprising previously unseen cross-sections. Each dot represents a pair of observed and DPNN-predicted top widths, while the dashed line represents the 1:1 agreement line. The in-panel statistics report the coefficient of determination (R2), Kling–Gupta efficiency (KGE), and root mean square error (RMSE).
Because the independent evaluation contained only nine cross-sections, uncertainty in the test metrics was additionally examined using 10,000 cross-section-level bootstrap resamples, with all eight return-period observations of each sampled cross-section retained together. The resulting 95% bootstrap intervals were 0.700–0.953 for R2, 180.93–308.45 m for RMSE, 143.38–280.84 m for MAE, 8.23–15.82% for MAPE, and 0.644–0.921 for KGE. The PBIAS interval ranged from −8.73% to 6.71%, spanning zero and indicating that the direction and magnitude of aggregate bias were sensitive to which cross-sections were represented in the resampled test set. The complete set of independent-test point estimates and corresponding cross-section bootstrap confidence intervals for the original DPNN is summarized in Supplementary Table S5.
The additional nested cross-section-grouped validation produced lower and more variable predictive performance than the original internal cross-validation and fixed independent-holdout evaluations. Across the 36 development cross-sections evaluated through five outer folds, the pooled outer-validation predictions yielded R2 = 0.649, RMSE = 421.95 m, MAE = 296.70 m, MAPE = 20.03%, and KGE = 0.798. Individual outer-fold R2 values ranged from 0.484 to 0.856, while RMSE ranged from 261.24 to 648.07 m, indicating substantial sensitivity to the composition of the held-out cross-sections (Supplementary Table S4 and Figure S6). These results provide an additional assessment in which hyperparameter selection was restricted to inner folds and outer-fold predictions were generated without reusing the corresponding validation observations for model selection. However, the nested analysis used a smaller hyperparameter-search budget and different spatial evaluation subsets than the original final-model assessment. Consequently, the difference between nested-CV and independent-holdout performance cannot be attributed solely to hyperparameter-selection bias. Both evaluations used HEC-RAS-derived top width as the reference.
Although all 72 independent-test observations fell within the individual development-data ranges of all five predictors, the full five-dimensional domain check revealed that only 26 observations (36.1%) were inside the development-data convex hull, whereas 46 (63.9%) were outside it (Supplementary Table S12). All nine 10,000-year hydraulic states lay outside the joint convex hull. The maximum minimum L-infinity distance to the hull was 0.407 in standardized predictor units. However, the maximum standardized Euclidean nearest-neighbor distance between a test observation and the development dataset was 0.849, below the 95th percentile (1.057) of the cross-section-excluded nearest-neighbor distances calculated within the development data. Thus, the independent holdout comprises a mixture of multivariate interpolation and extrapolation, with many outside-hull states remaining relatively close to observed development states under the selected distance metric. Neither convex-hull membership nor proximity alone establishes hydraulic realism or broad transferability beyond the studied river system.
An additional input-ablation experiment was performed to assess the dependence of DPNN predictive performance on hydraulic-state variables generated by HEC-RAS. Excluding flow depth and energy-grade-line slope substantially reduced predictive accuracy on the nine independent-test cross-sections. The original five-input DPNN achieved R2 = 0.904, RMSE = 248.48 m, MAE = 210.55 m, and MAPE = 12.08%, whereas the reduced three-input DPNN achieved R2 = 0.663, RMSE = 464.90 m, MAE = 380.23 m, and MAPE = 21.60%. The resulting increase in RMSE was 216.42 m, with a paired cross-section bootstrap 95% percentile interval of 78.78–357.29 m. The reduced-input model exhibited higher RMSE, MAE, and MAPE across all eight return periods (Supplementary Figure S1), while the complete performance comparison and paired cross-section bootstrap intervals are provided in Supplementary Table S1. These results indicate that the hydraulic-state predictors contribute substantially to the performance of the selected DPNN configuration. Nevertheless, because the reduced-input model retained the hyperparameters optimized for the five-input model, the experiment should not be interpreted as establishing the maximum achievable accuracy of a separately optimized three-input surrogate.
The additional four-input ablations provided a more detailed assessment of the predictive information associated with flow depth and energy-grade-line slope (Supplementary Table S9 and Figure S9). Excluding energy-grade-line slope while retaining depth yielded an independent-test R2 of 0.751 and RMSE of 399.50 m, corresponding to an RMSE increase of 151.02 m relative to the five-input DPNN (95% paired cross-section bootstrap interval: −18.24 to 314.35 m). Excluding depth while retaining slope yielded R2 = 0.707 and RMSE = 434.11 m, representing an RMSE increase of 185.63 m (95% interval: 92.15–259.44 m). Although the model retaining depth achieved a lower overall RMSE than the model retaining slope, the difference between these two configurations was uncertain (34.61 m; 95% interval: −143.58 to 218.83 m). Compared with the three-input model excluding both variables (RMSE = 464.90 m), retaining depth reduced RMSE by 65.39 m, with a 95% interval of 21.21–141.65 m for this reduction, whereas the 30.79 m reduction associated with retaining slope had a confidence interval spanning zero. These findings indicate that hydraulic-state variables provide useful predictive information within the selected DPNN configuration, while their separate contributions cannot be conclusively ranked from the present ablation experiments.
The complementary predictor-correlation analysis revealed substantial differences between pooled and reach-specific relationships (Supplementary Table S10). Across the pooled development dataset, the Pearson correlations were 0.588 between discharge and flow depth, −0.022 between discharge and energy-grade-line slope, and −0.093 between depth and slope. However, when evaluated separately for the Lower Liard, upstream Mackenzie, and downstream Mackenzie reaches, the discharge–depth correlations increased to 0.959, 0.994, and 0.992, respectively. These results demonstrate strong discharge–depth dependence within individual reaches, whereas correlations involving energy-grade-line slope were generally weaker. The findings highlight the importance of considering reach-specific hydraulic relationships and predictor dependence when interpreting the DPNN.

4.3. Error Structure Across Return Periods and Unseen Cross-Sections

Independent-test performance varied within a relatively narrow range across the 2- to 100-year return periods (Figure 6a). Over these six scenarios, MAPE varied only from 10.76% to 11.20%, with an average of 10.91%, while R2 remained between 0.906 and 0.923. RMSE also changed moderately across these scenarios. Larger errors emerged for the two most extreme hydraulic scenarios. At the 1000-year return period, MAPE and RMSE increased to 14.30% and 285.91 m, respectively, and at the 10,000-year return period they further increased to 16.91% and 351.62 m. A similar tendency was evident in the development out-of-fold predictions, for which MAPE increased from 14.73–16.20% across the 2- to 100-year scenarios to 18.25% and 22.29% for the 1000- and 10,000-year return periods, respectively. Thus, the increase in error under the most extreme scenarios was evident in both the grouped cross-validation predictions and the independent evaluation.
Figure 6. Variation in DPNN prediction error across hydraulic scenarios and independent cross-sections. (a) Mean absolute percentage error (MAPE) as a function of return period for the pooled development out-of-fold predictions and the independent test dataset. (b) Mean prediction error (DPNN − HEC-RAS) for each independent-test cross-section, averaged across the eight return-period scenarios. Positive values indicate overprediction and negative values indicate underprediction.
The expanded error-distribution analysis further quantified this deterioration under extreme hydraulic scenarios (Supplementary Table S6 and Figure S8). For the 2–100-year return periods, the pooled independent-test predictions (54 observations) yielded RMSE = 219.30 m, MAE = 184.47 m, and MAPE = 10.91%. For the 1000- and 10,000-year scenarios (18 observations), these values increased to 320.45 m, 288.81 m, and 15.60%, respectively. The 90th percentile of absolute error increased from 370.57 to 434.21 m, while LogRMSE increased from 0.125 to 0.162. Similarly, the 95th percentile of absolute error increased from 408.72 to 511.40 m, while NSE decreased from 0.914 for the pooled 2–100-year scenarios to 0.881 for the pooled 1000–10,000-year scenarios. These results confirm that the deterioration in predictive performance under extreme hydraulic conditions was reflected in goodness of fit, upper-tail absolute errors, and logarithmic error measures. These results demonstrate that larger errors under extreme scenarios were reflected in both absolute and relative error measures. However, the pooled scenario-group comparisons remain descriptive because all return-period observations originate from the same nine independent-test cross-sections.
Prediction errors also varied substantially among the nine independent-test cross-sections (Figure 6b). Cross-sections 40 and 27 showed the lowest mean absolute errors, at 58.78 m and 63.34 m, respectively. In contrast, the largest cross-section-averaged absolute errors occurred at cross-sections 42, 44, and 13, with values of 405.38 m, 294.08 m, and 284.46 m, respectively. The error direction was also systematic for several cross-sections: cross-sections 42 and 44 were consistently underpredicted across all eight return periods, with mean prediction errors (P − O) of −405.38 m and −294.08 m, whereas cross-Section 13 was consistently overpredicted, with a mean error of +284.46 m.
The largest individual absolute error in the independent dataset was 619.55 m, occurring at cross-Section 36 under the 10,000-year scenario, where the HEC-RAS top width of 4323.46 m was predicted by the DPNN as 3703.91 m. Thus, the aggregate independent-test metrics coexisted with substantial variation in prediction error among individual cross-sections and return-period scenarios.
The complete cross-section-by-return-period error matrices reveal additional spatial and scenario-specific patterns that are not apparent from aggregate performance statistics (Supplementary Table S8 and Figure S7). Cross-Section 13 was overpredicted under all eight return periods, whereas cross-sections 42 and 44 were consistently underpredicted. At the 10,000-year return period, the DPNN underestimated top width at cross-Section 36 by 619.55 m (14.33%) and overestimated it at cross-Section 13 by 492.31 m (34.64%). The cross-section-specific error summaries, including upper-tail absolute errors and error-direction consistency, are presented in Supplementary Table S7. These findings indicate that similar aggregate performance statistics can coexist with substantially different local error magnitudes and directions, particularly under extreme hydraulic conditions.
Additional cross-section-specific diagnostics quantified the concentration and hydraulic characteristics of these errors (Supplementary Table S11). Cross-sections 42, 44, and 13 contributed 29.65%, 16.52%, and 16.16% of the total independent-test squared error, respectively, accounting for 62.33% collectively. At cross-Section 13, HEC-RAS-derived top width increased by only 39.99 m between the 2- and 10,000-year scenarios, whereas the DPNN predicted an increase of 287.25 m. At cross-Section 42, the corresponding increases were similar (498.12 and 506.01 m), despite persistent underprediction of the absolute width. At cross-Section 44, the DPNN underestimated the increase in top width (328.05 versus 522.89 m). The mean A/(WD) ratios were 0.954, 0.830, and 0.824 at cross-sections 13, 42, and 44, respectively, illustrating differences in simulated wetted cross-sectional configuration. These findings identify distinct patterns of local prediction error but do not establish their underlying physical causes.

4.4. Predictor Attribution and Interaction Stability

Integrated Gradients (IG) indicated that discharge was the dominant contributor to the DPNN predictions in both the development and independent-test datasets (Figure 7a). In the development dataset, discharge accounted for 30.94% of the total absolute attribution, followed by slope (24.26%), flow depth (18.93%), channel Manning roughness (18.04%), and overbank Manning roughness (7.82%). The same general hierarchy was retained for the independent test cross-sections, where discharge increased to 39.96%, followed by flow depth (21.76%), slope (20.91%), channel Manning roughness (10.19%), and overbank Manning roughness (7.18%). The predictor rankings were highly consistent between the two datasets (ρ = 0.90); only flow depth and slope exchanged their second- and third-ranked positions. The IG ranking correlation between the development and independent-test datasets was ρ = 0.90, with a 95% cross-section bootstrap interval of 0.50–1.00 (Supplementary Table S17). The interval indicates that the apparent stability of the five-predictor ranking is sensitive to the limited spatial composition of the test dataset, despite discharge retaining the highest observed attribution.
Figure 7. Stability of DPNN interpretation between the development and independent-test datasets. (a) Global predictor importance based on normalized mean absolute Integrated Gradients (IG). (b) Normalized pairwise interaction importance derived from the mean absolute mixed second derivatives of the DPNN output. Predictor and interaction importance values are expressed as percentages within each dataset.
The Hessian-based analysis similarly revealed a stable interaction structure between the development and independent-test datasets (Figure 7b). The strongest interaction in both datasets was between discharge and flow depth, contributing 23.08% and 23.06% of the normalized interaction importance in the development and test datasets, respectively. The discharge–slope interaction was consistently second, with corresponding contributions of 17.58% and 17.93%. Together, these two interactions represented approximately 40.7% and 41.0% of the total pairwise interaction importance in the development and test datasets, respectively.
The remaining interaction ranking was also broadly preserved. In the development dataset, the channel–overbank roughness interaction ranked third (13.01%), followed by overbank roughness–slope (11.09%) and depth–slope (9.44%). In the independent test dataset, overbank roughness–slope ranked third (12.45%), followed by channel–overbank roughness (11.74%) and depth–slope (11.01%). Across all ten predictor pairs, the development and independent-test interaction rankings showed a Spearman correlation of ρ = 0.976, indicating strong ranking consistency between the two datasets. The corresponding 95% cross-section bootstrap interval for the ten-pair Hessian rank correlation (ρ = 0.976) was 0.855–1.000 (Supplementary Table S17). This comparison concerns fitted-model interaction rankings rather than invariant physical interaction mechanisms.
Cross-section bootstrap intervals supported the descriptive stability of the highest-ranked Hessian-based interactions (Supplementary Table S13 and Figure S10). On the independent-test cross-sections, the normalized Q × D interaction strength was 23.06% (95% interval: 21.73–24.58%), followed by Q × S at 17.93% (17.52–18.40%). In exploratory cross-section-level sign-flip tests of mean signed mixed derivatives, eight of the ten predictor pairs, including Q × D and Q × S, had false-discovery-rate-adjusted p-values of approximately 0.0073. Because these tests concern signed derivatives of the fixed fitted model and rely on only nine independent spatial units, they should not be interpreted as formal evidence of causal hydraulic interactions. When evaluated within observed low-, middle-, and high-discharge strata, Q × D retained the highest normalized interaction strength (24.93%, 23.14%, and 22.29%, respectively), whereas Q × S contributed 17.62%, 17.60%, and 18.21%. The discharge-stratified patterns describe the DPNN under observed joint input configurations and do not establish effects under independent predictor manipulation.
These attribution and interaction measures characterize the fitted DPNN rather than causal hydraulic relationships. Their similar rankings across the two datasets indicate that the model exhibited broadly consistent attribution and interaction patterns on the unseen cross-sections.

4.5. Exact Polynomial Representation and Numerical Equivalence

The final fourth-order DPNN was algebraically expanded into an explicit polynomial expressed in the original hydraulic predictors. The resulting polynomial contained 126 retained monomial terms: one constant term, five first-order terms, 15 s-order terms, 35 third-order terms, and 70 fourth-order terms. Thus, the expansion retained contributions across all polynomial orders represented by the selected DPNN architecture.
Direct evaluation of the expanded polynomial reproduced the original DPNN predictions to numerical precision. For the development dataset, the maximum absolute difference between the DPNN and polynomial predictions was only 3.258 × 10−4 m, with a mean absolute difference of 4.852 × 10−5 m and an RMSE of 6.579 × 10−5 m. On the independent test dataset, the corresponding maximum absolute difference was 1.895 × 10−4 m, while the mean absolute difference and RMSE were 5.740 × 10−5 m and 7.256 × 10−5 m, respectively (Table 5). These discrepancies are attributable to numerical precision and confirm that the algebraically expanded polynomial reproduces the fitted DPNN rather than providing a secondary approximation of it.
Table 5. Numerical comparison of predictions from the final DPNN and its exact fourth-order polynomial representation for the development and independent test datasets.
The explicit polynomial therefore provides an analytical representation of the final surrogate model in terms of channel Manning roughness, overbank Manning roughness, discharge, flow depth, and slope. Because the magnitudes of individual polynomial coefficients depend strongly on predictor units and polynomial powers, the coefficients were not interpreted as measures of predictor importance; the IG and Hessian analyses presented in Section 4.4 were used for that purpose. The complete set of polynomial coefficients is reported in Table A2, while the full-precision coefficients are included in Supplementary Code S1 for direct numerical evaluation.
The sparse-polynomial distillation experiment further examined the trade-off between algebraic complexity and predictive accuracy across different numbers of retained terms (Supplementary Figure S3). The 20-term approximation contained 19 selected monomials and an intercept, corresponding to an 84.1% reduction in term count relative to the original 126-term polynomial. On the independent test dataset, the original DPNN achieved R2 = 0.904, RMSE = 248.48 m, MAE = 210.55 m, and MAPE = 12.08%, whereas the 20-term approximation achieved R2 = 0.907, RMSE = 244.43 m, MAE = 216.65 m, and MAPE = 12.57% (Supplementary Table S2 and Figure S4). The paired cross-section bootstrap difference in RMSE (20-term minus original DPNN) was −4.05 m, with a 95% percentile interval of −49.59 to 45.24 m. The corresponding MAPE difference was 0.49 percentage points (95% interval: −1.65 to 2.69 percentage points). Both intervals included zero, indicating that the observed differences were inconclusive. The reduced polynomial differed from the original DPNN predictions by an independent-test RMSE of 95.70 m, confirming that algebraic equivalence was not preserved. Accordingly, the original 126-term polynomial remains the exact representation of the DPNN, while the 20-term formulation provides a more compact approximation with broadly comparable agreement with HEC-RAS outputs. The complete coefficients and monomial exponents of the reduced polynomial, together with the required predictor standardization parameters, are provided in Supplementary Table S3, while the retained coefficient values are illustrated in Supplementary Figure S5. These coefficients describe the fitted polynomial representation and should not be interpreted as measures of physical predictor importance.

4.6. Comparison with the EPR-MOGA Benchmark

To provide a consistent benchmark for the DPNN, an evolutionary polynomial regression model optimized using a multi-objective genetic algorithm (EPR-MOGA) [29,30,31] was evaluated using the same development–test partition and the same five group-aware cross-validation folds used for the DPNN. Model selection was performed exclusively within the development dataset, without reference to the independent test cross-sections. Forty candidate EPR configurations were initially screened, after which the five configurations with the lowest mean cross-validation RMSE were subjected to repeated evaluation across three fixed random seeds. The final selected configuration contained two polynomial terms excluding the bias, used the candidate exponent set [−2, −1.5, −1, −0.5, 0, 0.5, 1, 1.5, 2], and employed a complexity-pressure parameter of α = 0.25. This configuration was subsequently fixed before evaluation on the independent test dataset. The EPR-MOGA benchmark was implemented in MATLAB R2024b.
On the pooled development out-of-fold (OOF) predictions, the tuned EPR-MOGA benchmark showed slightly better overall performance than the DPNN. EPR-MOGA achieved an R2 of 0.795, RMSE of 322.26 m, MAE of 230.61 m, MAPE of 14.95%, and KGE of 0.888, compared with 0.784, 330.70 m, 234.53 m, 16.51%, and 0.878, respectively, for the DPNN. The aggregate bias was nearly identical for the two models, with PBIAS values of −1.70% for EPR-MOGA and −1.71% for DPNN. Relative to the DPNN, EPR-MOGA reduced the OOF RMSE by approximately 2.6% and MAE by 1.7%, while its MAPE was 9.5% lower. These results indicate that EPR-MOGA therefore produced slightly better pooled OOF metrics than the DPNN before evaluation on the independent cross-sections.
In contrast to the pooled OOF results, the DPNN showed stronger predictive performance on the independent test dataset comprising previously unseen cross-sections. The DPNN achieved an R2 of 0.904, RMSE of 248.48 m, MAE of 210.55 m, MAPE of 12.08%, and KGE of 0.842, compared with 0.859, 301.06 m, 232.68 m, 13.25%, and 0.768, respectively, for EPR-MOGA (Table 6). Relative to EPR-MOGA, the DPNN reduced RMSE by 17.5%, MAE by 9.5%, and MAPE by 8.8%. The magnitude of the aggregate bias was also lower for the DPNN, with ∣PBIAS∣ decreasing from 3.86% for EPR-MOGA to 2.03%, corresponding to a reduction of approximately 47.4% in absolute bias. On the independent test set, DPNN produced lower RMSE, MAE, MAPE, and absolute PBIAS and higher R2 and KGE than EPR-MOGA.
Table 6. Comparison of DPNN and tuned EPR-MOGA performance for pooled development out-of-fold predictions and the independent test dataset.
The paired cross-section bootstrap yielded an RMSE difference of 52.58 m in favor of DPNN, with a 95% percentile interval of 8.53–90.52 m. The corresponding R2 difference was 0.045 (95% interval: 0.011–0.115). The 95% intervals for the differences in MAE, MAPE, KGE, and absolute PBIAS included zero. The complete paired bootstrap results are provided in Table A3.
The archived computational records indicated that the DPNN required 364.21 s for first-stage optimization and 695.56 s for second-stage refinement, totaling 1059.78 s (17.66 min) across 700 Optuna trials and 1500 fold-level network fits (Supplementary Table S16). Corresponding EPR-MOGA optimization times were 1015.23 and 210.35 s, respectively, totaling 1225.58 s (20.43 min) across 275 fold-level genetic-algorithm runs. Each EPR-MOGA run used a population of 200 and 100 iterations. The selected DPNN contained 1135 trainable parameters and could be expanded into an exact 126-term polynomial, whereas the selected EPR-MOGA formulation comprised two nonlinear terms and an intercept. The archived EPR-MOGA final-fit-plus-evaluation stage required 3.73 s, while the corresponding original DPNN refitting duration was not separately recorded. In a supplementary same-CPU model-only benchmark, median inference times for the 72 test observations were 0.215 ms for DPNN and 0.014 ms for EPR-MOGA. Because the search procedures, software implementations, and original computational environments differed, these measurements do not establish a strictly matched computational budget or an end-to-end efficiency advantage over HEC-RAS.
The independent-test RMSE difference favored DPNN by 52.58 m, with a paired cross-section bootstrap 95% percentile interval of 8.53–90.52 m. However, an exact two-sided cross-section-level permutation test yielded p = 0.0781. Thus, although the DPNN achieved lower independent-test RMSE and the bootstrap interval excluded zero, the difference was not statistically significant at the conventional 0.05 level under the exact permutation test. This distinction warrants caution because the evaluation included only nine independent spatial units.
Return-period-specific comparisons showed that the relative performance of the two models varied across hydraulic scenarios (Figure 8). DPNN achieved higher R2 and lower RMSE for six of the eight return periods, with the largest RMSE reductions relative to EPR-MOGA occurring for the 10-year (25.9%), 20-year (25.5%), and 10,000-year (23.6%) events. EPR-MOGA performed better for the 2-year event, while RMSE was nearly identical between the models at the 1000-year return period. DPNN also achieved higher KGE and lower absolute PBIAS for seven of the eight return periods. Overall, the independent-test performance differences were observed across multiple return periods rather than being concentrated in a single hydraulic scenario.
Figure 8. Return-period-specific comparison of DPNN and tuned EPR-MOGA performance on the independent test dataset in terms of R2, RMSE, MAPE, KGE, MAE, and PBIAS. Each point represents model performance across the nine previously unseen cross-sections for the corresponding return-period scenario. The return-period axis is shown on a logarithmic scale.

4.7. Derivative-Based Sensitivity and Directional Response

The derivative-based sensitivity analysis provided a complementary assessment of how the final DPNN responded locally to changes in each hydraulic predictor. Based on the mean absolute standardized derivative, discharge exhibited the largest overall sensitivity in both the development and independent test datasets, with values of 0.795 and 0.910, respectively (Table 7). In the development dataset, discharge was followed by channel Manning’s n (0.718), slope (0.590), depth (0.430), and overbank Manning’s n (0.275). The ordering changed somewhat for the independent test cross-sections, where slope (0.736) and depth (0.633) ranked second and third, followed by channel Manning’s n (0.583) and overbank Manning’s n (0.248). Nevertheless, discharge remained the highest-ranked predictor and overbank roughness remained the lowest-ranked predictor in both datasets. The Spearman correlation between the development and independent-test standardized-derivative rankings was ρ = 0.70, whereas the elasticity-based rankings showed stronger agreement (ρ = 0.90). The corresponding 95% cross-section bootstrap intervals were 0.40–1.00 for standardized-derivative rankings and 0.40–1.00 for elasticity-based rankings (Supplementary Table S17). Within each dataset, the IG and standardized-derivative rankings had correlations of ρ = 0.70 (95% interval: 0.60–0.90) for development and ρ = 0.90 (0.60–1.00) for the independent test. These differences reflect the distinct interpretation measures and the limited spatial sampling, rather than identifying a uniquely correct ranking.
Table 7. Global derivative-based sensitivity and directional response of the final DPNN for the development and independent test datasets. Values in parentheses indicate the ranking based on mean absolute standardized derivative.
The derivative-based results were broadly consistent with the integrated-gradients analysis in identifying discharge as the highest-ranked predictor, but the intermediate predictor rankings differed between the two approaches. This difference is expected because integrated gradients quantify accumulated attribution relative to a reference state, whereas PDSA measures the local slope of the fitted response surface. The two analyses therefore provide complementary rather than interchangeable measures of model behavior.
Sensitivity also varied with return period (Figure 9). Discharge retained the largest mean absolute standardized derivative from the 2- through 100-year events in both datasets. In the development dataset, its sensitivity decreased from 1.116 at the 2-year return period to 0.706 at the 100-year return period, while the standardized sensitivity to slope increased. At the 1000-year event, channel Manning’s n became the highest-ranked predictor (0.648), closely followed by slope (0.635), whereas slope had the largest mean absolute standardized derivative at the 10,000-year event (0.694). A similar transition was observed on the independent test cross-sections: discharge remained dominant through the 100-year event, but slope became the most sensitive predictor at both the 1000-year (0.801) and 10,000-year (0.867) return periods. Thus, the derivative-based response shifted from predominantly discharge-controlled sensitivity under more frequent hydraulic conditions toward greater sensitivity to channel slope under the most extreme scenarios.
Figure 9. Return-period-specific derivative-based sensitivity of the final DPNN for (a) the development dataset and (b) the independent test dataset. Sensitivity is expressed as the mean absolute standardized partial derivative for each hydraulic predictor. Return period is shown on a logarithmic scale.
The sign of the local derivatives further revealed distinct directional-response patterns. The derivative with respect to discharge was positive for every evaluated observation in both the development and independent test datasets, indicating a consistently positive local DPNN response to increasing discharge when the remaining predictors were held constant. In contrast, the depth derivative was negative for 96.2% of the development observations and 98.6% of the independent-test observations, while the slope derivative was negative for 99.3% and 100%, respectively. Channel Manning’s n also showed a predominantly negative derivative, occurring in 69.4% of development observations and 66.7% of independent-test observations. Overbank Manning’s n showed a less uniform response, with positive derivatives in 62.2% of development observations and 91.7% of independent-test observations. Consequently, discharge, depth, and slope exhibited highly stable directional responses across the two datasets, whereas the roughness-related responses were more dependent on the local hydraulic state.

4.8. Nonlinear Predictor Effects and Interaction Response Surfaces

The ALE analysis provided a complementary view of the nonlinear predictor-response relationships learned by the DPNN while accounting for the observed predictor distribution (Figure 10). Discharge showed a consistently increasing accumulated effect across its observed range in both datasets. In the development dataset, the discharge ALE increased from approximately −642 m at the lower end of the evaluated range to +1496 m at the upper end, producing the largest overall ALE excursion among the five predictors. A similar increasing response was obtained for the independent test cross-sections. This behavior was consistent with the uniformly positive discharge derivatives identified by the PDSA.
Figure 10. First-order accumulated local effects (ALE) of the five hydraulic predictors on DPNN-predicted top width for the development and independent test datasets: (a) discharge, (b) flow depth, (c) channel Manning’s n, (d) overbank Manning’s n, and (e) slope. ALE values are centered within each dataset and expressed in metres of predicted top width. Development-derived quantile intervals were applied unchanged to the independent test data.
Depth and slope displayed the opposite response. The accumulated effect of depth decreased progressively as depth increased, ranging from approximately +580 to −434 m in the development dataset and from +772 to −725 m in the independent test dataset. Slope showed a similarly consistent decreasing pattern, with development ALE values ranging from approximately +799 to −549 m and independent-test values from +915 to −701 m. The development and independent-test ALE curves showed similar response directions and broadly similar shapes for discharge, depth, and slope. The reach-conditioned observed-gradient ALE analysis provided a complementary assessment under recorded joint hydraulic predictor configurations (Supplementary Table S14 and Figure S11). Across the 288 development observations, the DPNN discharge derivative was positive in all cases, whereas the depth and energy-grade-line slope derivatives were negative at 277 and 286 observations, respectively. The reach-conditioned curves exhibited increasing responses for discharge and generally decreasing responses for depth and slope, although the magnitude of the accumulated effects varied among the three river reaches. Among the 26 independent-test observations inside the five-dimensional development-data convex hull, discharge derivatives were positive and depth and slope derivatives were negative in every case. The limited joint-domain support of the independent-test dataset precluded robust reach-specific ALE curves for the held-out cross-sections. These results support the qualitative response directions of the original ALE analysis but do not establish independent or causal hydraulic effects.
The roughness variables exhibited more complex response patterns. Channel Manning’s n showed a pronounced non-monotonic effect: the ALE increased over the lower-to-intermediate roughness range, reached a maximum near nC ≈ 0.0244, and subsequently declined as channel roughness increased further. Overbank Manning’s n also displayed a nonlinear response, with negative accumulated effects over the lower part of its observed range followed by increasingly positive effects toward higher values. Independent-test support was sparser within several of the development-defined roughness intervals, particularly for channel Manning’s n; consequently, the test-set ALE behavior in sparsely populated roughness intervals was interpreted more cautiously than the well-supported discharge, depth, and slope responses.
The two-dimensional response surfaces illustrate the Q × D and Q × S interactions identified in the Hessian analysis, while distinguishing supported and extrapolative combinations of the complete five-predictor hydraulic state (Figure 11). For Q × D, 4449 of 6400 grid states (69.5%) were inside the two-dimensional development-data convex hull, but only 1343 (21.0%) were inside the full five-dimensional hull when the other predictors were fixed at their development-data medians. For Q × S, the corresponding counts were 6364 (99.4%) and 1329 (20.8%). Thus, the much greater projected coverage of the Q × S surface did not translate into comparable coverage of the five-dimensional fixed-median predictor slice. In Figure 11, predictions are colored only within the full five-dimensional hull, two-dimensionally supported but five-dimensionally extrapolative regions are hatched, and regions outside the two-dimensional hull are blank. Within the colored regions, predicted top width generally increased with discharge and decreased with depth or slope; no physical interpretation is assigned to the masked regions. The superimposed development observations are projections onto the respective predictor pairs rather than observations at the fixed-median five-dimensional slice.
Figure 11. Support-domain-restricted DPNN response surfaces for (a) discharge × flow depth (Q × D) and (b) discharge × energy-grade-line slope (Q × S). Each surface contains 6400 development-defined grid states with the other three hydraulic predictors fixed at development-data medians. Colored regions are restricted to grid states inside the full five-dimensional convex hull of the 288 development observations. Hatched regions lie within the two-dimensional projected convex hull but outside the full five-dimensional hull, whereas white regions lie outside the two-dimensional hull. Dots show development observations projected onto the predictor pairs.

4.9. Cross-Section Robustness and Return-Period Monotonicity

The cross-section-level analysis showed that the global derivative-based sensitivity hierarchy was broadly retained across the river system, although the dominant predictor was not identical at every location (Table 8). Kendall’s coefficient of concordance for the standardized-derivative rankings was 0.610 across the 36 development cross-sections and 0.600 across the nine independent test cross-sections. The median Spearman correlation between each local ranking and the corresponding dataset-wide ranking was 0.90 for the development dataset and 0.70 for the independent test dataset.
Table 8. Cross-section-level robustness of derivative-based sensitivity rankings and monotonicity of top-width sequences across increasing return periods. Relative decreases are expressed with respect to the preceding DPNN prediction in each return-period sequence.
The identity of the highest-ranked predictor further demonstrated this spatial variability. Within the development dataset, channel Manning’s n was the most sensitive predictor at 18 of 36 cross-sections (50.0%), while discharge ranked first at 17 cross-sections (47.2%) and slope at one cross-section (2.8%). On the independent test set, discharge occupied the highest-sensitivity rank at six of nine cross-sections (66.7%), channel Manning’s n at two (22.2%), and slope at one (11.1%). Thus, the dataset-wide ranking of discharge was not spatially invariant across individual cross-sections.
The return-period monotonicity assessment revealed a separate limitation of the unconstrained DPNN. The HEC-RAS reference top widths were non-decreasing across all eight return periods at all 36 development cross-sections and all nine independent test cross-sections. The DPNN reproduced a fully non-decreasing sequence at 15 of 36 development cross-sections (41.7%) and four of nine independent test cross-sections (44.4%). Across all adjacent return-period transitions, 39 local decreases occurred in the development predictions and 10 in the independent test predictions.
The magnitudes of these local reversals were generally small relative to the predicted top widths. In the development dataset, the median decrease was 18.08 m, corresponding to approximately 1.32% of the preceding prediction, while the largest decrease was 74.66 m (3.90%). On the independent test set, the median decrease was 13.82 m (1.01%) and the largest was 51.38 m (3.09%). The relatively high frequency of cross-sections containing at least one violation therefore reflects the strict requirement of monotonicity across all seven successive return-period transitions rather than large reversals in predicted width.
The positive partial derivative with respect to discharge does not imply monotonicity across return periods because PDSA varies discharge while holding the other predictors fixed, whereas the return-period trajectory simultaneously changes discharge, depth, slope, and their interactions.
The post hoc isotonic projection eliminated all adjacent top-width decreases, increasing the proportion of fully monotonic cross-sections from 15/36 to 36/36 for the development final-fit predictions and from 4/9 to 9/9 for the independent test (Supplementary Table S15). Among the 72 independent-test predictions, 19 were modified, with a maximum absolute correction of 54.98 m (3.31% of the original prediction) at cross-Section 26 under the 2-year scenario. Pooled independent-test RMSE decreased only slightly, from 248.48 to 247.92 m, while R2 increased from 0.90386 to 0.90429. MAE remained 210.55 m, and MAPE changed marginally from 12.0848% to 12.0857%. The 1000- and 10,000-year predictions were unaffected. At the 5-year return period, RMSE increased slightly from 204.03 to 204.98 m (Supplementary Figure S12). Thus, the post-processing fully corrected scenario-ordering violations without materially changing the aggregate predictive accuracy or addressing large local biases.

5. Discussion

5.1. Generalization to Unseen Cross-Sections and Benchmark Performance

The principal objective of the present modelling framework was not merely to reproduce the hydraulic database used for model development, but to determine whether a DPNN surrogate could retain predictive skill at cross-sections that were completely excluded from model selection and fitting. The group-based validation strategy was therefore central to the interpretation of the results. Because all eight return-period scenarios associated with a given cross-section were kept together throughout both the internal cross-validation and the independent development–test split, the reported test performance represents generalization to previously unseen cross-sections rather than interpolation among hydraulic scenarios from cross-sections encountered during training.
The independent evaluation supports the ability of the DPNN to generalize to previously unseen cross-sections within the Mackenzie–Liard system. The final DPNN attained an R2 of 0.904, an RMSE of 248.48 m, a MAPE of 12.08%, and a KGE of 0.842 across the nine unseen cross-sections, with an overall PBIAS of −2.03%. For comparison, the pooled development OOF predictions yielded R2 = 0.784 and RMSE = 330.70 m. At the same time, the test results should not be interpreted as evidence of unrestricted spatial transferability. The independent cross-sections belonged to the same Mackenzie–Liard hydraulic system, and none of the 72 test observations exceeded the marginal development-data range of any of the five predictors. The demonstrated capability is therefore more appropriately described as within-domain generalization to unseen cross-sections rather than extrapolation to fundamentally different hydraulic settings.
The additional nested cross-validation provides a more cautious perspective on this generalization assessment. Unlike the original development out-of-fold statistics, which were obtained using folds also involved in hyperparameter selection, the nested experiment evaluated models on outer cross-sections excluded from their corresponding inner optimization procedures. Its weaker pooled performance and substantial between-fold variability indicate that predictive accuracy is sensitive to the spatial composition of the training and evaluation subsets. Nevertheless, because the nested experiment used a reduced optimization budget and refitted different models on subsets of the development data, its performance should not be interpreted as a direct replacement for the original independent-test estimate or as an isolated measure of hyperparameter-selection bias. Taken together, the results indicate promising but variable agreement with HEC-RAS across previously unseen cross-sections within the represented river system.
The expanded cross-section-level diagnostics demonstrate that aggregate predictive performance does not imply uniform accuracy across individual locations. Three of the nine independent-test cross-sections accounted for approximately 62.3% of the total squared prediction error, indicating a substantial concentration of errors at specific locations. The hydraulic diagnostics revealed different patterns: cross-Section 13 exhibited considerably greater predicted widening than simulated widening, cross-Section 42 showed a persistent negative offset despite comparable width changes across scenarios, and cross-Section 44 exhibited both systematic underprediction and an underestimated widening response. Differences in the HEC-RAS-derived cross-sectional shape indicators further suggest that local hydraulic and geometric heterogeneity may contribute to these discrepancies. However, the available data do not establish whether the errors arise from channel morphology, floodplain configuration, hydraulic boundary conditions, or other unrepresented factors. Detailed cross-sectional profiles and independent hydraulic observations would be required to investigate these potential explanations. Consequently, the overall independent-test performance should not be interpreted as evidence of uniformly reliable predictions at all unseen cross-sections.
The comparison with the tuned EPR-MOGA benchmark further clarifies this distinction. EPR-MOGA provided slightly better pooled out-of-fold development performance than the DPNN, with an RMSE of 322.26 m compared with 330.70 m and a MAPE of 14.95% compared with 16.51%. This difference was reversed on the independent test dataset, where the DPNN reduced RMSE from 301.06 to 248.48 m, MAE from 232.68 to 210.55 m, and MAPE from 13.25% to 12.08%, while increasing R2 from 0.859 to 0.904. The paired cross-section bootstrap produced 95% intervals excluding zero for the RMSE and R2 differences but not for MAE, MAPE, KGE, or absolute PBIAS. Nevertheless, the complementary exact two-sided cross-section permutation test for RMSE yielded p = 0.0781. The inferential strength of the independent-test advantage is therefore sensitive to the statistical procedure, particularly given the limited number of independent test cross-sections.
The present findings can also be viewed in the context of earlier HEC-RAS–machine-learning studies on Canadian river systems. Cardi et al. [16] coupled HEC-RAS with an Expanded Framework of GMDH to derive explicit polynomial models for floodplain width, flow depth, and velocity in the Ottawa River, reporting high predictive accuracy under a random sample-based training–testing partition. More recently, Qureshi et al. [3] used HEC-RAS simulations extending to 10,000-year flood scenarios with a Next-Gen GMDH framework and reported a test R2 of 0.995 and MAPE of 4.72% for channel-width prediction. Direct numerical comparison with the present results should, however, be made cautiously because the validation objectives differ. The present study grouped all hydraulic states belonging to the same cross-section and reserved complete cross-sections for independent testing; consequently, its primary evaluation concerns transfer to previously unseen spatial locations rather than prediction of held-out samples drawn from the same overall hydraulic database.

5.2. Hydraulic Interpretation of the Learned DPNN Response

The complementary interpretation analyses indicate that the DPNN learned a structured hydraulic response rather than an arbitrary high-dimensional mapping. Discharge consistently emerged as the highest-ranked predictor across several complementary interpretation approaches. Integrated Gradients assigned the largest global contribution to discharge in both the development and independent test datasets, accounting for approximately 31% and 40% of the normalized attribution, respectively. Similarly, discharge showed the largest mean absolute standardized derivative in both datasets and retained a positive partial derivative for every evaluated observation. The first-order ALE response also increased consistently with discharge. The convergence on discharge as the leading predictor is informative, but the methods quantify distinct properties of the fixed surrogate. IG represents accumulated attribution relative to a chosen reference input, PDSA represents standardized local response gradients with other inputs fixed, and ALE summarizes an accumulated response over the empirical predictor distribution. Differences in the middle-ranked predictors are therefore expected and do not establish that one ranking is physically correct or that any predictor has an isolated causal effect. Because discharge, depth, and energy-grade-line slope are correlated within individual reaches, their ALE and partial-derivative patterns should not be interpreted as independently manipulable or causal hydraulic effects. The additional reach-conditioned observed-gradient analysis retained the broad response directions while revealing differences in accumulated-effect magnitudes across the three reaches (Supplementary Figure S11). These findings support a descriptive interpretation restricted to the sampled joint hydraulic configurations.
The additional rank-concordance analysis confirms that these interpretation measures are neither identical nor entirely inconsistent (Supplementary Table S17). Discharge ranked first and overbank Manning roughness last under both IG and standardized PDSA in the development and independent-test datasets. In contrast, the ranks of channel roughness, depth, and slope varied between methods and datasets. Bootstrap intervals for the corresponding Spearman correlations were broad, particularly for the nine-cross-section holdout, and cross-section-level sensitivity rankings were not spatially uniform (Kendall’s W = 0.610 and 0.600 in development and test, respectively). The first-order ALE curves supplied additional evidence for an increasing model response to discharge and generally decreasing responses to depth and slope, but the ALE excursions were not interpreted as directly comparable importance scores. Together, these results describe method-specific aspects of the fitted DPNN rather than a unique, universal hierarchy of hydraulic controls.
The return-period analysis revealed an additional change in model behavior under increasingly extreme hydraulic conditions. Discharge remained the highest-sensitivity predictor through the more frequent return periods, whereas slope became relatively more influential at the highest return periods, particularly in the independent test dataset. This shift indicates that the fitted DPNN became increasingly sensitive to the slope under the most extreme scenarios, rather than remaining predominantly sensitive to discharge magnitude. The Hessian analysis provides a complementary model-based description: the strongest standardized mixed-derivative magnitudes involved Q × D and Q × S, indicating non-additive sensitivity of the fitted DPNN to these predictor pairs. Within the five-dimensionally supported portions of the response surfaces, predicted top width generally increased with discharge and decreased with depth or slope; the larger two-dimensionally supported regions were not treated as equivalent to full multivariate support. These patterns characterize the fitted surrogate under the evaluated predictor configurations rather than establishing independent or causal hydraulic effects, particularly given the correlation among discharge, depth, and energy-grade-line slope.
The roughness variables showed a more complex behavior. Both the derivative signs and ALE curves indicated stronger nonlinearity and greater context dependence than for discharge, depth, or slope. Channel roughness exhibited a non-monotonic accumulated response, while the directional response associated with overbank roughness differed more noticeably between the development and independent test datasets. These results should therefore be interpreted more cautiously, particularly because some independent-test roughness intervals contained relatively limited support. Accordingly, the roughness-related responses should be interpreted more cautiously than the better-supported discharge, depth, and slope patterns, particularly in sparsely represented test intervals.

5.3. Exact Representation, Interpretability, and the Accuracy–Parsimony Trade-Off

An important characteristic of the adopted DPNN formulation is that its predictive mapping can be expressed exactly in algebraic form despite being trained using neural-network architecture. Because the final network contained no nonlinear activation functions and had a maximum degree of four, it could be expanded exactly into a fourth-order polynomial in the original hydraulic variables. The resulting expression contained 126 retained monomial terms, corresponding to the complete set of monomials up to fourth order for five predictors. Direct evaluation of this expanded polynomial reproduced the DPNN predictions to numerical precision, with maximum discrepancies below 3.3 × 10−4 m. The polynomial representation should therefore be regarded as an exact algebraic form of the trained network rather than as a secondary approximation fitted to its predictions.
This property distinguishes model transparency from conventional post hoc interpretation. Integrated Gradients, derivative sensitivities, ALE, and Hessian interactions describe how the fitted model behaves, whereas the explicit polynomial describes exactly what mathematical function has been learned. The latter may be useful where the surrogate must eventually be implemented outside the original Python (v3.13.5)/PyTorch (v2.5.1) environment. At the same time, individual polynomial coefficients should not be interpreted as direct measures of hydraulic importance because the contribution of a monomial depends jointly on its coefficient, predictor magnitudes, interactions, and the scaling of variables.
The benchmark reveals an accuracy–parsimony–computational-cost trade-off rather than unconditional dominance of either formulation. The selected EPR-MOGA model retained two nonlinear terms and an intercept, whereas the DPNN contained 1135 trainable parameters and could be represented exactly by a 126-term fourth-order polynomial. EPR-MOGA therefore offered considerably greater algebraic compactness and shorter model-only inference in the current CPU benchmark. The archived optimization-stage times were 17.66 min for DPNN and 20.43 min for EPR-MOGA, despite the larger number of DPNN trials. However, the optimization mechanisms, software environments, and potentially the original computational hardware differed, while some workflow stages were not included in the recorded durations. Therefore, neither a strictly matched computational budget nor a general training-speed advantage was demonstrated. Although the DPNN achieved lower independent-test RMSE, EPR-MOGA performed slightly better on the pooled development out-of-fold predictions. Furthermore, the paired bootstrap RMSE interval favored DPNN, whereas the exact two-sided cross-section permutation test did not reach p < 0.05. These findings support a qualified comparison of predictive accuracy, model complexity, and computational requirements.
The additional sparse-polynomial analysis provides an intermediate alternative within this accuracy–parsimony comparison. The 20-term approximation reproduced HEC-RAS-derived top widths with broadly comparable independent-test performance while substantially reducing the number of polynomial terms. However, the reduced representation did not reproduce the original DPNN predictions exactly, and its performance metrics changed in different directions. The compact equation is expressed in standardized hydraulic predictors, with the corresponding scaling constants and coefficients reported in Supplementary Table S3. This distinction is important because algebraic compactness does not necessarily imply exact model fidelity or improved physical interpretability. Furthermore, the reduced polynomial retains the same five hydraulic predictors, including HEC-RAS-derived flow depth and energy-grade-line slope. Therefore, the simplification improves algebraic compactness without overcoming the conditional deployment limitation identified in Section 5.4.

5.4. Limitations

Several limitations should be considered when interpreting the results. First, although the independent test contained completely unseen cross-sections, these cross-sections were drawn from the same overall Mackenzie–Liard hydraulic system as the development data. The present evaluation therefore does not establish transferability to rivers with different channel geometries, hydraulic regimes, roughness characteristics, or flood-generation processes. External validation in additional river systems would be required before such broader applicability could be claimed.
Second, within-range values for individual predictors do not establish joint multivariate interpolation. The five-dimensional analysis showed that 46 of 72 independent-test observations, including all nine 10,000-year scenarios, fell outside the development-data convex hull (Supplementary Table S12). Although standardized nearest-neighbor distances suggest that many outside-hull hydraulic states were relatively close to recorded development states, such proximity does not guarantee dense local sampling or physically feasible interpolation in the joint predictor space. Accordingly, the independent-test results represent generalization to withheld cross-sections under a mixture of multivariate interpolation and extrapolation, not verified interpolation throughout the hydraulic domain. The previously reported two-dimensional Q × D and Q × S response-grid support percentages (69.5% and 99.4%, respectively) characterize different lower-dimensional subsets and should not be interpreted as evidence of full five-dimensional support.
Interpretability is also limited by dependence among hydraulic predictors and by sparse joint-domain support at some independent-test states. Although conventional first-order ALE averages local model responses over observed predictor intervals, finite perturbations at interval boundaries may still involve weakly supported combinations. The complementary reach-conditioned observed-gradient approximation avoids these finite perturbations by evaluating local derivatives only at recorded hydraulic states. Nevertheless, the resulting effects remain descriptive properties of the fitted DPNN, and only 26 of the 72 independent-test observations lie inside the full five-dimensional development-data convex hull. Neither causal interpretation nor unrestricted extrapolation of the ALE patterns is warranted. The fixed-median response surfaces further highlight this distinction: although 69.5% and 99.4% of the Q × D and Q × S grids, respectively, were inside their two-dimensional projected hulls, only 21.0% and 20.8% were inside the complete five-dimensional development-data hull.
Third, the practical applicability of the proposed DPNN is conditional on the availability of its hydraulic-state predictors. In the present study, flow depth and energy-grade-line slope were obtained directly from HEC-RAS simulations. Because HEC-RAS also provides top width for the same simulated hydraulic states, applying the five-input DPNN after completing those simulations does not establish an end-to-end computational advantage over using the HEC-RAS output directly. The demonstrated contribution of the model is therefore its ability to reproduce the HEC-RAS-derived top-width relationship in an interpretable and algebraically explicit form at previously unseen cross-sections within the represented hydraulic system, rather than its ability to eliminate the original hydraulic simulation.
A potentially useful deployment would require flow depth and energy-grade-line slope to be supplied independently of a complete HEC-RAS simulation, for example through separately validated hydraulic-state estimators, suitable observational information, or a computationally less expensive hydraulic model. Such an approach would require additional assessment of predictor availability, estimation uncertainty, and error propagation into predicted top width. These deployment conditions were not evaluated in the present study, and no end-to-end computational savings relative to HEC-RAS are claimed. The retrospective computational audit also does not establish a strictly compute-matched comparison between DPNN and EPR-MOGA because the optimization procedures and software implementations differed, common historical hardware conditions could not be verified, and several final fitting and reporting stages lacked directly comparable timings. Consequently, the recorded optimization durations and model-only inference benchmarks should not be interpreted as demonstrating a general computational advantage of either method over the complete hydraulic-modeling workflow.
The reduced-input experiment provides further insight into this limitation. Removing the HEC-RAS-derived depth and slope predictors increased independent-test RMSE from 248.48 to 464.90 m, indicating that the selected DPNN configuration depends substantially on information describing the simulated hydraulic state. Although the three-input model demonstrates a pathway toward reducing dependence on hydraulic-model outputs, its lower predictive accuracy limits its immediate application. A future multi-output surrogate that jointly predicts depth, energy-grade-line slope, and top width from externally available hydraulic and geometric descriptors may provide a more practical alternative, but its accuracy and computational efficiency must be demonstrated independently. The additional four-input ablations further demonstrated that the predictive consequences of excluding depth or energy-grade-line slope varied among test cross-sections and hydraulic scenarios. Although both reduced configurations produced higher pooled RMSE than the original five-input DPNN, the bootstrap comparison between the two four-input models did not establish a conclusive performance ranking. These fixed-configuration experiments should therefore not be interpreted as identifying unique or causal effects of correlated predictors. Both four-input configurations continued to require at least one HEC-RAS-derived hydraulic-state variable and therefore did not overcome the conditional deployment limitation of the present surrogate.
An additional limitation concerns the independent validation of the simulated top-width targets. Although the Landsat imagery in Figure 2 illustrates changes in water-surface extent and observed water levels were used for hydraulic-model calibration, these sources do not provide a direct, spatially and hydraulically matched assessment of HEC-RAS-derived top width. Consequently, the reported DPNN performance metrics quantify agreement with the hydraulic simulation outputs rather than physical accuracy relative to observed river widths. Future validation should compare simulated top widths with georeferenced satellite-derived or field-surveyed water-surface widths at corresponding cross-sections under comparable discharge and water-level conditions. Such comparisons should also consider uncertainty associated with cross-sectional geometry, floodplain representation, and remote-sensing spatial resolution.
Fourth, the apparent sample size of 360 hydraulic observations corresponds to only 45 distinct cross-sections, with eight return-period scenarios available at each location. The grouped validation design explicitly accounted for this dependence and prevented return-period scenarios from the same cross-section from being distributed between training and validation subsets. Nevertheless, the number of independent spatial units remains modest, particularly for assessing the variability of local sensitivity patterns and extreme-event behavior. The small number of independent spatial units also limits the interpretation of exploratory Hessian null tests, and correlations among hydraulic predictors constrain conclusions drawn from condition-stratified interaction summaries.
Uncertainty intervals for interpretation rankings were obtained by resampling cross-sections while holding the original DPNN fixed; they therefore do not account for uncertainty in model fitting or baseline selection. Moreover, correlations among hydraulic predictors and incomplete five-dimensional coverage of the independent-test configurations limit mechanistic or causal interpretation of global attribution, partial derivatives, and ALE responses.
Although the nested cross-section-grouped validation extended the evaluation across all 36 development cross-sections, it did not increase the number of independent physical cross-sections available for analysis or enlarge the original nine-cross-section holdout. The substantial between-fold variability and reduced pooled nested-CV performance further highlight uncertainty in spatial transferability. In addition, the nested experiment used fewer hyperparameter trials than the original optimization procedure. More comprehensive repeated spatial validation and additional independently surveyed cross-sections would therefore be valuable for determining whether the reported predictive accuracy remains stable under alternative spatial partitions. Independent field measurements of river top width would also be needed to assess physical prediction accuracy beyond agreement with HEC-RAS outputs.
The existing hydraulic discretization also imposes limitations on the representation of localized geometric and hydraulic transitions, particularly near the Mackenzie–Liard confluence and in areas characterized by abrupt changes in channel configuration or floodplain geometry. Although the calculated cross-section separations provide a reproducible description of spatial sampling density, they do not establish hydraulic convergence or confirm that the existing spacing adequately resolves such transitions. Additional cross-sections and corresponding HEC-RAS simulations were not available for the present revision; therefore, the effects of local spatial refinement on simulated top width and subsequent DPNN performance remain unquantified. Future hydraulic-model refinement should prioritize increased cross-section density and convergence assessment near the confluence, pronounced bends, channel contractions or expansions, and major floodplain transitions.
A further limitation concerns the lack of an explicit monotonicity constraint. HEC-RAS top width was non-decreasing with return period at every cross-section, whereas the unconstrained DPNN reproduced a fully monotonic sequence at 41.7% of the development cross-sections and 44.4% of the independent test cross-sections. Because a sequence was classified as non-monotonic after any single adjacent decrease, the proportion of fully monotonic cross-sections should be interpreted together with the magnitude of the violations. The median relative decreases were 1.32% in the development dataset and 1.01% in the independent test dataset, with maximum decreases of 3.90% and 3.09%, respectively. Thus, monotonicity violations were frequent in occurrence but generally small in magnitude. Nevertheless, their presence represents a structural limitation because all HEC-RAS reference sequences were non-decreasing.
Although isotonic post-processing removed the observed return-period reversals, the adjustment applies only after all eight scenario predictions are available and does not impose a structural monotonicity property on the original DPNN. The largest independent-test change in predicted top width was 54.98 m, indicating a possible effect on width-based flood screening at individual cross-sections. However, predicted top width alone cannot determine inundation location or area without channel and floodplain geometry, water-surface elevations, and spatial hydraulic connectivity. This study did not construct or validate corrected flood-inundation maps; therefore, the effect of monotonic projection on mapped flood extent remains unquantified. In addition, already-monotonic but biased predictions, notably at cross-sections 42 and 44, were unchanged by this correction.
Another source of uncertainty is the flood-frequency analysis used to define the hydraulic scenarios. The Log-Pearson Type III design discharges were estimated from hydrometric records reported for 2000–2026, requiring substantial extrapolation for the 1000- and 10,000-year return periods. Based on the point estimates reported in Table A1, the 10,000-year design discharges exceed the corresponding 100-year values by 60.14%, 29.44%, and 47.72% at the Liard River, Strong Point, and Fort Simpson stations, respectively. These differences reflect the increase in estimated discharge with return period, not the statistical uncertainty of the estimates. The underlying annual maximum discharge series and fitted-parameter uncertainty information were not available for a defensible assessment of Log-Pearson Type III parameter uncertainty, discharge confidence intervals, or sensitivity to alternative probability distributions. Therefore, the uncertainty associated with the extrapolated flood-frequency estimates was not quantified or propagated through the hydraulic simulations. In particular, the results for the 1000- and 10,000-year scenarios should be interpreted as conditional predictions under prescribed design discharges rather than independently validated estimates of extremely rare flood conditions.
Finally, the bootstrap intervals quantify uncertainty associated with variation among the available independent cross-sections, not the complete uncertainty of the hydraulic modelling chain. Uncertainty in discharge estimates, channel geometry, Manning coefficients, boundary conditions, and other HEC-RAS inputs was not propagated through the surrogate-analysis framework. The reported confidence intervals therefore characterize sampling variability in predictive performance rather than total hydraulic uncertainty.

5.5. Future Research Directions

The post-processing experiment demonstrates that non-decreasing return-period width sequences can be enforced after DPNN inference, but the correction requires a complete set of scenario predictions and does not guarantee a monotonic underlying response function. Future work should investigate monotonicity penalties or architectural constraints during DPNN training, accounting for the simultaneous changes in discharge, depth, and energy-grade-line slope along flood-scenario trajectories. The impacts of such constraints on spatially explicit flood-inundation boundaries should be evaluated using suitable topographic and hydraulic mapping data, rather than inferred from width changes alone.
External validation should also be extended beyond the present river system. Applying the same grouped framework to additional reaches or basins with different geometries and hydraulic characteristics would provide a stronger test of transferability. In parallel, future studies should evaluate deliberately out-of-range scenarios and multidimensional domain coverage rather than relying solely on marginal predictor-range checks. Distance-based or convex-hull-based measures in the complete predictor space could help distinguish interpolation, weak extrapolation, and strong extrapolation more explicitly.
A more comprehensive uncertainty framework would further strengthen the surrogate approach. Rather than treating the hydraulic database as deterministic, future analyses could propagate uncertainty in discharge, Manning coefficients, channel geometry, and boundary conditions through both the hydraulic model and the surrogate. This would permit prediction intervals to reflect uncertainty in the physical inputs and reference simulations, rather than only cross-sectional sampling variability. Larger and more heterogeneous training datasets would also improve the ability to characterize local sensitivity differences and extreme hydraulic conditions.
Another promising direction is the integration of the proposed DPNN with classical hydrological routing methods, such as the Muskingum model, which has been applied to flood-wave propagation [32]. While the present DPNN estimates river top width under prescribed steady-flow conditions, the Muskingum method describes the temporal routing of flood hydrographs. Coupling these complementary approaches could provide a framework for estimating variations in river top width during flood-wave propagation. However, such an extension would require time-varying hydraulic inputs, appropriate coupling between routed discharge and local hydraulic conditions, and validation against unsteady hydraulic simulations or field observations.
Finally, future research should evaluate independently deployable hydraulic surrogates using variables that can be obtained without completing the reference HEC-RAS simulation. Potential approaches include multi-output models that jointly estimate flow depth, energy-grade-line slope, and top width from discharge, roughness, and relevant geometric descriptors. Such models should be evaluated using spatially independent validation, explicit propagation of hydraulic-state prediction errors, and direct measurements of computational cost relative to the complete HEC-RAS workflow.

6. Conclusions

This study developed and evaluated a deep polynomial neural network (DPNN) as a conditional surrogate model for predicting HEC-RAS-derived top width across multiple flood return periods, using leakage-safe cross-section evaluation. The modelling framework was designed specifically to assess generalization to previously unseen cross-sections by keeping all eight return-period scenarios associated with each cross-section together throughout both the development–test split and the internal cross-validation. The final fourth-order DPNN was therefore evaluated on nine cross-sections that were completely excluded from model development.
The resulting model retained strong predictive performance on the independent test dataset, achieving an R2 of 0.904, RMSE of 248.48 m, MAPE of 12.08%, KGE of 0.842, and PBIAS of −2.03%. Cross-section-level bootstrap intervals highlighted uncertainty associated with the limited independent-test sample, while additional nested cross-section-grouped validation on the 36 development cross-sections yielded lower and more variable predictive performance (pooled R2 = 0.649 and RMSE = 421.95 m). Additional error-distribution analyses revealed substantially larger errors under the 1000- and 10,000-year scenarios and persistent prediction biases at several independent-test cross-sections, emphasizing the limitations of aggregate accuracy measures for localized hydraulic assessment. The extreme-scenario results are also conditional on the prescribed design discharges, for which flood-frequency estimation uncertainty was not quantified. In comparison with the independently tuned EPR-MOGA benchmark, the DPNN provided lower independent-test RMSE, MAE, and MAPE and higher R2 and KGE. The paired bootstrap intervals favored DPNN for RMSE and R2, whereas an exact two-sided paired cross-section permutation test for RMSE yielded p = 0.0781, indicating that the strength of statistical evidence was sensitive to the inferential method. These findings demonstrate predictive skill at the original held-out cross-sections while emphasizing the need for caution when generalizing this performance across other spatial partitions or hydraulic settings.
Multiple complementary interpretation analyses showed that the learned response was structured and strongly dependent on the hydraulic state. Discharge consistently emerged as a major global control through Integrated Gradients, derivative-based sensitivity, and ALE analysis, and its local derivative remained positive for all evaluated observations. However, sensitivity was not spatially or hydraulically invariant. Slope became increasingly important under the most extreme return-period conditions, while cross-section-level rankings showed that the locally dominant predictor varied among locations. The strongest Hessian-based interactions, Q × D and Q × S, further demonstrated that the effect of discharge on predicted top width depended on concurrent depth and slope conditions rather than acting as an isolated additive control.
A distinctive feature of the proposed approach is that the final DPNN can be represented exactly as an explicit fourth-order polynomial in the original hydraulic predictors. The expanded expression contained 126 non-zero monomial terms and reproduced the neural-network predictions to numerical precision, with maximum discrepancies below 3.3 × 10−4 m. This provides an exact analytical representation of the trained network while preserving its nonlinear and interaction structure. The comparison with the much more compact two-term EPR-MOGA equation nevertheless highlights an important accuracy–parsimony trade-off: the DPNN offered stronger independent-test performance, whereas EPR-MOGA provided substantially greater algebraic simplicity. A separate 20-term sparse-polynomial approximation further demonstrated that the original DPNN could be represented more compactly while maintaining broadly comparable predictive accuracy against HEC-RAS outputs, although the reduced formulation was not algebraically equivalent to the original network.
The findings should be interpreted within the scope of the available hydraulic database. The independent cross-sections belonged to the same Mackenzie–Liard system. Although all test observations remained within the marginal development-data predictor ranges, 46 of 72 (63.9%), including all nine 10,000-year hydraulic states, were outside the full five-dimensional development-data convex hull. This distinction limits the interpretation of the holdout evaluation as purely interpolative. Moreover, the surrogate reproduces HEC-RAS outputs rather than independently validating them against field-observed flood widths. Although the original DPNN produced occasional local decreases in top width across increasing return periods, isotonic post-processing eliminated these violations at all nine held-out cross-sections, with only a small change in pooled RMSE (248.48 to 247.92 m). This correction did not resolve cross-section-specific prediction biases or establish accuracy for spatial inundation mapping. Future work should therefore examine external validation in additional river systems, multivariate out-of-domain extrapolation, uncertainty propagation from hydraulic-model inputs, and monotonicity- or physics-constrained DPNN formulations.
In conclusion, the proposed DPNN demonstrates the potential of interpretable polynomial neural networks for conditional emulation of HEC-RAS-derived top width at previously unseen cross-sections within the represented hydraulic system. Its independent-test agreement with HEC-RAS, explicit polynomial representation, and complementary interpretability analyses establish its methodological contribution. However, because flow depth and energy-grade-line slope were obtained from HEC-RAS, the current implementation is not a standalone substitute for the hydraulic simulation workflow, and no end-to-end computational savings have been demonstrated. The reduced-input ablation further indicates that predictive accuracy decreases when these hydraulic-state predictors are excluded from the selected DPNN configuration. Future development should investigate multi-output or geometry-informed surrogates that estimate the required hydraulic-state variables from independently available inputs, together with explicit evaluation of uncertainty propagation, physical validation, and computational efficiency.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/su182312092/s1.

Author Contributions

Conceptualization, I.E. and H.B.; methodology, I.E. and H.B.; software, I.E., H.C.M. and A.A.; validation, I.E. and H.C.M.; formal analysis, I.E. and H.C.M.; investigation, I.E., H.B. and H.C.M.; resources, H.C.M.; data curation, H.C.M.; writing—original draft preparation, I.E.; writing—review and editing, H.C.M., I.E., A.A., S.J.G., B.G. and H.B.; visualization, I.E. and A.A.; supervision, H.B.; project administration, H.B.; funding acquisition, H.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The hydraulic input–output dataset supporting the development and evaluation of the DPNN is available from the corresponding author upon reasonable request. The underlying HEC-RAS project files have not been deposited in a public repository or included in the Supplementary Materials; inquiries regarding their availability may be directed to the corresponding author, subject to applicable ownership and data-sharing restrictions. The model architecture, optimization settings, random seeds, and validation procedure are documented in the manuscript and Supplementary Algorithm S1. The exact polynomial representation and its associated prediction calculator are provided in Appendix A.2 and Supplementary Code S1, respectively.

Acknowledgments

The last author (H.B.) would like to express his sincere gratitude to the International Research and Experiential Learning (IREX) Office at the University of Ottawa and the International Office of the École Nationale du Génie de l’Eau et de l’Environnement de Strasbourg (ENGEES), France, for their invaluable support in organizing and facilitating the research visit of ENGEES students to the University of Ottawa.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A.1

Table A1. Design discharges used for the HEC-RAS flood scenarios.

Appendix A.2

Table A2. Complete coefficients and monomial structure of the exact fourth-order polynomial representation of the final DPNN.

Appendix A.3

Table A3. Paired cross-section-level bootstrap comparison of DPNN and EPR-MOGA performance on the independent test dataset. The 95% percentile intervals were obtained from 10,000 bootstrap resamples in which complete cross-sections, including all eight return-period observations, were resampled together. Positive differences favor DPNN according to the definitions shown.

References

  1. Jongman, B.; Ward, P.J.; Aerts, J.C. Global exposure to river and coastal flooding: Long term trends and changes. Glob. Environ. Change 2012, 22, 823–835. [Google Scholar] [CrossRef] [Scilit]
  2. Munich Re. NatCatSERVICE: Loss Events Worldwide 1980–2014; Munich Reinsurance Company: Munich, Germany, 2015. [Google Scholar]
  3. Qureshi, M.U.A.; Amiri, A.; Ebtehaj, I.; Guimere, S.J.; Cunderlik, J.; Bonakdari, H. Coupling HEC-RAS and AI for river morphodynamics assessment under changing flow regimes: Enhancing disaster preparedness for the Ottawa River. Hydrology 2025, 12, 25. [Google Scholar] [CrossRef] [Scilit]
  4. Kirchmeier-Young, M.C.; Wan, H.; Zhang, X. Anthropogenic contribution to the rainfall associated with the 2019 Ottawa River flood. Bull. Am. Meteorol. Soc. 2021, 102, S33–S38. [Google Scholar] [CrossRef] [Scilit]
  5. Buttle, J.M.; Allen, D.M.; Caissie, D.; Davison, B.; Hayashi, M.; Peters, D.L.; Pomeroy, J.W.; Simonovic, S.; St-Hilaire, A.; Whitfield, P.H. Flood processes in Canada: Regional and special aspects. Can. Water Resour. J. 2016, 41, 7–30. [Google Scholar] [CrossRef] [Scilit]
  6. Mohanty, M.P.; Simonovic, S.P. Changes in floodplain regimes over Canada due to climate change impacts: Observations from CMIP6 models. Sci. Total Environ. 2021, 792, 148323. [Google Scholar] [CrossRef] [Scilit]
  7. Bhuiyan, S.A.; Bataille, C.P.; McGrath, H. Harmonizing and extending fragmented 100 year flood hazard maps in Canada’s Capital Region using random forest classification. Water 2022, 14, 3801. [Google Scholar] [CrossRef] [Scilit]
  8. Yang, J.; Townsend, R.D.; Daneshfar, B. Applying the HEC-RAS model and GIS techniques in river network floodplain delineation. Can. J. Civ. Eng. 2006, 33, 19–28. [Google Scholar] [CrossRef] [Scilit]
  9. Costabile, P.; Costanzo, C.; Ferraro, D.; Macchione, F.; Petaccia, G. Performances of the new HEC-RAS version 5 for 2-D hydrodynamic-based rainfall-runoff simulations at basin scale. Water 2020, 12, 2326. [Google Scholar] [CrossRef] [Scilit]
  10. Teng, J.; Jakeman, A.J.; Vaze, J.; Croke, B.F.; Dutta, D.; Kim, S. Flood inundation modelling: A review of methods, recent advances and uncertainty analysis. Environ. Model. Softw. 2017, 90, 201–216. [Google Scholar] [CrossRef] [Scilit]
  11. Mangukiya, N.K.; Sharma, A. Alternate pathway for regional flood frequency analysis in data-sparse region. J. Hydrol. 2024, 629, 130635. [Google Scholar] [CrossRef] [Scilit]
  12. Mohammed, A.Y.; Sharifi, A. Estimating discharge coefficient of triangular free overfall using the GMDH technique. Water Supply 2023, 23, 3775–3788. [Google Scholar] [CrossRef] [Scilit]
  13. Qaderi, K.; Jalali, V.; Etminan, S.; Masoumi Shahr-babak, M.; Homaee, M. Estimating soil hydraulic conductivity using different data-driven models of ANN, GMDH and GMDH-HS. Paddy Water Environ. 2018, 16, 823–833. [Google Scholar] [CrossRef] [Scilit]
  14. Chrysos, G.G.; Moschoglou, S.; Bouritsas, G.; Panagakis, Y.; Deng, J.; Zafeiriou, S. P–Nets: Deep polynomial neural networks. In Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; pp. 7323–7333. [Google Scholar] [CrossRef] [Scilit]
  15. Chrysos, G.G.; Moschoglou, S.; Bouritsas, G.; Deng, J.; Panagakis, Y.; Zafeiriou, S. Deep polynomial neural networks. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 44, 4021–4034. [Google Scholar] [CrossRef] [Scilit]
  16. Cardi, J.; Dussel, A.; Letessier, C.; Ebtehaj, I.; Gumiere, S.J.; Bonakdari, H. Modeling hydrodynamic behavior of the Ottawa River: Harnessing the power of numerical simulation and machine learning for enhanced predictability. Hydrology 2023, 10, 177. [Google Scholar] [CrossRef] [Scilit]
  17. Gharari, S.; Whitfield, P.H.; Pietroniro, A.; Freer, J.; Liu, H.; Clark, M.P. Exploring the provenance of information across Canadian hydrometric stations: Implications for discharge estimation and uncertainty quantification. Hydrol. Earth Syst. Sci. 2024, 28, 4383–4405. [Google Scholar] [CrossRef] [Scilit]
  18. Sivapalan, M.; Takeuchi, K.; Franks, S.W.; Gupta, V.K.; Karambiri, H.; Lakshmi, V.; Liang, X.; McDonnell, J.J.; Mendiondo, E.M.; O’Connell, P.E.; et al. IAHS decade on Predictions in Ungauged Basins (PUB), 2003–2012: Shaping an exciting future for the hydrological sciences. Hydrol. Sci. J. 2003, 48, 857–880. [Google Scholar] [CrossRef] [Scilit]
  19. Razavi, T.; Coulibaly, P. Streamflow prediction in ungauged basins: Review of regionalization methods. J. Hydrol. Eng. 2013, 18, 958–975. [Google Scholar] [CrossRef] [Scilit]
  20. Ougahi, J.H.; Rowan, J.S. Investigating deep learning knowledge transfer in streamflow prediction from global to local catchment. Water Resour. Res. 2026, 62, e2025WR041194. [Google Scholar] [CrossRef] [Scilit]
  21. Woo, M.-K.; Thorne, R. Streamflow in the Mackenzie Basin, Canada. Arctic 2003, 56, 328–340. [Google Scholar] [CrossRef] [Scilit]
  22. Muñoz-Sabater, J.; Dutra, E.; Agustí-Panareda, A.; Albergel, C.; Arduini, G.; Balsamo, G.; Boussetta, S.; Choulga, M.; Harrigan, S.; Hersbach, H.; et al. ERA5-Land: A state-of-the-art global reanalysis dataset for land applications. Earth Syst. Sci. Data 2021, 13, 4349–4383. [Google Scholar] [CrossRef] [Scilit]
  23. Loshchilov, I.; Hutter, F. Decoupled weight decay regularization. In Proceedings of the 7th International Conference on Learning Representations (ICLR 2019), New Orleans, LA, USA, 6–9 May 2019. [Google Scholar] [CrossRef] [Scilit]
  24. Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; pp. 2623–2631. [Google Scholar] [CrossRef] [Scilit]
  25. Gupta, H.V.; Kling, H.; Yilmaz, K.K.; Martinez, G.F. Decomposition of the mean squared error and NSE performance criteria: Implications for improving hydrological modelling. J. Hydrol. 2009, 377, 80–91. [Google Scholar] [CrossRef] [Scilit]
  26. Sundararajan, M.; Taly, A.; Yan, Q. Axiomatic attribution for deep networks. In Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia, 6–11 August 2017; Volume 70, pp. 3319–3328. Available online: https://proceedings.mlr.press/v70/sundararajan17a.html (accessed on 29 September 2026).
  27. Azimi, H.; Shiri, H.; Mahdianpari, M. Generalized structure of the group method of data handling for modeling iceberg drafts. Ocean Model. 2024, 188, 102337. [Google Scholar] [CrossRef] [Scilit]
  28. Nou, M.R.G.; Foroudi, A.; Latif, S.D.; Parsaie, A. Prognostication of scour around twin and three piers using efficient outlier robust extreme learning machine. Environ. Sci. Pollut. Res. 2022, 29, 74526–74539. [Google Scholar] [CrossRef] [Scilit]
  29. Giustolisi, O.; Savic, D.A. A symbolic data-driven technique based on evolutionary polynomial regression. J. Hydroinformatics 2006, 8, 207–222. [Google Scholar] [CrossRef] [Scilit]
  30. Giustolisi, O.; Doglioni, A.; Savic, D.A.; di Pierro, F. An evolutionary multiobjective strategy for the effective management of groundwater resources. Water Resour. Res. 2008, 44, W01403. [Google Scholar] [CrossRef] [Scilit]
  31. Giustolisi, O.; Savic, D.A. Advances in data-driven analyses and modelling using EPR-MOGA. J. Hydroinformatics 2009, 11, 225–236. [Google Scholar] [CrossRef] [Scilit]
  32. Drobot, R.; Ilinca, C. A STOCHASTIC APPROACH TO FLOOD WAVE PROPAGATION ON THE CRISUL ALB RIVER. In Transboundary Floods: Reducing Risks Through Flood Management; Nato Science Series: IV: Earth and Environmental Sciences; Marsalek, J., Stancalie, G., Balint, G., Eds.; Springer: Dordrecht, The Netherlands, 2006; Volume 72. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.