Hostname: page-component-77f85d65b8-v2srd Total loading time: 0 Render date: 2026-03-26T23:51:13.918Z Has data issue: false hasContentIssue false

Domain adaptation with transfer learning for pasture digital twins

Published online by Cambridge University Press:  15 March 2024

Christos Pylianidis
Affiliation:
Wageningen University & Research, Wageningen, The Netherlands
Michiel G.J. Kallenberg
Affiliation:
Wageningen University & Research, Wageningen, The Netherlands
Ioannis N. Athanasiadis*
Affiliation:
Wageningen University & Research, Wageningen, The Netherlands
*
Corresponding author: Ioannis N. Athanasiadis; Email: ioannis.athanasiadis@wur.nl

Abstract

Domain adaptation is important in agriculture because agricultural systems have their own individual characteristics. Applying the same treatment practices (e.g., fertilization) to different systems may not have the desired effect due to those characteristics. Domain adaptation is also an inherent aspect of digital twins. In this work, we examine the potential of transfer learning for domain adaptation in pasture digital twins. We use a synthetic dataset of grassland pasture simulations to pretrain and fine-tune machine learning metamodels for nitrogen response rate prediction. We investigate the outcome in locations with diverse climates, and examine the effect on the results of including more weather and agricultural management practices data during the pretraining phase. We find that transfer learning seems promising to make the models adapt to new conditions. Moreover, our experiments show that adding more weather data on the pretraining phase has a small effect on fine-tuned model performance compared to adding more management practices. This is an interesting finding that is worth further investigation in future studies.

Information

Type
Application Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Open Practices
Open materials
Copyright
© The Author(s), 2024. Published by Cambridge University Press
Figure 0

Figure 1. The sites contained in our dataset. With the brown color is the site in the origin climate (Marton, climate 1), and with the blue the sites in the target climates (Kokatahi and Lincoln, climates 2 and 3, respectively).

Figure 1

Table 1. The full factorial of the presented parameters was used to generate simulations with APSIM

Figure 2

Figure 2. The autoencoder architecture used to pretrain and fine-tune the models. The numbers on the top and bottom of the architecture indicate the number of features in the input/output of each component. The inputs to the encoder were nine time-series variables. The compressed representation of those time-series (output of LSTM 2) along with five scalars were concatenated and directed to a multi-layer perceptron.

Figure 3

Figure 3. $ {R}^2 $ for the setups of the origin models (climate 1), and target models in climate 2. The results are presented as averages across the five seeds for each setup and year. On Figure 3a, the brown and blue colors indicate which training, validation and test set correspond to each experiment due to the sliding years. Same colors represent sets of the same experiment. For example, with the brown color the training set of the origin model included years 1992–2001, validation set 2002–2003, and both test sets years 2004–2005. On the experiment with the blue color the training set included years 1993–2002, validation 2003–2004, and both test sets 2005–2006. The leftmost cell of the results is colored (green, yellow, pink) as the corresponding set is colored, and has a width equal to the amount of training years included in it. For the other four sliding years, only the last year of each set is shown with gray color.

Figure 4

Figure 4. Average $ {R}^2 $ for the various setups of the origin models (climate 1), and target models in climate 3. The figures should be read following the pattern of Figure 3a.

Figure 5

Figure A1. CCAFS similarity index across New Zealand. The weather parameters for the similarity were precipitation and average temperature. Location 1 (Marton) is colored in brown, and locations 2 (Kokatahi) and 3 (Lincoln) in blue. The darker the color on the map, the more similar the climate is to location 1. Location 2 had index value 0.354, and location 3 0.523.

Figure 6

Figure A2. Weather parameters known to affect pasture growth for the climates included in this study. The parameters are presented across the months and are aggregated over the years.

Figure 7

Figure A3. Number of parameters and total samples used in each training/validation/test set of each setup.

Figure 8

Table A1. The fixed hyperparameters of the origin models

Figure 9

Table A2. The search space for the hyperparameters of the target models

Figure 10

Figure A4. Standard deviations of the various setups for origin models (climate 1), and target models in climate 2.

Figure 11

Figure A5. Standard deviations of the various setups for the origin models climate 1, and target models in climate 2.