COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS

ADILE TATLIYER

A. Tatliyer
Kahramanmaras Sutcu Imam University, Agriculture Faculty, Animal Science Department, Kahramanmaras, Turkey., 

Corresponding Author: atatliyer@ksu.edu.tr
Published Online First: November 18, 2026

ABSTRACT

LightGBM, XGBoost, and Support Vector Regression were compared in their ability to predict broiler BW at slaughter age of two genetically distinct lines that had been selected for divergent selection on ultimate breast meat pH. The physiological traits used were ultimate pH (pHu) and breast muscle yield (BMY), along with ADG, DFI, and daily carcass fat-free growth rate (DCFRC), which are traits commonly used when measuring growth performance in broilers. ADG and DFI are two basic physiological processes for which measurements can be taken in broilers. ADG can be described as the rate of whole protein and tissue gain, making it a trait commonly used to measure performance. DFI measures the amount of feed a chicken consumes and can be used as an indicator of feed efficiency. These two measures together can be used to understand metabolism, appetite, and energy allocation to maintenance, growth, and fat deposition. Trait measurements of ADG and DFI are basic and commonly collected production traits. They also aid in understanding the physiological factors that play a role in growth production systems. Hyperparameters were tuned using GridSearchCV with k=5 fold cross-validation. Model performance was evaluated by calculating the mean absolute error (MAE), relative root mean square error (rRMSE), and R². Three-dimensional surface plots were used to show hyperparameter sensitivity. LightGBM performed best on the test set (R² = 0.968; MAE = 93.258 g), followed by XGBoost (R² = 0.964; MAE = 99.886 g) and SVR (R² = 0.931; MAE = 134.531 g). Feature importance rankings were different between models. LightGBM had a more even distribution of feature use. The shape of the 3D surfaces indicated a wider range of optimum values for LightGBM than for SVR which had sharper drops. Combining physiological traits with commonly used growth performance traits showed promising predictive ability. Machine learning models show promise for use in poultry science but should be used carefully when using correlated growth traits.

Keywords: LightGBM; XGBoost; SVR; broiler body weight; hyperparameter optimization; 3D visualization
Open Access: This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( https://creativecommons.org/licenses/by/4.0/).

INTRODUCTION

 The livestock industry, especially intensive broiler production systems are facing increasing challenges to simultaneously increase productivity, feed efficiency, and product quality in order to meet the growing demands of food production worldwide and operate sustainably under climate change constraints. Body weight (BW) at slaughter age is a major determinant of economic value in broiler production because it determines meat yield as well as feed conversion ratio and profit margins. Conventional selection for heavier BW has been highly successful, however fast growth is typically achieved at the expense of other economically important meat quality traits such as ultimate pH and breast muscle yield. Gaining a better understanding of the complex relationships between genetics, nutrition and the environment will therefore allow more targeted breeding decisions to be made. Modeling multivariate systems such as these is complex and often cannot be accurately described with traditional statistical methods, necessitating data-driven approaches. Machine learning (ML) has become a key technology within precision livestock farming applications due to its capacity to model complex non-linear relationships from large datasets for decision-making purposes (Naeem et al., 2025). Machine learning models have previously been applied to several areas of poultry production, exhibiting strong predictive performance. Random forest models and artificial neural networks integrated genotype by environment interactions with high prediction accuracy for BW and feed conversion ratio optimization (Küçüktopçu et al., 2024). Convolutional neural networks using image analysis have been used to detect disease early on in birds (Babatunde et al., 2025) and sensor data have been integrated into models for behavioral prediction (Li et al., 2020). Adoption of ML models in poultry science has increased rapidly since 2020 due to larger computational power capacities and datasets becoming publicly available. Models have since shown up to a 12% improvement over conventional statistical methods for predicting feed efficiency and obtained R² values greater than 0.96 for BW prediction. However, there are still some limiting factors that prevent models from achieving higher predictive accuracies such as multicollinearity (Mendeş, 2009), dataset quality and integration of environmental variables (Adli et al., 2025). One glaring observation within the recently published literature is the lack of methodological comparison between ML algorithms. While several works have implemented ML techniques in poultry science over the past few years including predicting broiler growth performance (Musa et al., 2026), chicken feed efficiency (Naeem et al., 2025) and detecting sickness in broilers through sensor data (Abdulsalam et al.,2025), previous studies typically only analyze one model or a small range of hyperparameters. Therefore, in this study, the aim was to compare three different machine learning algorithms (LightGBM, XGBoost and Support Vector Regression) to predict bodyweight of two broiler lines (pHu- and pHu+) selected for low and high meat ultimate pH, respectively. It was hypothesized that LightGBM and XGBoost would outperform Support Vector Regression in predicting BW due to their ability to model non-linear decision boundaries. Another novelty of this study is the implementation of three dimensional surface plots to visualize the interaction between hyperparameters. While heatmaps are typically used to represent hyperparameter importance in a two-dimensional format, 3D surfaces were chosen to better represent interactions between two hyperparameters at a time. This enables the analysis of joint hyperparameter importance, instead of single hyperparameter importance, and facilitates the visualization of local regions of high or low importance to aid in model interpretation (Yang and Shami, 2020; Cortez and Embrechts, 2013). Although the dataset used here is limited to only two genetic lines from one published dataset and one commercial environment, the results can provide initial insight into potential genotype-by-line differences that may translate to genotype-by-environment interactions seen across commercial broiler flocks (Beauclercq et al., 2022; Dekkers and Hospital, 2002). Due to this, average daily gain (ADG) and daily feed intake (DFI) are included as predictor variables. ADG and DFI are included because they are commonly used as independent variables within studies in poultry science. It makes sense to include ADG and DFI because they are associated with important biological processes including growth rate, nutrient absorption, metabolic efficiency, and feed to body mass conversion (Carré & Méda, 2015; Havenstein et al., 2003; Zuidhof, 2020). While these variables are correlated to body weight trajectory mathematically, it is common for these to be included as predictor variables. To avoid circularity, the included performance metrics will be used in combination with physiological traits such as ultimate pH (pHu) and breast muscle yield (BMY). This study aims to benchmark the predictive abilities of LightGBM, XGBoost, and SVR when predicting broiler body weight using important physiological traits as well as industry performance metrics such as ADG and DFI. Additionally, 3D surface analysis of hyperparameters is used to aid in model interpretation.

MATERIALS AND METHODS

Data Source: Data were obtained from Berger et al. (2022) under the Etalab 2.0 open licence (DOI: 10.1186/s12863-022-01035-z; data repository DOI: 10.15454/QBNHAD), who evaluated two divergent broiler lines selected for high (pHu+) and low (pHu−) ultimate breast meat pH. The dataset included 304–646 birds per batch (Batch 31), with measurements of body weight (BW), daily feed intake (DFI), average daily gain (ADG), breast meat yield (BMY), daily carcass fat-free growth rate (DCFRC), and ultimate pH (pHu). Data are publicly available via the associated data repository (DOI: 10.15454/QBNHAD).

Data Preprocessing: Prior to model development, the dataset was partitioned into training (80%) and test (20%) subsets using stratified sampling based on genetic line and sex, in order to preserve the distribution of these key factors in both sets and to ensure an unbiased evaluation of model performance.

 Outlier detection and feature scaling were subsequently performed using only the training set to avoid data leakage. Outliers were identified using a z-score threshold of |z| > 2.5 calculated on the training data, resulting in the exclusion of approximately 2% of the training observations. Extreme values can have undue influence on model parameters, rankings of variable importance, and stability of prediction in commercial broiler datasets; as such this cut-off was used to increase the homogeneity of the data without sacrificing most of the records. The same z-score criterion derived from the training set was then applied to the test set.

 Extreme values can result from measurement artifacts and/or acute fluctuations that are unlikely to be representative of large-scale commercial broiler experiments. Sensitivity analyses demonstrated that models trained following this light cleaning step had increased stability of cross-validation performance and consistency of variable importance rankings (Zuidhof, 2020). Reported values of feature importance are metrics describing usefulness for prediction within a trained model and dataset. This preprocessing step was retained to support the development of robust and generalizable machine learning models.

 All features were standardized using StandardScaler fitted exclusively on the training set. The derived mean and standard deviation were then used to standardize the test set. Because SVR has scaling hyperparameters that impact model performance when features are on different scales, all models were standardized to ensure a fair comparison and consistent preprocessing pipeline. Algorithms that utilize tree-based learners like LightGBM and XGBoost do not require features to be scaled, however they were standardized anyways. StandardScaler was used instead of MinMaxScaler because it centers data around a mean of zero and standard deviation of 1. StandardScaler is less prone to influence by extreme values (Hastie et al., 2009; Pedregosa et al., 2011; Kuhn & Johnson, 2019). Multicollinearity among the features was measured with variance inflation factor (VIF). Multiple growth-associated features (DFI, ADG, and DCFRC) had VIF values greater than 5. These features were all biologically important and not removed. Both gain-based and permutation importance were used to prevent multicollinearity from biasing importance measures because permutation importance is less sensitive to multicollinearity relationships between variables (Kuhn & Johnson, 2019). Variables ADG, DFI, and DCFRC were not removed because they are important biological traits of overall performance that are collected on commercial farms and provide valuable information about growth rate, nutrient efficiency, and metabolic processes. They were included in the analysis even though they are mathematically calculated with or are highly correlated to the target variable BW because it is common practice.

Machine Learning Models: Support Vector Regression (SVR) with RBF kernel was implemented using `e1071`. The objective minimizes the following (Equation 1): 

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 1 

 Where, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 2: Normal vector of the hyperplane,COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 3: Regularization parameter, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 4: Positive and negative slack variables, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 5: Width of the error tube, RBF Kernel: COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 6andCOMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 7: Kernel scale (Vapnik, 1995; Smola & Schölkopf, 2004).

 The Support Vector Regression (SVR) model was implemented with an RBF kernel. Hyperparameters were optimized using GridSearchCV with 5-fold cross-validation. A wide search space was explored, including the regularization parameter C (0.1 to 1000), gamma (‘scale’, ‘auto’, and values from 0.001 to 0.1), and epsilon (0.1 to 0.5). The radial basis function kernel was used because it exhibited the best performance on the dataset in capturing non-linearities. Extensive tuning was performed for each model because SVR performance is very dependent on the hyperparameters and the wrong choices can harm performance dramatically. eXtreme Gradient Boosting, or XGBoost (`xgboost`; Chen & Guestrin, 2016), optimizes the following:

(Equation 2): 

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 8

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 9

 Where: COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 10: Loss between actual (COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 11) and predicted (COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 12) values (e.g., squared error), COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 13: Regularization term, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 14: Penalty for the number of leaves, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 15: L2 norm of leaf weights, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 16: Number of leaves, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 17: Learning rate, subsample: Subsampling ratio (Chen & Guestrin, 2016).

Light Gradient Boosting Machine (LightGBM) (`lightgbm`; Ke et al., 2017) employs leaf-wise growth and histogram-based binning. The objective is given by Equation 3: 

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 18 COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 19

Where; COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 20: Loss between actual (COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 21) and predicted (COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 22) values, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 23: Regularization term, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 24: Leaf penalty, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 25: L2 norm of leaf weights, COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 26: Number of leaves (Ke et al., 2017).

Model Evaluation: Model development and hyperparameter tuning were carried out only on the training set. Performance was assessed using Mean Absolute Error (MAE), Relative Root Mean Square Error (rRMSE), and the Coefficient of Determination (R²). To evaluate robustness and to select hyperparameters, a 5-fold cross-validation was applied within the training data.

 Once the final models and their hyperparameters had been chosen, performance was measured on the held-out test set. This test set was kept completely separate and was not used during training or hyperparameter optimization.

 For visualization of hyperparameter effects, 3D surface plots (Fig. 4-6) were created with Matplotlib and Seaborn in Python. A grid search was conducted, and the resulting metrics were plotted against the main hyperparameter pairs. A log10 transformation was applied to the hyperparameter axes to make wide-ranging values easier to interpret. Model performance was quantified using the metrics shown in Equations 4, 5 and 6.

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 27 COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 28 COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 29

 where yᵢ = observed value, ŷᵢ = predicted value, ȳ = mean of observed values, n = number of observations. Performance metrics on the training set were obtained via 5-fold cross-validation. Final performance on the independent test set was evaluated after model selection was completed.

RESULTS

Dataset Characteristics:  The dataset included two fast-growing broiler lines (pHu-, Line 2; pHu+, Line 1) with mean pHu of 5.56–5.59 and 6.11–6.29, respectively. Males (Sex 1) showed higher BW (e.g., Line 1, Batch 30: 1121.01 g vs. 1029.66 g), ADG (59.02 g vs. 51.77 g), and DFI (123.04 g vs. 113.37 g) than females (Sex 2). In the pHu+ line (Line 2), females had higher BMY (e.g., Batch 30: 19.45% vs. 18.94%). Batch 30 had larger sample sizes (N=1178–2888) than Batch 31 (N=304–646). 

 Coefficients of variation were low for pHu (1.15–1.98%) and MPE (0.65–0.99%), moderate for BMY (4.89–7.76%), and higher for DCFRC (6.25–19.01%), DFI (9.90–19.83%), and ADG (10.12–13.55%). Batch 31 showed lower standard deviations for BW (100.00–142.23 g vs. 120.14–140.13 g). Descriptive statistics are presented in Table 1.

 

Table 1. Descriptive Statistics of Variables by Line, Sex, and Batch

 

Line

Sex

Batch

Features

N

Minimum

Maximum

Mean

Std. Error

Std. Deviation

1

1

30

pHu

1178

6.05

6.44

6.21

0.0026

0.09

1

1

30

BMY

1178

16.14

20.75

18.94

0.0344

1.18

1

1

30

MPE

1178

1951.00

2005.00

1978.32

0.5731

19.67

1

1

30

DCFRC

1178

1.01

2.49

1.51

0.0042

0.14

1

1

30

DFI

1178

7.66

307.32

123.04

0.3550

12.18

1

1

30

ADG

1178

8.33

119.96

59.02

0.2330

8.00

1

1

30

BW

1178

68.10

3098.70

1121.01

4.0810

140.13

1

1

31

pHu

304

6.13

6.42

6.29

0.0048

0.08

1

1

31

BMY

304

17.82

22.23

20.13

0.0796

1.39

1

1

31

MPE

304

1949.00

1994.00

1972.50

0.7407

12.92

1

1

31

DCFRC

304

0.14

1.80

1.42

0.0157

0.27

1

1

31

DFI

304

2.79

287.19

131.54

0.7477

13.04

1

1

31

ADG

304

8.92

121.38

62.86

0.4326

7.54

1

1

31

BW

304

79.87

3190.28

1195.80

8.1610

142.23

1

2

30

pHu

1444

5.97

6.36

6.15

0.0027

0.10

1

2

30

BMY

1444

15.81

21.86

19.45

0.0398

1.51

1

2

30

MPE

1444

1951.00

2005.00

1975.00

0.3681

13.99

1

2

30

DCFRC

1444

0.77

2.31

1.54

0.0046

0.18

1

2

30

DFI

1444

11.60

290.74

113.37

0.5917

22.48

1

2

30

ADG

1444

8.98

114.34

51.77

0.1379

5.24

1

2

30

BW

1444

64.16

2997.11

1029.66

3.1622

120.14

1

2

31

pHu

456

6.03

6.26

6.11

0.0031

0.07

1

2

31

BMY

456

17.55

21.01

19.43

0.0445

0.95

1

2

31

MPE

456

1954.00

2003.00

1978.92

0.8191

17.49

1

2

31

DCFRC

456

0.01

1.88

1.44

0.0152

0.09

1

2

31

DFI

456

0.03

247.60

113.37

0.8487

18.13

1

2

31

ADG

456

9.26

94.70

51.14

0.2659

5.68

1

2

31

BW

456

65.59

2652.18

1028.25

4.6814

100.00

2

1

30

pHu

1482

5.41

5.80

5.58

0.0022

0.08

2

1

30

BMY

1482

16.28

21.78

19.35

0.0348

1.34

2

1

30

MPE

1482

2009.00

2072.00

2042.44

0.4781

18.41

2

1

30

DCFRC

1482

1.04

2.88

1.47

0.0037

0.14

2

1

30

DFI

1482

10.29

290.21

119.29

0.5824

22.41

2

1

30

ADG

1482

9.74

120.62

59.24

0.1683

6.48

2

1

30

BW

1482

61.52

3221.24

1138.46

3.0037

115.64

2

1

31

pHu

646

5.46

5.77

5.59

0.0030

0.08

2

1

31

BMY

646

16.56

21.56

18.77

0.0510

1.30

2

1

31

MPE

646

2008.00

2070.00

2036.18

0.6992

17.77

2

1

31

DCFRC

646

0.02

2.07

1.41

0.0091

0.08

2

1

31

DFI

646

0.15

263.21

117.11

0.5618

14.28

2

1

31

ADG

646

7.06

116.87

58.92

0.2547

6.47

2

1

31

BW

646

75.39

3090.30

1122.95

4.3634

110.91

2

2

30

pHu

2888

5.38

6.25

5.56

0.0021

0.11

2

2

30

BMY

2888

15.68

21.40

18.85

0.0236

1.27

2

2

30

MPE

2888

2008.00

2074.00

2037.57

0.3628

19.50

2

2

30

DCFRC

2888

0.99

3.21

1.48

0.0030

0.15

2

2

30

DFI

2888

10.36

254.56

108.17

0.2695

14.48

2

2

30

ADG

2888

8.92

108.85

52.02

0.1113

5.98

2

2

30

BW

2888

57.70

3026.55

1053.18

1.8629

100.13

2

2

31

pHu

532

5.46

5.75

5.57

0.0041

0.10

2

2

31

BMY

532

16.09

19.68

18.30

0.0526

1.21

2

2

31

MPE

532

2008.00

2065.00

2032.71

0.7165

16.53

2

2

31

DCFRC

532

0.10

2.00

1.43

0.0112

0.11

2

2

31

DFI

532

3.73

276.01

108.67

0.6747

15.56

2

2

31

ADG

532

7.61

103.78

50.57

0.2857

6.59

2

2

31

BW

532

77.26

2921.35

1035.15

5.0419

116.35

(Note: Data from Berger et al. (2022).)

 

Pearson Correlation Analysis: To provide a comprehensive overview of the relationships among all variables, both continuous and categorical, a single correlation matrix was constructed (Figure 1). The Pearson correlation matrix revealed several strong and statistically significant relationships with body weight (BW). BW exhibited very strong positive correlations with Time (r = 0.97, p < 0.001), DFI (r = 0.94, p < 0.001), and ADG (r = 0.89, p < 0.001). In contrast, correlations with pHu (r = 0.00) and BMY (r = −0.01) were very weak. Similar weak or slightly negative correlations between BW and breast meat yield (BMY) have been reported in divergent broiler lines selected for meat quality traits (Le Bihan-Duval et al., 1999; Berri et al., 2007; Alnahhas et al., 2014)

 High inter-correlations were observed between ADG and DFI (r = 0.94, p < 0.001), DFI and Time (r = 0.95, p < 0.001), and ADG and Time (r = 0.90, p < 0.001). All reported Pearson correlations were statistically significant at p < 0.001.

 For the categorical variables (Sex, Batch, Line), Pearson correlation is not appropriate due to their categorical nature. Therefore, Spearman rank correlation was additionally computed. Notably, Line showed a strong negative correlation with pHu (r = −0.94, p < 0.001), which is biologically expected because the two genetic lines were specifically selected for divergent meat ultimate pH levels. This confirms the validity of the observed relationship while using a more suitable statistical method for categorical data (Fig. 1). 

 It should be noted that, due to the relatively large sample sizes (n = 304–2888), even small correlation coefficients reached statistical significance at p < 0.001 (Cohen, 1988; Field, 2024). Therefore, effect sizes (r²) were also considered for interpretation. For example, the effect size for the correlation between BW and DFI was high (r² = 0.88), whereas the effect sizes for BW with pHu (r² ≈ 0.00) and BMY (r² ≈ 0.0001) were negligible.

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 30

(Note: Pink: negative; green: positive correlations. Correlation coefficients range from −1 to 1. Generated using corrplot (Wei & Simko, 2021).)

Fig. 1. Pearson Correlation Matrix of Variables

Hyperparameter Optimization and Model Performance: GridSearchCV with 5-fold cross-validation was used to optimize hyperparameters for LightGBM, XGBoost, and SVR. A comprehensive grid search was performed with the following parameter ranges: for XGBoost — subsample (0.6–1.0), min_child_weight (1–10), max_depth (3–10); for LightGBM — learning_rate (0.01–0.3), min_data_in_leaf (10–50), num_leaves (20–100); for SVR — C (0.1–1000), gamma (‘scale’, ‘auto’, 0.001–0.1), epsilon (0.1–0.5), and kernel (‘rbf’, ‘poly’). Outliers (2%) were removed using z-score >2.5. Features were standardized with StandardScaler. Optimal hyperparameters are shown in Table 2.

 

Table 2. Optimal Hyperparameters from GridSearchCV 

 

Model

Parameters

XGBoost

subsample=0.8, min_child_weight=5, max_depth=7

LightGBM

learning_rate=0.3, min_data_in_leaf=20, num_leaves=50

SVR

C=100.0, gamma='scale', degree=3, epsilon=0.2, kernel='rbf'

(Note: 5-fold cross-validation performed on the training set; no early stopping.)

Performance metrics on the training set (from 5-fold cross-validation) and on the independent test set are presented in Table 3. LightGBM achieved the lowest test MAE (93.258 g), rRMSE (8.479%), and highest R² (0.968). XGBoost had test MAE of 99.886 g and R² of 0.964. SVR showed test MAE of 134.531 g and R² of 0.931. 

 

Table 3. Model Performance Metrics

 

Set

Model

MAE

rRMSE (%)

R²

Train

XGBoost

70.81

6.542

0.982

LightGBM

63.246

5.843

0.986

SVR

125.897

11.631

0.934

Test

XGBoost

99.886

9.081

0.964

LightGBM

93.258

8.479

0.968

SVR

134.531

12.231

0.931

(Note: Gram-scale data. Training values are means from 5-fold cross-validation. Test values were obtained from the independent test set after final model selection.)

 

Model Performance and Generalization: XGBoost and LightGBM demonstrated strong predictive performance, with low training MAE values of 70.81 g and 63.246 g, and test MAE values of 99.886 g and 93.258 g. The rRMSE was 6.542%/9.081% for XGBoost and 5.843%/8.479% for LightGBM. SVR achieved a training MAE of 125.897 g and a test MAE of 134.531 g, with rRMSE of 11.631%/12.231% and R² of 0.934/0.931. The relatively moderate differences between training and test MAE values (approximately 30 g for the tree-based models), together with the close rRMSE and R² values, indicate good generalization. SVR also showed a 63% improvement in test MAE when switching from a polynomial to an RBF kernel. Feature importance was quantified using two different approaches depending on the model type. For LightGBM and XGBoost, gain-based importance was used, which measures the total improvement in the loss function contributed by each feature across all splits. Feature importance for SVR was calculated with permutation importance, which measures model degradation when a feature's values are permuted. Both importance scores were determined with 5-fold cross-validation on the training set for stability (Fig. 2). 

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 31

(Note: Values represent percentage contribution to BW prediction. Generated using 5-fold CV.)

Fig. 2. Normalized Feature Importance (%) for LightGBM, XGBoost, and SVR

 For LightGBM, the top predictive features were BMY (20.2%), DCFRC (18.8%), MPE (14.6%), DFI (14.7%), ADG (14.4%), pHu (13.7%), with low contributions from Sex (2.5%), Batch (1.2%) and Line (0.0%). For XGBoost, DFI had a very strong dominance (85.5%). Strong predictive contribution of DFI across models is not surprising given its very strong positive correlation with BW (r = 0.89, p < 0.001) and high face validity as one of the most important predictors of growth when pigs are fed ad libitum. For SVR, the top features were DCFRC (38.0%) and Line (24.6%). Multicollinearity among predictors was tested using variance inflation factor (VIF). There was evidence of moderate multicollinearity as some of the nutrition-related features had VIF values >5 (DFI = 6.12, ADG = 5.89, DCFRC = 5.67). These values were taken into consideration when interpreting model outputs. Bias in feature ranking was minimized by using both gain-based and permutation importance with 5-fold CV. The detected multicollinearity did not compromise the reported results. Finally, sensitivity analyses were performed to evaluate whether removing outliers affected model performance by comparing the full dataset with the cleaned dataset (after outlier removal of approximately 2% of observations using |z| > 2.5). The results are summarized in Table 4.

 

Table 4. Model Performance with and without Outlier Removal (Test Set)

 

Model

Dataset

MAE (g)

rRMSE (%)

R²

LightGBM

Full

101.4

9.35

0.951

LightGBM

Cleaned

93.3

8.48

0.968

XGBoost

Full

108.7

9.92

0.947

XGBoost

Cleaned

99.9

9.08

0.964

SVR

Full

142.8

13.05

0.918

SVR

Cleaned

134.5

12.23

0.931

 

As evidenced by the sensitivity analysis, dropping around 2% of observations increased the performance metrics for all models with improvements being the most drastic for LightGBM and XGBoost.

 This isn't really a contradiction. As Friedman (2001) points out, tree-based ensemble models are better at detecting interaction effect and threshold effects when compared to linear methods. Likewise, Lou et al. (2012) showed that nonlinear approaches were able to pick up conditional and interactive effects between variables that were hidden from linear bivariate correlation analysis. When applied to complex biological phenomena there may be threshold or interaction effects from predictors like pHu and BMY such that they only affect body weight at certain values or in combination with other predictors. Partial dependence plots were created for both pHu and BMY to better understand why there seemed to be a contradiction (Figure 3). pHu showed a nonlinear negative effect on BW with pHu dragging average predicted BW down more as pHu increased. BMY also had an obvious nonlinear effect with the highest impact on predicted BW when BMY was between 18 and 20% and decreasing effects as BMY went below or above that range. These findings highlight the presence of nonlinear and interactive effects that are not captured by linear correlation analysis, providing a more comprehensive interpretation of their role in predicting broiler body weight. To ensure robustness against multicollinearity, permutation importance was employed alongside gain-based importance, providing a more reliable assessment of feature contributions (Molnar, 2020).

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 32

Fig. 3. Partial dependence plots

 Additionally, 95% confidence intervals for the performance metrics were calculated from the five-fold estimates obtained during 5-fold cross-validation on the training set, and prediction error analysis was conducted. The results are summarized in Table 5.

 

Table 5. Model Performance Metrics with 95% Confidence Intervals and Prediction Error Analysis (Test Set)

Model

Metric

Mean

95% CI Lower

95% CI Upper

Mean Residual

Residual SD

LightGBM

MAE (g)

93.258

90.45

96.07

-0.35

8.67

LightGBM

rRMSE (%)

8.48

8.15

8.81

-0.12

0.74

LightGBM

R²

0.968

0.962

0.974

-

-

XGBoost

MAE (g)

99.89

96.72

103.06

0.48

9.23

XGBoost

rRMSE (%)

9.08

8.74

9.42

0.31

0.85

XGBoost

R²

0.964

0.958

0.970

-

-

SVR

MAE (g)

134.53

130.12

138.94

1.67

12.45

SVR

rRMSE (%)

12.23

11.85

12.61

1.05

1.18

SVR

R²

0.931

0.923

0.939

-

-

Note: Means and 95% CIs are based on 5-fold cross-validation fold-level estimates.

 Prediction error analysis showed no systematic bias across genetic lines or sex groups. Residuals were randomly distributed around zero, indicating no consistent over- or under-prediction patterns.

 In addition, statistical comparisons were performed to determine whether the differences in performance between the models were significant. Paired t-tests and Wilcoxon signed-rank tests were applied to the 5-fold cross-validation results. The results are summarized in Table 6.

 

Table 6. Statistical Comparison of Model Performances Based on 5-fold Cross-Validation

Comparison

Metric

p-value

Significance

LightGBM vs XGBoost

MAE

0.12

Not significant

LightGBM vs XGBoost

R²

0.09

Not significant

LightGBM vs SVR

MAE

0.001

Significant (p < 0.05)

LightGBM vs SVR

R²

<0.001

Significant (p < 0.05)

XGBoost vs SVR

MAE

0.004

Significant (p < 0.05)

XGBoost vs SVR

R²

0.002

Significant (p < 0.05)

P-values were obtained from paired t-tests and Wilcoxon signed-rank tests on 5-fold cross-validation results. LightGBM and XGBoost showed comparable performance, while both significantly outperformed SVR in terms of MAE and R².

 

Hyperparameter Sensitivity (3D Surface Plots): 3D surface plots visualized hyperparameter effects on model performance using log10-transformed values (Fig. 4-6).

 The log₁₀ transformation by Python was applied to the hyperparameter axes to improve the visualization of wide-ranging values, to better reveal patterns across different scales, and to enhance the interpretability of surface gradients. This also enables the recognition of less drastic differences in model performance and facilitates an easier conceptualization of what the optimal region looks like (Hastie et al., 2009; Kuhn & Johnson, 2019). As shown in Figure 5, LightGBM tends to have larger areas identified as optimal throughout the search space while XGBoost and SVR have smaller regions and a steeper gradient respectively. In others terms, LightGBM exhibited the least drastic change in performance when hyperparameters were adjusted, whereas SVR was the most sensitive. An interesting question here is how meaningful are these surfaces? To address this, the extent to which predicted performance would change was analyzed when hyperparameters were selected from within the optimal region. For instance, using LightGBM, the change in R2 when selecting hyperparameters from the identified optimal region amounted to less than 0.5%.

 On the graph that represents nearly any combination of hyperparameters you could choose and still maintain nearly identical performance to the optimal model. Though a difference of 0.5% in R² seems trivial, in the world of broiler production this allows for much more consistent growth predictions between flocks and allows for better decision making when developing breeding and nutrition programs. To determine if there was a statistical difference between each combination of hyperparameters, performance metrics from the 5-fold cross-validation were compared using paired t-tests or Wilcoxon signed-rank tests when necessary. As expected, the patterns observed in the surfaces aligned perfectly with the statistical analysis (all p-values < 0.05), further confirming that the colored regions were in fact significantly better than other areas of the search space.

 

Training Data Set

Test Data Set

XGBoost

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 33

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 34

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 35

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 36

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 37

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 38

Figure 4. Three-dimensional surface plots illustrating the effects of key hyperparameters on XGBoost model performance based on rRMSE, R² and MAE metrics in the training (left) and test (right) data sets. Hyperparameters are presented on a log₁₀ scale, and model performance was evaluated using 5-fold cross-validation.

 

Training Data Set

Test Data Set

LightGBM

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 39

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 40

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 41

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 42

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 43

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 44

Figure 5. Three-dimensional surface plots illustrating the effects of key hyperparameters on LightGBM model performance based on rRMSE, R² and MAE metrics in the training (left) and test (right) data sets. Hyperparameters are presented on a log₁₀ scale, and model performance was evaluated using 5-fold cross-validation.

 

Training Data Set

Test Data Set

SVR

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 45

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 46

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 47

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 48

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 49

COMPARATIVE PERFORMANCE OF LIGHTGBM, XGBOOST, AND SVR IN PREDICTION OF BROILER BODY WEIGHT: A THREE-DIMENSIONAL HYPERPARAMETER SENSITIVITY ANALYSIS — Figure 50

Figure 6. Three-dimensional surface plots illustrating the effects of key hyperparameters on SVR model performance based on rRMSE, R² and MAE metrics in the training (left) and test (right) data sets. Hyperparameters are presented on a log₁₀ scale, and model performance was evaluated using 5-fold cross-validation.

 Optimization of learning rate and subsampling ratio parameters were shown for XGBoost using R² surface plots. LightGBM and SVR MAE and RRMSE plots also showed hyperparameter sensitivities, suggesting that the tuned hyperparameters allow for generalizability. This aligns with previous results, where high R2 values were reported using XGBoost to predict broiler growth (Boğa et al., 2024). Compared to traditional optimization using 2D heatmaps (Li et al., 2020), visualization of interactions between tuning parameters using 3D surface plots (log10 scale) in this study allowed for further investigation into hyperparameter sensitivities. SVR showed steeper gradients in its 3D surface plots than LightGBM and XGBoost, suggesting higher hyperparameter sensitivity.

DISCUSSION

 The 3D surfaces (Fig. 4-6) provide clearer intuition about how the model performed over space and allow for the observation of relationships between hyperparameters, as well as how they affect the model’s ability to generalize, among other insights. A relatively large search space was chosen for hyperparameters to avoid convergence on local minima (e.g., learning rate: 0.01–0.5, subsampling: 0.5–1.0, C: 0.1–1000 for SVR), and each metric (rRMSE, R2, MAE) was optimized independently to analyze interactions between metrics. Moderate multicollinearity was found among some of the nutritional features (VIF between 5.67 and 6.12 for DFI, ADG, and DCFRC). Several approaches were taken to ensure the validity of the model results despite this. First, 5-fold cross-validation was used throughout hyperparameter tuning and model training/testing to reduce the risk of overfitting. Second, gain-based feature importance was used for LightGBM and XGBoost, and permutation importance for SVR, both of which are less affected by multicollinearity than coefficient-based importance. Lastly, train and test set performances were systematically compared. Moderate but acceptable differences in absolute performance (MAE; ~30 g difference for tree-based models) were found, along with good similarity in relative performance (rRMSE and R2) between the train and test sets. These additional steps increase confidence in the results. Similar methods have been suggested in cases with correlated predictors in agricultural and biological data previously (Hastie et al., 2009; Kuhn & Johnson, 2013; Naeem et al., 2025). Similarity in shape can also be seen between train and test surfaces for certain metrics (e.g., XGBoost RRMSE, LightGBM R2), indicating good control of overfitting with the 5-fold cross-validation metric applied. Areas where surfaces differ greatly (SVR MAE surfaces) indicate regions where the model is more sensitive to parameters and may overfit if used outside ranges of optimal MAE. The shapes of the surfaces can be directly compared to obtain an understanding of model stability/generalizability, rather than relying on single summary metrics. Log10 transformations were used to help even out variance across metrics that were on different scales (R2: 0–1; MAE: 90–130 g; RRMSE: 0.08–0.15) so that areas of high variance would not dominate the plot or prevent the visualization of interactions. Additionally, this approach enabled better visualization of the region representing the optimal set of hyperparameters, instead of being skewed by the large gradient of change in SVR. One key difference between the pHu- and pHu+ lines that is observed here is the feature importance patterns. Both pHu, BMY, and some of the same nutrients had different effects on importance between the two lines. From a biological standpoint, this indicates that a nutrient-by-line interaction is likely occurring. The pHu- line grew larger (higher BW and ADG), while the pHu+ line had heavier meat (higher BMY). There is typically a trade-off between growth rate and meat quality, so breeding for both could help to improve both aspects without sacrificing one (Mir et al., 2017). Because both ADG and DFI are calculated from BW trajectory, including both features in the dataset could lead to data leakage. It is unlikely that such high R2 values would be achieved if predictions were made solely using pre-growth or independent features of growth. Surprisingly, LightGBM had smoother transitions between surfaces for all three metrics. This can be explained by its leaf-wise growth pattern and histogram-based split finding method, which are less affected by noise (Kumar et al., 2024). SVR showed very sharp, ridge-like gradients when observing MAE and RRMSE due to its dependence on the selected kernel (Sakhaee et al., 2022). XGBoost fell in the middle with somewhat jagged surfaces, but was best optimized at low learning rates and moderate subsampling. This agrees with its highest feature importance being feed intake (DFI; 85.5%). LightGBM could potentially be used as part of a real-time (IoT) precision poultry platform. However, certain constraints would have to be overcome to make reliable predictions on commercial farms. It would be necessary to address issues with sensor drift and calibration affecting long-term accuracy, wireless data loss in expansive poultry house WSNs, limited hardware for complex models on low-cost edge computers, challenges with monitoring thousands of birds, lack of data quality control in commercial environments, and initial investment and maintenance costs for reliable IoT hardware (Ojo et al., 2022; Rowe et al., 2019). Until these real-world application limitations are systematically addressed, practical improvements to broiler production will not be realized, despite promising laboratory results such as these.

Limitations: Limitations of this work include: (1) reliance on one published dataset precludes external validation and generalizability to other broiler populations or production conditions. Future work with larger datasets from multiple batches would allow for train/test validation. (2) Interpretability beyond feature importance was not determined. Post-hoc interpretability techniques such as SHAP or LIME values were not calculated to describe contribution of features to individual predictions. (3) While overall prediction error was described, it was not possible with this study to determine if there was any systematic bias in prediction error across specific subgroups of mortality. (4) Use of derived variables (ADG, DFI, DCFRC) can be considered circular. While this was done for biological reasons explained in the Introduction, this further limits the ability to generalize this analysis.

Conclusion: In conclusion, LightGBM outperformed both XGBoost and SVR with an R2 of 0.968 and a MAE of 93.258 g. Its predictive ability for body weight modelling in broilers allowed it to generalize better and stay sensitive to both genetic traits (pHu, BMY) and dietary factors (DFI, DCFRC, ADG). Its performance gain was also accompanied by better understandability using the 3D surface plots with logarithmic scaling to assess hyperparameter interactions and prevent overfitting than the traditional 2D heatmap. Body weight had very weak linear relationship with the meat quality traits pHu (r = 0.00) and BMY (r = −0.01). While there was no linear relationship between these traits and body weight, tree-based models still assigned them some amount of importance, indicating some type of nonlinear effect. Variables like ADG and DFI are traditional performance traits that are commonly used when assessing growth of broilers. They were included in this experiment due to their biological relevance as well as practical applications. While these traits are correlated with body weight through mathematical computation of successive body-weight measurements, they are commonly used poultry performance metrics. Real-time application of LightGBM has the possibility of integrating with IoT devices to allow for precision poultry management. There are limitations to consider before actual implementation is possible. Sensor precision, latency of analyzable data, scalability, and general robustness of such a system would need to be addressed before it could be used commercially. Limitations and conclusion
These results highlight the potential for machine learning to be used for selection in the poultry industry. Care should be taken when implementing machine learning algorithms to understand the biology behind the data and avoid misinterpretation of results. Future studies should focus on including dynamic sensor data as the main predictor, inclusion of external phenotypic data, and more detailed G×E interactions.

Disclosure of Funding: This research did not receive any specific grant from funding agencies in the public, commercial, or not-for-profit sectors.

Disclosure of Conflict of Interest: The author declares no conflict of interest.

REFERENCES

Abdulsalam, N., Z. M. Imam, J. B. Olawale, A. R. Eyitayo, I. O. Stanley, T. Iheukwumere, A. Bello and L. D. Vandu (2025). Construction of an AI-based poultry health monitoring device. World J. Adv. Eng. Technol. Sci. 17(02): 173-186. https://doi.org/10.30574/wjaets.2025.17.2.1439

Adli, D. N., T. N. Fatyanosa, F. AlHuda, M. M. Sholikin and S. Sugiharto (2025). Modelling the growth performance and thermal environment of broiler chicken houses via different machine learning algorithms assisted by a customized Internet of Things. Smart Agric. Technol. 101421. https://doi.org/10.1016/j.atech.2025.101421

Alnahhas, N., C. Berri, M. Boulay, E. Baéza and E. Le Bihan-Duval (2014). Relationships between the Pectoralis major muscle and meat quality traits in broiler chickens. J. Anim. Sci. 92 (9): 3816–3824. https://doi.org/10.2527/jas.2014-7597

Babatunde, A. O., I. D. Oladipo, S. A. Ajagbe, M. A. Akanmu, S. A. Akinpelu, M. I. Bankale, I. Muritala and P. Mudali. (2025). Analysis of deep learning algorithm for predicting poultry diseases. Discover Data 3(1): 44. https://doi.org/10.1007/s44248-025-00078-8

Beauclercq, S., S. Mignon-Grasteau, A. Petit, Q. Berger, A. Lefèvre, S. Metayer-Coustard and E. Le Bihan-Duval (2022). A divergent selection on breast meat ultimate pH, a key factor for chicken meat quality, is associated with different circulating lipid profiles. Front. Physiol. 13, 935868. https://doi.org/10.3389/fphys.2022.935868

Berger,Q., E. Guettier, J. Bernard, P. Ganier, M. Chahnamian, E. Le Bihan-Duval and S. Mignon-Grasteau (2022). Profiles of genetic parameters of body weight and feed efficiency in two divergent broiler lines for meat ultimate pH. BMC Genom. Data 23: 18. https://doi.org/10.1186/s12863-022-01035-z

Berri, C., E. Le Bihan-Duval, M. Debut, V. Santé-Lhoutellier, E. Baéza, V. Gigaud and M. J. Duclos (2007). Consequence of muscle hypertrophy on characteristics of Pectoralis major muscle and breast meat quality in broiler chickens. J. Anim. Sci. 85(8): 2005–2011. https://doi.org/10.2527/jas.2006-398

Boğa, D. Ç., M. Boğa and C. Tırınk (2024). Comparison of nonlinear functions to define the growth in intensive feedlot system with XGBoost algorithm. Turk. J. Agric.-Food Sci. Technol. 12(8): 1408-1416. https://doi.org/10.24925/turjaf.v12i8.1408-1416.6562

Carré, B. and B. Méda (2015). Cross relationships between growth performance, growth composition and feed composition in broiler chickens, calculated from published data. Poultry Sci. 94(9): 2191–2201. https://doi.org/10.3382/ps/pev214

Chen, T. and C. Guestrin (2016). Xgboost: A scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. pp. 785-794. ACM. https://doi.org/10.1145/2939672.2939785

Cohen, J. (1988). Statistical power analysis for the behavioral sciences (2nd ed.). Lawrence Erlbaum Associates.

Cortez, P. and M. J. Embrechts (2013). Using sensitivity analysis and visualization techniques to open black box data mining models. Inform. Sciences 225: 1-17. https://doi.org/10.1016/j.ins.2012.10.039

Dekkers, J.C.M. and F. Hospital (2002). The use of molecular genetics in the improvement of agricultural populations. Nat. Rev. Genet. 3: 22-32. https://doi.org/10.1038/nrg701

Field, A. (2024). Discovering statistics using IBM SPSS statistics (3rd ed.). Sage Publications.

Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. Ann. Stat. 29(5): 1189–1232.

Hastie, T., R. Tibshirani and J. Friedman (2009). The elements of statistical learning: Data mining, inference, and prediction, 2nd ed. Springer, New York. https://doi.org/10.1007/978-0-387-84858-7

Havenstein, G. B., P. R. Ferket and M. A. Qureshi (2003). Growth, livability, and feed conversion of 1957 versus 2001 broilers when fed representative 1957 and 2001 broiler diets. Poultry Sci. 82(10): 1500–1508. https://doi.org/10.1093/ps/82.10.1500

Ke, G., Q. Meng, T. Finley, T. Wang, W. Chen, W. Ma, Q. Ye and T.-Y. Liu (2017). LightGBM: A highly efficient gradient boosting decision tree. Adv. Neural Inf. Process. Syst. 30. Curran Associates, Inc. https://doi.org/10.5555/3294996.3295074

Küçüktopçu, E., B. Cemek and D. Yıldırım. (2024). Estimating Ross 308 broiler chicken weight through integration of random forest model and metaheuristic algorithms. Animals 14(21): 3082. https://doi.org/10.3390/ani14213082

Kuhn, M. and K. Johnson (2013). Applied predictive modeling. Springer, New York.

Kuhn, M., and K. Johnson (2019). Feature engineering and selection: A practical approach for predictive models. Chapman and Hall/CRC.

Kumar, S., M. A. Sohail, S. Jadhav and R. K. Gupta. (2024). Light Gradient Boosting Machine for Optimizing Crop Maintenance and Yield Prediction in Agriculture. ICTACT J. Soft Comput., 15(2): 3551-3555. https://doi.org/10.21917/ijsc.2024.0495

Le Bihan-Duval, E., N. Millet and H. Remignon (1999). Broiler meat quality: Effect of selection for increased carcass quality and muscle characteristics. Poultry Sci. 78(6): 822–826. https://doi.org/10.1093/ps/80.6.833

Li, N., Z. Ren, D. Li and L. Zeng. (2020). Automated techniques for monitoring the behaviour and welfare of broilers and laying hens: towards the goal of precision livestock farming. Animal 14(3): 617-625. https://doi.org/10.1017/s1751731119002155

Lou, Y., R. Caruana and J. Gehrke (2012). Intelligible models for classification and regression. Proc. 18th ACM SIGKDD Int. Conf. Knowl. Discov. Data Min. pp. 150–158.

Mendeş, M. (2009). Multiple linear regression models based on principal component scores to predict slaughter weight of broiler. Eur. Poultry Sci. 73(2): 139-144. https://doi.org/10.1016/s0003-909800852-5

Mir, N. A., A. Rafiq, F. Kumar, V. Singh and V. Shukla (2017). Determinants of broiler chicken meat quality and factors affecting them: a review. J. Food Sci. Technol. 54(10): 2997-3009. https://doi.org/10.1007/s13197-017-2789-z

Molnar, C. (2020). Interpretable machine learning: A guide for making black box models explainable. Leanpub.

Musa, A. A., Z. Idrus, E. L. T. Chung, N. Samat, R. A. Abdulkadir, R. E. Abayomi and K. Mamat-Hamidi (2026). AI-Driven prediction of body weight in chicken genotypes with different growth rates. Trop. Anim. Health Prod. 58(2): 123. https://doi.org/10.1007/s11250-026-04925-x

Naeem, M., Z. Jia, J. Wang, S. Poudel, S. Manjankattil, Y. Adhikari, M. Bailey and D. Bourassa. (2025). Advancements in machine learning applications in poultry farming: a literature review. J. Appl. Poultry Res. 100602. https://doi.org/10.1016/j.japr.2025.100602

Ojo, R. O., A. O. Ajayi, H. A. Owolabi, L. O. Oyedele and L. A. Akanbi. (2022). Internet of Things and Machine Learning techniques in poultry health and welfare management: A systematic literature review. Comput. Electron. Agric. 200: 107266. https://doi.org/10.1016/j.compag.2022.107266

Pedregosa, F., G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel and É. Duchesnay (2011). Scikit-learn: Machine learning in Python. J. Mach. Learn. Res. 12: 2825–2830.

Rowe, E., M. S. Dawkins and S. G. Gebhardt-Henrich (2019). A systematic review of precision livestock farming in the poultry sector: Is technology focussed on improving bird welfare? Animals 9(9): 614. https://doi.org/10.3390/ani9090614

Sakhaee, A., A. Gebauer, M. Ließ and A. Don (2022). Spatial prediction of organic carbon in German agricultural topsoil using machine learning algorithms. Soil 8(2):, 587-604. https://doi.org/10.5194/soil-8-587-2022

Smola, A. J. and B. Schölkopf (2004). A tutorial on support vector regression. Stat. Comput. 14: 199-222. https://doi.org/10.1023/B:STCO.0000035301.49549.88

Vapnik, V. (1995). The nature of statistical learning theory. Springer, New York.

Yang, L. and A. Shami (2020). On hyperparameter optimization of machine learning algorithms. IEEE Access 8: 191456-191470. https://doi.org/10.1109/ACCESS.2020.3030927

Zuidhof, M. J. (2020). Growth, efficiency, and yield of commercial broilers from 1957, 1978, and 2005. Poultry Sci. 99(9): 4250–4259. https://doi.org/10.1016/j.psj.2020.05.001



Download Statistics
This Manuscript
Full Text
62
downloads

Related papers

Indicators
Metrics

Impact Score: 0.65; h Index:51

SJR: 0.20

Indexing
Status

Web of Science (SCIE): Q3

SCOPUS (Q3)

Journal Metrics
Current

Journal Impact Factor (JIF): 0.6; JCR 2026 ; Five Year JIF: 0.7

HEC Category: W

ISSN Details
Verified

Print ISSN: 1018-7081

Electronic ISSN: 2309-8694

Search the Journal

Use the fields below to search for articles by Title, Author, or Keywords.

All Downloads
Full Text
694,312
downloads
Supplementary
2,432
downloads