<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Predicting Water Temperature Dynamics of Unmonitored Lakes With Meta‐Transfer Learning</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>07/01/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10287168</idno>
					<idno type="doi">10.1029/2021WR029579</idno>
					<title level='j'>Water Resources Research</title>
<idno>0043-1397</idno>
<biblScope unit="volume">57</biblScope>
<biblScope unit="issue">7</biblScope>					

					<author>Jared D. Willard</author><author>Jordan S. Read</author><author>Alison P. Appling</author><author>Samantha K. Oliver</author><author>Xiaowei Jia</author><author>Vipin Kumar</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Environmental data often do not exist at the appropriate resolution or extent for decision-making or characterizing change. Models can be used to fill gaps in key ecosystem variables, such as extreme precipitation rates (Lockhoff et al., 2014), soil moisture (Mishra et al., 2017), hydrological flow (Y. Liu et al., 2017), and lake temperature (Aguilera et al., 2016), which otherwise would be unavailable at the spatial and temporal scales needed for ecological decision-making (Lovett et al., 2007). Although sensor data are increasingly prevalent, it will always be incomplete, especially for variables where observations are concentrated in a small subset of locations and the majority of locations remain unmonitored. Since observing key variables like these at scale is prohibitively costly (Caughlan & Oakley, 2001), models that can efficiently use the existing data and transfer information to unmonitored systems are critical to closing our information gaps.There are many modeling approaches for predicting complex environmental phenomena, and model choice can be viewed as a trade-off among prediction accuracy, data needs, and generalizability to new systems. Process-based (PB) models are a popular modeling choice for water resources tasks like the prediction of stream temperature (]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>environmental models. Ensemble tree methods like gradient boosting and random forests, in addition to more advanced methods like deep learning <ref type="bibr">(Goodfellow et al., 2016)</ref>, have been effectively used for geoscientific applications <ref type="bibr">(Reichstein et al., 2019)</ref> and water resources <ref type="bibr">(Erdal &amp; Karakurt, 2013;</ref><ref type="bibr">Shen, 2018;</ref><ref type="bibr">Tyralis et al., 2019)</ref>. A major reason for this success is that ML models, given sufficient data, can discern patterns and structure in problems where complexity prohibits explicit programming of a system's exact physical nature. Given this ability to automatically extract complex relationships from data, ML models (e.g., deep learning) appear promising for scientific problems with physical processes that are not fully understood by researchers, but for which data of adequate quality and quantity are available. Given enough data, data-driven models can increase prediction accuracy relative to existing PB methods due to lack of a priori constraints and the expressive power of modern data-driven models, though they can lack interpretability and generalizability, and they often fail to leverage domain knowledge. Coupling deep learning in particular with PB models is an emerging paradigm for modeling earth systems, enabling the discovery of patterns that are not only generalizable but also consistent with existing scientific knowledge <ref type="bibr">(Karpatne et al., 2018;</ref><ref type="bibr">Reichstein et al., 2019;</ref><ref type="bibr">Shen, 2018)</ref>. For example, in <ref type="bibr">Jia et al. (2019)</ref> and J. S. <ref type="bibr">Read et al. (2019)</ref>, typically data-hungry long short-term memory deep learning models <ref type="bibr">(Hochreiter &amp; Schmidhuber, 1997)</ref> are augmented with PB knowledge to predict lake temperature dynamics more accurately than both the PB model and the standard deep learning model. This class of method has been called "process-guided deep learning" (PGDL; see Table <ref type="table">1</ref> for list of abbreviations) and is an accelerating field of study <ref type="bibr">(Kashinath et al., 2021;</ref><ref type="bibr">Willard, Jia, et al., 2020)</ref>. Previous works modeling lake temperature at a broad scale have focused on calibrating parameters with available data, when data are unavailable, using recommended default values based on field and laboratory studies (J. S. <ref type="bibr">Read et al., 2014;</ref><ref type="bibr">Winslow et al., 2017)</ref>. These approaches have since been outperformed by PGDL models in cases of both high and low data availability (J. S. <ref type="bibr">Read et al., 2019)</ref>. However, in the case of no available temperature measurements to train or calibrate a model, no effort has yet been made to transfer PGDL models from well-monitored systems for prediction.</p><p>Lakes are an exemplar for the disparity in observations across systems, where &gt;80% of in situ water quality observations come from 20% of monitored lakes <ref type="bibr">(Stanley et al., 2019)</ref>, and the majority of lakes have no in situ monitoring data. In this work, we designate "monitored" versus "unmonitored" status of lakes based on the presence of in situ data, and consider remote sensing integration in the discussion section. How can we leverage the information in a small population of lakes to make predictions in the much larger population of sparsely monitored to completely unmonitored systems? First, temporal synchrony in characteristics across ecosystems suggests that information or models from a highly monitored system could be WILLARD ET AL. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Table 1</head><p>List of Abbreviations transferred to a less-or unmonitored system. Examples include synchrony between stream temperature and streamflow, between organic matter concentrations across different lakes <ref type="bibr">(Baines et al., 2000;</ref><ref type="bibr">Erlandsson et al., 2008)</ref>, or coherence in lake temperature patterns <ref type="bibr">(Benson et al., 2000)</ref>. Synchrony can emerge for a variety of reasons, including but not limited to shared underlying physical processes, weather conditions, or landscape context; patterns in synchrony across ecosystems therefore exhibit strong relationships to other physical variables. For instance, lake morphometric factors like maximum depth and surface area have a direct relationship to the stratification dynamics of lakes <ref type="bibr">(Gorham &amp; Boyce, 1989;</ref><ref type="bibr">Stefan et al., 1996)</ref> and correlate with temporal coherence between lakes <ref type="bibr">(George et al., 2000;</ref><ref type="bibr">Magnuson et al., 1990)</ref>. Water clarity can also affect the responses of below-surface phenomena to solar radiation across different systems (J. S. <ref type="bibr">Read &amp; Rose, 2013;</ref><ref type="bibr">Rose et al., 2016)</ref>. Differences in coherence strength can also be attributed to different dominant external drivers <ref type="bibr">(Livingstone, 2008)</ref>. Fortunately, many of these physical characteristics like shape, depth, and water clarity are more widely available than other measures of water quality. Further, these characteristics mediate the relationship between external drivers and within-lake responses (e.g., through sedimentation rates and head storage), such that information gained about dynamics in one lake could be transferred to other similar lakes, regardless of whether they exhibit temporal synchrony. Determining the generalizability of the relationship between physical characteristics and water quality dynamics across different ecosystems could allow the strategic transfer of site-specific models from well-monitored systems to predict temporal patterns in unmonitored systems.</p><p>Currently, methods to extend accurate site-specific models to broad scale predictions are rare or nonexistent. In hydrology, extending site-specific parameterizations has been achieved through regionalization and catchment classification <ref type="bibr">(Samaniego et al., 2010;</ref><ref type="bibr">Sivapalan et al., 2003;</ref><ref type="bibr">Wagener et al., 2007)</ref>. For example, <ref type="bibr">Samaniego et al. (2010)</ref> focus on transfer functions connecting geophysical attributes to process model parameters. However, these approaches are not widely regarded as successful, with noted drawbacks of (a) uncertainty in geophysical attributes, which translates to large uncertainty in parameter estimates, and (b) often-weak relationships between these attributes and parameters, perhaps because many of those parameters lack direct physical meaning <ref type="bibr">(Archfield et al., 2015)</ref>. Water resources research has yet to establish a robust way to bridge scales for prediction accuracy for key ecosystem variables.</p><p>Transfer learning is a powerful technique for applying knowledge learned from one problem domain to another, typically to compensate for missing or nonexistent data in the new problem domain. The idea is to transfer knowledge from an auxiliary task, that is, the source task, where sufficient labeled data are available, to a new but related task, that is, the target task, often when data are scarce or inadequate <ref type="bibr">(Pan &amp; Yang, 2010;</ref><ref type="bibr">Weiss et al., 2016)</ref>. Transfer learning using deep neural networks has shown recent success in ecological applications such as plant classification models <ref type="bibr">(Kaya et al., 2019)</ref>, air quality prediction <ref type="bibr">(Ma et al., 2019)</ref>, and grassland fire risk assessment (X.-p. <ref type="bibr">Liu et al., 2019)</ref>. Transfer learning for deep neural networks is analogous to calibrating PB models in well-monitored systems and transferring the calibrated parameters to models for unmonitored systems, which has shown success in hydrological applications <ref type="bibr">(Kumar et al., 2013;</ref><ref type="bibr">Roth et al., 2016)</ref>. The task of deciding what model or parameters to transfer can be posed as a problem to be solved by meta-learning, or learning from previous learning experiences, which is another active area of machine learning research <ref type="bibr">(Vanschoren, 2018</ref><ref type="bibr">(Vanschoren, , 2019))</ref>. In this study, we focus on the meta-learning task of systematically learning how to map candidate source models (models trained on well-monitored lakes) to a particular task (prediction in unmonitored lakes) <ref type="bibr">(Brazdil et al., 2009)</ref>. For clarity, we define base-learning models as the traditional machine learning models or PB models that learn or are calibrated for specific tasks (e.g., prediction in a specific lake) as opposed to the meta-learning model's goal of learning from a multitude of experiences transferring source models to target tasks. In the transfer learning context, which we call meta-transfer learning (MTL), the meta-learning predicts which base models to transfer based on performance metrics for past transfer learning experiences and meta-features relating to the transferability of base-learning models <ref type="bibr">(Ying et al., 2018)</ref>. We demonstrate this method by transferring a suite of source lake temperature models to a number of artificially unmonitored target lakes, where temperature observations were only used for final evaluation. The metamodel was used to determine which source models would transfer well to the target lake and which lake attributes can best indicate the transfer performance.</p><p>Here, we demonstrate a MTL framework to predict lake temperature at depth. Our objectives are to (a) demonstrate the use of a metamodel to rank both PB models and PGDL models from well-monitored lakes (source lakes) in terms of their expected ability to predict lake temperature for a different, unmonitored lake (target lake); (b) evaluate the MTL approach against existing PB modeling approaches; (c) investigate the extent to which MTL can outperform the existing state-of-the-art PGDL models for the target lake itself in situations of limited observation data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Materials and Methods</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Overview</head><p>Here, we describe a method for model selection of trained source models from data-rich systems to predict lake water temperature in target systems with no data. The general idea of the MTL framework is visualized in Figure <ref type="figure">1</ref> and summarized as follows, 1. Build and train two source models, a calibrated PB model and PGDL model, for each of the 145 well-monitored lakes. 2. For each source lake, use all 144 other source models of the same type (PB or PGDL) to predict daily temperatures and evaluate prediction accuracy. 3. Train the meta-learning model to predict the 145 &#215; 144 collected model performance values from (2) based on the lake characteristics that we hypothesized could be important for selecting good transfer models. 4. Given an artificially unmonitored target lake, where data are only used for final evaluation, and its meta-features, use the meta-learning model to predict model performance of each source model. Use the source model[s] with the lowest predicted error to model the target.</p><p>Sections 2.2 and 2.3 summarize the two types of source models, PB and PGDL models, respectively. Then, we describe the meta-learning model and how it is trained and used to identify lake features that predict successful transfers between source and target lakes 2.4. Lastly, Section 2.5 describes the data used in Section 2.6, which contains descriptions of the experiments.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">PB Models</head><p>As in previous studies of deep learning applied to lake temperature prediction <ref type="bibr">(Jia et al., 2019;</ref><ref type="bibr">J. S. Read et al., 2019)</ref>, we chose the General Lake Model (GLM) 2.2 <ref type="bibr">(Hipsey et al., 2019)</ref> to represent PB modeling, due to its proven ability to simulate thermal hydrodynamics in lakes along with its open-source code availability (<ref type="url">https://github.com/AquaticEcoDynamics/GLM</ref>). GLM can also be used to predict temperature at broad scales using widely available lake characteristics (depth, surface area, clarity) to parameterize the model even when observations are not available <ref type="bibr">(Winslow et al., 2017)</ref>. We acknowledge that GLM may not be the ideal PB model in all calibrated and uncalibrated modeling scenarios, but consider the comparison of different PB models for broad scale prediction to be out-of-scope of this work. Given that the MTL framework can use any similar hydrodynamic PB model, we will further refer to the calibrated GLM using all the available observation data as "PB" and the parameterized but uncalibrated version of GLM as "PB0." To calibrate GLM for the PB models, we selected three parameters for calibration based on their known importance to model fits and their relative uncertainty: solar radiation scaling factor, momentum exchange coefficient, and hypolimnetic mixing efficiency. We used the optim() function in R (R Core Team, 2013) to modify these parameter values to minimize the RMSE of GLM temperature predictions relative to the available observations. See the supporting information (Text S3) in J. S. <ref type="bibr">Read et al. (2019)</ref> for details. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">PGDL Models</head><p>We used a recently developed PGDL model for lake temperature prediction <ref type="bibr">(Jia et al., 2019;</ref><ref type="bibr">J. S. Read et al., 2019)</ref>, where process knowledge was combined with a long short-term memory (LSTM) network via (a) a loss function term to encourage physical consistency and (b) pretraining using PB model simulation data. LSTM networks are part of a class of deep learning architectures built for sequential and time series modeling called recurrent neural networks <ref type="bibr">(Hochreiter &amp; Schmidhuber, 1997)</ref>. These are particularly suited for predicting lake temperature dynamics given the often persistence of the response and the time lag between the input drivers and water temperature changes that can be represented in the memory properties of LSTM <ref type="bibr">(Jia et al., 2019;</ref><ref type="bibr">J. S. Read et al., 2019)</ref>. Here, the simulation data used for pretraining are the output of the parameterized but uncalibrated version of the PB model (PB0) described in Section 2.2. The components of the PGDL model are described in more detail in supporting information (Text S1). The input features for the model are the meteorological factors that contribute to incoming and outgoing heat fluxes and the depth (distance from surface) of the target prediction <ref type="bibr">(Fink et al., 2014;</ref><ref type="bibr">Wetzel &amp; Likens, 2000;</ref><ref type="bibr">Zhong et al., 2016)</ref>. This includes short-wave and long-wave radiation (in W/m 2 ), air temperature (in &#176;C), relative humidity (0%-100%), wind speed (in m/s), rain (in m/day), and snow (in m/day). The meteorological features are identical to the drivers used in the GLM simulations except that they are each normalized to a mean of 0 and standard deviation of 1 based on a calculated global mean for each driver across all lakes, a recommended step for training neural networks to address differences in the scales across input variables <ref type="bibr">(Sola &amp; Sevilla, 1997)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.">MTL With Gradient Boosting Regression</head><p>Our MTL framework aims to predict the accuracy of each source model on an unmonitored target lake.</p><p>Here, two metamodels were built, one for predicting the performance of source PB models on target lakes (PB-MTL), and one for predicting the performance of source PGDL models on the same target lakes (PG-DL-MTL). As shown in Figure <ref type="figure">1</ref>, each meta-learning model takes in lake-level features that may contain information about the transferability from a source to a target. We call these predictors meta-features; meta-features included differences in physical attributes between the source and target lake, measures of data quality in the source lake, and features of the source and target that were derived from PB0 such as the likelihood of stratification. The response variable was the prediction accuracy (measured as root mean squared errors, RMSEs) of transferring the source model (either PGDL or PB) to the target lake, where lower RMSEs represent a successful transfer between lakes. If i is the index for the source lake, and j the index of the target lake, the meta-features for each unique source-target pair can be written as X i&#8594;j , and target RMSE values as RMSE i&#8594;j . The function &#61510; we are attempting to approximate can then be written as</p><p>The training data set for each metamodeling scenario then contains all (n) &#215; (n -1) possible source-target pairs as follows:</p><p>The following subsections describe details of this MTL approach, including the method of gradient boosting regression used for the metamodel, how meta-features were selected, and how gradient boosting hyperparameters were tuned.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.1.">Gradient Boosting Regression</head><p>Due to its predictive power, ease of implementation, and ability to illustrate the relationships between predictors and the response, we chose gradient boosting regression to predict the RMSE of source-target pairs from meta-features. In short, gradient boosting creates an ensemble of estimator models. It starts by fitting an initial regression tree model to the data. Regression decision trees are generated such that each decision node in the tree contains a test on the input variable's value, and the tree terminates with nodes that contain the predicted output variable values (RMSE in this case). Then, it builds a second model that prioritizes accurately predicting the cases where the first model performs poorly, a process known as boosting. The</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Water Resources Research</head><p>ensemble of these two models can be expected to perform better than the first model due to this new prioritization. Estimators are then continuously added until a set amount is reached. Gradient boosting in particular generalizes boosting by optimizing with a differentiable loss function, which in the case of regression is usually mean squared error (MSE). Further method details can be found in Friedman (2001).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.2.">Identification of Meta-Features</head><p>We started with a collection of candidate meta-features that we hypothesized could predict the performance of source models in predicting temperature in different target lakes. As in Equations 1 and 2, each set of meta-features (X i&#8594;j ) is unique to a source-target lake pair. An exhaustive list of 96 possible meta-features is listed in Table <ref type="table">S1</ref>, which are divided into four categories: lake attributes, PB0 simulation statistics, general observation statistics, and meteorological statistics. The last two categories are commonly used meta-features that either (a) use statistics relating to the quality and quantity of observations of the source lake, or (b) compare differences in the data distributions of input features between source and target domains <ref type="bibr">(Castiello et al., 2005)</ref>. We expand on this with the two additional categories, lake attributes and a PB0 simulation statistic. All differences are calculated as the source value minus the target value.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.2.1.">Lake Attributes</head><p>These features contain information about maximum depth, surface area, and other lake properties that are not directly used in model training since they are not features or observations, but may mediate or contain useful information about the physical response of lakes to meteorological drivers. They are calculated as the difference between the source and the target lake values.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.2.2.">PB0 Simulation Statistic</head><p>This feature describes an important property of the PB0 temperature predictions, the percentage of dates on which each lake is stratifies. We used PB0 predictions as a surrogate for in situ temperature observations, which are not available for target lakes. The PB0 model translates driver data into temperature predictions via process understanding, and it can therefore give insight into similarities across lakes such as the likelihood the lake is stratified or how the lake responds to wind events. This statistic was already available as part of the pretraining process for PGDL models in this study, and is also calculated as a difference between the source and the target lake.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.2.3.">General Observation Statistics</head><p>These features contain information about temperature measurements that only pertains to the source lake.</p><p>Ideally they would contain information about the quality of the source data. For example, a very poorly monitored source lake without adequate data to train a model could indicate poor transfer performance.</p><p>Example statistics include total observations, number of observations per season, mean depth where temperature was measured, and mean temperature measured.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.2.4.">Meteorological Statistics</head><p>These features contain differences between the source and the target lake in both annual and seasonal averages and standard deviations of the seven meteorological drivers used as inputs to the source models. Examples include differences in mean air temperature, solar radiation, and relative humidity.</p><p>Then, to narrow down the number of meta-features, we performed recursive feature elimination with cross validation (RFECV) <ref type="bibr">(Guyon et al., 2002)</ref>. Recursive feature elimination is a feature selection method that fits a model and iteratively removes the weakest features until an ideal set that produces the lowest cross-validation error is reached. To do this, we used two Scikit-learn python modules <ref type="bibr">(Buitinck et al., 2013)</ref>. For building the base model, we used GradientBoostingRegressor with default parameters and 3,000 estimators, and for performing feature selection, we used the RFECV library with 24-fold cross validation (CV) and mean squared error loss. We also used the importance of each meta-feature to interpret how the transfers were selected. Here, feature importance was calculated by the GradientBoostingRegressor as a measure of how each feature affected mean squared error across nodes in the decision trees, weighted by how often those nodes are reached <ref type="bibr">(Buitinck et al., 2013)</ref>.</p><p>Water Resources Research</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.4.3.">Hyperparameter Tuning</head><p>For both PB-MTL and PGDL-MTL, we tuned two gradient boosting hyperparameters that are known to affect performance: the number of boosted decision trees and the learning rate (impact of each tree on final outcome). The remaining parameters were left at their default values for the GradientBoostingRegressor class in scikit-learn version 0.22.1. We construct a nested 24-fold CV to estimate the generalization ability of the model given certain hyperparameter values. This CV works by performing 24 iterations of removing 1/24th of samples from the data set for validation and taking the average mean squared error as an estimate of model performance for a given set of hyperparameters. CV is done for every set of candidate hyperparameter values in an exhaustive search of two candidate learning rates {0.05, 0.10} and intervals of 100 decision tree estimators from 1,000 to 6,000. The ideal hyperparameters were found to be learning rates equal to 0.05 for both PB-MTL and PGDL-MTL, and number of decision trees equal to 4,500 for PB-MTL and 4,900 for PGDL-MTL.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.5.">Data</head><p>All the data used in this work are available through a data release on the U.S. Geological Survey's Science-Base platform <ref type="bibr">(Willard, Read, et al., 2020)</ref>. All study lakes are located in the Midwestern United States, and details about the selected lakes are included in the data release. Briefly, 450 lakes met our data density criterion of at least 50 unique observation dates where there are at least one measurement for every 2 m of depth or at least five total observations. From these lakes, in situ lake temperature measurements between 1980 and 2019 were used to train and test all our models. To build the metamodel 145 of these lakes were used, and the rest are considered "artificially unmonitored," where data are only used for final evaluation.</p><p>An additional 1,882 lakes with fewer observations were used as targets in an expansion exercise described in the Discussion (Figure <ref type="figure">2</ref>). Meteorological data used as the input drivers for our models were gathered from the North American Lake Data Assimilation System (NLDAS-2) <ref type="bibr">(Mitchell et al., 2004)</ref>. As in <ref type="bibr">Winslow et al. (2017)</ref> and J. S. <ref type="bibr">Read et al. (2019)</ref>, these gridded data were transformed into process-model ready input (see <ref type="bibr">Hipsey et al., 2019)</ref>. These inputs were then normalized for use in the machine learning models as mentioned in Section 2.3. Lake attributes used as meta-features in the MTL algorithm were acquired in the same manner as in previous modeling studies in the region (J. S. <ref type="bibr">Read et al., 2014</ref><ref type="bibr">Read et al., , 2019))</ref>. A more detailed description of the sources and processing of these attribute data can be found in <ref type="bibr">(Winslow et al., 2017)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.6.">Model Experiments</head><p>We designed two experiments that use the previously described metamodel built using meta-features and past model transfer RMSE. For both experiments, we used 145 of the 450 well-monitored lakes as detailed in Section 2.5 as source lakes, and we kept the remaining 305 lakes as target lakes for which the metamodel was used to select one of the 145 source lakes. Source lakes were selected to be representatively distributed across maximum depth values and log-scale surface area values (see Figure <ref type="figure">S3</ref>). In all experiments, the metamodel training data consisted of RMSEs from applying each of the 145 source lake models on all other source lakes, leading to 144 &#215; 145 meta-learning data points (20,880 total). Then, after the metamodel is trained, for each source-target pair we constructed the meta-features as described in Section 2.4.2. From these meta-features, both metamodels (PB-MTL, PGDL-MTL) were then used to predict the expected RMSE of each of the 145 source models when transferred to the target lake.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.6.1.">Experiment 1: Predicting Temperatures in "Unmonitored" Lakes</head><p>Experiment 1 evaluates the performance of the MTL models in a real-world scenario: predicting water temperature at multiple depths in unmonitored lakes. Given the predictions of source model performances from both metamodels, the PB or PGDL model with the lowest predicted source-to-target RMSE was singled out for use on each target lake. We compared the top-predicted transfers for each of the 305 test lakes against its PB0 simulation.</p><p>We assumed that our metamodel would not be able to select the true best source lake in all instances. We therefore also evaluated an ensemble method that combined several of the top predicted models. Ensembles of multiple individual models that perform well can almost always improve over their average prediction error <ref type="bibr">(Kuncheva &amp; Whitaker, 2003;</ref><ref type="bibr">Zenobi &amp; Cunningham, 2001)</ref>. This was proven by <ref type="bibr">Krogh and Vedelsby (1995)</ref>, who showed that increasing ensemble diversity (the extent to which single models disagree), given constant average error of individual ensemble members, reduces the overall ensemble error. This reduction often occurs because some ensemble member predictions are biased positively and some negatively, leading to bias cancellation in the ensemble prediction. We used a simple ensemble that takes an unweighted average of the predictions from each selected PGDL source model for each date and depth. Lakes selected for ensembling were the top "n" source models predicted to have the lowest RMSE on the test lake. The optimal value of n was estimated using a 29-fold CV. In each CV fold, 5/145 source lakes were designated as validation lakes and a metamodel with the same hyperparameters as described in Section 2.4.3 was trained on the remaining 140 lakes. Then, n source lakes were selected for each validation lake. Estimated ensemble error was then the mean ensemble errors across all folds. This was repeated for values of n ranging from 2 to 10, where 9 was found to be the optimum, but values differed minimally between 5 and 10. We call this 9 source ensemble approach PGDL-MTL9.</p><p>Lastly, we examined the metamodels themselves. In addition to evaluating the performance of the predicted best source-target transfer, we looked at how well the metamodel predicted the RMSE of every source-to-target combination and how well it was able to rank the source models. For the former we calculate a median across all target lakes of the metamodels' predictions for RMSEs and the actual source-to-target RMSEs. For the ranking evaluation, we used the Spearman rank correlation coefficient shown as r s . We also looked at distributions of the actual ranks (for the RMSEs of sources actually applied to targets) of those models that were identified by the metamodel as the top or top nine.</p><p>Water Resources Research</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.6.2.">Experiment 2: Comparing PGDL-MTL With PGDL for Sparsely Monitored Systems</head><p>Experiment 2 examines the extent to which PGDL-MTL is an improvement over PGDL in systems that have some observations but are not sufficiently monitored to train any traditional deep learning model effectively. In this experiment, we define "sparsely monitored" as between 1 and 50 sampling dates. Deep learning models are generally data-hungry, but PGDL models pretrained on PB0 output have shown to achieve high accuracy with only a few observations <ref type="bibr">(Jia et al., 2019;</ref><ref type="bibr">J. S. Read et al., 2019)</ref>. Thus, both PGDL and PGDL-MTL have the potential to alleviate the difficulty in calibrating PB models for sparsely monitored lakes, where overfitting can be a problem. However, PGDL-MTL has the potential to harness more data and thereby outperform PGDL. The situation of few available observations is also far more common than the well-monitored case of the lakes chosen in this work (E. K. <ref type="bibr">Read et al., 2017)</ref>. To that end, we artificially sparsified the data available in the 305 test lakes to train PGDL models on low amounts of data. Then, these low-data PGDL models were compared to the PG-MTL and PGDL-MTL results of Experiment 1. We used this comparison to estimate the data threshold where PGDL tends to outperform PGDL-MTL.</p><p>Artificial sparsity was induced by building five PGDL models for each suitable lake for 12 different amounts of sampling dates <ref type="bibr">(1,</ref><ref type="bibr">2,</ref><ref type="bibr">5,</ref><ref type="bibr">10,</ref><ref type="bibr">15,</ref><ref type="bibr">20,</ref><ref type="bibr">25,</ref><ref type="bibr">30,</ref><ref type="bibr">35,</ref><ref type="bibr">40,</ref><ref type="bibr">45,</ref><ref type="bibr">50</ref>) used for training. The test period was set as the first third of temperature observations in time for each lake, leaving the training period as the last two thirds of temperature observations. For each sampling date treatment, we used all lakes that had at least that number of sampling dates during the training period. Of the 305 possible lakes, 221 had 50 or more observations, 270 had 40 or more observations, and all 305 had 30 or more observations. For the five models within each lake and data availability category, variability was introduced by randomly selecting dates for the training data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Results</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">PB-and PGDL-MTL Model Accuracy on 305 Test Lakes</head><p>In Experiment 1, PGDL-MTL and PB-MTL predictions of water temperature in the 305 test lakes were typically more accurate than predictions from the uncalibrated PB model (PB0; Table <ref type="table">2</ref> and Figure <ref type="figure">3</ref>). The median RMSE across the test lakes was 2.42&#176;C for PB-MTL and 2.16&#176;C for PGDL-MTL, versus 2.52&#176;C for PB0. PB-MTL outperformed PB0 for 203/305 of the lakes and PGDL-MTL outperformed PB0 for 226/305 of the lakes, and the amount of improvement the transfer provided generally increased with PB0 error (Figure <ref type="figure">3</ref>). Predictions of deeper water temperatures from the transferred models had higher RMSEs in general as compared to the lake-specific accuracy of all depths, with the highest median RMSE from PB0 models, followed by PB-MTL, and with PGDL-MTL having the lowest median deep-water RMSE (2.59&#176;C, 2.56&#176;C, and 2.36&#176;C, respectively; RMSEs calculated based on predicted vs. observed temperatures at or below 75% of the maximum depth of the lake; 18 of 305 lakes had no observations at these depths).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Model Ensemble Performance</head><p>Additionally, the ensemble PGDL-MTL9 model provided still better performance than PGDL-MTL. We can see in Table <ref type="table">3</ref> that the RMSE of the combined averaged prediction of the source models tended to be lower than most of the source models individually. The ensemble model PGDL-MTL9 had a median RMSE of 1.88&#176;C, which is an improvement over the single-source PGDL-MTL, which had a 2.16&#176;C median RMSE. When compared to PB0 in Figure <ref type="figure">3</ref>, PGDL-MTL9 outperforms PB0 for 260/305 of the test lakes.</p><p>Table 3 also shows the distribution of RMSE values per source systems at given ranks, between 1 and 9, as predicted by WILLARD ET AL. 10.1029/2021WR029579 9 of 20 Method Median RMSE (&#176;C) Lower quartile RMSE Upper quartile RMSE Median meta RMSE Median r s PB0 2.52 2.07 3.12 --PB-MTL 2.42 2.04 2.95 0.853 0.653 PGDL-MTL 2.16 1.74 2.81 0.871 0.663 Notes. The first three columns are the quartile distributions of RMSE of the best predicted source lake for each test lake. The fourth column is the median RMSE between the metamodel-predicted RMSEs and the observed RMSEs. The fifth column is the median Spearman rank correlation coefficient between the metamodel-predicted RMSEs and the actual RMSEs. Abbreviations: MTL, meta-transfer learning; PB, process-based; PGDL, process-guided deep learning; RMSE, root mean squared error.</p><p>Table 2 Results of PB-MTL and PGDL-MTL Applied to Test Lakes the metamodel. Comparing the individual source model RMSEs across the top nine ranks, we see ranges of only 0.09&#176;C in median RMSE, 0.12&#176;C in lower quartile RMSE, and 0.13 in upper quartile RMSE.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Meta-Features and Importances</head><p>The top selected meta-features were related to maximum depth in both PB-MTL and PGDL-MTL, with combined importances of 50% and 45%, respectively. Surface area, observation count, source lake observed temperature, and stratification indicators were selected as meta-features in both PB-MTL and PGDL-MTL but were of lesser importance (Table <ref type="table">4</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Example Time Series Prediction</head><p>The metamodels typically chose source models that were good, but not optimal, matches to the target lake (Figure <ref type="figure">4</ref>). In a stratified lake with high PGDL-MTL accuracy (RMSE = 1.3&#176;C), top-ranked source models all came from stratified source lakes (Figure <ref type="figure">4d</ref>) and captured the summer stratification dynamics (Figure <ref type="figure">4a</ref>). In a stratified lake with low PGDL-MTL accuracy (RMSE = 3.5&#176;C), top-ranked source models came from a mix of stratified and unstratified source lakes (Figure <ref type="figure">4e</ref>) and had similar predictions to a low-ranked WILLARD ET AL. source model (Figure <ref type="figure">4b</ref>). In our 305-lake test set, mixed lakes (n = 121) had lower mean RMSEs (mean = 2.01, SD = 0.52&#176;C) than stratified lakes (n = 184; mean = 2.62, SD = 0.96&#176;C). Our mixed example lake illustrates that all candidate source lakes had lower RMSEs (Figure <ref type="figure">4i</ref>) and similar predictions (Figure <ref type="figure">4c</ref>) such that even though the metamodel selected a combination of mixed and stratified source lakes, the resulting RMSEs could still be quite low (PGDL-MTL: 1.3&#176;C, PGDL-MTL9: 1.1&#176;C). Consistent with the meta-feature importances in Table <ref type="table">4</ref>, the selected source lakes tended to be similar to the target lake with respect to not just stratification but also maximum lake depth and surface area (Figures <ref type="figure">4d-4f</ref>).</p><p>Ensembling with PGDL-MTL9 yielded similar accuracy to PGDL-MTL for the two example lakes with high PGDL-MTL accuracy (Figures <ref type="figure">4g</ref> and <ref type="figure">4i</ref>) and substantially improved accuracy in the example lake where the PGDL-MTL model failed to capture the observed stratification dynamics (Figure <ref type="figure">4h</ref>).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5.">Features of Best and Worst Source Lakes</head><p>There were large differences in the frequency at which source models were chosen by the MTL to represent target lakes, and several factors emerged that suggested differences exist between commonly and rarely selected source lakes. A small fraction of source models were used to predict almost one third of target lake water temperatures, and 11 lakes were selected as the top PGDL or PB source for 10 or more target lakes. Seven top PGDL source models were used for 100 target lakes and seven PB models for 95 of 305 target lakes, and three lakes were in this top category for both PGDL and PB models. In contrast, 59 PGDL and 64 PB source models were not chosen as a top model for any target lake (31 were never selected as sources in either model). Additionally, we summed the number of times each lake was predicted to be in the top nine</p><p>WILLARD ET AL. 10.1029/2021WR029579 11 of 20 Source system(s) Median RMSE (&#176;C) Lower quartile RMSE Upper quartile RMSE Rank 1 source 2.16 1.73 2.80 Rank 2 source 2.21 1.79 2.77 Rank 3 source 2.15 1.75 2.82 Rank 4 source 2.20 1.85 2.86 Rank 5 source 2.20 1.78 2.83 Rank 6 source 2.25 1.85 2.86 Rank 7 source 2.23 1.84 2.86 Rank 8 source 2.24 1.84 2.90 Rank 9 source 2.21 1.83 2.90 9 source ensemble 1.88 1.56 2.41 Abbreviations: PGDL, process-guided deep learning; RMSE, root mean squared error. Table 4 Selected Features for PB-MTL and PGDL-MTL and Importances</p><p>sources for the ensembles, and compared the raw lake attributes of the upper and lower quartiles (Figure <ref type="figure">5</ref>). For both PGDL and PB transfer models, lakes that were transferred often were in general deeper, larger, and more monitored than minimally transferred lakes. For PGDL, source models in the lower quartile of MTL selections had a median depth of 6.71 m, a median surface area of 0.86 km 2 , and a median of 872 training observations, compared to 13.1 m, 1.12 km 2 , and 2,117 observations for the upper quartile medians, WILLARD ET AL.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>10.1029/2021WR029579</head><p>Figure <ref type="figure">4</ref>. Deep-water predictions for three example lakes to illustrate the application of process-guided deep learning (PGDL)-meta-transfer learning (MTL) and PGDL-MTL9. Lakes were selected to represent successful and unsuccessful PGDL-MTL results for stratified lakes (rows 1 and 2, respectively) and the easier case of a mixed lake (row 3). Steiger, Pat, and Tait Lakes have 2,573, 469, and 3,865 total temperature observations, respectively. Panels (a-c): Time series predictions at two depths in 2012 for each target lake from the top-ranked PGDL source (Source 1), ninth-ranked source (Source 9), and a lower-ranked source (Source 99), with observed values (points) for comparison. Panels (d-f): Metamodel selections of source lakes for each lake, arranged by three features that dominated the MTL predictions: maximum depth (y axis), surface area (x axis), and predicted stratification (darker = stratified). Panels (g-i): Metamodelpredicted root mean squared errors (RMSEs) versus actual RMSEs (for all depths and years) for the three example lakes.</p><p>Stieger Lake ( <ref type="formula">120018136</ref>) Stratified, accurate PGDL-MTL Max depth 11.0m Preds at 8.0m a Pat Lake (91689611) Stratified, inaccurate PGDL-MTL Max depth 4.0m Preds at 3.0m b Tait Lake (120020636) Mixed, accurate PGDL-MTL Max depth 4.6m Preds at 3.0m c Jan Apr Jul O ct Jan 0 10 20 30 0 10 20 30 0 10 20 30 Date in 2012 Temperature (&#176;C) Observed Source 1 Source 9 Source 99 d e f 0.1 1 10 100 0 20 40 60 0 20 40 60 0 20 40 60 Surface Area (km 2 ) Maximum Depth (m) Target Source 1 Source 2-9 Stratified Mixed g PGDL-MTL: 1.3 &#176;C PGDL-MTL9: 1.4 &#176;C h PGDL-MTL: 3.5 &#176;C PGDL-MTL9: 2.1 &#176;C i PGDL-MTL: 1.3 &#176;C PGDL-MTL9: 1.1 &#176;C 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 Actual RMSE (&#176;C) Predicted RMSE (&#176;C) Source 1 Source 2-9 Source &gt;9 PGDL-MTL PGDL-MTL9</p><p>respectively. The lower quartile of PB-MTL source models had medians of 7.9 m, 0.55 km 2 , and 824 calibration observations, with upper quartile medians of 18 m, 1.7 km 2 , and 2,557 calibration observations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.6.">Metamodel Performance</head><p>To assess the metamodel's ability to predict the performance of source lake models, we looked at both the RMSE of the predicted RMSE versus the actual RMSE when transferring source models in Experiment 1, and also the ability of the metamodel to accurately rank source models from best to worst in the form of the Spearman rank correlation coefficient. The median meta-RMSE for PB-MTL was 0.853&#176;C and the Spearman rank correlation coefficient r s was 0.659, and for PGDL-MTL the meta-RMSE was 0.871&#176;C with an r s of 0.663 (Table <ref type="table">2</ref>). Then, in Figure <ref type="figure">6</ref>, in addition to showing the distribution of actual ranks for the predicted best source PGDL model for each target system, we also show the distribution of ranks for sources within the 9 source ensemble PGDL-MTL9. Further visualization of the ranking ability of the metamodels is shown in Figure <ref type="figure">S2</ref>. Here, we see that the two metamodels have similar predictive ability, with PGDL-MTL ranking slightly better as seen in the Spearman coefficient values.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.7.">Comparison With Data-Sparse Target Lake Models</head><p>In Experiment 2, the median RMSE across 305 test lakes tended to decrease as the number of sampling dates used for training increased (Figure <ref type="figure">7</ref> and Table <ref type="table">5</ref>). Figure <ref type="figure">7</ref> shows performance of PGDL trained with differing numbers of temperature profiles compared to the MTL approach, and Table <ref type="table">5</ref> shows the specific RMSE numbers for Figure <ref type="figure">7</ref>. Here, the RMSE for each test lake is defined as the median RMSE across five randomly chosen sets of the same number of observations. Given that the RMSEs of the single-source PGDL-MTL and ensemble-of-sources PGDL-MTL9 from the previous experiment were 2.16&#176;C and 1.88&#176;C, WILLARD ET AL. 100 1,000 10,000 Number of observations (#) c) 0.01 0.1 1 1 0 1 00 Surface area (km 2 ) 0 1 0 2 0 3 0 4 0 Maximum depth (m) 100 1 ,000 1 0,000 Number of observations (#) d) 0.01 0.1 1 10 100 Surface area (km 2 ) 0 1 0 2 0 3 0 4 0 Maximum depth (m) PB-MTL a) PGDL-MTL b)</p><p>respectively, PGDL models trained only on the target lake's data met or exceeded median MTL performance at between 5 and 15 observations for PGDL-MTL and between 35 and 40 observations for PGDL-MTL9. In other words, even for a reasonably well-monitored lake (up to 40 observations), it can be better to borrow a model from a different and better-monitored lake than to train a model on the target lake observations. For context, 45 profiles is approximately the coverage a lake would have if it had a monitoring program that took a temperature profile monthly during the ice-free period for 6 years.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.8.">Baseline Performance of PB and PGDL Source Models</head><p>Success in transfer learning depends both on (a) metamodel success in choosing the best of the available source models for a target lake and (b) the baseline performance of the source models that could be transferred. If the PGDL-MTL metamodel had selected the best available source PGDL model for every  target lake, the median RMSE would have been 1.54&#176;C, versus an RMSE of 1.79&#176;C if the best PB model was selected every time. This difference, aligning with established knowledge that PGDL predicts more accurately than PB <ref type="bibr">(Jia et al., 2019;</ref><ref type="bibr">J. S. Read et al., 2019)</ref>, can explain how the RMSE across the test lakes of PGDL-MTL was lower than PB-MTL even though PB-MTL had a lower meta-RMSE predicting the performance of source models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Discussion</head><p>In this study, we show MTL can be used to address monitoring gaps in environmental and ecological sciences by predicting in unmonitored systems. Even with the data deluge resulting from modern sensor developments, the majority of lakes and streams are unmonitored or have sparse observations. This has made it difficult to calibrate PB models for these systems due to risk of overfitting, and even more inaccessible for traditional deep learning models which can require thousands or millions of data points. The MTL paradigm in this work harnesses data from many other systems to accurately predict temperature in unmonitored systems. Specifically, the transfer process leverages observations from highly monitored systems, simulated temperature data from process models, past model performance measures, and thousands of past transfer learning experiences to alleviate the drawbacks of both deep learning and process-model calibration in unmonitored systems.</p><p>As experts in the water resources community have called for integration of PB and data-driven methods <ref type="bibr">(Hipsey et al., 2015;</ref><ref type="bibr">Shen, 2018)</ref>, MTL involves a collection of approaches harnessing both ML and process knowledge. Here, we use the ML technique of gradient boosting regression for the meta-learning task of predicting the transferability of source models including those that employ PGDL, which iteself integrates process knowledge into ML. Limnology domain expertise was also used in defining the candidate meta-features offered to the metamodel. The top selected meta-features matched our process understanding from dozens of studies that show relationships between the properties of lakes (surface area, depth) and physical responses to external drivers <ref type="bibr">(Gorham &amp; Boyce, 1989;</ref><ref type="bibr">Stefan et al., 1996)</ref>. This work shows that these lake characteristics, which are more widely available than water quality data themselves, can be used to transfer information from highly monitored to unmonitored systems.</p><p>Different types of lake-specific data were used to determine which sources should be transferred. Lake maximum depth difference between the source and target lake emerged as the most important in both the PGDL-MTL and PB-MTL approaches. Surface area differences were also included in both, but of less importance. This aligns with existing PB lake modeling knowledge that maximum depth and surface area are key factors in lake stratification and thermodynamics <ref type="bibr">(Gorham &amp; Boyce, 1989;</ref><ref type="bibr">Stefan et al., 1996)</ref>. Other meta-features related to source model quality, like the number of observations and mean observation temperatures, were also included in both metamodels. This is consistent with common modeling intuition that more data can lead to both better calibrated process models and better trained ML models <ref type="bibr">(Jia et al., 2019;</ref><ref type="bibr">J. S. Read et al., 2019)</ref>. We also saw the PB0 meta-feature, GLM stratification percentage, as the second most important feature for PB-MTL, and included with less importance in PGDL-MTL. Top sources had lower mean observation temperatures, which possibly indicates either more balanced measurements between surface and deeper depths, or a better spread of observations across seasons, in a given lake. For example, source lakes that use mostly surface temperatures would have higher mean observation temp, and source lakes that have many deeper measurements would have lower mean observation temp.</p><p>Inspecting the characteristics of the most frequently selected source lakes could guide future monitoring and MTL modeling efforts. Only 11 unique source models were used to predict almost one third of target lake water temperatures using both PGDL-MTL and PB-MTL, and top source lakes were generally deeper, WILLARD ET AL.</p><p>10.1029/2021WR029579 15 of 20</p><p>Target profiles Median of median RMSE (&#176;C) Lower quartile of median RMSE (&#176;C) Upper quartile of median RMSE (&#176;C) 1 2.45 2.08 2.93 2 2.32 1.97 2.80 5 2.20 1.85 2.64 10 2.12 1.74 2.53 15 2.07 1.72 2.45 20 2.04 1.67 2.40 25 2.03 1.67 2.39 30 1.98 1.64 2.37 35 1.93 1.59 2.34 40 1.86 1.51 2.31 45 1.86 1.54 2.25 50 1.89 1.57 2.26 Note. Medians of medians are calculated as the median across 305 test lakes of the median of five models trained with different random selections of observations. Abbreviations: PGDL, process-guided deep learning; RMSE, root mean squared error.</p><p>Table 5 Data for Figure 7, Performance of PGDL Trained on Various Amounts of Target Lake Temperature Data Profiles</p><p>larger, and more well-monitored compared to rarely or never selected source models (Figure <ref type="figure">5</ref>). Differences between source and target in lake depth and area, as well as the observation count of source lakes, were important meta-features used to select source lakes. While these features likely explain why some lake models are generally more transferable, the unique properties of some target lakes and their selected source models are important to consider when designing lake monitoring campaigns or evaluating future model transfer methods. For example, PGDL source models that were rarely selected (chosen one, two, or three times as a top source) still helped overall test lake performance and were often better actually ranked options for their target lakes compared to the ranks of commonly chosen (10 or more times) source models (based on ranking the performance of all possible source model transfers to each target lake; median actual PGDL-MTL rank for rare source transfers: 20 of 145, and common source transfers: 36.5 of 145; n = 100 and 103, respectively). This pattern did not hold for PB-MTL transfers, with generally worse actual ranks for rare sources compared to common sources (median rank for rare and common were 28.5 and 23, and n = 80 and 95, respectively), and additional research may be necessary to understand these differences. The important meta-features used in this study (e.g., differences in maximum depth and area, and the number of observations used to train or calibrate the source model) differ from previous PB modeling parameter transfer methods that have been applied to rivers. These previous works have instead focused on spatial proximity, spatial fields of hydrologic signatures, or global parameterization <ref type="bibr">(Mizukami et al., 2017)</ref>.</p><p>Because lake temperature is an ecological "master factor" <ref type="bibr">(Magnuson et al., 1979)</ref>, predictions at broader scales can support a wide variety of science and management efforts, from improved modeling of biota <ref type="bibr">(Hansen et al., 2017;</ref><ref type="bibr">Jones et al., 2006)</ref> to improved thermoelectric power plant heat management <ref type="bibr">(Cook et al., 2015)</ref>. PGDL-MTL models can output predictions at scale wherever meteorological and essential lake attribute data are available, and the MTL approach could eventually be developed into use for forecasting applications. A forecasting variant of MTL could be developed by building base models specifically for forecasting (e.g., with probabilistic outputs), and optimizing transfer performance to new systems by simulating forecasting performance instead of hindcasting RMSE. Below, we discuss the various ways the MTL approach can scale to other systems.</p><p>The applicability of MTL scales beyond just unmonitored systems to a large range of monitored systems as well, bridging the gap between local accuracy and broad-scale modeling. In Experiment 2, we investigated the point at which, for sparsely monitored systems, it would be better to transfer models from different better-monitored systems as opposed to training PGDL models on what little target data are available. This is a pertinent question for broad scale modeling; while a majority of lakes in this region are unmonitored, a large fraction of monitored lakes have &lt;40 observations <ref type="bibr">(Stanley et al., 2019)</ref>. Though PGDL models have been shown to outperform calibrated PB models on even a small number of water temperature sampling dates by taking advantage of PB simulation data and process-informed learning constraints (J. S. <ref type="bibr">Read et al., 2019)</ref>, MTL presents the opportunity to improve prediction by harnessing more simulation data, observation data, and metadata from past modeling experiences across many other lake systems. There is also opportunity to expand the MTL framework to incorporate sparse data available in many lakes, where the transferred source models could be fine-tuned using data from the target lake itself.</p><p>Another major benefit of MTL with PGDL in particular is the scalability and efficiency of ML models once the meta-learning model and source models are trained. MTL can be built with data that are easier to obtain than temperature observations (e.g., maximum depth and surface area), and MTL does not require any new models to be trained. Therefore, it can scale to a much larger number of lakes than the ones used in this study. To demonstrate this scalability, we applied the transfer models to 1,882 additional lakes that were less monitored than our initial 305 lakes. The transfers maintained a significant accuracy improvement over a purely PB approach (PB0). For this expanded set of lakes, median RMSE was 1.80&#176;C for PG-DL-MTL9, 2.06&#176;C for PGDL-MTL, and 2.29&#176;C for PB0 (</p><p>Table 6). Temperatures in a majority of lakes were WILLARD ET AL. 10.1029/2021WR029579 16 of 20 Method Median RMSE (C) Lower quartile RMSE Upper quartile RMSE PB0 2.28 1.84 2.94 PGDL-MTL 2.06 1.59 2.74 PGDL-MTL9 1.80 1.40 2.38 Abbreviations: MTL, meta-transfer learning; PB, process-based; PGDL, process-guided deep learning; RMSE, root mean squared error.</p><p>Table 6 Method Comparison Across Broad-Scale Modeling of 1,882 Lakes in the Midwestern United States</p><p>more accurately predicted by the transfer models compared to PB0; for PGDL-MTL9 1,484 of 1,882 lakes improved over PB0, and for PGDL-MTL 1206 of 1,882 improved over PB0 (Figure <ref type="figure">8</ref>).</p><p>Finally, given the demonstrated generalizability of PGDL and PB models using MTL, this approach opens doors to new research directions, like transferring source models into new spatial domains, including remote sensing surface observation data, incorporating uncertainty quantification, and aggregating models more effectively. Though our study was limited to five Midwestern states in the United States, this could be expanded to include a much larger variety of lake types and locations. A remaining question for this transfer approach is, when expanding to new types of lakes, how should an optimal set of source lakes be identified? Another research direction includes uncertainty estimation in the metamodel construction. Uncertainty estimates could be used to reject a target lake for which all the source model error estimates are confidently high. Furthermore, the ensembling approach could be improved, using more complex methods than a simple average to combine top source models. One promising option is generalized stacking of neural networks <ref type="bibr">(Ghorbani &amp; Owrangh, 2001)</ref>, where all the source neural networks would be connected by an averaging layer. Remote sensing data integration could also help in adding surface temperature data to the source models and could allow corrective measures to be taken for predictions in lakes unmonitored by in situ data. Though, remote sensing observations have known drawbacks in this application such as being limited to only surface temperature on larger lakes <ref type="bibr">(Schaeffer et al., 2018;</ref><ref type="bibr">Topp et al., 2020)</ref>.</p><p>Given the successful prediction of environmental variables using MTL approaches, there are many research opportunities in different types of applications and data scenarios. For example, predicting only lake surface temperature would allow for the use of MTL without the need for maximum depth measurements, which could allow for predictions in many more lakes. Also, different types of source models could also be used in different scenarios. Some PB models likely work better for some lakes than others; for example, process models built specifically for reservoir dynamics could be important source models in regions where reservoirs are a common lake type. Other environmental variables could also be targeted for prediction like water quality (e.g., dissolved oxygen, conductivity) and water quantity in lakes, streams, wetlands and other water bodies. </p></div></body>
		</text>
</TEI>
