CLRD-GLPS: A Long-term Seasonal Dataset of Ruminant Livestock Distribution in China's Grazing Production Systems (2000–2021) Using Stacking-based Interpretable Machine Learning

Ning Zhan, Tao Ye, Mario Herrero, Jian Peng, Weihang Liu, Heng Ma2025

TL;DR

Researchers have introduced CLRD-GLPS, the first long-term (2000–2021) seasonal dataset of grazing ruminant livestock in China at a 1km resolution. By utilizing a stacking-based interpretable machine learning framework, the dataset successfully distinguishes grazing animals from intensive production systems and accounts for seasonal migrations, offering a high-fidelity tool for climate change and sustainability research.

What Problem Does This Paper Address?

Accurately mapping where livestock live is essential for everything from tracking greenhouse gas emissions to managing animal diseases. However, existing global datasets (like the FAO’s Gridded Livestock of the World) have two major blind spots:

  1. Production System Confusion: They often fail to distinguish between "grazing" livestock (animals on open range) and "non-grazing" livestock (animals in intensive feedlots or mixed farms). This leads to massive overestimations of grazing intensity.
  2. Seasonal Blindness: In regions like the Qinghai-Tibet Plateau, livestock are not static; they move between warm-season and cold-season pastures (transhumance). Static maps miss these critical spatial-temporal shifts.

The authors address these gaps by creating a framework that segments grazing populations and maps them across dynamic, seasonal pasture masks over a 22-year period.

Methods

The authors developed a multi-step pipeline to move from raw census data to high-resolution seasonal maps:

  • Dynamic Suitability Masking: They used the China Land Cover Dataset (CLCD) and data on National Nature Reserves and grazing ban regions to identify where grazing is actually permitted and ecologically possible.
  • Livestock Segmentation: Using Random Forest models, they estimated the proportion of "grazing" vs. "non-grazing" animals at the county level, preventing the "feedlot inflation" seen in previous datasets.
  • Stacking-Based Ensemble Learning: Instead of relying on a single algorithm, they used a "stacking" approach. Five base learners (Random Forest, Extra Trees, XGBoost, LightGBM, and CatBoost) were trained, and their outputs were fed into a "meta-model" to produce the final density weights.
  • Interpretability (SHAP): To move beyond "black-box" predictions, they used SHAP (Shapley Additive Explanations) values to quantify how much factors like vegetation (NDVI), elevation, and temperature influenced the distribution of cattle vs. sheep.
  • Dasymetric Mapping: Finally, they used the model's predicted weights to disaggregate county-level census numbers into 1km grid cells.

Datasets

  • CLRD-GLPS (The Output): A new 1km resolution dataset covering cattle, sheep, and goats across warm-season, cold-season, and year-round pastures from 2000 to 2021.
  • Input Data:
    • Livestock: County and city-level statistical yearbooks.
  • Environmental: ERA5 climate data, MODIS vegetation indices (NDVI, GPP, NPP), and NASA SRTM topography data.
  • Masks: China Land Cover Dataset (CLCD) and grazing ban records.
  • Validation Benchmarks: The model was compared against existing datasets including GLW3, GDGI, LHGI, and the Meng dataset, as well as independent grid-level observations.

Key Insights and Ideas

  • The Overestimation Problem: The study found that previous models, which didn't segment grazing populations, overestimated grazing livestock numbers by 25% to 400%. For cattle, the mean overestimation in prior work reached 72.3%.
  • Species-Specific Drivers: Cattle distribution is primarily driven by "following the green"—vegetation quality (NDVI) was the top predictor. In contrast, sheep and goat distributions are more heavily influenced by climate constraints like snow cover and annual mean temperature.
  • Seasonal Dynamics: The drivers of distribution change with the seasons. In seasonal pastures, grass quality is the dominant factor. However, in year-round pastures, topography (elevation and slope) becomes the primary constraint on where animals can graze.
  • Stacking Wins: The ensemble "stacking" method improved predictive accuracy (R²) by up to 6.2% compared to using a single best-performing model like Random Forest.

Key Results

  • High Accuracy: The stacking models achieved robust performance in 5-fold cross-validation, with R² values of 0.909–0.967 for cattle and 0.874–0.914 for sheep and goats.
  • Multi-Scale Validation:
    • County-level: Near-perfect agreement with census constraints (R² > 0.99).
  • City-level: Strong agreement (R² = 0.69–0.88).
  • Grid-level: Validation against independent point observations yielded an R² of 0.79, confirming the model's ability to capture fine-scale variations that global datasets miss.
  • Temporal Trends: The data reveals a predominant decreasing trend in grazing livestock proportions across China from 2000–2021, likely due to shifting agricultural policies and land-use changes.

Limitations and Future Work

  • Data Accessibility: Historical census data was not available for every single county in every year, requiring the model to generalize across some gaps.
  • Regional Validation Bias: Much of the high-quality validation data for livestock carrying capacity came from the Qinghai-Tibet Plateau. The authors suggest that incorporating more samples from other major grazing regions, like Inner Mongolia, would further refine the model.
  • Grazing Ban Complexity: While the study used available grazing ban data, these policies are often highly localized and change frequently; more granular spatial-temporal data on grazing restrictions would improve the "masking" accuracy.

Summary updated

BibTeX
@misc{zhan2025clrd,
  author = {Ning Zhan and Tao Ye and Mario Herrero and Jian Peng and Weihang Liu and Heng Ma},
  title = {{CLRD-GLPS: A Long-term Seasonal Dataset of Ruminant Livestock Distribution in China's Grazing Production Systems (2000–2021) Using Stacking-based Interpretable Machine Learning}},
  year = {2025},
  doi = {10.5194/essd-2025-263},
}
Figure