https://doi.org/10.25678/000CQ0

Data for: Metamorphic Testing of Machine Learning and Conceptual Hydrologic Models

Predicting the response of hydrologic systems to modified driving forces, beyond patterns that have occurred in the past, is of high importance for estimating climate change impacts or the effect of management measures. This kind of predictions requires a model, but the impossibility of testing such predictions against observed data makes it difficult to estimate their reliability. Metamorphic testing offers a methodology for assessing models beyond validation with real data. It consists of defining input changes for which the expected responses are assumed to be known at least qualitatively, and to test model behavior for consistency with these expectations. To increase the gain of information and reduce the subjectivity of this approach, we extend this methodology to a multi-model approach and include a sensitivity analysis of the predictions to training or calibration options. This allows us to quantitatively analyse differences in predictions between different model structures and calibration options in addition to the qualitative test to the expectations. In our case study, we apply this approach to selected conceptual and machine learning hydrological models calibrated to basins from the CAMELS data set. Our results confirm the superiority of the machine learning models over the conceptual hydrologic models regarding the quality of fit during calibration and validation periods. However, we also find that the response of machine learning models to modified inputs can deviate from the expectations and the magnitude and even the sign of the response can depend on the training data. In addition, even in cases in which all models passed the metamorphic test, there are cases in which the quantitative response is different for different model structures. This demonstrates the importance of this kind of testing beyond and in addition to the usual calibration-validation analysis to identify potential problems and stimulate the development of improved models.

Data and Resources

Citation

This Data Package

Reichert, P., Ma, K., Höge, M., Fenicia, F., Baity-Jesi, M., Feng, D., & Shen, C. (2024). Data for: Metamorphic Testing of Machine Learning and Conceptual Hydrologic Models (Version 1.0). Eawag: Swiss Federal Institute of Aquatic Science and Technology. https://doi.org/10.25678/000CQ0

The associated article

Reichert, P., Ma, K., Höge, M., Fenicia, F., Baity-Jesi, M., Feng, D., & Shen, C. (2023). Metamorphic Testing of Machine Learning and Conceptual Hydrologic Models. https://doi.org/10.5194/hess-2023-168

Metadata

  Publication Data Package for:
Open Data Open Data
Long-term data Long-term data
Author
  • Reichert, Peter
  • Ma, Kai
  • Höge, Marvin
  • Fenicia, Fabrizio
  • Baity-Jesi, Marco
  • Feng, Dapeng
  • Shen, Chaopeng
Keywords hydrologic modelling,conceptual hydrologic models,machine-learning hydrologic models,GR4,HBV,LSTM
Variables
  • discharge
Systems
  • river basins
Timerange
  • 1980-10-01 TO 2010-09-30
Geographic Name(s)
  • USA
Review Level domain specific
Curator Reichert, Peter
Contact Reichert, Peter <Peter.Reichert@eawag.ch>
DOI 10.25678/000CQ0