<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">HESS</journal-id><journal-title-group>
    <journal-title>Hydrology and Earth System Sciences</journal-title>
    <abbrev-journal-title abbrev-type="publisher">HESS</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Hydrol. Earth Syst. Sci.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1607-7938</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/hess-30-6339-2026</article-id><title-group><article-title>The need for uncertainty: why probabilistic LSTMs are key to improving flood predictions and enabling learned warning rules</article-title><alt-title>The need for uncertainty</alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Baste</surname><given-names>Sanika</given-names></name>
          <email>sanika.baste@kit.edu</email>
        <ext-link>https://orcid.org/0009-0004-7619-2026</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Lerch</surname><given-names>Sebastian</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-3467-4375</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Klotz</surname><given-names>Daniel</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-9843-6798</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Loritz</surname><given-names>Ralf</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-0540-6478</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Institute of Water and Environment, Karlsruhe Institute of Technology (KIT), Karlsruhe, Germany</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Department of Mathematics and Computer Science, Marburg University, Marburg, Germany</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Machine Learning in Earth Science, Interdisciplinary Transformation University Austria, Linz, Austria</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Sanika Baste (sanika.baste@kit.edu)</corresp></author-notes><pub-date><day>16</day><month>October</month><year>2026</year></pub-date>
      
      <volume>30</volume>
      <issue>20</issue>
      <fpage>6339</fpage><lpage>6358</lpage>
      <history>
        <date date-type="received"><day>27</day><month>January</month><year>2026</year></date>
           <date date-type="rev-request"><day>18</day><month>February</month><year>2026</year></date>
           <date date-type="rev-recd"><day>7</day><month>July</month><year>2026</year></date>
           <date date-type="accepted"><day>21</day><month>September</month><year>2026</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2026 Sanika Baste et al.</copyright-statement>
        <copyright-year>2026</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026.html">This article is available from https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026.html</self-uri><self-uri xlink:href="https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026.pdf">The full text article is available as a PDF file from https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d2e121">Deterministic model predictions can struggle to adequately capture extreme events such as floods and droughts, which are of particular importance in hydrology. This limitation arises because deterministic models collapse the conditional discharge distribution to a single point estimate. Probabilistic modeling provides a way to address this issue by explicitly representing uncertainty and assigning non-zero probabilities to all possible outcomes, including extreme events, thereby capturing the entire conditional discharge distribution. Motivated by this perspective, we examine whether probabilistic Long Short-Term Memory (LSTM) models improve the representation of extreme events in rainfall–runoff simulations across Switzerland. The differing degree of flexibility in the models leads to different degrees and distinct patterns of miscalibration in the predictive distributions. For the extreme discharges (top 0.05 % of the marginal discharge distribution), the deterministic LSTM systematically underestimates 97 % of these events, whereas 83 % of these fall within the probabilistic model's 99th percentile prediction interval. Given the rarity of these events, representing them as outcomes near the upper tail of the predictive distribution is both expected and statistically consistent. Building on the additional information provided by probabilistic runoff predictions, we further show how they can be translated into actionable flood warnings using reinforcement learning. To this end, we introduce a Flood Risk Communication Agent (FRiCA) that operates on probabilistic runoff predictions and learns risk-aware decision rules for issuing warnings of varying intensity. Results indicate that the FRiCA outperforms simple fixed heuristics, such as issuing warnings based on the deterministic LSTM predictions or a fixed high quantile (e.g., the 99th percentile). The learnt behavior demonstrates the potential of reinforcement learning as a decision layer for improved flood risk communication, and motivates further exploration of better reward design and policy network optimization for context-dependent decision policies that adapt to varying hydrological and societal contexts.</p>
  </abstract>
    
<funding-group>
<award-group id="gs1">
<funding-source>Deutsche Forschungsgemeinschaft</funding-source>
<award-id>521210228</award-id>
</award-group>
</funding-group>
</article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d2e133">Deep learning (DL) models, particularly Long Short-Term Memory networks <xref ref-type="bibr" rid="bib1.bibx26" id="paren.1"><named-content content-type="pre">LSTMs;</named-content></xref>, have established themselves as a powerful alternative to traditional hydrological modelling approaches and are now the benchmark for rainfall–runoff modeling across varying hydrological settings <xref ref-type="bibr" rid="bib1.bibx32" id="paren.2"/>. Ever since, much research has focused on applying LSTMs in different regions of the world <xref ref-type="bibr" rid="bib1.bibx35 bib1.bibx37 bib1.bibx19 bib1.bibx13" id="paren.3"/> and on further improving its predictive performance. However, as their application becomes increasingly widespread, a growing body of research is now examining the conditions under which LSTMs reach their limits <xref ref-type="bibr" rid="bib1.bibx7 bib1.bibx25" id="paren.4"/>. In particular, an important open question concerns their ability to reliably predict hydrological extremes. When evaluated globally, as an aggregation over long hydrological time series, LSTMs outperform conceptual and process-based models <xref ref-type="bibr" rid="bib1.bibx32 bib1.bibx35" id="paren.5"/>. However, their advantage can weaken substantially when confronted with rare, high-magnitude events. <xref ref-type="bibr" rid="bib1.bibx18" id="text.6"/> employed a stress-testing approach in which models were trained on an intentionally truncated dataset, excluding all years containing floods exceeding a 5-year recurrence interval. They found that with increasing event magnitude (higher recurrence period), the bias in LSTM predictions increases. Using a similar experimental setup, <xref ref-type="bibr" rid="bib1.bibx1" id="text.7"/> compared an LSTM with hybrid model variant <xref ref-type="bibr" rid="bib1.bibx17" id="paren.8"><named-content content-type="pre">from</named-content></xref> and a conceptual model <xref ref-type="bibr" rid="bib1.bibx8" id="paren.9"><named-content content-type="pre">the Hydrologiska Byråns Vattenbalansavdelning (HBV) model;</named-content></xref>. Once again, their results showed that the performance advantage of the LSTM decreases as flood magnitude increases, with all three models showing similar underestimation for the events with the largest recurrence period. These findings suggest that the strong performance of LSTMs relative to traditional models does not automatically extend to the tail of the marginal discharge distribution. This poses a significant limitation given the importance of extremes in hydrological forecasting, risk assessment, and operational decision-making.</p>
      <p id="d2e170">To further investigate the behavior of LSTMs when predicting extremes, we analyzed their extrapolation performance in Swiss catchments <xref ref-type="bibr" rid="bib1.bibx7" id="paren.10"/> and found that, although the training data contained peak flows of up to <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">180</mml:mn></mml:mrow></mml:math></inline-formula> mm d<sup>−1</sup>, the LSTM failed to produce discharge beyond a theoretical ceiling of <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">120</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M4" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. Building on this finding, we designed a new stress-test approach wherein the most extreme precipitation events in the test period were replaced by design storms with annual return intervals of 50, 100, and 300 years. Such an approach simulates current infrastructure design practices and is directly relevant for the evaluation of high-impact floods. These stress tests showed that the LSTM not only underestimates the flood response for these unseen extremes, but also exhibits an empirical upper bound of <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">75</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M6" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, which is significantly lower than the theoretical prediction limit. These findings are consistent with the gating-related limitations discussed in <xref ref-type="bibr" rid="bib1.bibx33" id="text.11"/>. This systematic underestimation persists across the tail of the marginal discharge distribution, even when flood-peak magnitudes expected for the design storms are present in the training data. Together with the results of <xref ref-type="bibr" rid="bib1.bibx18" id="text.12"/> and <xref ref-type="bibr" rid="bib1.bibx1" id="text.13"/>, these findings provide converging evidence that LSTM architectures, and the way in which they are currently applied, exhibit constraints when used for extreme events prediction, and more so in situations that require extrapolating beyond historically observed precipitation magnitudes. However, this does not represent a dead end; several promising modelling strategies offer potential pathways to overcome these limitations. <xref ref-type="bibr" rid="bib1.bibx7" id="text.14"/> explored some strategies to improve the extrapolation of LSTMs, including increasing the amount of training data following <xref ref-type="bibr" rid="bib1.bibx33" id="text.15"/>, adapting the loss function, and modifying the activation functions within the LSTM. While these adjustments resulted in small improvements, none of them resolved the core issue, and the LSTMs continued to exhibit restricted simulations for the highest floods and a persistent bias for extreme values. Notably, strategies that improved the representation of the extreme events did not guarantee sustained global performance at par with the LSTM. Essentially, some of our endeavours left us with specialist models that represented extremes well, at the cost of the poor representation of other flow regimes.</p>
      <p id="d2e269">This persistent underestimation bias – observed across architectures and mitigation strategies alike – points to a more fundamental cause rooted in the inherent uniqueness of hydrological response generation and how different models learn to represent it. In hydrological modelling, identical or similar sequences of meteorological forcing can produce multiple, non-identical hydrological responses. For example, a 50 <inline-formula><mml:math id="M7" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> rainfall event may or may not trigger an extreme flood response, depending on antecedent soil moisture, snow conditions, seasonality, and the internal catchment state. Hydrological systems are, in principle, deterministic and their future evolution is uniquely defined by dynamical laws, given complete knowledge of all relevant states <xref ref-type="bibr" rid="bib1.bibx36 bib1.bibx50" id="paren.16"/>. In other words, given complete knowledge of a catchment, it should theoretically be possible to uniquely determine the hydrological response from the forcing and the system state. In practice, however, this theoretical determinism breaks down. Hydrological models, especially those using large sample datasets, are subject to errors in meteorological and hydrological observations, their spatial aggregation at the catchment level, uncertainty in internal storage states, equifinality, and limitations in how models represent or retain these states <xref ref-type="bibr" rid="bib1.bibx9 bib1.bibx39" id="paren.17"/>. As a result, they struggle to map similar forcings onto the corresponding range of plausible hydrological responses. From a statistical learning perspective, a model is asked to infer a deterministic mapping for inherently uncertain input-target dynamics. Depending on the loss function, the learning process then elicits a specific functional of the conditional target distribution <xref ref-type="bibr" rid="bib1.bibx22" id="paren.18"/>. A common loss function for LSTMs is the mean squared error (MSE), which elicits the mean of the conditional discharge distribution. By definition, the mean lies below the upper parts of a distribution. For discharge predictions, the difference in the mean and the upper quantiles is even more tangible, since the conditional distributions are typically right-skewed, with a long tail toward high-magnitude events. Consequently, for uncertain input-target relationships, this elicitation can lead to regression-to-the-mean behaviour and a systematic underestimation of extreme events. Modifying the deterministic loss functions still elicits only a single functional of the conditional distribution, whereas a probabilistic model predicts the full conditional distribution, of which the upper quantiles – rather than the mean – are directly relevant to flood risk. This highlights why probabilistic LSTMs are conceptually better suited for predicting extreme floods.</p>
      <p id="d2e298">This theoretical case for probabilistic prediction is reinforced by  long-standing applied literature: uncertainty quantification has been recognised as a central challenge in hydrology for decades <xref ref-type="bibr" rid="bib1.bibx34 bib1.bibx9" id="paren.19"/>. <xref ref-type="bibr" rid="bib1.bibx14" id="text.20"/> reviewed the use of ensemble prediction systems (EPS) for flood forecasting and demonstrated the advantages of ensemble hydrological prediction across several European case studies. <xref ref-type="bibr" rid="bib1.bibx5" id="text.21"/> reported that ensemble hydrological predictions improved the capability to issue flood warnings during the August 2002 floods at the Devin and Budapest gauging stations. <xref ref-type="bibr" rid="bib1.bibx44" id="text.22"/> investigated long-term hindcasts for two Belgian catchments and demonstrated that probabilistic forecasts outperformed deterministic ones, yielding greater economic value within a cost-loss decision framework. Several studies on EPS for hydrological forecasting likewise emphasize the added value of probabilistic information in providing a “clear indication of the possible occurrence of the event” <xref ref-type="bibr" rid="bib1.bibx45" id="paren.23"/> and “the indication of the possibility of an extreme event” <xref ref-type="bibr" rid="bib1.bibx24" id="paren.24"/>.</p>
      <p id="d2e321">A first step in addressing uncertainty in hydrological deep learning was taken by <xref ref-type="bibr" rid="bib1.bibx31" id="text.25"/>, who introduced several methods for uncertainty estimation in a regional rainfall–runoff model trained on the CAMELS-US <xref ref-type="bibr" rid="bib1.bibx2" id="paren.26"><named-content content-type="pre">Catchment Attributes and Meteorology for Large-sample Studies – US</named-content></xref> dataset. Their results showed that mixture density networks (MDNs), particularly the Countable Mixture of Asymmetric Laplace (CMAL) model, produced the most reliable predictive distributions. We investigate whether probabilistic predictions can help overcome the systematic underestimation of extreme floods observed in deterministic LSTMs. To this end, we compare three complementary probabilistic approaches that represent predictive uncertainty in different ways: the Countable Mixture of Asymmetric Laplace (CMAL) model <xref ref-type="bibr" rid="bib1.bibx31" id="paren.27"/>, a Distributional Regression Network (DRN) that predicts the parameters of a parametric distribution <xref ref-type="bibr" rid="bib1.bibx43" id="paren.28"/>, and a Bernstein Quantile Network (BQN) that directly estimates the predictive quantile function <xref ref-type="bibr" rid="bib1.bibx11" id="paren.29"/>. Together, these approaches span a range from strongly parameterized to highly flexible distributional representations, allowing us to assess whether improved characterization of predictive uncertainty translates into a better representation of extreme floods.</p>
      <p id="d2e341">A major drawback of probabilistic forecasts is that operational flood management ultimately requires discrete decisions. While probabilistic models provide a full predictive distribution and can explicitly represent the possibility of rare but high-impact events, flood warnings must eventually be issued (or not issued) at a specific warning level. Consequently, the predictive distribution must be translated into a single actionable decision. This introduces an additional layer of complexity, as the appropriate choice depends on the level of risk decision-makers are willing to accept. Selecting the mean or median prediction may lead to missed extreme events, whereas relying on high quantiles can substantially increase false alarms. Thus, the challenge is not only to quantify uncertainty accurately, but also to determine how probabilistic information should be converted into operational decisions under varying hydrological conditions. To address this gap, we frame the translation from predictive distribution to flood warning as a problem to be learned from outcome-based reward, rather than analytically derived in advance, and implement this as a Flood Risk Communication Agent (FRiCA), a reinforcement-learning-based decision module.</p>
      <p id="d2e344">In summary, while deep learning has substantially advanced hydrological modelling, its capability to predict extremes remains constrained. To address this limitation, we investigate whether probabilistic modeling and reinforcement learning together can enhance the identification, quantification, and communication of floods. To address this, we postulate the following research questions: <list list-type="order"><list-item>
      <p id="d2e349">Which of the investigated probabilistic LSTMs provides the most reliable rainfall–runoff simulation?</p></list-item><list-item>
      <p id="d2e353">Why are probabilistic LSTMs more suitable to represent hydrological extremes and the tail regions of the marginal discharge distribution?</p></list-item><list-item>
      <p id="d2e357">Can reinforcement learning aid operational flood-warning communication by learning a risk-aware translation of predictive distributions into actionable warnings based on flood-intensity categories?</p></list-item></list> The paper is structured as follows: we give a description of the dataset and the models in Sect. <xref ref-type="sec" rid="Ch1.S2"/>. This section also describes the Flood Risk Communication Agent (FRiCA). Section <xref ref-type="sec" rid="Ch1.S3"/> first presents the global model performance followed by the probabilisitc predictions for representative floods in Switzerland. Lastly, we present the results from the FRiCA. We discuss our research questions in light of our results in Sect. <xref ref-type="sec" rid="Ch1.S4"/> and give our conclusion in Sect. <xref ref-type="sec" rid="Ch1.S5"/>.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Data and Methods</title>
      <p id="d2e377">We begin this section by describing the CAMELS-CH dataset (Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>). We then describe the models used in this study, namely the Long Short-Term Memory network (LSTM<sub>det</sub>; see Sect. <xref ref-type="sec" rid="Ch1.S2.SS2.SSS1"/>), and the three probabilistic LSTMs: the Countable Mixture Asymmetric Laplacians (CMAL in Sect. <xref ref-type="sec" rid="Ch1.S2.SS2.SSS2"/>), the Distributional Regression Network (DRN in Sect. <xref ref-type="sec" rid="Ch1.S2.SS2.SSS3"/>) and the Bernstein Quantile Network (BQN in Sect. <xref ref-type="sec" rid="Ch1.S2.SS2.SSS4"/>). Section <xref ref-type="sec" rid="Ch1.S2.SS3"/> lays out the evaluation criteria for the models and we end this section with a description of the reinforcement learning-based agent in Sect. <xref ref-type="sec" rid="Ch1.S2.SS4"/>.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>The CAMELS-CH Dataset</title>
      <p id="d2e405">The CAMELS-CH dataset <xref ref-type="bibr" rid="bib1.bibx27" id="paren.30"/> is a large sample dataset of daily hydro-meteorological time series and static catchment attributes for 331 catchments and lakes from Switzerland and neighboring countries. The static attributes include climate, hydrology, topographic, soil, geology, glacier, hydrogeology, land cover, and human influence attributes. This time-series data is available for the period from 1 January 1981 to 31 December 2020. For this study, we exclude 33 lakes and 102 catchments belonging to France, Germany, Austria, and Italy and proceed with the remaining 196 for training and testing our models. For all the models, we use four meteorological forcings, namely, precipitation (mm d<sup>−1</sup>), minimum temperature (°C), maximum temperature (°C), and relative sunshine duration (%) along with 22 catchment attributes (see Appendix A in <xref ref-type="bibr" rid="bib1.bibx7" id="altparen.31"/>) as the input and specific discharge (mm d<sup>−1</sup>) as the target.</p>

<table-wrap id="T1" specific-use="star"><label>Table 1</label><caption><p id="d2e441">Description of models used in this study. All models are variants of the state-of-the-art LSTM, differing only in the head layer.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="justify" colwidth="10cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Model</oasis:entry>
         <oasis:entry colname="col2" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">LSTM<sub>det</sub></oasis:entry>
         <oasis:entry colname="col2" align="left">State-of-the-art deterministic LSTM. The head layer is a fully connected linear layer mapping the hidden states to a single output. The output is the specific discharge (mm d<sup>−1</sup>).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">CMAL</oasis:entry>
         <oasis:entry colname="col2" align="left">Probabilistic LSTM producing a predictive distribution of specific discharge (mm d<sup>−1</sup>), which is a convex sum of three asymmetric Laplace distributions. The head layer is a fully connected linear layer mapping the LSTM hidden states to weights and (location, scale, and asymmetry) parameters for the three component distributions.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">DRN</oasis:entry>
         <oasis:entry colname="col2" align="left">Probabilistic LSTM producing a single logistic distribution as the predictive distribution of specific discharge (mm d<sup>−1</sup>). The head layer is a fully connected linear layer mapping the LSTM hidden states to location and scale parameters of a logistic distribution.</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">BQN</oasis:entry>
         <oasis:entry colname="col2" align="left">Probabilistic LSTM producing a quantile function in the form of a Bernstein polynomial for specific discharge (mm d<sup>−1</sup>). The head layer (a fully connected linear layer) outputs raw coefficients, which are converted into Bernstein basis coefficients to obtain the linear combination of Bernstein basis polynomials.</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="T2" specific-use="star"><label>Table 2</label><caption><p id="d2e557">Hyperparameters for the models used: LSTM<sub>det</sub>, CMAL, DRN and BQN. For details about the hyperparameter selection refer Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/>.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="7">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:colspec colnum="5" colname="col5" align="left"/>
     <oasis:colspec colnum="6" colname="col6" align="left"/>
     <oasis:colspec colnum="7" colname="col7" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Hyperparameter</oasis:entry>
         <oasis:entry colname="col2">LSTM<sub>det</sub></oasis:entry>
         <oasis:entry colname="col3">CMAL</oasis:entry>
         <oasis:entry colname="col4">DRN</oasis:entry>
         <oasis:entry colname="col5">BQN</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Number of layers</oasis:entry>
         <oasis:entry namest="col2" nameend="col5" align="center">1 </oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Number of nodes</oasis:entry>
         <oasis:entry colname="col2">64</oasis:entry>
         <oasis:entry colname="col3">250</oasis:entry>
         <oasis:entry colname="col4">256</oasis:entry>
         <oasis:entry colname="col5">256</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Dropout rate</oasis:entry>
         <oasis:entry colname="col2">0.4</oasis:entry>
         <oasis:entry colname="col3">0.5</oasis:entry>
         <oasis:entry colname="col4">0.5</oasis:entry>
         <oasis:entry colname="col5">0.3</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Initial forget gate bias</oasis:entry>
         <oasis:entry namest="col2" nameend="col5" align="center">3 </oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Initial learning rate</oasis:entry>
         <oasis:entry colname="col2">0.001</oasis:entry>
         <oasis:entry colname="col3">0.0005</oasis:entry>
         <oasis:entry colname="col4">0.0001</oasis:entry>
         <oasis:entry colname="col5">0.00005</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Sequence length</oasis:entry>
         <oasis:entry namest="col2" nameend="col5" align="center">365 </oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Batch size</oasis:entry>
         <oasis:entry namest="col2" nameend="col5" align="center">256 </oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Number of epochs</oasis:entry>
         <oasis:entry colname="col2">20</oasis:entry>
         <oasis:entry colname="col3">15</oasis:entry>
         <oasis:entry colname="col4">10</oasis:entry>
         <oasis:entry colname="col5">15</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Training period</oasis:entry>
         <oasis:entry namest="col2" nameend="col5" align="center">1 October 1980 to 30 September 1995 </oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Validation period</oasis:entry>
         <oasis:entry namest="col2" nameend="col5" align="center">1 October 1995 to 30 September 2000 </oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Test period</oasis:entry>
         <oasis:entry namest="col2" nameend="col5" align="center">1 October 2000 to 30 September 2020 </oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Number of outputs</oasis:entry>
         <oasis:entry colname="col2">1</oasis:entry>
         <oasis:entry colname="col3">12</oasis:entry>
         <oasis:entry colname="col4">2</oasis:entry>
         <oasis:entry colname="col5">13</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Training loss</oasis:entry>
         <oasis:entry colname="col2">NSE<sup>*</sup></oasis:entry>
         <oasis:entry colname="col3">Negative log-likelihood</oasis:entry>
         <oasis:entry colname="col4">Continuous ranked probability score</oasis:entry>
         <oasis:entry colname="col5">Quantile loss</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Models</title>
      <p id="d2e863">The study compares four models, which are all based on the state-of-the-art LSTM. The models have differing head layers, and thus differing outputs, each of which are described in Table <xref ref-type="table" rid="T1"/>. Section <xref ref-type="sec" rid="Ch1.S2.SS2.SSS1"/> to <xref ref-type="sec" rid="Ch1.S2.SS2.SSS4"/> explain the models further, along with their predictive distributions for the target variable (specific discharge <inline-formula><mml:math id="M15" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>). For every model in the study, we train a five-member ensemble to account for stochasticity and random initialization. All models instances are <italic>regional</italic>; implying that the models are trained collectively on all 196 catchments mentioned in Sect. <xref ref-type="sec" rid="Ch1.S2.SS1"/>. Model implementation is done in PyTorch <xref ref-type="bibr" rid="bib1.bibx41" id="paren.32"/> and optimized using the ADAM <xref ref-type="bibr" rid="bib1.bibx30" id="paren.33"/>. The training period for all the models extends from 1 October 1980 to 30 September 1995, and the models are tested for the period from 1 October 2000 to 30 September 2020. The sequence length and the batch size are 365 and 256 respectively. All models are initialized with a forget gate bias of 3. A full list of hyperparameters for the three models can be found in Table <xref ref-type="table" rid="T2"/>. For brevity, we explain the hyperparameter search in Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/> and ensemble averaging in Appendix <xref ref-type="sec" rid="App1.Ch1.S4"/>. A separate validation set (1 October 1995 to 30 September 2000) is used to select the best-performing model for testing. During training, we track each model's validation-period performance using its respective training metric – NLL for CMAL, CRPS for DRN, and quantile loss for BQN. We also generate PIT histograms for the validation period (see Sect. <xref ref-type="sec" rid="Ch1.S2.SS3"/>) and use both the validation-period metric and the associated chi-square statistic to guide model selection.</p>
<sec id="Ch1.S2.SS2.SSS1">
  <label>2.2.1</label><title>LSTM<sub>det</sub></title>
      <p id="d2e920">The LSTM<sub>det</sub> is the state-of-the-art LSTM, as proposed by <xref ref-type="bibr" rid="bib1.bibx32" id="text.34"/> and makes deterministic predictions for specific discharge (mm d<sup>−1</sup>) at each time step. The head layer in the LSTM<sub>det</sub> is a fully connected linear layer and maps the hidden states to a single value at every time step. For a detailed description of the LSTM<sub>det</sub>, we refer the reader to <xref ref-type="bibr" rid="bib1.bibx32" id="text.35"/>. The catchment averaged Nash-Sutcliffe efficiency (NSE*) <xref ref-type="bibr" rid="bib1.bibx32" id="paren.36"/> is the loss function during training. For every ensemble member, the model parameters from the last training epoch are considered for the test period. The test simulations from the ensemble members are averaged for further analyses.</p>
</sec>
<sec id="Ch1.S2.SS2.SSS2">
  <label>2.2.2</label><title>Countable Mixture of Asymmetric Laplace Distributions</title>
      <p id="d2e968"><xref ref-type="bibr" rid="bib1.bibx31" id="text.37"/> implemented the CMAL for the CAMELS-US <xref ref-type="bibr" rid="bib1.bibx2" id="paren.38"/> dataset, which predicts a probabilistic distribution for specific discharge (mm d<sup>−1</sup>) at every time step. Among the four probabilistic models they implemented, the CMAL is the best performing model in terms of the calibration of the predicted distributions. It is state of the art in deep-learning based hydrological uncertainty quantification, and is thus a natural choice for our study. The prediction is a convex sum of three asymmetric Laplace distributions (ALD). An ALD is characterized by location, scale, and asymmetry/skewness parameters, and for three such component distributions, we have a total of nine parameters. To obtain the convex sum, we also require one weight associated with every component distribution. Thus, the LSTM in the CMAL produces 12 outputs. The CMAL is trained by minimizing the negative log-likelihood (NLL) of the observed data with respect to the predicted distribution. The hyperparameters of the CMAL (see Table <xref ref-type="table" rid="T2"/>) are adopted from <xref ref-type="bibr" rid="bib1.bibx31" id="text.39"/>.</p>
      <p id="d2e993">We describe the ALD (see Eq. <xref ref-type="disp-formula" rid="App1.Ch1.S3.E5"/>), the mixture distribution (see Eq. <xref ref-type="disp-formula" rid="App1.Ch1.S3.E6"/>), and the training loss (NLL; see Eq. <xref ref-type="disp-formula" rid="App1.Ch1.S3.E7"/>) for the mixture distribution in Appendix <xref ref-type="sec" rid="App1.Ch1.S3"/>. Our CMAL implements ALD components where the asymmetry parameter is a real positive value (<inline-formula><mml:math id="M19" display="inline"><mml:mi mathvariant="italic">κ</mml:mi></mml:math></inline-formula>). This differs from <xref ref-type="bibr" rid="bib1.bibx31" id="text.40"/> who implement ALDs characterised by <inline-formula><mml:math id="M20" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula> – a real value in (0, 1). To model the respective parameter ranges, the <inline-formula><mml:math id="M21" display="inline"><mml:mi mathvariant="italic">κ</mml:mi></mml:math></inline-formula> is modeled using a softplus activation and the <inline-formula><mml:math id="M22" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula> using a sigmoid activation. We discovered that for the CAMELS-CH dataset, the choice of <inline-formula><mml:math id="M23" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula> was limiting the CMAL from learning the conditional distributions effectively. We discuss the effects of the CMAL parameterization on the learnt uncertainty representation in Appendix <xref ref-type="sec" rid="App1.Ch1.S2"/>.</p>
</sec>
<sec id="Ch1.S2.SS2.SSS3">
  <label>2.2.3</label><title>Distributional Regression Network</title>
      <p id="d2e1053">Fundamentally, the DRN is similar to the CMAL, in that we define the to-be-modeled target distribution and the LSTM estimates its parameters. While CMAL can, in principle, reduce to a single-mixture model, its formulation as a mixture explicitly enables increased expressiveness when supported by the data. In contrast, the DRN is inherently restricted to a single parametric distribution. A comparison between the two highlights a trade-off between structural simplicity and strong inductive bias (DRN) versus high flexibility and data-adaptive distributional shape (CMAL). Thus, the motivation to use the DRN is straightforward: to investigate whether comparable predictive performance can be achieved with analytical and structual simplicity. In principle, a DRN can model any distribution we choose to specify, and the ideal choice is one that closely approximates the true conditional target distribution. Like the ALD, the logistic distribution has heavier tails than the Gaussian, and given its successful application in post-processing weather forecasts <xref ref-type="bibr" rid="bib1.bibx43 bib1.bibx20 bib1.bibx47 bib1.bibx29" id="paren.41"/>, it is worthwhile to assess its suitability for rainfall–runoff modeling. In the DRN, the LSTM predicts the parameters of a logistic distribution, namely the location and the scale parameters. Training optimizes the Continuous Ranked Probability Score (CRPS, adopted from the scoringrules library; <xref ref-type="bibr" rid="bib1.bibx56" id="altparen.42"/>) of the training data with respect to the estimated predictive distribution. The DRN hyperparameters are mentioned in Table <xref ref-type="table" rid="T2"/> and the hyperparameter search is described in Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/>. Further mathematical details for the DRN can be found in Appendix <xref ref-type="sec" rid="App1.Ch1.S3"/>.</p>
</sec>
<sec id="Ch1.S2.SS2.SSS4">
  <label>2.2.4</label><title>Bernstein Quantile Network</title>
      <p id="d2e1077">The BQN is a nonparametric approach that models the quantile function of the target distribution. Thus, it provides an implicit representation of the underlying distribution that does not require an a priori assumption of the parametric form <xref ref-type="bibr" rid="bib1.bibx11" id="paren.43"/>. Originally proposed for wind speed forecasting, the BQN has since been applied to a range of target variables, including solar energy <xref ref-type="bibr" rid="bib1.bibx48" id="paren.44"/> and wind gusts <xref ref-type="bibr" rid="bib1.bibx47" id="paren.45"/>. Its distributional flexibility makes it a natural candidate for runoff prediction, where the conditional discharge distribution is strongly right-skewed and resists simple parametric characterisation. We include the BQN in this study as it represents an extreme end of the model flexibility spectrum. This quantile function is a linear combination of Bernstein basis polynomials and is given by

              <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M24" display="block"><mml:mrow><mml:mi>Q</mml:mi><mml:mo>(</mml:mo><mml:mi>q</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>:=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>d</mml:mi></mml:munderover><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi>q</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>q</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>]</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            where <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are basis coefficients and are a function of the inputs <inline-formula><mml:math id="M26" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>, and

              <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M27" display="block"><mml:mrow><mml:msub><mml:mi>B</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi>q</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mfenced close=")" open="("><mml:mfrac linethickness="0"><mml:mi>d</mml:mi><mml:mi>l</mml:mi></mml:mfrac></mml:mfenced><mml:msup><mml:mi>q</mml:mi><mml:mi>l</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mi>q</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mi>d</mml:mi><mml:mo>-</mml:mo><mml:mi>l</mml:mi></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            are the Bernstein basis polynomials of degree <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mo>∈</mml:mo><mml:mi mathvariant="double-struck">N</mml:mi></mml:mrow></mml:math></inline-formula> for individual quantiles <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mi>q</mml:mi><mml:mo>∈</mml:mo><mml:mo>[</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d2e1304">For a given degree <inline-formula><mml:math id="M30" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>, the quantile function is fully defined by <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> basis coefficients. <xref ref-type="bibr" rid="bib1.bibx47" id="text.46"/> note that the choice of <inline-formula><mml:math id="M32" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula> is critical, with larger <inline-formula><mml:math id="M33" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula> providing greater flexibility but at the cost of increased estimation variance. We discuss the range of Bernstein polynomial degrees we tested in Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/>, and adopt a 12th degree Bernstein polynomial. For the BQN, the head layer maps the hidden states of the base LSTM to 13 (<inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:mn mathvariant="normal">12</mml:mn><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) raw coefficients <inline-formula><mml:math id="M35" display="inline"><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula>. One important deviation from <xref ref-type="bibr" rid="bib1.bibx47" id="text.47"/> in our implementation is the non-enforcement of strictly positive support for the predicted distribution. This is to maintain consistency with the CMAL and the DRN, where the distributions are similarly not truncated at zero. More generally, such truncation can be considered an inductive bias, whereas one might instead expect the model to learn the true minimum of the data directly. We therefore allow the first basis coefficient (<inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) to be negative. We maintain the requirement that the remaining basis coefficients are strictly increasing by applying a softplus activation and recursively estimating them as follows:

              <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M37" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi>l</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mtext>softplus</mml:mtext><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mi>l</mml:mi></mml:msub></mml:mrow><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mi>l</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            The BQN is trained by optimizing the average quantile loss (QL) over 99 equidistant quantiles. The QL is a consistent scoring function for the corresponding quantile, and the integral of the QL over the unit interval is proportional to the CRPS <xref ref-type="bibr" rid="bib1.bibx22" id="paren.48"/>. The QL for a quantile <inline-formula><mml:math id="M38" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> is given by

              <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M39" display="block"><mml:mrow><mml:msub><mml:mtext>QL</mml:mtext><mml:mi>q</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>q</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo movablelimits="false">max⁡</mml:mo><mml:mo>(</mml:mo><mml:mi>q</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>q</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mi>q</mml:mi><mml:mo>)</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>q</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></disp-formula>

            where <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the true target value, and <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>q</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the predicted target quantile <inline-formula><mml:math id="M42" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> obtained from Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>). Table <xref ref-type="table" rid="T2"/> gives the hyperparameters of the BQN, and the hyperparameter search is described in Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/>.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Evaluation of predictive distributions</title>
      <p id="d2e1606"><xref ref-type="bibr" rid="bib1.bibx23" id="text.49"/> suggest that the goal of probabilistic forecasting is to maximize the <italic>sharpness</italic>, subject to <italic>calibration</italic>. Although they use different terminology, <xref ref-type="bibr" rid="bib1.bibx31" id="text.50"/> evaluate their models similarly based on <italic>reliability</italic> (<italic>calibration</italic>) and <italic>resolution</italic> (<italic>sharpness</italic>). <italic>Calibration</italic> is a joint property of the predicted distributions and the observed events, and refers to the statistical consistency between the two, whereas <italic>sharpness</italic> refers to the concentration of the predicted distribution, and is a property of the predicted distribution alone. Quantitatively, calibration and sharpness can be simultaneously evaluated with proper scoring rules, where lower values indicate better predictive performance <xref ref-type="bibr" rid="bib1.bibx21" id="paren.51"/>. The CRPS is a strictly proper scoring rule and is used in this study to evaluate the probabilistic predictions. For the DRN, the CRPS is computed analytically. For the CMAL, as no closed form solution is available, the CRPS is approximated based on samples. For the BQN, the CRPS is approximated from predicted quantiles. The library scoringrules <xref ref-type="bibr" rid="bib1.bibx56" id="paren.52"/> provides torch-compatible functions for calculating the respective closed-form and approximate CRPS for all our models. The CRPS is calculated for every time step and averaged over the test period for every catchment. We report the mean and the median catchment CRPS as a measure of overall model performance.</p>
      <p id="d2e1645">For a visual assessment of the calibration alone, we compute the the Probability integral transform (PIT) values by evaluating the predicted cumulative distribution functions (CDFs) at the observed values. We then plot PIT histograms for the entire test period and all catchments combined in Sect. <xref ref-type="sec" rid="Ch1.S3.SS1"/>. For the BQN, we resort to the unified PIT <xref ref-type="bibr" rid="bib1.bibx54" id="paren.53"><named-content content-type="pre">uPIT;</named-content></xref> as only a set of quantiles is available. We also adopt some metrics from <xref ref-type="bibr" rid="bib1.bibx31" id="text.54"/> to evaluate sharpness of the probabilistic predictions. For every time step we calculate the interquartile and the interdecile ranges. Variance is calculated for 7500 samples <xref ref-type="bibr" rid="bib1.bibx31" id="paren.55"><named-content content-type="pre">adopted from</named-content></xref> drawn from the predictive distributions. The metrics are presented as a mean aggregation over all catchments for the entire test period. Finally, we evaluate the distributions based on single-point metrics such as the Mean Absolute Error (MAE) evaluated on the median of the distributions and the Root Mean Squared Error (RMSE) evaluated on the mean of the distributions. To align with standard hydrological practice, where overall model performance is primarily assessed on point predictions, we also calculate the Nash-Sutcliffe efficiency (NSE) and the Kling-Gupta efficiency (KGE) <xref ref-type="bibr" rid="bib1.bibx31" id="paren.56"><named-content content-type="pre">following</named-content></xref>. We acknowledge that the NSE and KGE are not consistent scoring functions <xref ref-type="bibr" rid="bib1.bibx55" id="paren.57"/> and as such, no functional of the predicted distributions minimises either. However, for every time step, the mean of the probabilistic predictions is considered as a point estimator to calculate these metrics and we report the aggregated metrics for the entire test period.</p>
</sec>
<sec id="Ch1.S2.SS4">
  <label>2.4</label><title>Flood Risk Communication Agent (FRiCA)</title>
      <p id="d2e1682">A reinforcement learning episode consists of an agent observing a <italic>state</italic> <inline-formula><mml:math id="M43" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula>, selecting an <italic>action</italic> <inline-formula><mml:math id="M44" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula>, and receiving a scalar <italic>reward</italic> <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:mi>r</mml:mi><mml:mo>(</mml:mo><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, where the reward depends on the chosen action and the realised true severity <inline-formula><mml:math id="M46" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>. In our application, the state describes the current hydrological situation and the action corresponds to issuing a warning. As only a single warning decision is required, each episode terminates immediately after the action is taken. We created episodes for the FRiCA by running the CMAL over 40 years (1 October 1980 to 30 September 2020). We split these into training (1 October 1980 to 30 September 1995), validation (1 October 1995 to 30 September 2000) and testing episodes (1 October 2000 to 30 September 2020). Excluding median and low flows, we focus on episodes when the predictive probability of exceeding HQ2 (flood with an annual recurrence interval of 2 years) is at least 15 %, making a total of 2441 training, 822 validation and 1696 testing episodes. For every catchment, design floods with annual return intervals of 2, 10, 30, 100, and 300 years are obtained from <xref ref-type="bibr" rid="bib1.bibx4" id="text.58"/>. These return-period thresholds are used to classify the observed specific discharge into one of six severity classes, <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>∈</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula> – <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> indicates no design-flood threshold was exceeded, and <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> through <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:mi>y</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> correspond to the HQ2 through HQ300 thresholds. The state <inline-formula><mml:math id="M51" display="inline"><mml:mi>s</mml:mi></mml:math></inline-formula> that the agent observes is a 7 d sequence of predictive distributions and 1 d lagged discharge. Thus, in every episode, the agent receives a <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:mn mathvariant="normal">7</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">13</mml:mn></mml:mrow></mml:math></inline-formula> state matrix; the twelve parameters of the CMAL distribution (mixture weight <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">π</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, location <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, scale <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and asymmetry <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for each of three mixture components, <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>) together with the lagged discharge. This mimics a scenario where the warning-issuing authority is given a predictive distribution, historic hydrological context, and should issue a warning. The action space is discrete, <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:mi>a</mml:mi><mml:mo>∈</mml:mo><mml:mo mathvariant="italic">{</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">4</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">5</mml:mn><mml:mo mathvariant="italic">}</mml:mo></mml:mrow></mml:math></inline-formula>, corresponding to the six severity classes described above.</p>
      <p id="d2e1932">The reward is a distance-based function of the issued warning <inline-formula><mml:math id="M59" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula> and the true severity <inline-formula><mml:math id="M60" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>: a correct prediction is rewarded, whereas an incorrect one is penalised in proportion to its ordinal distance from <inline-formula><mml:math id="M61" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>, scaled by a class weight and, independently, by separate penalty rates for under- and over-warning. Class weights compensate for the imbalance in the frequency of warning classes. The full reward formulation is given in Appendix <xref ref-type="sec" rid="App1.Ch1.S5"/>. We evaluated nine reward configurations, summarised in Table <xref ref-type="table" rid="TE1"/>. Unless stated otherwise, the results presented in this paper are for the reward configuration <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">200</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The reward configurations are designed to represent a range of plausible operational preferences rather than to exactly reproduce socioeconomic costs. This enables a systematic investigation of how different reward structures influence the learnt policy and demonstrates that the RL agent adapts its warning behaviour in a consistent and risk-aware manner to changing operational objectives.</p>
      <p id="d2e1979">FRiCA is implemented in a gymnasium environment <xref ref-type="bibr" rid="bib1.bibx53" id="paren.59"/>, and trained and evaluated using Proximal Policy Optimization (PPO) <xref ref-type="bibr" rid="bib1.bibx46" id="paren.60"/> algorithm from Stable Baselines3 <xref ref-type="bibr" rid="bib1.bibx42" id="paren.61"/>. For evaluation, we divide events into three categories based on true severity <inline-formula><mml:math id="M63" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>: no floods (class 0), floods (class 1), and extreme floods (classes 2–5). Model selection is performed on the validation set, where the epoch maximising the total number of hits across classes 1–5 is retained for testing. For classes 1–5, a prediction is counted as a hit if the issued warning matches the true severity class, a miss if the issued warning is lower than the true severity, and a false alarm if it is higher. If the issued warning matches the true prediction class 0, it is a true negative. We compare FRiCA-issued warnings against two static baselines: the 99th percentile of the CMAL predictive distribution, and the LSTM<sub>det</sub> as a deterministic rule. Results for the reward configuration <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">200</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> are reported in Table <xref ref-type="table" rid="T5"/>, with the full comparison across all reward configurations given in Table <xref ref-type="table" rid="TE1"/>.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Results</title>
      <p id="d2e2033">In this section, we present the overall evaluation for the probabilistic models based on the CRPS, PIT histograms, resolution metrics and single-point accuracy metrics. Section <xref ref-type="sec" rid="Ch1.S3.SS2"/> follows with a comparison of the model performance for representative flood events recorded in Switzerland. Finally in Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/> we present the results from the FRiCA.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Global Model Performance</title>
      <p id="d2e2047">As mentioned in Sect. <xref ref-type="sec" rid="Ch1.S2.SS3"/> we calculate the mean CRPS for the entire test period per catchment and begin this section by examining the mean and median CRPS across catchments. The CMAL has the lowest mean CRPS of 0.50 as compared to the DRN (0.53) and the BQN (0.56) and outperforms the two models in terms of overall prediction calibration and sharpness. The difference in performance is further pronounced if we consider the median CRPS across all catchments. For the CMAL the median CRPS is 0.39, whereas the DRN and the BQN predictions have a median CRPS of 0.41 and 0.43 respectively. The superior performance of the CMAL can be attributed to its ability to model asymmetry and multimodality in probabilistic runoff predictions. For all the three models, the mean CRPS across all catchments is bigger than the median CRPS, indicating a right-skewed distribution of per-catchment CRPS for all the models. For a plot of the cumulative density function (CDF) of the catchment-wise CRPS refer Appendix <xref ref-type="sec" rid="App1.Ch1.S6"/>.</p>

      <fig id="F1" specific-use="star"><label>Figure 1</label><caption><p id="d2e2056">PIT histograms for the <bold>(a)</bold> CMAL, the <bold>(b)</bold> DRN and the <bold>(c)</bold> BQN. The <inline-formula><mml:math id="M65" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axes indicate the PIT values from the entire testing data (<inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">1.27</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> values) binned into 20 equal-sized bins. The <inline-formula><mml:math id="M67" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axes give the density of these bins. The red dashed line indicates the uniform distribution – a case of perfect calibration. Bins with density less than 1 imply that the model predicts the probabilities of occurrence within this bin <italic>less frequently</italic> than actually observed. Similarly, bins with density more than 1 indicate that the model assigns these probability values <italic>more frequently</italic> than actually observed.</p></caption>
          <graphic xlink:href="https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026-f01.png"/>

        </fig>

      <p id="d2e2112">Figure <xref ref-type="fig" rid="F1"/> presents the PIT histograms for the (a) CMAL, the (b) DRN and the (c) BQN aggregated over all catchments. None of the models show perfect calibration and the normalised chi-square test statistics for the three models are 0.14 (CMAL), 0.08 (DRN) and 0.15 (BQN). More importantly, the deviations from the red dashed line in Fig. <xref ref-type="fig" rid="F1"/> indicate generally over-dispersed distributions for the CMAL, biased for the DRN and a combination of biased, under-dispersed distributions for the BQN. The CMAL predicts the probabilities in the interval (0.5, 0.6] 1.75 times more than observed, partially causing the under-population of the lower bins. The CMAL distributions are not truncated at zero, implying that some probability mass can extend into the negative space for certain events. This causes the lower probabilities associated with this part of the distribution never being assigned as a PIT value, since observed specific discharge is always positive. This contributes to the probabilities in the intervals (0.0, 0.4] being predicted less often than observed. Probabilities higher than 0.9 are predicted about 1.63 times more, indicating that distributions for some time steps are either biased or under-dispersed. A single distribution (DRN) on the other hand, shows starkly different calibration. The under-population of the first bin, is again a result of the distributions not being truncated at zero. Over-all the DRN distributions match the frequency of observed probabilities closely, but probabilities greater than 0.95 are predicted twice as frequently as observed. This is indicative of under-dispersed distributions for these events and likely an underprediction of high flows. We observe underdispersion in BQN predictions as well, but this affects the representation of lower probabilities more than the higher. The over-population of the first bin is in part an artefact. uPIT calculation for the BQN is based on a uniform quantile grid in the interval [0.01, 0.99] and observations falling out of this range are directly assigned a uPIT value of 0 or 1. Lower probabilities in the interval (0.0, 0.05] are predicted roughly 1.7 times more than observed. Having said that, the training dynamics of the BQN have a particular effect on the BQN calibration. We discuss the reasons for such a PIT distribution for the BQN in Sect. <xref ref-type="sec" rid="Ch1.S4.SS1"/>. For comparison, we also plot probability plots following <xref ref-type="bibr" rid="bib1.bibx31" id="text.62"/> and present them in Appendix <xref ref-type="sec" rid="App1.Ch1.S6"/>.</p>

<table-wrap id="T3" specific-use="star"><label>Table 3</label><caption><p id="d2e2130">Metrics indicating sharpness of the predictive distributions (best performing in bold). All metrics are reported as averages over the test period and all catchments. All metrics can take values in the interval (0, <inline-formula><mml:math id="M68" display="inline"><mml:mi mathvariant="normal">∞</mml:mi></mml:math></inline-formula>) and lower values are better for all metrics.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="center"/>
     <oasis:colspec colnum="3" colname="col3" align="center"/>
     <oasis:colspec colnum="4" colname="col4" align="center"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Resolution Metric</oasis:entry>
         <oasis:entry colname="col2">CMAL</oasis:entry>
         <oasis:entry colname="col3">DRN</oasis:entry>
         <oasis:entry colname="col4">BQN</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Variance</oasis:entry>
         <oasis:entry colname="col2">2.63</oasis:entry>
         <oasis:entry colname="col3"><bold>1.80</bold></oasis:entry>
         <oasis:entry colname="col4">1.81</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Inter quantile range (distance between 0.25 and 0.75 quantiles)</oasis:entry>
         <oasis:entry colname="col2">0.96</oasis:entry>
         <oasis:entry colname="col3"><bold>0.87</bold></oasis:entry>
         <oasis:entry colname="col4">0.89</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Inter decile range (distance between 0.10 and 0.90 quantiles)</oasis:entry>
         <oasis:entry colname="col2">1.93</oasis:entry>
         <oasis:entry colname="col3"><bold>1.74</bold></oasis:entry>
         <oasis:entry colname="col4">1.79</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="T4"><label>Table 4</label><caption><p id="d2e2226">Evaluation of different single-point accuracy metrics (best model in bold). The LSTM<sub>det</sub> predictions are determninistic and are as such single-point. For the probabilistic models, the median of the predictive distributions is used to calculate the MAE, and the mean is considered for calculating the RMSE, the NSE, and the KGE. The metrics are calculated for every time step and averaged over the test period for every catchment. The median catchment metrics are reported here.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="5">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="center"/>
     <oasis:colspec colnum="3" colname="col3" align="center"/>
     <oasis:colspec colnum="4" colname="col4" align="center"/>
     <oasis:colspec colnum="5" colname="col5" align="center"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Metric</oasis:entry>
         <oasis:entry colname="col2">LSTM<sub>det</sub></oasis:entry>
         <oasis:entry colname="col3">CMAL</oasis:entry>
         <oasis:entry colname="col4">DRN</oasis:entry>
         <oasis:entry colname="col5">BQN</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">MAE</oasis:entry>
         <oasis:entry colname="col2"><bold>0.52</bold></oasis:entry>
         <oasis:entry colname="col3">0.53</oasis:entry>
         <oasis:entry colname="col4">0.55</oasis:entry>
         <oasis:entry colname="col5">0.59</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">RMSE</oasis:entry>
         <oasis:entry colname="col2"><bold>0.83</bold></oasis:entry>
         <oasis:entry colname="col3">0.84</oasis:entry>
         <oasis:entry colname="col4">0.89</oasis:entry>
         <oasis:entry colname="col5">0.93</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">NSE</oasis:entry>
         <oasis:entry colname="col2"><bold>0.87</bold></oasis:entry>
         <oasis:entry colname="col3">0.86</oasis:entry>
         <oasis:entry colname="col4">0.84</oasis:entry>
         <oasis:entry colname="col5">0.83</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">KGE</oasis:entry>
         <oasis:entry colname="col2"><bold>0.84</bold></oasis:entry>
         <oasis:entry colname="col3">0.81</oasis:entry>
         <oasis:entry colname="col4">0.79</oasis:entry>
         <oasis:entry colname="col5">0.80</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e2350">To complement the calibration evaluation of the probabilistic predictions based on the PIT histograms, Table <xref ref-type="table" rid="T3"/> reports the resolution metrics for the probabilistic models. The overdispersed CMAL distributions have the highest variance of 2.63 compared to 1.80 and 1.81 for the DRN and BQN respectively. This pattern holds across all resolution metrics. The DRN and BQN show very similar sharpness overall, though the slightly wider interquartile and interdecile ranges from the BQN suggest that the Bernstein polynomial quantile function learns slightly more dispersed distributions than the DRN. Table <xref ref-type="table" rid="T4"/> reports single-point accuracy metrics for all four models, with the LSTM<sub>det</sub> ranking first across all four metrics. The CMAL comes close to the LSTM<sub>det</sub>, with an NSE of 0.86 against 0.87 for the LSTM<sub>det</sub> and a KGE of 0.81 against 0.84. The DRN and BQN lag further behind, with NSE values of 0.84 and 0.83 and KGE values of 0.79 and 0.80 respectively. We note that results based on computing NSE/KGE from the mean of the predictive distributions should be interpreted with care <xref ref-type="bibr" rid="bib1.bibx55" id="paren.63"/>. The MAE follows the same ranking, with the BQN median deviating most from observations (0.59) and the CMAL median closest to the LSTM<sub>det</sub> (0.53 vs. 0.52). That the CMAL single-point metrics remain competitive despite its overdispersion suggests that its distributional mean and median are well-centred, even if the spread around them is excessive.</p>

      <fig id="F2" specific-use="star"><label>Figure 2</label><caption><p id="d2e2375">Probabilistic predictions for selected floods recorded in rivers (<bold>a</bold>.1 to <bold>a</bold>.3) Reuss in summer, (<bold>b</bold>.1 to <bold>b</bold>.3) Allondon in winter, and (<bold>c</bold>.1 to <bold>c</bold>.3) Saltina in Autumn. The subplots are in <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula> grid, with columns representing probabilistic models and rows representing flood events. The <inline-formula><mml:math id="M70" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis is for time and the discharge is plot on the <inline-formula><mml:math id="M71" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis. The blue solid line shows the observed hydrograph and the orange represents the deterministic LSTM<sub>det</sub> prediction, both at daily resolution. The predictive distribution is bounded by the 1st and the 99th quantile and darker shades of green represent inner quantiles. For clarity, only the date of the observed flood peak is highlighted, and the hydrographs extend over a 10 d window around the oberved flood peak.</p></caption>
          <graphic xlink:href="https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026-f02.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Probabilistic predictions for representative floods in Switzerland</title>
      <p id="d2e2440">Figure <xref ref-type="fig" rid="F2"/> shows three representative flood events together with their corresponding predictive distributions and the LSTM<sub>det</sub> predictions. The selected events span different seasons and were recorded at diverse locations across Switzerland.</p>
      <p id="d2e2448">Panels (a.1) to (a.3) in Fig. <xref ref-type="fig" rid="F2"/> show a summer flood recorded at the Seedorf gauge on the river Reuss. The associated catchment is a high altitude alpine catchment located close to Luzern. The average catchment elevation is about 2000 m above sea level and its area is about 800 km<sup>2</sup>, out of which 6.4 % is glaciated. The event shown here recorded a total rainfall of about 132 mm during the period from 9 to 12 June 2019. On the 10 June, a total rainfall of 102 mm was recorded, which represents a precipitation event with an annual return interval of 30 years <xref ref-type="bibr" rid="bib1.bibx38" id="paren.64"/>. The resulting flood had a peak specific discharge of 32 <inline-formula><mml:math id="M73" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> recorded on 11 June. The LSTM<sub>det</sub> prediction follows the rising limb of the observed hydrograph quite well, until it underestimates this peak flow by 6 mm, and this bias is carried forward throughout the recession. All three probabilistic LSTMs however assign a finite probability of occurence to the observed flood peak, and all within the 99th percentile. The general trend observed in Fig. <xref ref-type="fig" rid="F1"/> and Table <xref ref-type="table" rid="T3"/> is evident at an event level: the CMAL predictions are wider than the DRN and the BQN predictions. Moreover, the wider CMAL predictions also capture the smaller flood peak on 15 June within the 95th percentile as against the DRN and BQN predictions which predict the peak close to the 99th percentile. The dispersion from the three models also affects the representation of the rising limb for the event on 11 June. While both the DRN and the CMAL place the observed discharge on this day between the 75th and the 90th percentiles, the BQN places it beyond the 90th percentile. Such comparison is especially valuable from a decision making perspective as days leading to a flood matter equally, if not more.</p>

<table-wrap id="T5" specific-use="star"><label>Table 5</label><caption><p id="d2e2494">Comparison of correct (hits), misses and false warnings for floods and extreme floods given by <italic>FRiCA</italic>. The warnings are compared to those in the case of discrete LSTM<sub>det</sub> predictions and an arbitrary choice of the 99th quantile of the CMAL predictive distributions.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="7">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Event Category</oasis:entry>
         <oasis:entry colname="col2">Hits</oasis:entry>
         <oasis:entry colname="col3">Misses</oasis:entry>
         <oasis:entry colname="col4">False Alarms</oasis:entry>
         <oasis:entry colname="col5">True Negatives</oasis:entry>
         <oasis:entry colname="col6">Total</oasis:entry>
         <oasis:entry colname="col7">Method</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Floods</oasis:entry>
         <oasis:entry colname="col2">414</oasis:entry>
         <oasis:entry colname="col3">123</oasis:entry>
         <oasis:entry colname="col4">616</oasis:entry>
         <oasis:entry colname="col5">415</oasis:entry>
         <oasis:entry colname="col6">1568</oasis:entry>
         <oasis:entry colname="col7">FRiCA</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">301</oasis:entry>
         <oasis:entry colname="col3">332</oasis:entry>
         <oasis:entry colname="col4">171</oasis:entry>
         <oasis:entry colname="col5">764</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7">LSTM<sub>det</sub></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">124</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4">1444</oasis:entry>
         <oasis:entry colname="col5">0</oasis:entry>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7">99th Percentile</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Extreme Floods</oasis:entry>
         <oasis:entry colname="col2">27</oasis:entry>
         <oasis:entry colname="col3">91</oasis:entry>
         <oasis:entry colname="col4">10</oasis:entry>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6">128</oasis:entry>
         <oasis:entry colname="col7">FRiCA</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">18</oasis:entry>
         <oasis:entry colname="col3">102</oasis:entry>
         <oasis:entry colname="col4">8</oasis:entry>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7">LSTM<sub>det</sub></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">28</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4">90</oasis:entry>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7">99th Percentile</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e2705">The second flood shown in panels (b.1) to (b.3) in Fig. <xref ref-type="fig" rid="F2"/> is a winter flood recorded at the Dardagny, Les Granges gauge on the river Allondon. The catchment is a small, low altitude catchment with an area of 119 km<sup>2</sup> and mean elevation of about 760 m above sea level. It is located in south-west Switzerland near Genève. From 10 to 14 January 2004, a total of 141 mm of rainfall was recorded at the gauge. Rainfall accumulation on  12 January (49 mm) and 13 January (56 mm) was close to the 2-year return precipitation in the area <xref ref-type="bibr" rid="bib1.bibx38" id="paren.65"/>. The peak discharge for the resulting flood was about 51 <inline-formula><mml:math id="M76" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. This is almost comparable to a flood estimated to occur once in 10 years (HQ10) at this gauge. The LSTM<sub>det</sub> prediction for the peak discharge is 37 <inline-formula><mml:math id="M77" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. Once again, probabilistic predictions successfully capture the flood peak within the 99th percentile. While the CMAL and the DRN place the observed peak between the 95th and the 99th percentiles, the BQN predictions are more confident and place the event close to the 90th percentile. In the days leading up to the flood peak on 13 January, it is worthwhile to note that the DRN predictions extend into the negative space. This is because, the distributions are not truncated at zero and since they are symmetric, in order to capture the flood peak, the lower quantiles extend beyond zero. This is not observed for the CMAL or the BQN as both have in-built flexibility which provides for asymmetry.</p>
      <p id="d2e2760">The third flood shown in Fig. <xref ref-type="fig" rid="F2"/>c.1 to c.3 was recorded at the Brig gauge on the Saltina river. The associated catchment is a small alpine catchment and is located in southern Switzerland. During the period from 12 to 15 October, a total rainfall of 435 mm was recorded at the Brig gauge. The rainfall accumulation on 13 and 14 October was more than that estimated to occur once in 100 years <xref ref-type="bibr" rid="bib1.bibx38" id="paren.66"/>. It rained about 160 mm on the 2 d, which indicates extreme precipitation over two consecutive days. The resulting flood was an HQ30 flood, meaning that the flood peak value is estimated to occur once in 30 years and is about 87 <inline-formula><mml:math id="M78" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. The LSTM<sub>det</sub> peak prediction of 50 mm largely underestimates the observed flood. The BQN predictions show a consistent underestimation for 14 and 15 October, leading to an underestimation of total flood volume, and the 99th quantile misses the flood peak by 10 mm. The CMAL and the DRN capture the flood peak on 15 October close to ther 96th and 99th percentile respectively. The 99th percentile from the CMAL prediction for this day is 117 mm, well above the observed flood peak and indicates a long tail. Similar observations can be made for 14 June, where the CMAL predictions have a long tail extending up to 115 mm, but the DRN predictions are shorter with the observed discharge being placed at the 98th percentile.</p>

      <fig id="F3"><label>Figure 3</label><caption><p id="d2e2790">Selected observed discharge values from the top 0.05 % tail (635 discharge values) of the testing distribution, sorted in increasing order (blue dots); for legibility, every fourth value is shown. The corresponding LSTM<sub>det</sub> predictions are shown by orange dots. The IQR for the CMAL predictive distribution is shown as a dark green line, and the range between the 1st and 99th quantiles is shown as a light green line.</p></caption>
          <graphic xlink:href="https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026-f03.png"/>

        </fig>

      <p id="d2e2802">In summary, Fig. <xref ref-type="fig" rid="F2"/> highlights the performance gain from probabilistic predictions for high-stakes rare events. This is not limited to the representative flood events from Fig. <xref ref-type="fig" rid="F2"/>. One of objectives of this study is to establish the advantage of probabilistic predictions for tail regions of the discharge distribution. To explicitly examine model performance in the extremes, Fig. <xref ref-type="fig" rid="F3"/> shows selected observed discharge values from the top 0.05 % of the sorted test-period discharge (635 values in total). The maximum observed discharge during the testing period is about 180 <inline-formula><mml:math id="M79" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (the largest flood in CAMELS-CH). The LSTM<sub>det</sub> simulations underestimate about 97 % of these values, with a mean underestimation of about 28 <inline-formula><mml:math id="M80" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. The figure also shows the CMAL predictive distributions for every observation, and about 83 % of the observed values are within the 99th quantile of their respctive predictive distributions. The maximum 99th percentile from the CMAL predictions is 336 <inline-formula><mml:math id="M81" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>. The DRN and the BQN distributions, owing to their under-dispersed distributions, capture about 60 % and 57 % of the values from Fig. <xref ref-type="fig" rid="F3"/> within their 99th percentile. The maximum 99th percentile from the these models is 125 and 140 <inline-formula><mml:math id="M82" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> respectively. We discuss these results highlighting the trade-off between probabilistic calibration and accuracy in Sect. <xref ref-type="sec" rid="Ch1.S4"/>. However, they underscore the potential advantage of probabilistic LSTMs for flood modelling as they can represent a broader range of possible outcomes and assign non-zero probability to extreme floods that deterministic predictions tend to underestimate.</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>FRiCA based flood warnings</title>
      <p id="d2e2895">Table <xref ref-type="table" rid="T5"/> compares hit, miss, and false alarm counts for FRiCA against the LSTM<sub>det</sub> and the 99th percentile rule across flood and extreme flood episodes. For floods, FRiCA achieves the highest hit count (414), outperforming the LSTM<sub>det</sub> (301) and the 99th percentile rule (124). This comes at the cost of a higher false alarm count (616) compared to the LSTM<sub>det</sub> (171), reflecting a more aggressive warning posture. The 99th percentile rule, by contrast, issues no missed events but generates an extremely high number of false alarms (1444), rendering it operationally impractical.</p>
      <p id="d2e2909">For extreme floods (HQ10 and above), the picture is more constrained by the rarity of events (128 total). FRiCA again achieves a higher hit count (27) than the LSTM<sub>det</sub> (18), while the 99th percentile rule captures the most events (28) but again at the expense of the highest number (90) of false alarms. FRiCA maintains a more favourable false alarm count (10) in this category, comparable to the LSTM<sub>det</sub> (8). Overall, the reinforcement approach (FRiCA) demonstrates a learned trade-off between sensitivity and specificity that neither of the two  static rules achieves: it detects more flood events than the LSTM<sub>det</sub> while avoiding the excessive false alarm rate of the 99th percentile rule.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Discussion</title>
      <p id="d2e2930">We frame the discussion around the three research questions stated in the introduction to this paper (see Sect. <xref ref-type="sec" rid="Ch1.S1"/>).</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Which of the investigated probabilistic LSTMs provides the most reliable rainfall–runoff simulation?</title>
      <p id="d2e2942">None of the investigated probabilistic models achieves perfect calibration for the Swiss catchments. That is, each one exhibits distinct patterns of miscalibration. Nevertheless, perfect calibration is not a prerequisite for addressing the main objective of this work (i.e. to establish the need for probabilistic LSTMs for improved flood forecasting). If a preferred direction of miscalibration exists, it is over-dispersion, as this implies a conservative, better-safe-than-sorry stance for warning systems. Over-dispersed distributions, such as the CMAL distributions, mean that the system is prepared, or over-prepared, more often than strictly necessary. Thus, despite having room for improvement in terms of calibration, the current model performance is sufficient to address our second and main research question. In terms of single-value metrics, all probabilistic models approach the deterministic LSTM NSE, with the CMAL yielding the best NSE among the three probabilistic models, corroborating the findings of <xref ref-type="bibr" rid="bib1.bibx31" id="text.67"/>, who reported only slight differences between the CMAL and the deterministic LSTM for CAMELS-US. We acknowledge that the NSE is not a consistent scoring function <xref ref-type="bibr" rid="bib1.bibx55" id="paren.68"/> and should not be used to evaluate the performance of probabilistic models, whose primary objective is to represent predictive uncertainty. Nevertheless, we include NSE because it is well established within the hydrological community and allows readers to benchmark the probabilistic models against the large body of existing deterministic rainfall–runoff studies.</p>
      <p id="d2e2951">The DRN exhibits the best calibration among the three probabilistic models despite its structural simplicity, with only slight underdispersion. Our findings are in line with <xref ref-type="bibr" rid="bib1.bibx47" id="text.69"/>, who systematically compared probabilistic machine learning approaches for wind gust forecasts in Germany and showed that the DRN achieved the best performance at 55 % of stations, followed by the BQN at 37 %. This advantage may be attributed to the use of a single logistic distribution, the CRPS loss function, or the interaction of both. Comparing a single DRN trained with CRPS against one trained with NLL reveals similar patterns of miscalibration in both cases, that the uppermost PIT bin is overpopulated and slight miscalibration persists in the lower bins. Adopting a truncated logistic distribution successfully resolves the miscalibration in the lower PIT bins, though it has limited effect on the overpopulation of the uppermost bin, suggesting that the upper-tail miscalibration reflects a structural limitation of the logistic family rather than a consequence of the loss function. During training, we observed that the CRPS loss can at times prioritise sharpness at the expense of calibration, a tendency documented empirically and theoretically by <xref ref-type="bibr" rid="bib1.bibx12" id="text.70"/>. However, in a correctly specified model, CRPS-based parameter estimation is consistent and the resulting distribution will be calibrated. The residual underdispersion in the DRN may therefore reflect model misspecification inherent to the logistic distribution assumption rather than a fundamental limitation of the CRPS loss itself. Future work could explore alternative parametric families, such as the asymmetric Laplace or log-normal distributions, to better accommodate the heavy-tailed, positively skewed streamflow distributions characteristic of the Swiss catchments.</p>
      <p id="d2e2960">The BQN offers considerable flexibility by directly estimating the quantile function without requiring an a priori assumption about the shape of the conditional target distribution <xref ref-type="bibr" rid="bib1.bibx11" id="paren.71"/>. The support of the BQN distribution is determined entirely by the boundary coefficients, spanning <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">12</mml:mn></mml:msub><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, meaning the range and internal shape of the predictive distribution are both encoded in the learned Bernstein coefficients. Monotonicity of the quantile function is enforced via a softplus activation function, such that <inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>≤</mml:mo><mml:mi mathvariant="normal">⋯</mml:mi><mml:mo>≤</mml:mo><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">12</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. Consequently, the spread of the predictive distribution is governed entirely by the magnitude and spacing of these increments. The observed underdispersion in the BQN forecasts can be attributed to a failure to learn adequate coefficient spacing across the highly skewed streamflow regime. When the model cannot distribute probability mass appropriately across the full dynamic range of the training data, it is forced into a compensatory strategy, where the lower-order coefficients are inflated to ensure the support <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">α</mml:mi><mml:mn mathvariant="normal">12</mml:mn></mml:msub><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula> spans observed high flows, rather than being anchored near the low-flow baseline. This inflation compresses the effective spacing between lower coefficients, collapsing resolution precisely in the low-flow regime and resulting in a considerable fraction of low flows being assigned probability mass beyond the first quantile. Whilst the BQN's non-parametric flexibility is theoretically appealing, for datasets with high variability, special attention should be given to the raw coefficients to fully exploit this flexibility.</p>
      <p id="d2e3032">The study uses three different loss functions across the three models. Although all are proper scoring rules, the NLL and the CRPS can penalise misrepresentation of variance differently depending on the estimated distribution, and the three losses penalise tail miscalibration differently. Our choice of losses for the three models limits our ability to separate the respective impacts of loss functions and the assumed distributions. Although we assess the global model calibration, a systematic comparison of probabilistic models based on distributions and loss functions is not central to this study. As with the calibration considerations above, the choice of loss or the evaluation metric is not a limiting factor in addressing our main research objective. Modellers can always choose to train a single network with multiple heads and losses so that its internal representation considers multiple characterisations of aleatoric uncertainty simultaneously <xref ref-type="bibr" rid="bib1.bibx12" id="paren.72"/>. We leave it to future work to examine whether such an approach would yield synergistic effects or whether it must be treated as a multi-objective optimisation problem.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Why are probabilistic LSTMs more suitable to represent hydrological extremes and the tail regions of the marginal discharge distribution?</title>
      <p id="d2e3046">Catchments are, in principle, deterministic dynamical systems in which rainfall–runoff generation is a deterministic process. If all relevant system states were fully observed, the governing dynamics perfectly known, and both inputs and targets free of measurement error, a probabilistic formulation would be unnecessary. In practice, however, none of these conditions are met. Hydrological modelling relies on spatially aggregated forcing data and discharge observations that are affected by measurement uncertainty, representativeness errors, and unresolved sub-grid-scale processes. As a result, the conditional relationship between meteorological forcing and runoff is inherently uncertain and often highly skewed. This can be illustrated by a simple example from CAMELS-CH: during the training period, precipitation events of approximately 100 mm d<sup>−1</sup> occurred 27 times, yet floods exceeding 40 mm d<sup>−1</sup> were observed in only 6 of these cases. Conversely, floods can also occur without extreme precipitation, for example through rain-on-snow events or highly saturated antecedent conditions. Although this example deliberately neglects many hydrologically relevant variables, it highlights a fundamental limitation of the training data: the predictors available to the model do not uniquely determine the observed runoff response. As a result, the LSTM is effectively trained on a conditional distribution of plausible discharges rather than a single deterministic outcome.</p>
      <p id="d2e3073">Deterministic LSTM simulations tend to underestimate these tail events because the model learns to represent the conditional mean of the target distribution. By collapsing the conditional distribution to a single predicted value, the deterministic LSTM cannot adequately represent the rare but physically plausible runoff responses that constitute the upper tail and that might have been in training. Adaptations to deterministic loss functions offer a partial remedy: strategies such as weighting schemes within least-squares objectives or transformation of the target variable have been proposed to improve representation of extreme flows <xref ref-type="bibr" rid="bib1.bibx52" id="paren.73"/>. However, <xref ref-type="bibr" rid="bib1.bibx52" id="text.74"/> note that transformations targeting extreme flows well tend to be less robust across other flow regimes. Though we did not replicate streamflow transformation experiments for the deterministic LSTM, we observed analogous behaviour for an adapted MSE loss <xref ref-type="bibr" rid="bib1.bibx7" id="paren.75"/>: performance on extreme flows improved at the cost of global skill. Similarly, optimising for a higher quantile through quantile or expectile losses can improve metrics focused on high flows, such as FHV, but typically increases false alarms and leads to systematic overestimation of median and low flows. In essence, such strategies require a trade-off between sensitivity to extremes and overall predictive reliability, often necessitating multiple models calibrated for different objectives. Probabilistic LSTMs that estimate the entire conditional discharge distribution offer a more principled alternative, providing information across all flow regimes within a single model.</p>
      <p id="d2e3085">The three flood events shown in Fig. <xref ref-type="fig" rid="F2"/> illustrate how these conceptual differences manifest in practice. For the summer flood at Seedorf (panels a.1–a.3), the deterministic LSTM reproduces the overall hydrograph shape but underestimates the peak discharge, whereas the probabilistic LSTMs capture the event within their upper predictive quantiles. The highly extreme Alpine flood at Brig (panels c.1–c.3) further accentuates this contrast, with the deterministic LSTM severely underestimating the peak while the probabilistic LSTMs place the observation within their upper tail. Across all cases, probabilistic models do not eliminate errors entirely – particularly for the most extreme peaks or total volumes – but they consistently broaden the range of plausible responses in a physically meaningful way. These results underscore that the principal benefit of probabilistic formulations lies not in improving median predictions, but in providing a structured and interpretable representation of uncertainty under extreme forcing conditions. Importantly, this additional information comes at little practical cost, as the probabilistic LSTMs require only marginally more parameters and computational effort than their deterministic counterpart while providing substantially richer information for flood-risk assessment and decision-making.</p>
      <p id="d2e3090">Importantly, this behaviour is not limited to a few selected events. As shown in Fig. <xref ref-type="fig" rid="F3"/>, approximately 83 % of the highest discharge values (top 0.05 % of the sorted record) are captured within the 99th percentile of the CMAL distributions. Expecting full coverage of this region, or expecting these extreme values to fall within narrow confidence intervals, is at odds with the principles of probabilistic calibration. Under probabilistic calibration, predicted and observed conditional probabilities are equal. If the true conditional probability of some event lies beyond the 99th percentile, expecting it to be predicted within lower quantiles is inconsistent with this definition. In other words, an expectation that all data lies within the 99th quantile, implies particular bins from the PIT histogram will be empty, causing overpopulation in the lower bins, and thus leading to miscalibration. The difference in upper-tail coverage between the CMAL and the DRN is a direct consequence of their respective calibration characteristics. The over-dispersion of the CMAL pushes its 99th percentile beyond the most extreme observed values. Although this leads to global miscalibration, it is superficially appealing from a coverage perspective, and perhaps desirable from an operational standpoint.</p>
      <p id="d2e3096">The LSTM saturation effect documented by <xref ref-type="bibr" rid="bib1.bibx7" id="text.76"/> for deterministic models may also occur in our probabilistic setting, though its severity might differ across models. In the deterministic case, saturation of the LSTM's internal state at high discharge values causes underestimation of peak flows, as the network's gating mechanism loses sensitivity in the high-flow regime. In the probabilistic case, an analogous saturation effect would affect the distribution parameters of the CMAL and the DRN, and the raw Bernstein coefficients of the BQN. Ultimately manifesting as a failure to assign sufficient probability mass to extreme discharge values. For the BQN and DRN, whose predictive distributions are already underdispersed, such saturation would compound the existing upper-tail miscalibration. For the CMAL, however, the effect might not be so severe. The over-dispersed predictive distributions already assign considerable probability mass to extreme discharge values, so any reduction in upper-tail sensitivity due to LSTM saturation is absorbed within the existing excess spread. Saturation is therefore unlikely to materially affect flood warning performance for the CMAL, whereas for the BQN and DRN it represents an additional source of upper-tail underestimation that warrants dedicated investigation in future work.</p>
      <p id="d2e3102">Taken together, our findings and the findings of our previous study <xref ref-type="bibr" rid="bib1.bibx7" id="paren.77"/> suggest that the principal limitation in extreme flood prediction may not lie in the specific neural-network architecture or loss function, but rather in the information content of the data available for training. When the predictors do not uniquely determine the runoff response in a regional model training, any deterministic model is forced to collapse a distribution of plausible outcomes into a single prediction. Architectural modifications, alternative loss functions, and targeted training strategies may alleviate this issue to some extent, but they cannot fundamentally resolve the ambiguity inherent in the input–output relationship. In contrast, probabilistic models explicitly acknowledge this uncertainty by estimating the full conditional discharge distribution. Consequently, we argue that future improvements in flood prediction will likely depend on two complementary developments: more informative data that better constrain the hydrological state of the catchment, and probabilistic modelling frameworks capable of translating the remaining uncertainty into actionable predictions. Together, these advances provide a pathway not only towards improved representation of extreme floods, but also towards data-driven warning systems in which warning thresholds and decision rules can be learned directly from calibrated predictive distributions rather than being imposed a priori.</p>
</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Can reinforcement learning aid operational flood-warning communication by learning a risk-aware translation of predictive distributions into actionable warnings based on flood-intensity categories?</title>
      <p id="d2e3116">The FRiCA results are promising and demonstrate its potential as a novel decision layer within early flood warning systems. Across all explored reward configurations, FRiCA consistently learns policies that reflect the structure of the reward signal. We demonstrate that FRiCA acquires a risk-aware, reward-based rule for issuing warnings rather than a fixed heuristic. This stands in meaningful contrast to current operational practice, where the translation from a probabilistic forecast to a categorical warning level remains largely dependent on expert judgment. In Switzerland, for example, flood hazard is communicated via a five-level danger scale <xref ref-type="bibr" rid="bib1.bibx16" id="paren.78"/>, but the assignment of a level still relies on a forecaster's interpretation of multiple hydrological and meteorological models rather than on an optimized or learned rule. Certain formalisations exist – such as minimising a cost-loss ratio <xref ref-type="bibr" rid="bib1.bibx44" id="paren.79"/> or counting ensemble-member exceedances against a threshold <xref ref-type="bibr" rid="bib1.bibx15" id="paren.80"/> – but these are static, analytically-driven, computed a priori, and not updated from observed outcomes. FRiCA addresses this gap by framing warning communication as a decision problem with outcome-based rewards, the agent can in principle be updated in real time as new flood events are observed and their consequences become known. This closes a feedback loop that static rules cannot close. The adaptability of the learned policy to user-defined risk preferences is further supported by the asymmetric reward experiments. To our knowledge, reinforcement learning applied to the communicative step of translating a predictive distribution into a categorical warning remains largely unexplored in hydrology.</p>
      <p id="d2e3128">That said, these results should be interpreted as an exploratory proof of concept rather than as a finished operational warning framework. The purpose of FRiCA in this study is to demonstrate that reinforcement learning can, in principle, be used to learn a reward-sensitive decision layer for translating probabilistic flood forecasts into categorical warning decisions. The key step of transitioning from probabilistic model output to an actionable warning, which is often left implicit in forecasting, is addressed by FRiCA. The results therefore highlight potential, but they also make clear that more methodological developments are required before such an approach could be considered operationally robust. For instance, considerable variance across random seeds was observed for all reward configurations, indicating that the learned policies are sensitive to initialisation and that the training signal, particularly for the rarest flood severity classes, is insufficient for consistent convergence. No systematic hyperparameter optimisation was performed, and the policy network configuration and reward weights were chosen pragmatically to demonstrate feasibility rather than to identify an optimal design (see Appendix <xref ref-type="sec" rid="App1.Ch1.S5"/>). Critically, the results also highlight the risk of reward hacking, whereby an agent achieves high nominal reward through behaviour that satisfies the literal specification of the reward function while failing to capture the designer's actual intent <xref ref-type="bibr" rid="bib1.bibx3 bib1.bibx51" id="paren.81"/>. In the present case, without explicit accounting for class imbalance or asymmetric penalties, the agent collapses to the dominant class within a few training epochs, achieving a high nominal reward by ignoring rare but consequential events entirely. This underscores that careful reward design is essential, as the quality of the learned policy is fundamentally bounded by how faithfully the reward reflects the true cost structure of flood warning decisions. One avenue for addressing this limitation in future work is inverse reinforcement learning, where instead of hand-specifying a reward function, the reward is inferred from demonstrated behaviour, for instance, historical decisions made by operational forecasters <xref ref-type="bibr" rid="bib1.bibx40 bib1.bibx57" id="paren.82"/>. Such an approach could help recover a reward structure that more faithfully reflects the implicit cost trade-offs forecasters already make in practice, rather than relying on manually designed reward weights. The present study therefore provides a basis for future work to move beyond feasibility and toward operational robustness, in particular through systematic hyperparameter optimisation, reward functions that more explicitly encode the asymmetry between missed events and false alarms (potentially informed by inverse reinforcement learning from forecaster behaviour), and class-balanced episode sampling to strengthen the training signal for rare but consequential severity classes.</p>
</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <label>5</label><title>Conclusion</title>
      <p id="d2e3149">This study evaluated the performance of three probabilistic LSTMs for rainfall–runoff simulation across Switzerland, with a particular focus on their ability to represent uncertainty for discharge extremes. Specifically, we investigated the extent to which probabilistic predictions provide added value over deterministic simulations, and why such advantages are most pronounced in the tails of the marginal distribution. In addition, we explored a reinforcement learning-based communication method that translates probabilistic runoff forecasts into actionable flood warnings for early warning systems. Based on our findings, we draw the following conclusions: <list list-type="bullet"><list-item>
      <p id="d2e3154">The core limitation in extreme flood prediction may lie not in network architecture or loss function, but in the information content of the training data itself. When predictors fail to uniquely determine the runoff response, deterministic models are forced to collapse multiple plausible outcomes into a single point estimate. Probabilistic models, by contrast, estimate the full conditional discharge distribution, offering a more appropriate representation of uncertainty for extreme events and supporting risk-informed decision-making.</p></list-item><list-item>
      <p id="d2e3158">The degree of distributional flexibility assumed by each of the investigated models translates into distinct miscalibration signatures. DRN, the most constrained of the three, mostly exhibits overestimation of the highest quantiles, implying underconfidence for tails of the marginal discharge distribution. CMAL, by contrast, is consistently overdispersed, while BQN tends to overestimate the lowest quantiles. Thus, greater distributional flexibility may not guarantee better calibration.</p></list-item><list-item>
      <p id="d2e3162">Even under perfect calibration, not all specific discharge values fall within the 99th or lower predicted quantiles. This reflects the concepts of calibration and accuracy being at odds with each other. A well-calibrated model is not necessarily the most informative one for decision-making. For extreme events in particular, a degree of overdispersion may be preferable to nominal calibration, since wider predictive bounds provide greater confidence that the true value is captured, even at the cost of sharper, calibrated intervals.</p></list-item><list-item>
      <p id="d2e3166">The reinforcement learning-based agent demonstrates potential as decision-support for early warning systems. By condensing full predictive distributions into actionable warning levels, the agent offers a principled alternative to static rules. Nevertheless, substantial scope for improvement remains, including systematic hyperparameter optimization of the policy network, and better reward design.</p></list-item></list></p>
</sec>

      
      </body>
    <back><app-group>

<app id="App1.Ch1.S1">
  <label>Appendix A</label><title>Hyperparameter Search</title>
      <p id="d2e3180">In the following, we explain the basis for the hyperparameters (see Table <xref ref-type="table" rid="T2"/>) used for the models in this study. No hyperparameter search was conducted for LSTM<sub>det</sub>; its hyperparameters were adopted directly from <xref ref-type="bibr" rid="bib1.bibx7" id="text.83"/>. Similarly, the CMAL hyperparameters were adopted from <xref ref-type="bibr" rid="bib1.bibx31" id="text.84"/>, including the dropout rate of 0.5.</p>
      <p id="d2e3194">For the DRN, we explored a limited set of hyperparameters, testing two hidden sizes (64, 256) and two learning rates (0.00005, 0.0001). Based on validation-period CRPS and calibration (assessed via PIT histograms) after 10 epochs, we selected a hidden size of 256 and a learning rate of 0.0001.</p>
      <p id="d2e3198">For the BQN, the degree of the Bernstein polynomial is a critical hyperparameter: higher-degree polynomials offer greater flexibility but also increase predictive variance. Given the computational cost of a full grid search, we fixed the hidden size at 256 and tuned the remaining hyperparameters sequentially. We first tested four polynomial degrees (8, 12, 16, and 20) and found that degree 12 performed best based on validation-period NLL and PIT histograms. We then tested learning rates of 0.01, 0.005, 0.0001, and 0.00005, and selected 0.00005 using the same criteria. Initially, we fixed the dropout rate at 0.5, as with the CMAL and DRN; however, we found that the BQN's learned behaviour was more sensitive to network capacity and dropout than the other models. We therefore tested three dropout rates (0.3, 0.4, 0.5) with the previously selected hyperparameters held fixed, and found 0.3 to perform best.</p>
      <p id="d2e3201">As the primary objective of this study is not to identify the optimal probabilistic LSTM configuration for CAMELS-CH, our hyperparameter tuning efforts were intentionally limited. We leave a more exhaustive search across the three model architectures to future work.</p>
</app>

<app id="App1.Ch1.S2">
  <label>Appendix B</label><title>The choice of CMAL parameterization</title>
      <p id="d2e3212">We initially implemented the CMAL with the component asymmetric Laplace distributions parameterized by <inline-formula><mml:math id="M88" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula>, following <xref ref-type="bibr" rid="bib1.bibx31" id="text.85"/> and <xref ref-type="bibr" rid="bib1.bibx10" id="text.86"/>. We refer to this variant as CMAL<sub><italic>τ</italic></sub> throughout this appendix. Here, <inline-formula><mml:math id="M90" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula> is the asymmetry parameter, taking values in <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. From a technical standpoint, we enforce the bounds with a sigmoid activation function. In contrast, the current implementation – a <inline-formula><mml:math id="M92" display="inline"><mml:mi mathvariant="italic">κ</mml:mi></mml:math></inline-formula>-parameterized CMAL (CMAL<sub><italic>κ</italic></sub>) – uses the skewness parameter <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>∈</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">∞</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, which can, inter alia, be realized via a softplus activation. The two parameterizations describe the same family of component densities and are related by <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:mi mathvariant="italic">τ</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mi mathvariant="italic">κ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:msup><mml:mi mathvariant="italic">κ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. Hence, they are mathematically equivalent. However, the choice can influence the optimization dynamics.</p>
      <p id="d2e3327">For mixture component <inline-formula><mml:math id="M96" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> with a latent state vector <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">z</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and shape parameter <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the choice of activation affects the gradient. Under the sigmoid, the gradient  decays symmetrically to zero as <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> approaches <inline-formula><mml:math id="M101" display="inline"><mml:mn mathvariant="normal">0</mml:mn></mml:math></inline-formula> or <inline-formula><mml:math id="M102" display="inline"><mml:mn mathvariant="normal">1</mml:mn></mml:math></inline-formula>. If we want to model a conditional distribution with a component that is highly skewed to one side <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> will inevitably approach one of these boundaries. And, when a component gets closer to the skew it needs, gradient signal weakens and fails to push it all the way through. This can prevent any one component of the mixture from specialising for large skewness. Under the softplus, the gradient <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:mo>∂</mml:mo><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>/</mml:mo><mml:mo>∂</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> saturates asymmetrically only as <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>→</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> – when <inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> grows, the activation gradient approaches 1 rather than 0.</p>
      <p id="d2e3455">The activation asymmetry is especially pronounced for extreme high flows (which are by their very nature rarely present in the data). With CMAL<sub><italic>τ</italic></sub>, this rare signal is further affected by the weak activation gradient at the very <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">τ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> values needed to act on it. With CMAL<sub><italic>κ</italic></sub>, the same rare signal is not weakened: once a component drifts toward larger <inline-formula><mml:math id="M110" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, its responsibility for extreme observations rises, raising its contribution to the mixture and further increasing the activation gradient. CMAL<sub><italic>κ</italic></sub> does therefore have theoretical properties that can make it easier to optimize for high flows.</p>
</app>

<app id="App1.Ch1.S3">
  <label>Appendix C</label><title>Mathematical Basis for the CMAL and the DRN</title>
      <p id="d2e3515">In this section, we give the mathematical basis for the CMAL and the DRN. We begin with the probability density function for a countable mixture of asymmetric Laplace distributions and the NLL. We then give the closed-form expression for the CRPS for a single logistic distribution. The scoringrules library <xref ref-type="bibr" rid="bib1.bibx56" id="paren.87"/> provides an implementation of the CRPS that is compatible with PyTorch.</p>
      <p id="d2e3521">The probability density function for a single asymmetric Laplace distribution, parameterized by location <inline-formula><mml:math id="M112" display="inline"><mml:mi mathvariant="italic">μ</mml:mi></mml:math></inline-formula>, scale <inline-formula><mml:math id="M113" display="inline"><mml:mi>b</mml:mi></mml:math></inline-formula>, and skewness parameter <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>∈</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">∞</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, is given by

          <disp-formula id="App1.Ch1.S3.E5" content-type="numbered"><label>C1</label><mml:math id="M115" display="block"><mml:mrow><mml:msub><mml:mi mathvariant="script">A</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="italic">κ</mml:mi><mml:mrow><mml:mi>b</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>(</mml:mo><mml:msup><mml:mi mathvariant="italic">κ</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>⋅</mml:mo><mml:mfenced open="{" close=""><mml:mtable rowspacing="5.690551pt" columnspacing="1em" class="cases" columnalign="left left" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:mi>exp⁡</mml:mi><mml:mspace linebreak="nobreak" width="-0.125em"/><mml:mfenced close="]" open="["><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="italic">μ</mml:mi></mml:mrow><mml:mrow><mml:mi>b</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="italic">κ</mml:mi></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if </mml:mtext><mml:mi>y</mml:mi><mml:mo>&lt;</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mi>exp⁡</mml:mi><mml:mspace width="-0.125em" linebreak="nobreak"/><mml:mfenced open="[" close="]"><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">κ</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="italic">μ</mml:mi></mml:mrow><mml:mi>b</mml:mi></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if </mml:mtext><mml:mi>y</mml:mi><mml:mo>≥</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:math></disp-formula>

        where <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> corresponds to left-skewed distributions, <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> corresponds to right-skewed distributions, and <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> recovers the symmetric Laplace distribution.</p>
      <p id="d2e3731">For the CMAL, the weighted sum of three such distributions is given by

          <disp-formula id="App1.Ch1.S3.E6" content-type="numbered"><label>C2</label><mml:math id="M119" display="block"><mml:mrow><mml:mi>p</mml:mi><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>|</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mn mathvariant="normal">3</mml:mn></mml:munderover><mml:msub><mml:mi mathvariant="italic">π</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="script">A</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mspace linebreak="nobreak" width="-0.125em"/><mml:mfenced open="(" close=")"><mml:mrow><mml:mi>y</mml:mi><mml:mo>∣</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

        where the mixture weights (<inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">π</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), location parameters (<inline-formula><mml:math id="M121" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), scale parameters (<inline-formula><mml:math id="M122" display="inline"><mml:mrow><mml:msub><mml:mi>b</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), and skewness parameters (<inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) are outputs from the LSTM, and are thus a function of the inputs <inline-formula><mml:math id="M124" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula> at every time step.</p>
      <p id="d2e3887">The CMAL is trained by maximizing the log-likelihood of the training data (<inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) under the estimated mixture density conditional on the input; for three components, the negative log-likelihood is given by

          <disp-formula id="App1.Ch1.S3.E7" content-type="numbered"><label>C3</label><mml:math id="M126" display="block"><mml:mrow><mml:mtable rowspacing="0.2ex" class="split" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:msub><mml:mtext>NLL</mml:mtext><mml:mrow><mml:msub><mml:mi mathvariant="script">A</mml:mi><mml:mi mathvariant="normal">LD</mml:mi></mml:msub></mml:mrow></mml:msub><mml:mo mathsize="1.1em">(</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>b</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi mathvariant="italic">κ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo mathsize="1.1em">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi>log⁡</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mn mathvariant="normal">3</mml:mn></mml:munderover><mml:msub><mml:mi mathvariant="italic">π</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>⋅</mml:mo><mml:msub><mml:mi mathvariant="script">A</mml:mi><mml:mi mathvariant="normal">LD</mml:mi></mml:msub><mml:mspace linebreak="nobreak" width="-0.125em"/><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mi mathvariant="italic">μ</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>b</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">κ</mml:mi><mml:mi>k</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula>

        The DRN is trained by optimizing the CRPS of the training data (<inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) for an estimated logistic distribution <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mi mathvariant="script">L</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> conditional on the input <inline-formula><mml:math id="M129" display="inline"><mml:mi mathvariant="bold">x</mml:mi></mml:math></inline-formula>. For a single logistic distribution, a closed-form equation for the CRPS exists:

          <disp-formula id="App1.Ch1.S3.E8" content-type="numbered"><label>C4</label><mml:math id="M130" display="block"><mml:mrow><mml:mtable class="split" rowspacing="0.2ex" displaystyle="true" columnalign="right left"><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mtext>CRPS</mml:mtext><mml:mo>(</mml:mo><mml:mtext>Logistic</mml:mtext><mml:mo>(</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd/><mml:mtd><mml:mrow><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mo>=</mml:mo><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo><mml:mfenced open="(" close=")"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mi>log⁡</mml:mi><mml:mi>F</mml:mi><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi mathvariant="normal">true</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula>

        where

          <disp-formula id="App1.Ch1.S3.E9" content-type="numbered"><label>C5</label><mml:math id="M131" display="block"><mml:mrow><mml:mi>F</mml:mi><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mo>=</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>y</mml:mi><mml:mo>-</mml:mo><mml:mi mathvariant="italic">μ</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="bold">x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></disp-formula>

        is the CDF of the logistic distribution. We used the library scoringrules <xref ref-type="bibr" rid="bib1.bibx56" id="paren.88"/> which has a torch compatible implementation of Eq. (<xref ref-type="disp-formula" rid="App1.Ch1.S3.E9"/>).</p>
</app>

<app id="App1.Ch1.S4">
  <label>Appendix D</label><title>Combining predictive distributions</title>
      <p id="d2e4333">All results presented in Sect. <xref ref-type="sec" rid="Ch1.S3"/> and subsequent analyses are based on ensemble averages. For the LSTM<sub>det</sub>, the ensemble average is the average of the predicted deterministic discharge of individual member models. For the probabilistic models, we adopt the aggregation process implemented by <xref ref-type="bibr" rid="bib1.bibx47" id="text.89"/>, and since <xref ref-type="bibr" rid="bib1.bibx31" id="text.90"/> use a single member CMAL, we adopt the ensemble averaging logic from the former for the CMAL as well. For the CMAL, the weights of the three component distributions as well as the location, scale, and asymmetry parameters are averaged over the ensemble members. These are then used to calculate the resulting ensemble-averaged discharge distributions. Similarly, for the DRN, the location and the scale parameters from the ensemble members are averaged to produce the ensemble-averaged distribution parameters. For the BQN, the raw coefficients are first converted into Bernstein basis coefficients (according to Eq. <xref ref-type="disp-formula" rid="Ch1.E3"/>) for every ensemble member. The basis coefficients are then averaged over the ensemble members and the quantile function is then obtained according to Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>). For a detailed discussion on combining predictive distributions from ensembles of neural network models, see <xref ref-type="bibr" rid="bib1.bibx49" id="text.91"/>.</p>
</app>

<app id="App1.Ch1.S5">
  <label>Appendix E</label><title>FRiCA: Sensitivity to reward configuration</title>
      <p id="d2e4363">We adopted a distance based reward for the FRiCA and tested sensitivity to nine reward configurations explained in Table <xref ref-type="table" rid="TE1"/>. We ran each configuration for three seeds and for three choices of the entropy coefficient, which controls the policy's exploration vs exploitation.</p>
      <p id="d2e4368">Let <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mi>w</mml:mi><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> if class weights <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:msub><mml:mi>c</mml:mi><mml:mi>y</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are supplied, and <inline-formula><mml:math id="M134" display="inline"><mml:mrow><mml:mi>w</mml:mi><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> otherwise, and let <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mo>|</mml:mo><mml:mi>y</mml:mi><mml:mo>-</mml:mo><mml:mi>a</mml:mi><mml:mo>|</mml:mo></mml:mrow></mml:math></inline-formula> denote the ordinal distance between the issued warning <inline-formula><mml:math id="M136" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula> and the true severity <inline-formula><mml:math id="M137" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula>. The reward is

          <disp-formula id="App1.Ch1.S5.E10" content-type="numbered"><label>E1</label><mml:math id="M138" display="block"><mml:mrow><mml:mi>r</mml:mi><mml:mo>(</mml:mo><mml:mi>a</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mfenced open="{" close=""><mml:mtable columnspacing="1em" rowspacing="0.2ex" class="cases" columnalign="left left" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">correct</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>w</mml:mi><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if </mml:mtext><mml:mi>d</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">under</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>d</mml:mi><mml:mo>⋅</mml:mo><mml:mi>w</mml:mi><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if </mml:mtext><mml:mi>a</mml:mi><mml:mo>&lt;</mml:mo><mml:mi>y</mml:mi><mml:mspace width="0.25em" linebreak="nobreak"/><mml:mtext>(under-warning)</mml:mtext></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mo>-</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">over</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi>d</mml:mi><mml:mo>⋅</mml:mo><mml:mi>w</mml:mi><mml:mo>(</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mtext>if </mml:mtext><mml:mi>a</mml:mi><mml:mo>&gt;</mml:mo><mml:mi>y</mml:mi><mml:mspace linebreak="nobreak" width="0.25em"/><mml:mtext>(over-warning)</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced></mml:mrow></mml:math></disp-formula></p>

<table-wrap id="TE1"><label>Table E1</label><caption><p id="d2e4587">Reward configurations and resulting Hit (H), Miss (M), and False Alarm (FA) counts by warning severity category for ten reward configurations. For each PPO reward configuration, the best-performing seed under entropy coefficient 0.10 is reported. The asterisked <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">200</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>* row corresponds to the configuration used for the main results in Table <xref ref-type="table" rid="T5"/>; the unmarked <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">200</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> row above it reports results from the best seed for comparison.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="11">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="center"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right" colsep="1"/>
     <oasis:colspec colnum="5" colname="col5" align="center"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="right"/>
     <oasis:colspec colnum="8" colname="col8" align="right" colsep="1"/>
     <oasis:colspec colnum="9" colname="col9" align="right"/>
     <oasis:colspec colnum="10" colname="col10" align="right"/>
     <oasis:colspec colnum="11" colname="col11" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry rowsep="1" namest="col2" nameend="col4" colsep="1">Reward Configuration </oasis:entry>
         <oasis:entry rowsep="1" namest="col5" nameend="col8" colsep="1">Floods (HQ2–HQ10) </oasis:entry>
         <oasis:entry rowsep="1" namest="col9" nameend="col11" align="center">Extreme Floods (<inline-formula><mml:math id="M141" display="inline"><mml:mo lspace="0mm">&gt;</mml:mo></mml:math></inline-formula> HQ10) </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Method</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">correct</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">under</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">over</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5">H</oasis:entry>
         <oasis:entry colname="col6">M</oasis:entry>
         <oasis:entry colname="col7">FA</oasis:entry>
         <oasis:entry colname="col8">TN</oasis:entry>
         <oasis:entry colname="col9">H</oasis:entry>
         <oasis:entry colname="col10">M</oasis:entry>
         <oasis:entry colname="col11">FA</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry namest="col1" nameend="col11">Baselines </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">50th percentile</oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3">–</oasis:entry>
         <oasis:entry colname="col4">–</oasis:entry>
         <oasis:entry colname="col5">180</oasis:entry>
         <oasis:entry colname="col6">461</oasis:entry>
         <oasis:entry colname="col7">71</oasis:entry>
         <oasis:entry colname="col8">856</oasis:entry>
         <oasis:entry colname="col9">3</oasis:entry>
         <oasis:entry colname="col10">125</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">LSTM<sub>det</sub></oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3">–</oasis:entry>
         <oasis:entry colname="col4">–</oasis:entry>
         <oasis:entry colname="col5">301</oasis:entry>
         <oasis:entry colname="col6">332</oasis:entry>
         <oasis:entry colname="col7">171</oasis:entry>
         <oasis:entry colname="col8">764</oasis:entry>
         <oasis:entry colname="col9">18</oasis:entry>
         <oasis:entry colname="col10">102</oasis:entry>
         <oasis:entry colname="col11">8</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">95th percentile</oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3">–</oasis:entry>
         <oasis:entry colname="col4">–</oasis:entry>
         <oasis:entry colname="col5">411</oasis:entry>
         <oasis:entry colname="col6">0</oasis:entry>
         <oasis:entry colname="col7">1157</oasis:entry>
         <oasis:entry colname="col8">0</oasis:entry>
         <oasis:entry colname="col9">40</oasis:entry>
         <oasis:entry colname="col10">44</oasis:entry>
         <oasis:entry colname="col11">44</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">99th percentile</oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3">–</oasis:entry>
         <oasis:entry colname="col4">–</oasis:entry>
         <oasis:entry colname="col5">124</oasis:entry>
         <oasis:entry colname="col6">0</oasis:entry>
         <oasis:entry colname="col7">1444</oasis:entry>
         <oasis:entry colname="col8">0</oasis:entry>
         <oasis:entry colname="col9">28</oasis:entry>
         <oasis:entry colname="col10">10</oasis:entry>
         <oasis:entry colname="col11">90</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry namest="col1" nameend="col11">Reward-based (FRiCA) </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mi mathvariant="normal">B</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4">0</oasis:entry>
         <oasis:entry colname="col5">446</oasis:entry>
         <oasis:entry colname="col6">197</oasis:entry>
         <oasis:entry colname="col7">255</oasis:entry>
         <oasis:entry colname="col8">670</oasis:entry>
         <oasis:entry colname="col9">0</oasis:entry>
         <oasis:entry colname="col10">128</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mi mathvariant="normal">S</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">100</oasis:entry>
         <oasis:entry colname="col4">100</oasis:entry>
         <oasis:entry colname="col5">408</oasis:entry>
         <oasis:entry colname="col6">226</oasis:entry>
         <oasis:entry colname="col7">300</oasis:entry>
         <oasis:entry colname="col8">634</oasis:entry>
         <oasis:entry colname="col9">7</oasis:entry>
         <oasis:entry colname="col10">121</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mi mathvariant="normal">OH</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">50</oasis:entry>
         <oasis:entry colname="col4">200</oasis:entry>
         <oasis:entry colname="col5">371</oasis:entry>
         <oasis:entry colname="col6">272</oasis:entry>
         <oasis:entry colname="col7">162</oasis:entry>
         <oasis:entry colname="col8">763</oasis:entry>
         <oasis:entry colname="col9">0</oasis:entry>
         <oasis:entry colname="col10">128</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mi mathvariant="normal">UH</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">200</oasis:entry>
         <oasis:entry colname="col4">50</oasis:entry>
         <oasis:entry colname="col5">456</oasis:entry>
         <oasis:entry colname="col6">153</oasis:entry>
         <oasis:entry colname="col7">479</oasis:entry>
         <oasis:entry colname="col8">480</oasis:entry>
         <oasis:entry colname="col9">7</oasis:entry>
         <oasis:entry colname="col10">121</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">200</oasis:entry>
         <oasis:entry colname="col4">0</oasis:entry>
         <oasis:entry colname="col5">453</oasis:entry>
         <oasis:entry colname="col6">158</oasis:entry>
         <oasis:entry colname="col7">419</oasis:entry>
         <oasis:entry colname="col8">538</oasis:entry>
         <oasis:entry colname="col9">10</oasis:entry>
         <oasis:entry colname="col10">118</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">1000</oasis:entry>
         <oasis:entry colname="col4">50</oasis:entry>
         <oasis:entry colname="col5">489</oasis:entry>
         <oasis:entry colname="col6">132</oasis:entry>
         <oasis:entry colname="col7">580</oasis:entry>
         <oasis:entry colname="col8">367</oasis:entry>
         <oasis:entry colname="col9">9</oasis:entry>
         <oasis:entry colname="col10">119</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">100</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">1000</oasis:entry>
         <oasis:entry colname="col4">0</oasis:entry>
         <oasis:entry colname="col5">459</oasis:entry>
         <oasis:entry colname="col6">154</oasis:entry>
         <oasis:entry colname="col7">503</oasis:entry>
         <oasis:entry colname="col8">452</oasis:entry>
         <oasis:entry colname="col9">7</oasis:entry>
         <oasis:entry colname="col10">120</oasis:entry>
         <oasis:entry colname="col11">1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">200</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">2000</oasis:entry>
         <oasis:entry colname="col4">50</oasis:entry>
         <oasis:entry colname="col5">489</oasis:entry>
         <oasis:entry colname="col6">129</oasis:entry>
         <oasis:entry colname="col7">634</oasis:entry>
         <oasis:entry colname="col8">316</oasis:entry>
         <oasis:entry colname="col9">12</oasis:entry>
         <oasis:entry colname="col10">116</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">200</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">2000</oasis:entry>
         <oasis:entry colname="col4">0</oasis:entry>
         <oasis:entry colname="col5">517</oasis:entry>
         <oasis:entry colname="col6">67</oasis:entry>
         <oasis:entry colname="col7">652</oasis:entry>
         <oasis:entry colname="col8">332</oasis:entry>
         <oasis:entry colname="col9">11</oasis:entry>
         <oasis:entry colname="col10">115</oasis:entry>
         <oasis:entry colname="col11">2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="script">R</mml:mi><mml:mrow><mml:mi mathvariant="normal">UH</mml:mi><mml:mn mathvariant="normal">200</mml:mn><mml:mo>,</mml:mo><mml:mi mathvariant="normal">ON</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>*</oasis:entry>
         <oasis:entry colname="col2">100</oasis:entry>
         <oasis:entry colname="col3">2000</oasis:entry>
         <oasis:entry colname="col4">0</oasis:entry>
         <oasis:entry colname="col5">414</oasis:entry>
         <oasis:entry colname="col6">123</oasis:entry>
         <oasis:entry colname="col7">616</oasis:entry>
         <oasis:entry colname="col8">415</oasis:entry>
         <oasis:entry colname="col9">27</oasis:entry>
         <oasis:entry colname="col10">91</oasis:entry>
         <oasis:entry colname="col11">10</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</app>

<app id="App1.Ch1.S6">
  <label>Appendix F</label><title>CDF for CRPS and PIT histograms with probability plots</title>

      <fig id="FF1"><label>Figure F1</label><caption><p id="d2e5416">Cumulative density function (CDF) of Continuous ranked probability score (CRPS) for CMAL, DRN and BQN predictions (lower values are better). The CRPS is calculated for every catchment and averaged over the test period. The median CRPS from the three models is 0.39, 0.41 and 0.43 respectively.</p></caption>
        
        <graphic xlink:href="https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026-f04.png"/>

      </fig>

<fig id="FF2"><label>Figure F2</label><caption><p id="d2e5430">PIT histograms for the <bold>(a)</bold> CMAL, the <bold>(b)</bold> DRN and the <bold>(c)</bold> BQN. The <inline-formula><mml:math id="M155" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axes indicate the PIT values from the entire testing data (<inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">1.27</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> values) binned into 20 equal-sized bins. The <inline-formula><mml:math id="M157" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axes give the density of these bins. The red dashed line indicates the ideal uniform distribution. Bins with density less than 1 imply that the model predicts a lesser number of these probability values than actually observed. Similarly, bins with density more than 1 indicate that the model assigns these probability values more frequently than actually observed.</p></caption>
        
        <graphic xlink:href="https://hess.copernicus.org/articles/30/6339/2026/hess-30-6339-2026-f05.png"/>

      </fig>

</app>
  </app-group><notes notes-type="codeavailability"><title>Code availability</title>

      <p id="d2e5486">The code to reproduce the results from this study can be found at <ext-link xlink:href="https://doi.org/10.5281/zenodo.18385505" ext-link-type="DOI">10.5281/zenodo.18385505</ext-link> <xref ref-type="bibr" rid="bib1.bibx6" id="paren.92"/>.</p>
  </notes><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d2e5498">The CAMELS-CH dataset is freely available at <ext-link xlink:href="https://doi.org/10.5281/zenodo.7784632" ext-link-type="DOI">10.5281/zenodo.7784632</ext-link> <xref ref-type="bibr" rid="bib1.bibx28 bib1.bibx27" id="paren.93"/>.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d2e5510">RL conceptualised the idea for this paper. Model training, testing, and analyses were done by SB, and results were discussed with RL, SL and DK. The draft was prepared by SB and reviewed and edited by RL, SL and DK. All authors have read and agreed to the current version of the manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d2e5516">At least one of the (co-)authors is a member of the editorial board of <italic>Hydrology and Earth System Sciences</italic>. The peer-review process was guided by an independent editor, and the authors also have no other competing interests to declare.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d2e5525">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. The authors bear the ultimate responsibility for providing appropriate place names. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.</p>
  </notes><ack><title>Acknowledgements</title><p id="d2e5531">We thank Sandeep Poudel, Scott Steinschneider, and two anonymous reviewers for their critical feedback during the peer review. The authors acknowledge the use of Claude (Anthropic, Claude Sonnet 5) to assist with language editing. All scientific content and conclusions are the authors' own. We are grateful to the Volkswagen Foundation for funding the project “Invigorating Hydrological Science and Teaching: Merging Key Legacies with New Concepts and Paradigms” (ViTamins, 0069685).</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d2e5539">This research has been supported by the Deutsche Forschungsgemeinschaft (grant no. 521210228).  The article processing charges for this open-access  publication were covered by the Karlsruhe Institute  of Technology (KIT).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d2e5552">This paper was edited by Larisa Tarasova and reviewed by Sandeep Poudel, Scott Steinschneider, and two anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Acuna Espinoza et al.(2025)</label><mixed-citation>Acuña Espinoza, E., Loritz, R., Kratzert, F., Klotz, D., Gauch, M., Álvarez Chaves, M., and Ehret, U.: Analyzing the generalization capabilities of a hybrid hydrological model for extrapolation to extreme events, Hydrol. Earth Syst. Sci., 29, 1277–1294, <ext-link xlink:href="https://doi.org/10.5194/hess-29-1277-2025" ext-link-type="DOI">10.5194/hess-29-1277-2025</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Addor et al.(2017)</label><mixed-citation>Addor, N., Newman, A. J., Mizukami, N., and Clark, M. P.: The CAMELS data set: catchment attributes and meteorology for large-sample studies, Hydrol. Earth Syst. Sci., 21, 5293–5313, <ext-link xlink:href="https://doi.org/10.5194/hess-21-5293-2017" ext-link-type="DOI">10.5194/hess-21-5293-2017</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Amodei et al.(2016)</label><mixed-citation>Amodei, D., Olah, C., Steinhardt, J., Christiano, P., Schulman, J., and Mané, D.: Concrete Problems in AI Safety, arXiv [cs.AI], arXiv:1606.06565, <ext-link xlink:href="https://doi.org/10.48550/arXiv.1606.06565" ext-link-type="DOI">10.48550/arXiv.1606.06565</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>BAFU(2024)</label><mixed-citation>BAFU: Hochwasserwahrscheinlichkeiten (Jahreshochwasser), <uri>https://www.bafu.admin.ch/de/hochwasserstatistik#Inhalt-der-Resultatbl%C3%A4tter</uri> (last access: 7 July 2026), 2024.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Bálint et al.(2006)</label><mixed-citation>Bálint, G., Csík, A., Bartha, P., Gauzer, B., and Bonta, I.: Application of meteorological ensembles for Danube Flood forecasting and warning, in: Transboundary Floods: Reducing Risks Through Flood Management, edited by: Marsalek, J., Stancalie, G., and Balint, G., Springer Netherlands, 57–68, ISBN 978-1-4020-4902-6, 2006.  </mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Baste(2026)</label><mixed-citation>Baste, S.: The need for uncertainty: why probabilistic LSTMs are key to improving flood predictions and enabling learned warning rules, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.18385505" ext-link-type="DOI">10.5281/zenodo.18385505</ext-link>, 2026.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Baste et al.(2025)</label><mixed-citation>Baste, S., Klotz, D., Acuña Espinoza, E., Bardossy, A., and Loritz, R.: Unveiling the limits of deep learning models in hydrological extrapolation tasks, Hydrol. Earth Syst. Sci., 29, 5871–5891, <ext-link xlink:href="https://doi.org/10.5194/hess-29-5871-2025" ext-link-type="DOI">10.5194/hess-29-5871-2025</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Bergström(1992)</label><mixed-citation>Bergström, S.: THE HBV MODEL – its structure and applications, <uri>https://www.smhi.se/en/publications/the-hbv-model-its-structure-and-applications-1.83591</uri> (last access: 12 January 2025), 1992.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Beven and Freer(2001)</label><mixed-citation>Beven, K. and Freer, J.: Equifinality, data assimilation, and uncertainty estimation in mechanistic modelling of complex environmental systems using the GLUE methodology, J. Hydrol., 249, 11–29, <ext-link xlink:href="https://doi.org/10.1016/S0022-1694(01)00421-8" ext-link-type="DOI">10.1016/S0022-1694(01)00421-8</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Brando et al.(2019)</label><mixed-citation> Brando, A., Rodriguez, J. A., Vitria, J., and Rubio Muñoz, A.: Modelling heterogeneous distributions with an uncountable mixture of asymmetric laplacians, Adv. Neur. In., 32, 8107–8117, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Bremnes(2020)</label><mixed-citation>Bremnes, J. B.: Ensemble Postprocessing Using Quantile Function Regression Based on Neural Networks and Bernstein Polynomials, Mon. Weather Rev., 148, 403–414, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-19-0227.1" ext-link-type="DOI">10.1175/MWR-D-19-0227.1</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Buchweitz et al.(2025)</label><mixed-citation>Buchweitz, E., Romano, J. V., and Tibshirani, R. J.: Asymmetric penalties underlie proper loss functions in probabilistic forecasting, arXiv [preprint] arXiv:2505.00937, <ext-link xlink:href="https://doi.org/10.48550/arXiv.2505.00937" ext-link-type="DOI">10.48550/arXiv.2505.00937</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Clark et al.(2024)</label><mixed-citation>Clark, S. R., Lerat, J., Perraud, J.-M., and Fitch, P.: Deep learning for monthly rainfall–runoff modelling: a large-sample comparison with conceptual models across Australia, Hydrol. Earth Syst. Sci., 28, 1191–1213, <ext-link xlink:href="https://doi.org/10.5194/hess-28-1191-2024" ext-link-type="DOI">10.5194/hess-28-1191-2024</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Cloke and Pappenberger(2009)</label><mixed-citation>Cloke, H. and Pappenberger, F.: Ensemble flood forecasting: A review, J. Hydrol., 375, 613–626, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2009.06.005" ext-link-type="DOI">10.1016/j.jhydrol.2009.06.005</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Dietrich et al.(2009)</label><mixed-citation>Dietrich, J., Denhard, M., and Schumann, A. H.: Can Ensemble Forecasts Improve the Reliability of Flood Alerts?, J. Flood Risk Manage., 2, 232–242, <ext-link xlink:href="https://doi.org/10.1111/j.1753-318X.2009.01039.x" ext-link-type="DOI">10.1111/j.1753-318X.2009.01039.x</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Federal Office for the Environment (FOEN)(2026)</label><mixed-citation>Federal Office for the Environment (FOEN): The 5 Flood Danger Levels and Recommended Behaviour, <uri>https://www.hydrodaten.admin.ch/en/die-5-gefahrenstufen-fuer-hochwasser</uri> (last access: 21 June 2026), 2026.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Feng et al.(2022)</label><mixed-citation>Feng, D., Liu, J., Lawson, K., and Shen, C.: Differentiable, Learnable, Regionalized Process-Based Models With Multiphysical Outputs can Approach State-Of-The-Art Hydrologic Prediction Accuracy, Water Resour. Res., 58, e2022WR032404, <ext-link xlink:href="https://doi.org/10.1029/2022WR032404" ext-link-type="DOI">10.1029/2022WR032404</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Frame et al.(2022)</label><mixed-citation>Frame, J. M., Kratzert, F., Klotz, D., Gauch, M., Shalev, G., Gilon, O., Qualls, L. M., Gupta, H. V., and Nearing, G. S.: Deep learning rainfall–runoff predictions of extreme events, Hydrol. Earth Syst. Sci., 26, 3377–3392, <ext-link xlink:href="https://doi.org/10.5194/hess-26-3377-2022" ext-link-type="DOI">10.5194/hess-26-3377-2022</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Frank et al.(2023)</label><mixed-citation>Frank, C., Rußwurm, M., Fluixa-Sanmartin, J., and Tuia, D.: Short-term runoff forecasting in an alpine catchment with a Long Short-Term Memory (LSTM) neural network, Front. Water, 5, 1126310, <ext-link xlink:href="https://doi.org/10.3389/frwa.2023.1126310" ext-link-type="DOI">10.3389/frwa.2023.1126310</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Ghazvinian et al.(2021)</label><mixed-citation>Ghazvinian, M., Zhang, Y., Seo, D.-J., He, M., and Fernando, N.: A Novel Hybrid Artificial Neural Network – Parametric Scheme for Postprocessing Medium-Range Precipitation Forecasts, Adv. Water Resour., 151, 103907, <ext-link xlink:href="https://doi.org/10.1016/j.advwatres.2021.103907" ext-link-type="DOI">10.1016/j.advwatres.2021.103907</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Gneiting and Raftery(2007)</label><mixed-citation>Gneiting, T. and Raftery, A. E.: Strictly Proper Scoring Rules, Prediction, and Estimation, J. Am. Stat. A., 102, 359–378, <ext-link xlink:href="https://doi.org/10.1198/016214506000001437" ext-link-type="DOI">10.1198/016214506000001437</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Gneiting and Ranjan(2011)</label><mixed-citation>Gneiting, T. and Ranjan, R.: Comparing Density Forecasts Using Threshold- and Quantile-Weighted Scoring Rules, J. Bus. Econ. Stat., 29, 411–422, <ext-link xlink:href="https://doi.org/10.1198/jbes.2010.08110" ext-link-type="DOI">10.1198/jbes.2010.08110</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Gneiting et al.(2007)</label><mixed-citation>Gneiting, T., Balabdaoui, F., and Raftery, A. E.: Probabilistic Forecasts, Calibration and Sharpness, J. R. Stat. Soc. B, 69, 243–268, <ext-link xlink:href="https://doi.org/10.1111/j.1467-9868.2007.00587.x" ext-link-type="DOI">10.1111/j.1467-9868.2007.00587.x</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Gouweleeuw et al.(2005)</label><mixed-citation>Gouweleeuw, B. T., Thielen, J., Franchello, G., De Roo, A. P. J., and Buizza, R.: Flood forecasting using medium-range probabilistic weather prediction, Hydrol. Earth Syst. Sci., 9, 365–380, <ext-link xlink:href="https://doi.org/10.5194/hess-9-365-2005" ext-link-type="DOI">10.5194/hess-9-365-2005</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Heudorfer et al.(2025)</label><mixed-citation>Heudorfer, B., Gupta, H. V., and Loritz, R.: Are Deep Learning Models in Hydrology Entity Aware?, Geophys. Res. Lett., 52, e2024GL113036, <ext-link xlink:href="https://doi.org/10.1029/2024GL113036" ext-link-type="DOI">10.1029/2024GL113036</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Hochreiter and Schmidhuber(1997)</label><mixed-citation>Hochreiter, S. and Schmidhuber, J.: Long Short-Term Memory, Neural Comput., 9, 1735–1780, <ext-link xlink:href="https://doi.org/10.1162/neco.1997.9.8.1735" ext-link-type="DOI">10.1162/neco.1997.9.8.1735</ext-link>, 1997.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Höge et al.(2023)</label><mixed-citation>Höge, M., Kauzlaric, M., Siber, R., Schönenberger, U., Horton, P., Schwanbeck, J., Floriancic, M. G., Viviroli, D., Wilhelm, S., Sikorska-Senoner, A. E., Addor, N., Brunner, M., Pool, S., Zappa, M., and Fenicia, F.: CAMELS-CH: hydro-meteorological time series and landscape attributes for 331 catchments in hydrologic Switzerland, Earth Syst. Sci. Data, 15, 5755–5784, <ext-link xlink:href="https://doi.org/10.5194/essd-15-5755-2023" ext-link-type="DOI">10.5194/essd-15-5755-2023</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Höge et al.(2025)</label><mixed-citation>Höge, M., Kauzlaric, M., Siber, R., Schönenberger, U., Horton, P., Schwanbeck, J., Floriancic, M. G., Viviroli, D., Wilhelm, S., Sikorska-Senoner, A. E., Addor, N., Brunner, M., Pool, S., Zappa, M., and Fenicia, F.: Catchment attributes and hydro-meteorological time series for large-sample studies across hydrologic Switzerland (CAMELS-CH) (Version 0.9), Zenodo [data set], <ext-link xlink:href="https://doi.org/10.5281/zenodo.7784632" ext-link-type="DOI">10.5281/zenodo.7784632</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Horat et al.(2024)</label><mixed-citation>Horat, N., Klerings, S., and Lerch, S.: Improving Model Chain Approaches for Probabilistic Solar Energy Forecasting through Post-processing and Machine Learning, Adv. Atmos. Sci., 42, 297–312, <ext-link xlink:href="https://doi.org/10.1007/s00376-024-4219-2" ext-link-type="DOI">10.1007/s00376-024-4219-2</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Kingma and Ba(2017)</label><mixed-citation>Kingma, D. P. and Ba, J.: Adam: A Method for Stochastic Optimization, arXiv [cs.LG], <ext-link xlink:href="https://doi.org/10.48550/arXiv.1412.6980" ext-link-type="DOI">10.48550/arXiv.1412.6980</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Klotz et al.(2022)</label><mixed-citation>Klotz, D., Kratzert, F., Gauch, M., Keefe Sampson, A., Brandstetter, J., Klambauer, G., Hochreiter, S., and Nearing, G.: Uncertainty estimation with deep learning for rainfall–runoff modeling, Hydrol. Earth Syst. Sci., 26, 1673–1693, <ext-link xlink:href="https://doi.org/10.5194/hess-26-1673-2022" ext-link-type="DOI">10.5194/hess-26-1673-2022</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx32"><label>Kratzert et al.(2019a)</label><mixed-citation>Kratzert, F., Klotz, D., Shalev, G., Klambauer, G., Hochreiter, S., and Nearing, G.: Towards learning universal, regional, and local hydrological behaviors via machine learning applied to large-sample datasets, Hydrol. Earth Syst. Sci., 23, 5089–5110, <ext-link xlink:href="https://doi.org/10.5194/hess-23-5089-2019" ext-link-type="DOI">10.5194/hess-23-5089-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Kratzert et al.(2024)</label><mixed-citation>Kratzert, F., Gauch, M., Klotz, D., and Nearing, G.: HESS Opinions: Never train a Long Short-Term Memory (LSTM) network on a single basin, Hydrol. Earth Syst. Sci., 28, 4187–4201, <ext-link xlink:href="https://doi.org/10.5194/hess-28-4187-2024" ext-link-type="DOI">10.5194/hess-28-4187-2024</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Krzysztofowicz(2001)</label><mixed-citation>Krzysztofowicz, R.: The case for probabilistic forecasting in hydrology, J. Hydrol., 249, 2–9, <ext-link xlink:href="https://doi.org/10.1016/S0022-1694(01)00420-6" ext-link-type="DOI">10.1016/S0022-1694(01)00420-6</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>Lees et al.(2021)</label><mixed-citation>Lees, T., Buechel, M., Anderson, B., Slater, L., Reece, S., Coxon, G., and Dadson, S. J.: Benchmarking data-driven rainfall–runoff models in Great Britain: a comparison of long short-term memory (LSTM)-based models with four lumped conceptual models, Hydrol. Earth Syst. Sci., 25, 5517–5534, <ext-link xlink:href="https://doi.org/10.5194/hess-25-5517-2021" ext-link-type="DOI">10.5194/hess-25-5517-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx36"><label>Lorenz(1963)</label><mixed-citation>Lorenz, E. N.: Deterministic Nonperiodic Flow, J. Atmos. Sci., 20, 130–141, <ext-link xlink:href="https://doi.org/10.1175/1520-0469(1963)020&lt;0130:DNF&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0469(1963)020&lt;0130:DNF&gt;2.0.CO;2</ext-link>, 1963.</mixed-citation></ref>
      <ref id="bib1.bibx37"><label>Loritz et al.(2024)</label><mixed-citation>Loritz, R., Dolich, A., Acuña Espinoza, E., Ebeling, P., Guse, B., Götte, J., Hassler, S. K., Hauffe, C., Heidbüchel, I., Kiesel, J., Mälicke, M., Müller-Thomy, H., Stölzle, M., and Tarasova, L.: CAMELS-DE: hydro-meteorological time series and attributes for 1582 catchments in Germany, Earth Syst. Sci. Data, 16, 5625–5642, <ext-link xlink:href="https://doi.org/10.5194/essd-16-5625-2024" ext-link-type="DOI">10.5194/essd-16-5625-2024</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx38"><label>MeteoSwiss(2022)</label><mixed-citation>MeteoSwiss: Extreme Value Analyses, version 2022, <uri>https://www.meteoswiss.admin.ch/services-and-publications/applications/ext/climate-extremes-sp.html#https://productbrowser.app.meteoswiss.ch/productbrowser/productDisplay/climate-extremes-sp?lang=en&amp;cg1.duration=1-day-sum&amp;cg1.timeOfYear=DJF-MAM-JJA-SON&amp;cg1.location=SMA&amp;cg1.language=en&amp;cg1.productName=climate-extremes-precipitation-sp-daily</uri> (last access: 21 June 2026), 2022.</mixed-citation></ref>
      <ref id="bib1.bibx39"><label>Montanari and Di Baldassarre(2013)</label><mixed-citation>Montanari, A. and Di Baldassarre, G.: Data errors and hydrological modelling: The role of model structure to propagate observation uncertainty, Adv. Water Resour., 51, 498–504, <ext-link xlink:href="https://doi.org/10.1016/j.advwatres.2012.09.007" ext-link-type="DOI">10.1016/j.advwatres.2012.09.007</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx40"><label>Ng and Russell(2000)</label><mixed-citation> Ng, A. Y. and Russell, S.: Algorithms for Inverse Reinforcement Learning, in: Proceedings of the Seventeenth International Conference on Machine Learning (ICML 2000), Stanford, CA, 663–670, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx41"><label>Paszke et al.(2019)</label><mixed-citation>Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S.: PyTorch: An Imperative Style, High-Performance Deep Learning Library, in: Advances in Neural Information Processing Systems 32,  8024–8035, Curran Associates, Inc., <ext-link xlink:href="http://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf">http://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf</ext-link> (last access: 7 July 2026), 2019.</mixed-citation></ref>
      <ref id="bib1.bibx42"><label>Raffin et al.(2021)</label><mixed-citation> Raffin, A., Hill, A., Gleave, A., Kanervisto, A., Ernestus, M., and Dormann, N.: Stable-Baselines3: Reliable Reinforcement Learning Implementations, J. Mach. Learn. Res., 22, 1–8, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx43"><label>Rasp and Lerch(2018)</label><mixed-citation>Rasp, S. and Lerch, S.: Neural Networks for Postprocessing Ensemble Weather Forecasts, Mon. Weather Rev., 146, 3885–3900, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-18-0187.1" ext-link-type="DOI">10.1175/MWR-D-18-0187.1</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx44"><label>Roulin(2007)</label><mixed-citation>Roulin, E.: Skill and relative economic value of medium-range hydrological ensemble predictions, Hydrol. Earth Syst. Sci., 11, 725–737, <ext-link xlink:href="https://doi.org/10.5194/hess-11-725-2007" ext-link-type="DOI">10.5194/hess-11-725-2007</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx45"><label>Roulin and Vannitsem(2005)</label><mixed-citation>Roulin, E. and Vannitsem, S.: Skill of Medium-Range Hydrological Ensemble Predictions, J. Hydrometeorol., 6, 729–744, <ext-link xlink:href="https://doi.org/10.1175/JHM436.1" ext-link-type="DOI">10.1175/JHM436.1</ext-link>, 2005. </mixed-citation></ref>
      <ref id="bib1.bibx46"><label>Schulman et al.(2017)</label><mixed-citation>Schulman, J., Wolski, F., Dhariwal, P., Radford, A., and Klimov, O.: Proximal Policy Optimization Algorithms, arXiv [cs.LG], arXiv:1707.06347, <ext-link xlink:href="https://doi.org/10.48550/arXiv.1707.06347" ext-link-type="DOI">10.48550/arXiv.1707.06347</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx47"><label>Schulz and Lerch(2022)</label><mixed-citation>Schulz, B. and Lerch, S.: Machine Learning Methods for Postprocessing Ensemble Forecasts of Wind Gusts: A Systematic Comparison, Mon. Weather Rev., 150, 235–257, <ext-link xlink:href="https://doi.org/10.1175/MWR-D-21-0150.1" ext-link-type="DOI">10.1175/MWR-D-21-0150.1</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx48"><label>Schulz et al.(2021)</label><mixed-citation>Schulz, B., El Ayari, M., Lerch, S., and Baran, S.: Post-Processing Numerical Weather Prediction Ensembles for Probabilistic Solar Irradiance Forecasting, Sol. Energy, 220, 1016–1031, <ext-link xlink:href="https://doi.org/10.1016/j.solener.2021.03.023" ext-link-type="DOI">10.1016/j.solener.2021.03.023</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx49"><label>Schulz et al.(2026)</label><mixed-citation>Schulz, B., Köhler, L., and Lerch, S.: Aggregating Distribution Forecasts from Deep Ensembles, Mach. Learn., 115, <ext-link xlink:href="https://doi.org/10.1007/s10994-025-06946-3" ext-link-type="DOI">10.1007/s10994-025-06946-3</ext-link>, 2026.</mixed-citation></ref>
      <ref id="bib1.bibx50"><label>Sivapalan et al.(2003)</label><mixed-citation>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., Oki, T., Pomeroy, J. W., Schertzer, D., Uhlenbrook, S., and Zehe, E.: IAHS Decade on Predictions in Ungauged Basins (PUB), 2003–2012: Shaping an exciting future for the hydrological sciences, Hydrol. Sci. J., 48, 857–880, <ext-link xlink:href="https://doi.org/10.1623/hysj.48.6.857.51421" ext-link-type="DOI">10.1623/hysj.48.6.857.51421</ext-link>, 2003.</mixed-citation></ref>
      <ref id="bib1.bibx51"><label>Skalse et al.(2025)</label><mixed-citation>Skalse, J., Howe, N. H. R., Krasheninnikov, D., and Krueger, D.: Defining and Characterizing Reward Hacking, arXiv [cs.LG], arXiv:2209.13085, <ext-link xlink:href="https://doi.org/10.48550/arXiv.2209.13085" ext-link-type="DOI">10.48550/arXiv.2209.13085</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx52"><label>Thirel et al.(2024)</label><mixed-citation>Thirel, G., Santos, L., Delaigue, O., and Perrin, C.: On the use of streamflow transformations for hydrological model calibration, Hydrol. Earth Syst. Sci., 28, 4837–4860, <ext-link xlink:href="https://doi.org/10.5194/hess-28-4837-2024" ext-link-type="DOI">10.5194/hess-28-4837-2024</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx53"><label>Towers et al.(2025)</label><mixed-citation>Towers, M., Kwiatkowski, A., Terry, J., Balis, J. U., Cola, G. D., Deleu, T., Goulão, M., Kallinteris, A., Krimmel, M., KG, A., Perez-Vicente, R., Pierré, A., Schulhoff, S., Tai, J. J., Tan, H., and Younis, O. G.: Gymnasium: A Standard Interface for Reinforcement Learning Environments, arXiv [cs.LG], arXiv:2407.17032, <ext-link xlink:href="https://doi.org/10.48550/arXiv.2407.17032" ext-link-type="DOI">10.48550/arXiv.2407.17032</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx54"><label>Vogel et al.(2018)</label><mixed-citation>Vogel, P., Knippertz, P., Fink, A. H., Schlueter, A., and Gneiting, T.: Skill of Global Raw and Postprocessed Ensemble Predictions of Rainfall over Northern Tropical Africa, Weather Forecast., 33, 369–388, <ext-link xlink:href="https://doi.org/10.1175/WAF-D-17-0127.1" ext-link-type="DOI">10.1175/WAF-D-17-0127.1</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx55"><label>Vrugt(2024)</label><mixed-citation>Vrugt, J. A.: Distribution‐Based Model Evaluation and Diagnostics: Elicitability, Propriety, and Scoring Rules for Hydrograph Functionals, Water Resour. Res., 60, e2023WR036710, <ext-link xlink:href="https://doi.org/10.1029/2023WR036710" ext-link-type="DOI">10.1029/2023WR036710</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx56"><label>Zanetta and Allen(2024)</label><mixed-citation>Zanetta, F. and Allen, S.: scoringrules: a python library for probabilistic forecast evaluation, GitHub [code], <uri>https://github.com/frazane/scoringrules</uri> (last access: 7 July 2026), 2024.</mixed-citation></ref>
      <ref id="bib1.bibx57"><label>Ziebart et al.(2008)</label><mixed-citation>Ziebart, B. D., Maas, A. L., Bagnell, J. A., and Dey, A. K.: Maximum Entropy Inverse Reinforcement Learning, in: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 23, 1433–1438, <ext-link xlink:href="https://aaai.org/papers/01433-aaai08-227-maximum-entropy-inverse-reinforcement-learning/">https://aaai.org/papers/ 01433-aaai08-227-maximum-entropy-inverse-reinforcement- learning/</ext-link> (last access: 7 July 2026), 2008.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>The need for uncertainty: why probabilistic LSTMs are key to improving flood predictions and enabling learned warning rules</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Acuna Espinoza et al.(2025)</label><mixed-citation>
      
Acuña Espinoza, E., Loritz, R., Kratzert, F., Klotz, D., Gauch, M., Álvarez Chaves, M., and Ehret, U.: Analyzing the generalization capabilities of a hybrid hydrological model for extrapolation to extreme events, Hydrol. Earth Syst. Sci., 29, 1277–1294, <a href="https://doi.org/10.5194/hess-29-1277-2025" target="_blank">https://doi.org/10.5194/hess-29-1277-2025</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Addor et al.(2017)</label><mixed-citation>
      
Addor, N., Newman, A. J., Mizukami, N., and Clark, M. P.: The CAMELS data set: catchment attributes and meteorology for large-sample studies, Hydrol. Earth Syst. Sci., 21, 5293–5313, <a href="https://doi.org/10.5194/hess-21-5293-2017" target="_blank">https://doi.org/10.5194/hess-21-5293-2017</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Amodei et al.(2016)</label><mixed-citation>
      
Amodei, D., Olah, C., Steinhardt, J., Christiano, P., Schulman, J., and Mané,
D.: Concrete Problems in AI Safety, arXiv [cs.AI],
arXiv:1606.06565, <a href="https://doi.org/10.48550/arXiv.1606.06565" target="_blank">https://doi.org/10.48550/arXiv.1606.06565</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>BAFU(2024)</label><mixed-citation>
      
BAFU: Hochwasserwahrscheinlichkeiten (Jahreshochwasser),
<a href="https://www.bafu.admin.ch/de/hochwasserstatistik#Inhalt-der-Resultatbl%C3%A4tter" target="_blank"/> (last access: 7 July 2026), 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Bálint et al.(2006)</label><mixed-citation>
      
Bálint, G., Csík, A., Bartha, P., Gauzer, B., and Bonta, I.:
Application of meteorological ensembles for Danube Flood
forecasting and warning, in: Transboundary Floods: Reducing Risks
Through Flood Management, edited by: Marsalek, J., Stancalie, G., and Balint,
G., Springer Netherlands, 57–68, ISBN 978-1-4020-4902-6, 2006.


    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Baste(2026)</label><mixed-citation>
      
Baste, S.: The need for uncertainty: why probabilistic LSTMs are key to improving flood predictions and enabling learned warning rules, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.18385505" target="_blank">https://doi.org/10.5281/zenodo.18385505</a>, 2026.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Baste et al.(2025)</label><mixed-citation>
      
Baste, S., Klotz, D., Acuña Espinoza, E., Bardossy, A., and Loritz, R.: Unveiling the limits of deep learning models in hydrological extrapolation tasks, Hydrol. Earth Syst. Sci., 29, 5871–5891, <a href="https://doi.org/10.5194/hess-29-5871-2025" target="_blank">https://doi.org/10.5194/hess-29-5871-2025</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Bergström(1992)</label><mixed-citation>
      
Bergström, S.: THE HBV MODEL – its structure and applications, <a href="https://www.smhi.se/en/publications/the-hbv-model-its-structure-and-applications-1.83591" target="_blank"/> (last access: 12 January 2025), 1992.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Beven and Freer(2001)</label><mixed-citation>
      
Beven, K. and Freer, J.: Equifinality, data assimilation, and uncertainty
estimation in mechanistic modelling of complex environmental systems using
the GLUE methodology, J. Hydrol., 249, 11–29, <a href="https://doi.org/10.1016/S0022-1694(01)00421-8" target="_blank">https://doi.org/10.1016/S0022-1694(01)00421-8</a>, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Brando et al.(2019)</label><mixed-citation>
      
Brando, A., Rodriguez, J. A., Vitria, J., and Rubio Muñoz, A.: Modelling
heterogeneous distributions with an uncountable mixture of asymmetric
laplacians, Adv. Neur. In., 32, 8107–8117, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Bremnes(2020)</label><mixed-citation>
      
Bremnes, J. B.: Ensemble Postprocessing Using Quantile Function Regression
Based on Neural Networks and Bernstein Polynomials, Mon. Weather
Rev., 148, 403–414, <a href="https://doi.org/10.1175/MWR-D-19-0227.1" target="_blank">https://doi.org/10.1175/MWR-D-19-0227.1</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Buchweitz et al.(2025)</label><mixed-citation>
      
Buchweitz, E., Romano, J. V., and Tibshirani, R. J.: Asymmetric penalties
underlie proper loss functions in probabilistic forecasting, arXiv [preprint]
arXiv:2505.00937, <a href="https://doi.org/10.48550/arXiv.2505.00937" target="_blank">https://doi.org/10.48550/arXiv.2505.00937</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Clark et al.(2024)</label><mixed-citation>
      
Clark, S. R., Lerat, J., Perraud, J.-M., and Fitch, P.: Deep learning for monthly rainfall–runoff modelling: a large-sample comparison with conceptual models across Australia, Hydrol. Earth Syst. Sci., 28, 1191–1213, <a href="https://doi.org/10.5194/hess-28-1191-2024" target="_blank">https://doi.org/10.5194/hess-28-1191-2024</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Cloke and Pappenberger(2009)</label><mixed-citation>
      
Cloke, H. and Pappenberger, F.: Ensemble flood forecasting: A review, J. Hydrol., 375, 613–626, <a href="https://doi.org/10.1016/j.jhydrol.2009.06.005" target="_blank">https://doi.org/10.1016/j.jhydrol.2009.06.005</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Dietrich et al.(2009)</label><mixed-citation>
      
Dietrich, J., Denhard, M., and Schumann, A. H.: Can Ensemble Forecasts Improve
the Reliability of Flood Alerts?, J. Flood Risk Manage., 2,
232–242, <a href="https://doi.org/10.1111/j.1753-318X.2009.01039.x" target="_blank">https://doi.org/10.1111/j.1753-318X.2009.01039.x</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Federal Office for the Environment (FOEN)(2026)</label><mixed-citation>
      
Federal Office for the Environment (FOEN): The 5 Flood Danger Levels and
Recommended Behaviour,
<a href="https://www.hydrodaten.admin.ch/en/die-5-gefahrenstufen-fuer-hochwasser" target="_blank"/>
(last access: 21 June 2026), 2026.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Feng et al.(2022)</label><mixed-citation>
      
Feng, D., Liu, J., Lawson, K., and Shen, C.: Differentiable, Learnable,
Regionalized Process-Based Models With Multiphysical Outputs can Approach
State-Of-The-Art Hydrologic Prediction Accuracy, Water Resour. Res.,
58, e2022WR032404, <a href="https://doi.org/10.1029/2022WR032404" target="_blank">https://doi.org/10.1029/2022WR032404</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Frame et al.(2022)</label><mixed-citation>
      
Frame, J. M., Kratzert, F., Klotz, D., Gauch, M., Shalev, G., Gilon, O., Qualls, L. M., Gupta, H. V., and Nearing, G. S.: Deep learning rainfall–runoff predictions of extreme events, Hydrol. Earth Syst. Sci., 26, 3377–3392, <a href="https://doi.org/10.5194/hess-26-3377-2022" target="_blank">https://doi.org/10.5194/hess-26-3377-2022</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Frank et al.(2023)</label><mixed-citation>
      
Frank, C., Rußwurm, M., Fluixa-Sanmartin, J., and Tuia, D.: Short-term runoff forecasting in an alpine catchment with a Long Short-Term Memory (LSTM) neural network, Front. Water, 5, 1126310, <a href="https://doi.org/10.3389/frwa.2023.1126310" target="_blank">https://doi.org/10.3389/frwa.2023.1126310</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Ghazvinian et al.(2021)</label><mixed-citation>
      
Ghazvinian, M., Zhang, Y., Seo, D.-J., He, M., and Fernando, N.: A Novel Hybrid
Artificial Neural Network – Parametric Scheme for Postprocessing
Medium-Range Precipitation Forecasts, Adv. Water Resour., 151,
103907, <a href="https://doi.org/10.1016/j.advwatres.2021.103907" target="_blank">https://doi.org/10.1016/j.advwatres.2021.103907</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Gneiting and Raftery(2007)</label><mixed-citation>
      
Gneiting, T. and Raftery, A. E.: Strictly Proper Scoring Rules, Prediction, and
Estimation, J. Am. Stat. A., 102, 359–378,
<a href="https://doi.org/10.1198/016214506000001437" target="_blank">https://doi.org/10.1198/016214506000001437</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Gneiting and Ranjan(2011)</label><mixed-citation>
      
Gneiting, T. and Ranjan, R.: Comparing Density Forecasts Using Threshold- and
Quantile-Weighted Scoring Rules, J. Bus. Econ. Stat.,
29, 411–422, <a href="https://doi.org/10.1198/jbes.2010.08110" target="_blank">https://doi.org/10.1198/jbes.2010.08110</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Gneiting et al.(2007)</label><mixed-citation>
      
Gneiting, T., Balabdaoui, F., and Raftery, A. E.: Probabilistic Forecasts,
Calibration and Sharpness, J. R. Stat. Soc. B, 69, 243–268,
<a href="https://doi.org/10.1111/j.1467-9868.2007.00587.x" target="_blank">https://doi.org/10.1111/j.1467-9868.2007.00587.x</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Gouweleeuw et al.(2005)</label><mixed-citation>
      
Gouweleeuw, B. T., Thielen, J., Franchello, G., De Roo, A. P. J., and Buizza, R.: Flood forecasting using medium-range probabilistic weather prediction, Hydrol. Earth Syst. Sci., 9, 365–380, <a href="https://doi.org/10.5194/hess-9-365-2005" target="_blank">https://doi.org/10.5194/hess-9-365-2005</a>, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Heudorfer et al.(2025)</label><mixed-citation>
      
Heudorfer, B., Gupta, H. V., and Loritz, R.: Are Deep Learning Models in
Hydrology Entity Aware?, Geophys. Res. Lett., 52, e2024GL113036,
<a href="https://doi.org/10.1029/2024GL113036" target="_blank">https://doi.org/10.1029/2024GL113036</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Hochreiter and Schmidhuber(1997)</label><mixed-citation>
      
Hochreiter, S. and Schmidhuber, J.: Long Short-Term Memory, Neural Comput.,
9, 1735–1780, <a href="https://doi.org/10.1162/neco.1997.9.8.1735" target="_blank">https://doi.org/10.1162/neco.1997.9.8.1735</a>, 1997.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Höge et al.(2023)</label><mixed-citation>
      
Höge, M., Kauzlaric, M., Siber, R., Schönenberger, U., Horton, P., Schwanbeck, J., Floriancic, M. G., Viviroli, D., Wilhelm, S., Sikorska-Senoner, A. E., Addor, N., Brunner, M., Pool, S., Zappa, M., and Fenicia, F.: CAMELS-CH: hydro-meteorological time series and landscape attributes for 331 catchments in hydrologic Switzerland, Earth Syst. Sci. Data, 15, 5755–5784, <a href="https://doi.org/10.5194/essd-15-5755-2023" target="_blank">https://doi.org/10.5194/essd-15-5755-2023</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Höge et al.(2025)</label><mixed-citation>
      
Höge, M., Kauzlaric, M., Siber, R., Schönenberger, U., Horton, P., Schwanbeck, J., Floriancic, M. G., Viviroli, D., Wilhelm, S., Sikorska-Senoner, A. E., Addor, N., Brunner, M., Pool, S., Zappa, M., and Fenicia, F.: Catchment attributes and hydro-meteorological time series for large-sample studies across hydrologic Switzerland (CAMELS-CH) (Version 0.9), Zenodo [data set], <a href="https://doi.org/10.5281/zenodo.7784632" target="_blank">https://doi.org/10.5281/zenodo.7784632</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Horat et al.(2024)</label><mixed-citation>
      
Horat, N., Klerings, S., and Lerch, S.: Improving Model Chain Approaches
for Probabilistic Solar Energy Forecasting through Post-processing
and Machine Learning, Adv. Atmos. Sci., 42, 297–312,
<a href="https://doi.org/10.1007/s00376-024-4219-2" target="_blank">https://doi.org/10.1007/s00376-024-4219-2</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Kingma and Ba(2017)</label><mixed-citation>
      
Kingma, D. P. and Ba, J.: Adam: A Method for Stochastic Optimization, arXiv [cs.LG],
<a href="https://doi.org/10.48550/arXiv.1412.6980" target="_blank">https://doi.org/10.48550/arXiv.1412.6980</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Klotz et al.(2022)</label><mixed-citation>
      
Klotz, D., Kratzert, F., Gauch, M., Keefe Sampson, A., Brandstetter, J., Klambauer, G., Hochreiter, S., and Nearing, G.: Uncertainty estimation with deep learning for rainfall–runoff modeling, Hydrol. Earth Syst. Sci., 26, 1673–1693, <a href="https://doi.org/10.5194/hess-26-1673-2022" target="_blank">https://doi.org/10.5194/hess-26-1673-2022</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Kratzert et al.(2019a)</label><mixed-citation>
      
Kratzert, F., Klotz, D., Shalev, G., Klambauer, G., Hochreiter, S., and Nearing, G.: Towards learning universal, regional, and local hydrological behaviors via machine learning applied to large-sample datasets, Hydrol. Earth Syst. Sci., 23, 5089–5110, <a href="https://doi.org/10.5194/hess-23-5089-2019" target="_blank">https://doi.org/10.5194/hess-23-5089-2019</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Kratzert et al.(2024)</label><mixed-citation>
      
Kratzert, F., Gauch, M., Klotz, D., and Nearing, G.: HESS Opinions: Never train a Long Short-Term Memory (LSTM) network on a single basin, Hydrol. Earth Syst. Sci., 28, 4187–4201, <a href="https://doi.org/10.5194/hess-28-4187-2024" target="_blank">https://doi.org/10.5194/hess-28-4187-2024</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Krzysztofowicz(2001)</label><mixed-citation>
      
Krzysztofowicz, R.: The case for probabilistic forecasting in hydrology,
J. Hydrol., 249, 2–9,
<a href="https://doi.org/10.1016/S0022-1694(01)00420-6" target="_blank">https://doi.org/10.1016/S0022-1694(01)00420-6</a>, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Lees et al.(2021)</label><mixed-citation>
      
Lees, T., Buechel, M., Anderson, B., Slater, L., Reece, S., Coxon, G., and Dadson, S. J.: Benchmarking data-driven rainfall–runoff models in Great Britain: a comparison of long short-term memory (LSTM)-based models with four lumped conceptual models, Hydrol. Earth Syst. Sci., 25, 5517–5534, <a href="https://doi.org/10.5194/hess-25-5517-2021" target="_blank">https://doi.org/10.5194/hess-25-5517-2021</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Lorenz(1963)</label><mixed-citation>
      
Lorenz, E. N.: Deterministic Nonperiodic Flow, J. Atmos.
Sci., 20, 130–141, <a href="https://doi.org/10.1175/1520-0469(1963)020&lt;0130:DNF&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0469(1963)020&lt;0130:DNF&gt;2.0.CO;2</a>,
1963.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Loritz et al.(2024)</label><mixed-citation>
      
Loritz, R., Dolich, A., Acuña Espinoza, E., Ebeling, P., Guse, B., Götte, J., Hassler, S. K., Hauffe, C., Heidbüchel, I., Kiesel, J., Mälicke, M., Müller-Thomy, H., Stölzle, M., and Tarasova, L.: CAMELS-DE: hydro-meteorological time series and attributes for 1582 catchments in Germany, Earth Syst. Sci. Data, 16, 5625–5642, <a href="https://doi.org/10.5194/essd-16-5625-2024" target="_blank">https://doi.org/10.5194/essd-16-5625-2024</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>MeteoSwiss(2022)</label><mixed-citation>
      
MeteoSwiss: Extreme Value Analyses, version 2022,
<a href="https://www.meteoswiss.admin.ch/services-and-publications/applications/ext/climate-extremes-sp.html#https://productbrowser.app.meteoswiss.ch/productbrowser/productDisplay/climate-extremes-sp?lang=en&amp;cg1.duration=1-day-sum&amp;cg1.timeOfYear=DJF-MAM-JJA-SON&amp;cg1.location=SMA&amp;cg1.language=en&amp;cg1.productName=climate-extremes-precipitation-sp-daily" target="_blank"/>
(last access: 21 June 2026), 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Montanari and Di Baldassarre(2013)</label><mixed-citation>
      
Montanari, A. and Di Baldassarre, G.: Data errors and hydrological modelling:
The role of model structure to propagate observation uncertainty, Adv.
Water Resour., 51, 498–504, <a href="https://doi.org/10.1016/j.advwatres.2012.09.007" target="_blank">https://doi.org/10.1016/j.advwatres.2012.09.007</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Ng and Russell(2000)</label><mixed-citation>
      
Ng, A. Y. and Russell, S.: Algorithms for Inverse Reinforcement Learning, in: Proceedings of the Seventeenth International Conference on Machine Learning (ICML 2000), Stanford, CA, 663–670, 2000.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Paszke et al.(2019)</label><mixed-citation>
      
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Kopf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S.: PyTorch: An Imperative Style, High-Performance Deep Learning Library, in: Advances in Neural Information Processing Systems 32,  8024–8035, Curran Associates, Inc.,
<a href="http://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf" target="_blank">http://papers.neurips.cc/paper/9015-pytorch-an-imperative-style-high-performance-deep-learning-library.pdf</a> (last access: 7 July 2026), 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>Raffin et al.(2021)</label><mixed-citation>
      
Raffin, A., Hill, A., Gleave, A., Kanervisto, A., Ernestus, M., and Dormann,
N.: Stable-Baselines3: Reliable Reinforcement Learning Implementations,
J. Mach. Learn. Res., 22, 1–8, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Rasp and Lerch(2018)</label><mixed-citation>
      
Rasp, S. and Lerch, S.: Neural Networks for Postprocessing Ensemble
Weather Forecasts, Mon. Weather Rev., 146, 3885–3900,
<a href="https://doi.org/10.1175/MWR-D-18-0187.1" target="_blank">https://doi.org/10.1175/MWR-D-18-0187.1</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Roulin(2007)</label><mixed-citation>
      
Roulin, E.: Skill and relative economic value of medium-range hydrological ensemble predictions, Hydrol. Earth Syst. Sci., 11, 725–737, <a href="https://doi.org/10.5194/hess-11-725-2007" target="_blank">https://doi.org/10.5194/hess-11-725-2007</a>, 2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>Roulin and Vannitsem(2005)</label><mixed-citation>
      
Roulin, E. and Vannitsem, S.: Skill of Medium-Range Hydrological Ensemble
Predictions, J. Hydrometeorol., 6, 729–744,
<a href="https://doi.org/10.1175/JHM436.1" target="_blank">https://doi.org/10.1175/JHM436.1</a>, 2005.


    </mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>Schulman et al.(2017)</label><mixed-citation>
      
Schulman, J., Wolski, F., Dhariwal, P., Radford, A., and Klimov, O.: Proximal
Policy Optimization Algorithms, arXiv [cs.LG],
arXiv:1707.06347, <a href="https://doi.org/10.48550/arXiv.1707.06347" target="_blank">https://doi.org/10.48550/arXiv.1707.06347</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Schulz and Lerch(2022)</label><mixed-citation>
      
Schulz, B. and Lerch, S.: Machine Learning Methods for Postprocessing Ensemble
Forecasts of Wind Gusts: A Systematic Comparison, Mon. Weather Rev.,
150, 235–257, <a href="https://doi.org/10.1175/MWR-D-21-0150.1" target="_blank">https://doi.org/10.1175/MWR-D-21-0150.1</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>Schulz et al.(2021)</label><mixed-citation>
      
Schulz, B., El Ayari, M., Lerch, S., and Baran, S.: Post-Processing Numerical
Weather Prediction Ensembles for Probabilistic Solar Irradiance Forecasting,
Sol. Energy, 220, 1016–1031, <a href="https://doi.org/10.1016/j.solener.2021.03.023" target="_blank">https://doi.org/10.1016/j.solener.2021.03.023</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>Schulz et al.(2026)</label><mixed-citation>
      
Schulz, B., Köhler, L., and Lerch, S.: Aggregating Distribution Forecasts
from Deep Ensembles, Mach. Learn., 115, <a href="https://doi.org/10.1007/s10994-025-06946-3" target="_blank">https://doi.org/10.1007/s10994-025-06946-3</a>,
2026.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>Sivapalan et al.(2003)</label><mixed-citation>
      
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., Oki, T., Pomeroy, J. W., Schertzer, D., Uhlenbrook, S., and Zehe, E.:
IAHS Decade on Predictions in Ungauged Basins (PUB), 2003–2012: Shaping
an exciting future for the hydrological sciences, Hydrol. Sci.
J., 48, 857–880, <a href="https://doi.org/10.1623/hysj.48.6.857.51421" target="_blank">https://doi.org/10.1623/hysj.48.6.857.51421</a>, 2003.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>Skalse et al.(2025)</label><mixed-citation>
      
Skalse, J., Howe, N. H. R., Krasheninnikov, D., and Krueger, D.: Defining and
Characterizing Reward Hacking, arXiv [cs.LG],
arXiv:2209.13085, <a href="https://doi.org/10.48550/arXiv.2209.13085" target="_blank">https://doi.org/10.48550/arXiv.2209.13085</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>Thirel et al.(2024)</label><mixed-citation>
      
Thirel, G., Santos, L., Delaigue, O., and Perrin, C.: On the use of streamflow transformations for hydrological model calibration, Hydrol. Earth Syst. Sci., 28, 4837–4860, <a href="https://doi.org/10.5194/hess-28-4837-2024" target="_blank">https://doi.org/10.5194/hess-28-4837-2024</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>Towers et al.(2025)</label><mixed-citation>
      
Towers, M., Kwiatkowski, A., Terry, J., Balis, J. U., Cola, G. D., Deleu, T.,
Goulão, M., Kallinteris, A., Krimmel, M., KG, A., Perez-Vicente, R.,
Pierré, A., Schulhoff, S., Tai, J. J., Tan, H., and Younis, O. G.:
Gymnasium: A Standard Interface for Reinforcement Learning
Environments, arXiv [cs.LG], arXiv:2407.17032, <a href="https://doi.org/10.48550/arXiv.2407.17032" target="_blank">https://doi.org/10.48550/arXiv.2407.17032</a>,
2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>Vogel et al.(2018)</label><mixed-citation>
      
Vogel, P., Knippertz, P., Fink, A. H., Schlueter, A., and Gneiting, T.: Skill
of Global Raw and Postprocessed Ensemble Predictions of Rainfall over
Northern Tropical Africa, Weather Forecast., 33, 369–388,
<a href="https://doi.org/10.1175/WAF-D-17-0127.1" target="_blank">https://doi.org/10.1175/WAF-D-17-0127.1</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>Vrugt(2024)</label><mixed-citation>
      
Vrugt, J. A.: Distribution‐Based Model Evaluation and Diagnostics:
Elicitability, Propriety, and Scoring Rules for Hydrograph Functionals, Water Resour. Res., 60, e2023WR036710, <a href="https://doi.org/10.1029/2023WR036710" target="_blank">https://doi.org/10.1029/2023WR036710</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>Zanetta and Allen(2024)</label><mixed-citation>
      
Zanetta, F. and Allen, S.: scoringrules: a python library for probabilistic
forecast evaluation, GitHub [code], <a href="https://github.com/frazane/scoringrules" target="_blank"/> (last access: 7 July 2026), 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>Ziebart et al.(2008)</label><mixed-citation>
      
Ziebart, B. D., Maas, A. L., Bagnell, J. A., and Dey, A. K.: Maximum Entropy Inverse Reinforcement Learning, in: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 23, 1433–1438, <a href="https://aaai.org/papers/&#xA;01433-aaai08-227-maximum-entropy-inverse-reinforcement-learning/" target="_blank">https://aaai.org/papers/
01433-aaai08-227-maximum-entropy-inverse-reinforcement-
learning/</a> (last access: 7 July 2026), 2008.

    </mixed-citation></ref-html>--></article>
