Transfer learning and stacking ensembles for biomass estimation from smartphone imagery in pasture-based dairy systems

Accurate estimation of pasture biomass is essential for optimising feed management in pasture-based dairy systems. Traditional methods remain labour-intensive and impractical for frequent monitoring. Remote sensing via satellites or unmanned aerial vehicles offers alternatives but is constrained by cloud interference and infrastructure costs. This study investigates smartphone imagery as a scalable solution, evaluating 21 machine learning configurations for predicting pasture biomass across 15 commercial dairy farms in New South Wales, Australia. Ground-level red-green-blue images (n = 3291) were paired with rising plate meter measurements and weather data to develop estimation models using transfer learning, ensemble methods, and multi-architecture feature integration. Under random within-dataset partitioning, stacking ensemble combining pre-trained convolutional neural network features with hand-crafted vegetation indices and weather variables achieved R<sup>2</sup> = 0.561, MAE = 351 kg DM ha<sup>−1</sup>, and RMSE = 437 kg DM ha<sup>−1</sup>, representing a 48% improvement over baseline hand-crafted features. Transfer learning using frozen ImageNet features outperformed deep learning trained from scratch. Multi-architecture integration captured complementary information, with DenseNet121 features dominating importance rankings. Weather data integration provided 5.9% performance improvement. Seasonal performance varied substantially, with spring achieving highest accuracy (R<sup>2</sup> = 0.701, MAE = 308 kg DM ha<sup>−1</sup>) during peak ryegrass growth and winter showing reduced performance (R<sup>2</sup> = 0.456, MAE = 375 kg DM ha<sup>−1</sup>). However, leave-one-farm-out cross-validation revealed severe spatial generalisation constraints (mean R<sup>2</sup> = −0.009, MAE = 399 kg DM ha<sup>−1</sup>, RMSE = 488 kg DM ha<sup>−1</sup>), exposing strong farm-specific dependencies that limit predictive accuracy for unseen farm environments. These findings indicate that the proposed approach performs best when target farms contribute to the training dataset; generalisation to completely new farm environments will require either substantially expanded training datasets or farm-specific adaptation strategies.

Authors

Publication Details

Journal
Journal of Agriculture and Food Research
Published
2026-04-11
DOI
https://doi.org/10.1016/j.jafr.2026.102923
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Transfer learning and stacking ensembles for biomass estimation from smartphone imagery in pasture-based dairy systems

Anna Chlingaryan, Sérgio Britto Garcia, Cameron E.F. Clark, Blessing Nnenna Azubuike et al.
Journal of Agriculture and Food Research
Smart Agriculture and AI
article

Transfer learning and stacking ensembles for biomass estimation from smartphone imagery in pasture-based dairy systems

Anna Chlingaryan, Sérgio Britto Garcia, Cameron E.F. Clark, Blessing Nnenna Azubuike, Martin Correa-Luna
article en

Abstract

Accurate estimation of pasture biomass is essential for optimising feed management in pasture-based dairy systems. Traditional methods remain labour-intensive and impractical for frequent monitoring. Remote sensing via satellites or unmanned aerial vehicles offers alternatives but is constrained by cloud interference and infrastructure costs. This study investigates smartphone imagery as a scalable solution, evaluating 21 machine learning configurations for predicting pasture biomass across 15 commercial dairy farms in New South Wales, Australia. Ground-level red-green-blue images (n = 3291) were paired with rising plate meter measurements and weather data to develop estimation models using transfer learning, ensemble methods, and multi-architecture feature integration. Under random within-dataset partitioning, stacking ensemble combining pre-trained convolutional neural network features with hand-crafted vegetation indices and weather variables achieved R<sup>2</sup> = 0.561, MAE = 351 kg DM ha<sup>−1</sup>, and RMSE = 437 kg DM ha<sup>−1</sup>, representing a 48% improvement over baseline hand-crafted features. Transfer learning using frozen ImageNet features outperformed deep learning trained from scratch. Multi-architecture integration captured complementary information, with DenseNet121 features dominating importance rankings. Weather data integration provided 5.9% performance improvement. Seasonal performance varied substantially, with spring achieving highest accuracy (R<sup>2</sup> = 0.701, MAE = 308 kg DM ha<sup>−1</sup>) during peak ryegrass growth and winter showing reduced performance (R<sup>2</sup> = 0.456, MAE = 375 kg DM ha<sup>−1</sup>). However, leave-one-farm-out cross-validation revealed severe spatial generalisation constraints (mean R<sup>2</sup> = −0.009, MAE = 399 kg DM ha<sup>−1</sup>, RMSE = 488 kg DM ha<sup>−1</sup>), exposing strong farm-specific dependencies that limit predictive accuracy for unseen farm environments. These findings indicate that the proposed approach performs best when target farms contribute to the training dataset; generalisation to completely new farm environments will require either substantially expanded training datasets or farm-specific adaptation strategies.

Journal of Agriculture and Food ResearchVol. 28
University of Sydney
Zero hunger
Openalex Percentile: Top 20%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.