Skip to main content
HydroModelSpec: Toward Standardized Machine Learning Model Exchange in Hydrology

HydroModelSpec: Toward Standardized Machine Learning Model Exchange in Hydrology

This is a Preprint and has not been peer reviewed. This is version 1 of this Preprint.

Add a Comment

You must log in to post a comment.


Comments

There are no comments or no comments have been made public for this article.

Downloads

Download Preprint

Authors

Nikhil Singh, Ramteja Sajja, Yusuf Sermet, Ibrahim Demir

Abstract

The rapid growth of deep learning models for hydrological forecasting (e.g., CNNs, LSTMs, Transformers) has created a fragmented ecosystem where trained models remain tied to their original frameworks, environments, and institutions. Despite substantial investments in model development, the hydrological community lacks a generalized structure for packaging models with their architecture, training provenance, I/O schema, performance benchmarks, and execution requirements into a portable, verifiable format that facilitates sharing and reproducibility. This study presents HydroModelSpec, a vendor-neutral, open-source, JSON Schema-based framework for encoding, validating, and exchanging hydrological machine learning models. Building on established practices in model documentation and metadata standards, the framework organizes model exchange through a layered architecture: a Core Schema for universal metadata, Domain Profiles for task-specific constraints (e.g., streamflow post-processing, water level forecasting, flood inundation, reservoir operations), Portable Document Types (including Model Cards, Execution Manifests, and Benchmark Reports) for contextualizing artifacts, and a Validator for enforcing structural and semantic conformance. The framework also incorporates a privacy attestation component, supporting trust-verified model sharing in regulated environments where training data cannot leave the originating device. By providing a standardized structure through which hydrological researchers and agencies can share trained models without sharing raw data, HydroModelSpec aims to lower the barriers to reproducibility, interoperability, and collaborative model development across the hydrological sciences.

DOI

https://doi.org/10.31223/X53V1B

Subjects

Environmental Sciences, Hydrology, Software Engineering

Keywords

Model Exchange Framework, Machine Learning Interoperability, Hydrological Forecasting, Reproducible Model Sharing, JSON Schema

Dates

Published: 2026-05-30 15:21

Last Updated: 2026-05-30 15:21

License

CC BY Attribution 4.0 International

Additional Metadata

Conflict of interest statement:
The authors declare that they have no competing interests.

Data Availability:
The HydroModelSpec schemas, validator, documentation, and reference materials are openly available at https://github.com/uihilab/HydroModelSpec.

Metrics

Views: 6

Downloads: 0