# Research on the Assessment of Dairy Cow Dry Matter Intake Using ITSO-Optimized Stacking Ensemble Learning

**Authors:** Shuairan Wang, Ting Long, Xiaoli Wei, Qinzu Guo, Hongrui Guo, Weizheng Shen, Zhixin Gu

PMC · DOI: 10.3390/ani16040625 · Animals : an Open Access Journal from MDPI · 2026-02-16

## TL;DR

This paper introduces a new method to accurately predict dairy cow dry matter intake using optimized machine learning, helping improve feeding efficiency and sustainability in dairy farming.

## Contribution

The novel contribution is the development of an ITSO-optimized Stacking ensemble model for DMI prediction, achieving higher accuracy than existing methods.

## Key findings

- The ITSO-optimized Stacking model achieved 95.84% accuracy in predicting DMI.
- The model outperformed traditional machine learning models like SVR, RF, and AdaBoost.
- The method offers a low-cost, real-time solution for precision feeding in commercial dairy farms.

## Abstract

Dry matter intake (DMI) is a key indicator of the nutritional status and feeding efficiency of dairy cows and is essential for precision feeding management. However, direct measurement of DMI is labor-intensive, costly, and difficult to implement in commercial dairy farms. In this study, we developed an intelligent assessment method for cow DMI by combining behavioral and physiological data with an optimized ensemble learning approach. Using cow body weight, lying duration, lying times, rumination time, foraging duration, walking activity, and the concentrate-to-roughage ratio as inputs, an improved Tuna Swarm Optimization-based Stacking model was established to accurately assess DMI. The proposed method achieved high prediction accuracy and outperformed several commonly used machine learning models. This approach provides a practical, low-cost solution for real-time DMI assessment, helping farmers optimize feeding strategies, improve production efficiency, and support sustainable dairy farming.

Dry matter intake (DMI) in dairy cows is a critical indicator of nutrient intake from feed, serving as the cornerstone of precision feeding practices, playing a critical role in improving production efficiency and enhancing the quality of dairy products. To address the high costs of traditional measurement methods and the structural complexity and large parameter counts of neural network models, this study proposes a Stacking ensemble learning model to assess DMI, with model parameters optimized using the Tuna Swarm Optimization (TSO) algorithm to enhance assessment accuracy, taking cow body weight, lying duration, lying times, rumination duration, foraging duration, walking steps, and the concentrate-to-roughage feed ratio as input variables. To further improve TSO’s search efficiency and spatial exploration, this study introduces Sine–Logistic chaotic mapping, Levy flight, and Gaussian random walk strategy to optimize the TSO algorithm, developing the improved Tuna Swarm Optimization (ITSO). ITSO-optimized Stacking model achieved superior performance in DMI assessment, with an accuracy of 95.84%, significantly outperforming SVR, RF, DT, GBR, ETR, and AdaBoost models. This study provides a robust tool for precision feeding, contributing to optimizing cow feeding strategies, improving farm efficiency, and supporting sustainable dairy farming practices.

## Full-text entities

- **Diseases:** injury to (MESH:D014947), DMI (MESH:D000080146)
- **Chemicals:** sodium chloride (MESH:D012965), dry matter (-), limestone (MESH:D002119), sodium bicarbonate (MESH:D017693), magnesium oxide (MESH:D008277)
- **Species:** Homo sapiens (human, species) [taxon 9606], Megaptera novaeangliae (humpback whale, species) [taxon 9773], Arachis hypogaea (goober, species) [taxon 3818], Bos taurus (bovine, species) [taxon 9913]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12937265/full.md

## Figures

12 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12937265/full.md

## References

41 references — full list in the complete paper: https://tomesphere.com/paper/PMC12937265/full.md

---
Source: https://tomesphere.com/paper/PMC12937265