arXiv:2609.06109cs.LGSep 2026

Manuscript Offprint

arXiv:2609.06109

Sparse Incident-Cluster Learning for 12-hour Port Flood Pre-warning in Digital-Twin Analytics

Jie Zhang, Qiang Ni, David Windridge, Huan X. Nguyen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Jie Zhang¹, Qiang Ni¹, David Windridge² and Huan X. Nguyen²

Lancaster University, Lancaster, United Kingdom {j.zhang110, q.ni}@lancaster.ac.uk Middlesex University, London, United Kingdom {d.windridge, h.nguyen}@mdx.ac.uk

Abstract. Port flood digital twins require pre-warning analytics that can support decisions before operational disruption, yet the number of independent official warning incidents is often small and adjacent observations are temporally dependent. Under these conditions, row-level classification can overstate performance by distributing related windows from the same warning episode across model-development and evaluation subsets. This paper formulates 12-hour port flood pre-warning as an incident-cluster learning problem in which sparsity is defined at the event level.

We evaluate a digital-twin analytics module that represents recent observations as eight-point local water-level histories, prediction-time contextual covariates, and physically interpretable short-window dynamic descriptors. The protocol combines fold-specific sparse feature selection, warning-cluster grouping, negative-label controls, 100-repeat random top-kk controls, and alert-episode evaluation. Liverpool is the primary four-cluster case study; harmonised Humber/Hull-proxy and Wessex South datasets provide protocol-transfer checks.

Across the four Liverpool folds, the fold-specific top-10 ElasticNet model attains a mean F2F_2 of 0.696, compared with 0.633 for an ElasticNet model without top-kk truncation and 0.681 for the full-feature weighted XG-Boost reference. This is the strongest mean F2F_2 among the ElasticNet variants and is competitive with the nonlinear reference while using ten selected predictors. Complete 100-repeat random controls place the selected result above the repeat-level 95th percentile of broad and same-family random subsets. Contextual covariates provide a strong prediction-time anchor, complemented by physically interpretable short-window dynamics. Historical replay maps risk scores into alert episodes and quantifies alert duration and false-episode burden. The contribution is an offline-evaluated analytics and validation module designed for integration into a port digital twin.

Keywords: Port flood pre-warning · Sparse learning · Digital twin analytics · Incident-cluster validation · Alert episode policy

J. Zhang, Q. Ni, D. Windridge, H. Nguyen

1 Introduction

Ports need pre-warning information before high water levels disrupt access, equipment use, berth operations, landside movement, and safety-critical work [1–3]. Coastal water levels are shaped by astronomical tide, storm surge, non-tidal residuals, meteorological forcing, riverine influence, and local coastal conditions [4, 5]. In a port digital twin, these observations are not useful only as an archive. They are expected to update a cyber-physical state, support monitoring, and feed decision support for operators [6, 7, 3]. This paper studies one narrow but operationally important part of that workflow: whether recent local water-level histories can support 12-hour warning-oriented flood pre-warning.

Machine learning (ML) methods have increasingly replaced regression-based approaches for flood forecasting and early warning. Existing work extends across rainfall–runoff prediction, river-level forecasting, flood-warning classification, operational forecasting workflows, and coastal sea-level or storm-surge prediction [8, 1, 9, 2, 4, 5]. Lead-time-dependent calibration studies further show that model behaviour changes with warning horizon [10]. These studies provide the technical foundation, but the task considered here is different from ordinary continuous water-level, river-stage, or surge-residual prediction. The output is not a future water level, but rather a warning-aligned risk score: whether an official flood warning commences within 12 hours from a given local water-level window. This target specification transforms the physical forecasting problem into a sparse, lead-time-specific decision-support problem.

Digital-twin research also changes the form of evaluation. A digital twin is usually described as a data-connected representation that supports monitoring, state update, simulation, and decision support [6, 7]. Port digital twins extend this idea to situational awareness and multi-stakeholder coordination [3]. For flood warning analytics, this means that a model should not be judged only by shuffled row-level classification scores. It should also be judged by whether its risk scores can be converted into alert episodes with usable lead time and acceptable false-alert burden.

The main difficulty is not simply class imbalance. In Liverpool, positive windows constitute 19.0% of the table, but they arise from only four assigned warning clusters. Most rows describe normal or non-warning conditions, while potentially informative pre-warning windows are concentrated around a few related episodes. Adjacent windows overlap in time and may share the same hydrometeorological context. In data with temporal, spatial, or hierarchical dependence, random cross-validation can underestimate predictive error when related observations are divided between model development and evaluation [11]. The same concern applies to feature selection: ranking predictors before the held-out incident is separated can transmit information from that incident into the selected feature set [12–14].

Standard imbalanced-learning methods help with class-frequency skew, but they do not by themselves solve this incident-dependence problem. Oversampling methods such as SMOTE can change the minority-class frequency [15]; they do not prevent neighbouring windows from the same warning episode from leaking across train and test folds. Precision-recall evaluation is more suitable than accuracy in imbalanced binary prediction [16], but the validation design still has to respect the grouped incident structure.

Sparse feature selection is useful in this setting because it limits the number of predictors that can define a warning rule. Lasso and ElasticNet are established approaches for selection under correlated predictors [17, 18], while stability analysis is useful when several descriptors represent similar information [19]. Stochastic gates and LassoNet provide more flexible nonlinear alternatives [20, 21]. The objective here is not to delineate a new sparse-learning algorithm. It is to test whether sparse selection remains useful in a port flood warning context when it is embedded inside incident-cluster validation, as compared against dense non-sparse baselines, and challenged by random feature-subset controls.

We therefore define 12-hour port flood pre-warning as sparse incident-cluster learning. The target is warning-aligned and lead-time-specific; the validation unit is the warning-event cluster; feature selection and threshold selection are nested inside training and validation clusters; and model output is evaluated both as window-level risk scores and as alert episodes. The protocol is intended as a digital-twin analytics module, not as a complete live digital twin.

The empirical study uses Liverpool as the primary case and Humber/Hull proxy and Wessex South as harmonised protocol-transfer checks. In Liverpool, the fold-specific top-10 ElasticNet model reaches an F2F_2 of 0.696, improving on 0.633 for the same model family without top-kk truncation and remaining competitive with 0.681 for the full-feature weighted XGBoost reference. The result establishes the top-10 signature as a compact, auditable representation for the alert-oriented objective, while the complete metric profile is reported in the results tables.

This paper makes four contributions. First, it formulates 12-hour port flood pre-warning around the independent warning cluster rather than the individual positive row. Second, it evaluates fold-specific ElasticNet selection without allowing the outer test rows to rank features, and reports the resulting feature stability. Third, it bounds the selected signature through full-feature references, real-versus-synthetic-label controls, 100-repeat random top-kk controls, and contextual-versus-physical decomposition. Fourth, it connects window-level scores to digital-twin decision quantities through historical-stream replay, including warning and watch hits, false warning episodes per day, lead time, missed incidents, and alert duration.