Probabilistic Seasonal Streamflow Forecasting Across California's Snow-Fed Basins through Agentic Discovery
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Physics. The day in general physics: instruments, methods and results across the field.
Kai: I'm Kai.
Mira: And I'm Mira, here with Lev.
Kai: We're looking at the paper: "Probabilistic Seasonal Streamflow Forecasting Across California's Snow-Fed Basins through Agentic Discovery".
Paper summary: Kai: So, looking at the paper "Probabilistic Seasonal Streamflow Forecasting Across California's Snow-Fed Basins through Agentic Discovery", it really shows the potential of agentic AI as a new way to develop scientific models.
Mira: It’s about taking a complex problem with changing dynamics in snowmelt and using this two stage workflow—where an agentic assistant first surveys data repositories and builds a baseline model, followed by automated refinement via Monte Carlo Tree Search—to compress months of traditional modeling effort into days.
Lev: The success of this approach highlights the potential of agentic AI as a new paradigm for scientific model development. It allows the human researcher to focus purely on formulating physical constraints and high level modeling directives, while the agent manages implementation details and code optimization.
Kai: They integrate multi watershed learning and explicit physical priors into their system, which is important because it helps guarantee physically plausible extrapolations.
Mira: The method also uses an adaptive ensemble of three XGBoost quantile regression sub-models to capture different aspects of the flow generation process, from raw targets to climatological residuals.
Lev: It’s about having a collaborative workflow where the AI agent discovers datasets and synthesizes domain knowledge, and then an automated system refines those solutions through Monte Carlo Tree Search over the code space.
Kai: This division of labor allows for semi automatic adaptation as new data becomes available, which is something that could be really useful in practice for managing water resources.
Mira: The paper shows how to move past traditional methods that struggle with evolving hydroclimatic changes, by allowing the system to learn and adapt through this iterative cycle of AI exploration and code refinement.
Conclusion: Kai: So, we're wrapping up on this paper about probabilistic seasonal streamflow forecasting for California's Sierra Nevada watersheds using an agentic discovery workflow.
Mira: Right, so what does that actually mean for the people living in those areas?
Lev: It means they can get better forecasts for when the water is coming down from the snowpack.
Kai: They can predict how much water will be flowing in a month, like full natural flow, at least one to six months out.
Mira: And they are using this adaptive ensemble of three XGBoost models with physics-informed feature engineering to do it.
Lev: The agentic discovery part is what's new here; it’s about the AI figuring out which data sets and modeling approaches are actually useful, instead of just guessing.
Kai: It sounds like they took a lot of traditional modeling work and compressed it down using this AI approach.
Mira: Exactly, they used a two stage workflow where an agentic assistant handles the initial discovery, and then a code mutation system refines those models through something called Monte Carlo Tree Search.
Lev: That refinement process is what takes the exploration from just finding ideas to actually building a working model that performs well on the validation data.
Kai: The results show they reduced average quantile loss by up to twenty nine percent for early season runoff predictions, especially for April through July flows.
Mira: And those box plots show that their model can capture the seasonal pattern of flow better than previous methods.
Lev: But we have to remember the limitations mentioned in the paper; it's a coarse monthly integration step, so it might miss some smaller sub-monthly things.
Kai: It shows how this agentic method can accelerate scientific modeling significantly, letting researchers focus on the physics instead of just managing all the implementation details.
Mira: This whole process suggests that we might be able to semi automatically adapt these forecasting systems as new data comes in over time.
Ignacio Lopez-Gomez, Michael P. Brenner, Tapio Schneider
Google Research · Harvard University · California Institute of Technology
physics.ao-ph
Submitted: 2026-05-15
Updated: 2026-12-03
Code: https://github.com/drivendataorg/water-supply-forecastrodeo
The gist: Accurate seasonal runoff forecasts are critical for managing California’s reservoirs and water supply for millions of its residents.<ref:2605.16178#pg1,Accurate seasonal runoff forecasts are…
Key concepts
- Agentic Workflow
- This is a collaborative process between an AI assistant that discovers data and designs initial models, and an automated code-mutation system that refines those models using Monte Carlo Tree Search. This workflow accelerates scientific modeling by automating the iterative steps of data discovery, feature engineering, and model optimization.
- XGBoost Quantile Regression
- This is a machine learning technique used to predict not just a single value for streamflow, but a range of possible outcomes (quantiles). The system uses three different sub-models trained to capture different aspects of the flow generation process, allowing it to provide probabilistic forecasts instead of just one estimate.
- Physics-Informed Feature Engineering
- This involves creating input variables for the models that are based on known hydrological or physical principles. For example, features like snowpack ripeness and melt timing are engineered to reflect real-world physical processes, ensuring the model's predictions remain scientifically plausible.
- Risk-Adjusted Objective ($L_{adj}$)
- This is a composite metric used to guide the optimization of the three sub-models. It balances two goals: achieving high accuracy (probabilistic skill) and maintaining good performance across different flow regimes (operational seasonal-volume skill), using a variance penalty to prevent overconfidence.
Terminology
Summary
Accurate seasonal runoff forecasts are critical for managing California’s reservoirs and water supply for millions of its residents. p. 0<ref:2605.16178#pg1,Accurate seasonal runoff forecasts are critical for managing California’s reservoirs and water supply for millions of its residents>. p. 0 The resulting system forecasts monthly Full Natural Flow (FNF) at 1- to 6-month lead times across 23 Sierra Nevada watersheds using an adaptive ensemble of three XGBoost quantile regression sub-models with physics-informed feature engineering. p. 0<ref:2605.16178#pg1,The resulting system forecasts monthly Full Natural Flow (FNF) at 1- to 6-month lead times across 23 Sierra Nevada watersheds using an adaptive ensemble of three XGBoost quantile regression sub-models with physics-informed feature engineering>. p. 0 p. 0
Development Methodology
The development process employs a collaborative workflow between an agentic AI assistant and an automated code-mutation system powered by large language models.<ref:2605.16178#pg2>. This workflow involves a two-stage process where an agentic AI assistant performs data discovery, initial model design, feature engineering, and integration of prior knowledge. p. 1<ref:2605.16178#pg2,Guided by iterative human feedback, the agentic AI assistant Google Antigravity executed the initial stages of scientific model development, which included gathering data, researching prior methods, and exploring potential modeling approaches>. p. 1 Subsequently, an MCTS process driven by a code-mutation agent (ERA) optimized each modeling approach on the validation set according to a user-defined scoring function. p. 1<ref:2605.16178#pg2,Subsequently, an MCTS process driven by a code-mutation agent (ERA) optimized each modeling approach on the validation set according to a user-defined scoring function>. p. 1
Data and Feature Engineering
The ground truth data corresponds to the monthly FNF records estimated by the California Department of Water Resources (DWR), obtained from CDEC.<ref:2605.16178#pg3>. The predictor suite comprises three categories:
-
Station measurements of SWE from the SNOTEL network and other agencies participating in the California Cooperative Snow Surveys. p. 4<ref:2605.16178#pg3>.
-
Gridded analyses of temperature, precipitation, and SWE. p. 4<ref:2605.16178#pg3>.
-
Historical monthly FNF from the preceding 6 months excluding the most recent month. p. 4<ref:2605.16178#pg3>.
Feature engineering involves constructing large-scale and global features, such as cyclical encodings of issuance and target months and band-averaged PRISM and UA SWANN fields. p. 5<ref:2605.16178#pg4>. Local features capture the specific hydrological state of each target watershed, including log-transformed FNF for the most recent available month and historical mean. p. 6<ref:2605.16178#pg7,Log-transformed FNF for the most recent available month (one month prior to the current month) and the historical mean (over a 5-month past-history window), both normalized by T_s = 104 acre-feet (AF)>
Model Architecture and Optimization
The final framework comprises three XGBoost quantile regression sub-models, designed to capture distinct aspects of the flow generation process.<ref:2605.16178#pg8,The first sub-model, ElevBand, operates at medium complexity (𝑑max = 6, n = 3,200, \eta = 0. p. 7 p. 7005, \lambda = 300) and is trained directly on the raw log-transformed targets y = \log(1 + FNF/F_s) with F_s = 104 acre-feet>. p. 7 p. 7 The second sub-model, MeltFeat, uses a high-capacity configuration (dmax = 12, n = 6,000, α = 0. p. 705) designed to capture complex, nonlinear hydrothermal interactions—particularly the interplay between snowpack ripeness. p. 7<ref:2605.16178#pg8,The second sub-model, MeltFeat, uses a high-capacity configuration (𝑑max = 12, n = 6,000, \eta = 0. p. 7 p. 7003, \lambda = 450) designed to capture complex, nonlinear hydrothermal interactions—particularly the interplay between snowpack ripeness, melt timing, and degree-day accumulation>. p. 7 p. 7 The third sub-model, ClimResid, has the most constrained capacity (dmax = 4, n = 5,500) and is the only one trained on climatological residuals rather than raw targets. p. 7 p. 7<ref:2605.16178#pg8,The third sub-model, ClimResid, has the most constrained capacity (𝑑max = 4, n = 5,500, \eta = 0. p. 70015, \lambda = 250) and is the only one trained on climatological residuals rather than raw targets>. p. 7 Model optimization uses an explicitly human-engineered composite metric to balance per-lead probabilistic skill and operational seasonal-volume skill. p. 8<ref:2605.16178#pg9,The final risk-adjusted objective minimized by MCTS is L_{adj} = L + \bar{\sigma}_\ell, L_\bar} = \frac{1}{K} \sum_{k=1}^{K} L_k, which adds a variance penalty discouraging solutions that achieve low error on one regime at the expense of another>. p. 8 p. 8
Performance Evaluation
The agent-evolved model achieves superior skill for early-season cumulative April–July runoff predictions, reducing watershed-averaged quantile forecast error by up to 29%.<ref:2605.16178#pg1,When evaluated over the test period 2021–2025, the agent-evolved model’s cumulative runoff forecasts are more skillful than B120 for early-season issuances>. p. 1 Specifically, the model reduced average quantile loss by 29% in February and 11% in March. p. 1<ref:2605.16178#pg3>. The ensemble box plots also demonstrate our model’s ability to capture the seasonal structure of FNF: April–July forecasts exhibit the largest ensemble spread and highest peak flows. p. 9<ref:2605.16178#pg9>.
Conclusion
The success of this approach highlights the potential of agentic AI as a new paradigm for scientific model development. p. 0 p. 0<ref:2605.16178#pg13,The success of this approach highlights the potential of agentic AI as a new paradigm for scientific model development>. p. 0 p. 0 p. 0 This two-stage workflow—where an agentic assistant first surveys data repositories and constructs a multi-source baseline model, followed by automated refinement via Monte Carlo Tree Search (MCTS)—compressed months of traditional modeling effort into days. p. 1<ref:2605.16178#pg13,This division of labor allows the human researcher to focus purely on formulating physical constraints, high-level modeling directives, and verification objectives, while the agent manages implementation details and code optimization>. The proposed model integrates multiwatershed learning and explicit physical priors. p. 1<ref:2605.16178#pg13,To guarantee physically plausible extrapolations, the model injects strictly monotonic constraints and specialized representations such as snowpack ripeness and log-transformed streamflow ranges>. p. 5 Agentic AI frameworks may offer a solution by semi-automatically adapting the forecasting system as new data becomes available. p. 1<ref:2605.16178#pg14>. The coarse monthly integration step necessarily obscures high-frequency sub-monthly phenomena. p. 0<ref:2605.16178#pg13,Our coarse monthly integration step necessarily obscures high-frequency sub-monthly phenomena>. p. 0
--- Page 1 ---
Probabilistic Seasonal Streamflow Forecasting Across California’s Sierra Nevada Watersheds with Agentic AI
Accurate seasonal runoff forecasts are critical for managing California’s reservoirs and water supply for millions of its residents.<ref:2605.16178#pg1,The resulting system forecasts monthly Full Natural Flow (FNF) at 1- to 6-month lead times across 23 Sierra Nevada watersheds using an adaptive ensemble of three XGBoost quantile regression sub-models with physics-informed feature engineering>
Pruning redundant reasoning tokens
This paper demonstrates that a collaborative workflow between an agentic AI assistant and an automated code-mutation system, both powered by large language models, can accelerate the development of competitive seasonal runoff forecasting systems.<ref:2605.16178#pg1,In our framework, the AI agent discovers relevant datasets, synthesizes domain knowledge from prior forecasting competitions and the scientific literature, and explores the space of model architectures, while the code-mutation system refines each of the solutions explored by the agent through Monte Carlo Tree Search over the code space>. p. 0
How the training signal is built
The scoring function used to guide ERA optimization balances per-lead probabilistic skill and operational seasonal-volume skill.<ref:2605.16178#pg9,The final risk-adjusted objective minimized by MCTS is L_{adj} = L + \bar{\sigma}_\ell, L_\bar} = \frac{1}{K} \sum_{k=1}^{K} L_k, which adds a variance penalty discouraging solutions that achieve low error on one regime at the expense of another>. The composite score is defined as a flow-weighted mean CRPS and a cumulative April–July FNF target, blended with equal weight. p. 8<ref:2605.16178#pg9,The two components are blended with equal weight, and the result normalized by the mean absolute observed flow |y| on the validation fold k to produce a normalized composite score L_k = \frac{1}{2}|y| (CRPSFW + CRPSAMJJ)>. p. 8
Where the gains come from
The agent-evolved model achieves its largest improvements over B120 for February issuances, when the B120 system has access to only limited snow-season observations and its regression framework is at a relative disadvantage.<ref:2605.16178#pg9>. The shift in relative advantage across watersheds suggests that additional predictors used in B120’s April forecasts provide predictive skill beyond what our selected feature set offers. p. 0<ref:2605.16178#pg13>.
The resulting system forecasts monthly Full Natural Flow (FNF) at 1- to 6-month lead times across 23 Sierra Nevada watersheds using an adaptive ensemble of three XGBoost quantile regression sub-models with physics-informed feature engineering.<ref:2605.16178#pg1,The resulting system forecasts monthly Full Natural Flow (FNF) at 1- to 6-month lead times across 23 Sierra Nevada watersheds using an adaptive ensemble of three XGBoost quantile regression sub-models with physics-informed feature engineering>.
The first sub-model, ElevBand, operates at medium complexity (dmax = 6, n = 3,200, η = 0.005, λ = 300) and is trained directly on the raw log-transformed targets y = log(1 + FNF/Fs) with Fs = 104 acre-feet. p. 7<ref:2605.16178#pg8,The first sub-model, ElevBand, operates at medium complexity (𝑑max = 6, n = 3,200, \eta = 0.005, \lambda = 300) and is trained directly on the raw log-transformed targets y = \log(1 + FNF/F_s) with F_s = 104 acre-feet>. The second sub-model, MeltFeat, uses a high-capacity configuration (dmax = 12, n = 6,000, η = 0. p. 7003, λ = 450) designed to capture complex, nonlinear hydrothermal interactions—particularly the interplay between snowpack ripeness. p. 7<ref:2605.16178#pg8,The second sub-model, MeltFeat, uses a high-capacity configuration (𝑑max = 12, n = 6,000, \eta = 0.003, \lambda = 450) designed to capture complex, nonlinear hydrothermal interactions—particularly the interplay between snowpack ripeness, melt timing, and degree-day accumulation>. The third sub-model, ClimResid, has the most constrained capacity (dmax = 4, n = 5,500) and is the only one trained on climatological residuals rather than raw targets.<ref:2605.16178#pg8,The third sub-model, ClimResid, has the most constrained capacity (dmax = 4, n = 5,500), and is the only one trained on climatological residuals rather than raw targets>. p. 7
The agentic AI assistant was used to identify relevant predictor datasets for seasonal runoff forecasting in California and to generate data acquisition pipelines in Python.<ref:2605.16178#pg4>. The agent synthesized insights from the hydrological literature to engineer features such as snowpack ripeness and melt-onset indicators. p. 3<ref:2605.16178#pg4,Furthermore, the agent synthesized insights from the hydrological literature to engineer features such as snowpack ripeness and melt-onset indicators>. p. 3 The high regularization discovered by ERA appears to prevent overconfident predictions. p. 7<ref:2605.16178#pg9>. The success of this approach highlights the potential of agentic AI as a new paradigm for scientific model development.<ref:2605.16178#pg13,The success of this approach highlights the potential of agentic AI as a new paradigm for scientific model development>.
Our forecast system was developed through a two-stage agentic workflow that mirrors and accelerates the iterative process a domain expert may follow.<ref:2605.16178#pg2,Our forecast system was developed through a two-stage agentic workflow that mirrors and accelerates the iterative process a domain expert may follow>. p. 1 The main input to this workflow is a clear definition of the forecasting task, including the target field (FNF), the forecast horizon (1 to 6 months), the spatial scope (watersheds covered by B120 forecasts), the left-out test period (2021-2025), and the validation metric. p. 1<ref:2605.16178#pg3>.
The agentic AI assistant was then prompted to review the scientific literature for modeling approaches capable of improving upon California’s B120 forecasting system. p. 2<ref:2605.16178#pg4>. Following the data discovery and research stage, we provided the agentic assistant with access to the datasets we selected, a human-designed multi-modal data loader built to prevent temporal data leakage, a scoring function, and the specific training and validation periods (with the test period strictly withheld). p. 3<ref:2605.16178#pg4,Following the data discovery and research stage, we provided the agentic assistant with access to the datasets we selected, a human-designed multi-modal data loader built to prevent temporal data leakage, a scoring function, and the specific training and validation periods (with the test period strictly withheld)>
The agentic AI assistant was then prompted to review the scientific literature for modeling approaches capable of improving upon California’s B120 forecasting system.<ref:2605.16178#pg4>. This division of labor allows the human researcher to focus purely on formulating physical constraints, high-level modeling directives, and verification objectives, while the agent manages implementation details and code optimization. p. 3<ref:2605.16178#pg13,This division of labor allows the human researcher to focus purely on formulating physical constraints, high-level modeling directives, and verification objectives, while the agent manages implementation details and code optimization>. The development of the proposed forecasting system was significantly accelerated by leveraging an agentic development framework. p. 1<ref:2605.16178#pg13>. The success of this approach highlights the potential of agentic AI as a new paradigm for scientific model development.<ref:2605.16178#pg13,The success of this approach highlights the potential of agentic AI as a new paradigm for scientific model development>.
We manually pruned modeling frameworks based on expert human judgment and their overall performance on the training and validation sets.<ref:2605.16178#pg9>. All remaining modeling decisions were delegated to the agents. p. 6<ref:2605.16178#pg9>. The agentic AI assistant was then prompted to review the scientific literature for modeling approaches capable of improving upon California’s B120 forecasting system.<ref:2605.16178#pg4>. The final framework comprises three XGBoost quantile regression sub-models, trained at 13 quantile levels (τ ∈ [0. p. 601, 0.99]).<ref:2605.
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Agentic AI assistant performs data discovery, literature synthesis, competition analysis, and baseline model construction to identify relevant predictor datasets and research prior knowledge.
-
The Empirical Research Assistant refines each solution explored by the agent through Monte Carlo Tree Search over the code space to optimize modeling approaches against a human-designed scoring function.
-
The resulting system forecasts monthly Full Natural Flow (FNF) at 1- to 6-month lead times across 23 Sierra Nevada watersheds using an adaptive ensemble of three XGBoost quantile regression sub-models with physics-informed feature engineering.
Sources
- An AI system to help scientists write expert-level empirical software
- Solving an Open Problem in Theoretical Physics using AI-Assisted Discovery
- AIMIP Phase 1: systematic evaluations of AI weather and climate models
- Discovering Mechanistic Models of Neural Activity: System Identification in an in Silico Zebrafish
- AlphaEvolve: A coding agent for scientific and algorithmic discovery
- CatBoost: unbiased boosting with categorical features
Related papers
- Anthropogenic Heat in Urban Climate Systems: Forcing, Sensitivity, and Feedback
- NORi: An ML-Augmented Ocean Boundary Layer Parameterization
- ClimTip-GML: A global bias-corrected and downscaled dataset for assessing impacts of climate tipping events
- High-level, efficient ocean modeling at all scales with Oceananigans
- HybridCT: ML Accelerated Tomography for Climate Relevant 3D Cloud Observations
- DaYu-TC: a global-regional nested AI system for tropical cyclone forecasting