A method for predicting growth and slaughter traits of broiler chickens using low-protein diets based on a multi-task learning model
Predicting the growth performance of broiler chickens through a multi-task learning model solves the problem of insufficient research on low-protein diets in the broiler industry, reduces dietary protein levels and nitrogen emissions, and improves feeding efficiency and cost control.
Patent Information
- Application Number
- CN202410421201.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-09
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-04-09
AI Technical Summary
The broiler industry is relatively lacking in research on low-protein diets. The existing nutritional standards for broiler chickens are not optimized for low-protein diets, leading to increased feed costs and environmental impacts. Simply reducing the crude protein level in the diet may have an adverse impact on growth performance. .
Using a method based on a multi-task learning model, by analyzing the relationship between broiler growth data and dietary protein levels, predict the growth performance of broiler chickens, reduce protein levels in the diet, reduce dependence on imported protein, and reduce nitrogen emissions . The method includes data collection, preprocessing, model training and performance prediction. It uses a multi-task learning model architecture for training and prediction, including data input layer, expert grid layer, Tower module layer and target task layer, using Gate mechanism and softmax activation. The function controls the contribution level of the expert network module.
It can quickly predict the response of broiler chickens to different dietary protein levels, reduce the time and cost of traditional growth tests, obtain scientific growth performance and slaughter performance data, improve feeding efficiency, optimize multiple growth and slaughter indicators, and reduce feed costs and the environment. Influence.
Smart Images

Figure CN118278768B
Abstract
Description
Technical Field
[0001] The present invention relates to deep learning and broiler breeding, and specifically to a method for predicting growth traits and slaughter traits of broilers using a low-protein diet based on a multi-task learning model. Background Art
[0002] Studies have shown that low-protein diets can maximize the growth potential of broiler chickens through an ideal protein digestible amino acid pattern. However, the high cost of amino acids and the appropriate balance of protein levels are key challenges in implementing low-protein diets.
[0003] Although low-protein diets have been widely studied and applied in the field of pig nutrition, there are relatively few studies in this area in the broiler industry. With the rapid development of the broiler industry, the demand for protein has continued to increase, leading to rising feed costs. Existing broiler nutrition standards are not optimized for low-protein diets, but are based on traditional protein requirements. However, simply reducing the crude protein level in the diet may have an adverse effect on the growth performance of poultry, so the concept of a low-protein amino acid balanced diet was proposed.
[0004] Therefore, a new prediction method is needed to ensure the growth performance of broilers while reducing the protein level in the diet, reducing dependence on imported protein, and reducing nitrogen emissions. Improving feed conversion rate while reducing costs and environmental impact is crucial for the sustainable development of the livestock industry. Summary of the invention
[0005] The present invention provides a method for predicting the growth traits and slaughter traits of broiler chickens by using a low-protein diet based on a multi-task learning model. The method predicts the growth performance of broiler chickens by analyzing the relationship between the growth data of broiler chickens and the protein level in the diet. The method can reduce the protein level in the diet, reduce the dependence on protein, and reduce nitrogen emissions while ensuring the growth performance of broiler chickens.
[0006] In order to achieve the above purpose, the following technical scheme is adopted: a method for predicting the growth traits and slaughter traits of broiler chickens by low-protein diet based on a multi-task learning model, comprising the following steps:
[0007] A method for predicting growth traits and slaughter traits of broiler chickens using a low-protein diet based on a multi-task learning model, characterized in that it comprises the following steps:
[0008] S101: Data collection: Collecting test data of broilers at different dietary protein levels, the test data including nutritional composition data, chicken metabolizable energy, production performance data, slaughter performance data, organ index, chicken breast white stripe situation, chicken breast woody meat situation;
[0009] S102: Data preprocessing: the data collected in step S101 are divided into pre-test data and post-test data, wherein the pre-test data are nutritional data, production performance data and slaughter performance data of the pre-test; the post-test data are nutritional data, production performance data and slaughter performance data of the post-test; the numerical data in the collected data are normalized by maximum and minimum values, and the type data in the collected data are processed by one-hot encoding;
[0010] S103: Model training: using the multi-task learning model to train the data pre-processed in step S102; using two multi-task learning models with the same structure to train the pre-experiment data and the post-experiment data respectively, wherein the two multi-task learning models with the same structure are the pre-experiment multi-task learning model and the post-experiment multi-task learning model;
[0011] S104: Growth performance and slaughter performance prediction: using the trained pre-experiment multi-task learning model and the post-experiment multi-task learning model, the growth performance and slaughter performance of broilers are predicted according to the given nutritional data, and the corresponding target task data items are output;
[0012] The architecture of the multi-task learning model of step S103 mainly includes a data input layer (1), an expert grid layer (2), a Tower module layer (3) and a target task layer (4), wherein the data input layer (1) is used to collect input features, wherein the input features are nutrient component data items at the early stage of the experiment or nutrient component data items at the late stage of the experiment, and the expert grid layer (2) is composed of a plurality of expert network modules, wherein the number of the expert network modules is the same as the number of the target data items;
[0013] At least one Dense layer is included in each expert network module, and each Dense layer contains at least five neurons; a Gate mechanism is used between the expert grid layer (2) and the Tower module layer (3), and each target task has an independent Gate, through which the contribution of each expert network module to different tasks is controlled; the Gate uses a softmax activation function, and the sum of all branch Gate weights is 1, and the specific formula is as follows:
[0014]
[0015] The k above represents the Gate value of the kth target task, g i represents the weight value of the branch Gate of the i-th expert network module for the k-th target task, where the value of n is the number of expert network modules;
[0016] The Tower module layer (3) is composed of a plurality of Tower network modules, the number of the Tower network modules is the same as the target task, each Tower network module corresponds to a target task, each Tower network module receives a Gate value corresponding to the target task, at least one of the Tower network modules contains a Dense layer, and each Dense layer contains at least 5 neurons.
[0017] The target task layer (4) outputs the target task. If the target task is of numerical type, its output is a neuron. If the target task is of type data, a corresponding number of neurons is set.
[0018] Further, the nutritional component data before the test and the nutritional component data before the test are collectively referred to as nutritional component data, and the nutritional component data are the nutritional components in the feed, specifically: the content of crude protein, crude fat, crude fiber, nitrogen-free extract, crude ash, neutral detergent fiber, acid detergent fiber, starch, calcium, total phosphorus, available phosphorus, digestible arginine, digestible isoleucine, digestible lysine, digestible methionine, digestible threonine, digestible tryptophan, and digestible valine;
[0019] The data items of the production performance data in the early stage of the experiment are: 21d body weight, early F / G, early ADG, early ADFI, and early fecal nitrogen content;
[0020] The data items of production performance data in the later stage of the experiment are: body weight at 42 days of age, late F / G, late ADFI, and late ADG;
[0021] The slaughter performance data before the experiment and the slaughter performance data before and after the experiment are collectively referred to as slaughter performance data, and the slaughter performance data are: carcass weight, leg muscle weight, breast muscle weight, wing weight, gizzard weight, glandular stomach weight, as well as the white stripes of the breast muscle and the woody meat of the breast muscle.
[0022] Further, the input feature data of the multi-task learning model in the early stage of the experiment are the nutritional component data in the early stage, and the target feature data of the multi-task learning model in the early stage of the experiment are the production performance data in the early stage of the experiment and the slaughter performance data in the early stage of the experiment; the input feature data of the multi-task learning model in the late stage of the experiment are the nutritional component data in the late stage, and the target feature data of the multi-task learning model in the late stage of the experiment are the production performance data in the late stage of the experiment and the slaughter performance data in the late stage of the experiment;
[0023] Furthermore, the loss function of the multi-task learning model is mean square error (MSE), and the optimizer of the multi-task learning model is Adam.
[0024] Furthermore, the experimental process of the experimental data in step S101 is as follows: 480 one-day-old commercial Cobb broiler roosters were selected and randomly divided into 5 treatment groups, namely group A, group B, group C, group D, and group E, each treatment group had 8 replicates, and each replicate had 12 chickens. The experiment was divided into two stages, the early stage of the experiment and the late stage of the experiment (22-42d). The early stage of the experiment was 0-21 days, and the late stage of the experiment was 22-42 days.
[0025] Furthermore, the crude protein levels of the treatment groups during the experiment are as follows:
[0026]
[0027]
[0028] Furthermore, the dietary formula of the nutritional components in the early stage of the experiment is shown in the following table:
[0029]
[0030] Furthermore, the dietary formula of the nutritional components in the later stage of the experiment is shown in the following table:
[0031]
[0032] Furthermore, the specific formulas of the broiler early premix 1, broiler early premix 2, broiler early premix 3, broiler early premix 4, broiler early premix 5, broiler late premix 1, broiler late premix 2, broiler late premix 3, broiler late premix 4, and broiler late premix 5 are as follows:
[0033]
[0034]
[0035] The beneficial effects of the present invention are:
[0036] 1. The present invention can quickly predict the response of broilers to different dietary protein levels, greatly reducing the time and cost of traditional growth tests;
[0037] 2. Through scientific experimental design and diet formulation, reasonably obtain the growth performance data and slaughter performance data of broilers under different nutritional components;
[0038] 3. The multi-task learning model can handle multiple prediction tasks at the same time, and can optimize multiple growth and slaughter indicators in one model to improve feeding efficiency.
[0039] 4. The input of the multi-task learning model will be mapped to multiple expert network modules shared by all target tasks. The features of the input data can be reasonably extracted through the expert network modules.
[0040] 5. Each target task has an independent Gate, and the contribution of each expert network module to the target task is controlled by branching the Gate weight. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 Network structure diagram of the multi-task learning model.
[0042] 1: Data input layer, 2: Expert grid layer, 3: Tower module layer, 4: Target task layer. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.
[0044] A method for predicting growth traits and slaughter traits of broiler chickens using a low-protein diet based on a multi-task learning model comprises the following steps:
[0045] S101: Data collection: Collect growth performance data of broilers at different dietary protein levels, including nutrient composition data, chicken metabolizable energy, production performance data, slaughter performance data, organ index, whether there are white stripes, whether there is woody meat and crude protein content in feces.
[0046] In order to collect data scientifically and accurately, the following experiment was carried out at the Zhuozhou Experimental Base of China Agricultural University. A fully enclosed cage chicken house was used, and the chicken house was disinfected before raising chickens. The lighting, temperature, and relative humidity of the chicken house were all carried out in accordance with the feeding and management of the experimental base. Immunization was carried out according to routine procedures, with free drinking water and free feeding, artificial lighting for 20 hours, and regular lights off for 4 hours at night to meet the requirements of animal welfare. The premixes used in the experiment were all feed grade and were made by the Xinji factory as premixes. Feed raw materials and feed production were all carried out at the Zhuozhou Experimental Base of China Agricultural University.
[0047] Among them, the nutritional component data are the nutrients in the feed, specifically: crude protein, crude fat, crude fiber, nitrogen-free extract, crude ash, neutral detergent fiber, acid detergent fiber, starch, calcium, total phosphorus, available phosphorus, digestible arginine, digestible isoleucine, digestible lysine, digestible methionine, digestible threonine, digestible tryptophan, and digestible valine.
[0048] The production performance data are as follows: broilers were weighed at 1, 21 and 42 days of age (fasted for 12 hours, without water), the total feed intake was counted, and the average daily gain (ADG), average daily feed intake (ADFI), feed-to-weight ratio (F / G) and European index (EPI) of broilers were calculated. The formula of the European index is as follows:
[0049]
[0050] Slaughter performance: When the broilers were 21 and 42 days old, one bird with a body weight close to the average body weight was selected from each replicate, and the carcass weight, breast muscle weight, wing weight, leg muscle weight, gizzard weight, and glandular stomach weight were recorded. The organ index (the percentage of carcass weight to live weight before slaughter; the percentage of each tissue and organ to carcass weight) was calculated, and the white streaks and woody meat in the breast muscle were observed. The presence of white streaks and woody meat was recorded and photographed.
[0051] White stripes and woody meat: At 42 days of age, three mice were selected from each treatment (repetition group numbers were 3, 5, and 7) to observe the white stripes and woody meat of the pectoral muscles, and photographs were taken for record.
[0052] Carcass weight: Bleed, weighed after removing feathers, foot cuticles, toe shells and beak shells.
[0053] Chest muscle weight: the weight of the chest muscle after it is stripped off (the weight of the chest muscles on both sides).
[0054] Leg weight: Pull the legs outwards to make them perpendicular to the body, and use the knife to move backwards along the midline where the inner side of the legs connects to the body.
[0055] Go around the ischium and avoid the coccygeal gland, move forward along the midline of the lumbosacral spine to the last thoracic vertebra, cut the skin, forcefully pry the legs apart, cut off the hip joint and part of the tendon, and then tear off the entire leg with the skin; weigh it to get the weight of the left leg.
[0056] Wing weight: Pull the wings outward and cut them off at the shoulder joint; weigh them to get the weight of the left wing.
[0057] Muscular stomach weight and glandular stomach weight: weigh after removing the contents and cuticle.
[0058] White streaks and woody flesh: Observe the white streaks and woody flesh of the pectoral muscles, record whether white streaks and woody flesh appear and take photos.
[0059] In the early stage of the test for crude protein content in feces (0-21d), the feces collection tray was placed at 3:00 pm on the 18th day of age, and the feces collection tray was collected at 3:00 pm on the 19th day of age. Feathers, feed and other debris were picked out, and feces samples of about 100 g were collected according to the 4-point sampling method. The samples were dried at 65°C and crushed, and tested according to the national standard GB / T6432-2018 method. The same treatment was performed at 3:00 pm on the 38th day of age in the later stage of the test (22-42d).
[0060] The slaughter performance data are as follows: carcass weight, breast muscle weight, wing weight, leg muscle weight, gizzard weight, and glandular stomach weight. Carcass weight refers to the percentage of the weight after slaughter to the live weight before slaughter, and breast muscle weight, wing weight, leg muscle weight, gizzard weight, and glandular stomach weight (collectively referred to as organ index) refers to the percentage of the weight of each of the above tissues and organs to the weight after slaughter.
[0061] The specific experimental process is as follows: 480 one-day-old commercial Cobb broiler roosters were selected and randomly divided into 5 treatment groups, each treatment group had 8 replicates, each replicate had 12 chickens, a total of 5*8*12=480 chickens, and the experimental treatments are shown in Table 1.
[0062] Table 1 Experimental treatment grouping table
[0063]
[0064] The experiment was divided into two stages: the early stage (0-21 days) and the late stage (22-42 days). The diet composition and nutritional components in the early stage are shown in Tables 2 and 3:
[0065] Table 2 Diet formula in the early stage of the experiment
[0066]
[0067] The values in the table are percentages.
[0068] Table 3 Nutrient composition in the early stage of the experiment
[0069]
[0070]
[0071] The values without units in the table are percentages.
[0072] The composition and nutritional value of the diet in the early stage of the experiment are shown in Table 4 and Table 5:
[0073] Table 4 Diet formula in the late stage of the experiment
[0074]
[0075] The values in the table are percentages.
[0076] Table 5 Nutritional composition at the end of the experiment
[0077]
[0078]
[0079] The values without units in the table are percentages.
[0080] The premix formula involved above is shown in Table 6 below:
[0081] Table 6 Premix formula during the test
[0082]
[0083] The values in the table are percentages.
[0084] Among the above raw material names, those with numbers are common names in the industry. For example, 43 soybean meal refers to soybean meal with a protein content of approximately 43%; similarly, there are 46 cottonseed meal, 60 corn gluten meal, 98.5 lysine, 99 DL-methionine, 98.5 L-threonine, 98.5 L-tryptophan, 98.5 L-arginine, 98 valine, and 90 isoleucine.
[0085] After the above tests, the data was sorted using Excel software, and SAS 9.2 software ANOVA test was used for data analysis. Taking P < 0.05 as the criterion for significant difference, P < 0.01 as the criterion for extremely significant difference, and 0.05 < P < 0.1 as the criterion for approaching significance. The test results are as follows:
[0086] Regarding the effects of the crude protein level in the diet on the growth performance, organ index, and fecal nitrogen content of broilers in the early stage (0 - 21 days), it can be seen from Table 7 that the crude protein level in the diet can significantly affect the growth performance, organ index, and nitrogen excretion content of broilers in the early stage. The body weight, total feed intake, and total weight gain of group C at 21 days of age were significantly lower than those of other groups, and the feed-to-meat ratio and fecal nitrogen excretion content were significantly higher than those of other groups (P < 0.05); the organ indexes, such as the gizzard weight and proventriculus weight, were also significantly higher than those of other groups, the wing weight was significantly higher than that of group E, and the breast muscle weight was significantly lower than that of other groups (P < 0.05); there was no significant effect on the carcass weight and leg muscle weight (P > 0.1).
[0087] Table 7 Effects of crude protein level in the diet on the growth performance, organ index, and fecal nitrogen content of broilers in the early stage (0 - 21 days)
[0088]
[0089] Analysis of the effects of crude protein levels in the diet on the growth performance, organ indices, and fecal nitrogen content of broilers in the late stage (22 - 42 days). As shown in Table 8, the protein level in the diet can significantly affect the body weight, daily weight gain, feed-to-meat ratio of broilers in the late stage, as well as the body weight gain, feed intake, and feed-to-meat ratio from 0 to 42 days of age, and the organ indices and fecal nitrogen content (P < 0.05). The body weight, feed-to-meat ratio, feed intake of broilers in group C in the late stage, and the body weight gain, feed intake from 0 to 42 days of age were significantly lower than those in other groups, while there were no significant differences among other groups (P < 0.05); the feed-to-meat ratio from 0 to 42 days of age in group E was significantly higher than that in groups A, B, and C, but there was no significant difference from group D (P < 0.05); there were no significant differences in the daily weight gain and fecal nitrogen content in the late stage (P > 0.1). The organ indices of carcass weight and pectoral muscle weight in group C were significantly lower than those in other groups (P < 0.05), while the weights of the gizzard and proventriculus tended to be significantly higher than those in other groups (0.1 < P < 0.05), and there were no significant differences among other groups; the wing weight in group C was significantly higher than that in groups D and E (P < 0.05), there was no significant difference from groups A and B, and there were no significant differences among groups A, B, and D.
[0090] Table 8 Effects of crude protein levels in the diet on the growth performance, organ indices, and fecal nitrogen content of broilers in the late stage (22 - 42 days)
[0091]
[0092] In Tables 7 and 8, the superscripts A, B, and C are used to represent the significant differences in statistical data. This marking method is a significant mark after multiple comparisons, used to distinguish whether there are statistically significant differences in the means between different groups. For example: with superscript A: If a data point is marked as A, it means there is no significant difference between it and other data points marked as A; with superscript B: If a data point is marked as B, it means there is a significant difference between it and the data points marked as A, but there is no significant difference between it and other data points marked as B.
[0093] Among them, the data items of growth performance are: body weight at 21 days, F / G in the early stage, ADG in the early stage, ADFI in the early stage, fecal nitrogen content in the early stage, body weight at 42 days, F / G in the late stage, ADFI in the late stage, ADG in the late stage, feed-to-meat ratio from 0 to 42 days of age, body weight gain per bird from 0 to 42 days of age, feed intake per bird from 0 to 42 days of age, European index, fecal nitrogen content in the late stage.
[0094] Since group C showed significant differences from other groups in many indicators in the test results, correlation analysis was performed after removing group C. The results showed that the protein level in the early diet of broilers was significantly correlated with breast muscle weight, glandular stomach weight and fecal nitrogen content within the confidence intervals of 0.05 and 0.01, respectively. The breast muscle weight and glandular stomach weight of broilers from 0 to 21 days of age decreased with the decrease of dietary protein level, and the correlation coefficients were 0.385, 0.608 and 0.552, respectively, showing moderate correlation. The protein level in the diet was significantly negatively correlated with the feed-to-meat ratio in the later stage and the feed-to-meat ratio from 0 to 42 days of age within the confidence interval of 0.01, and increased with the decrease of dietary protein level, with correlation coefficients of -0.539 and -0.471, respectively, showing moderate correlation.
[0095] At 21 days of age, there were no white stripes and woody flesh in the pectoral muscles of all treatment groups, but at 42 days of age, there were white stripes in the pectoral muscles of all treatment groups, with the severity ranking as A>B>C≈E>D; Group A had slight woody flesh.
[0096] The upper breast muscles without white stripes and woody meat are divided into five levels according to the severity, as shown in Table 9:
[0097] Table 9 Expression of white stripes and woody meat in breast muscle
[0098] project none slight Mild More serious serious White stripes on chest muscles 0 1 2 3 4 Breast muscle wood meat 0 1 2 3 4
[0099] Table 10: White stripes and woody flesh in breast muscle of groups A to E
[0100] Group Name Group A Group B Group C Group D Group E 21-day-old white stripes on the pectoral muscle 0 0 0 0 0 21-day-old breast muscle 0 0 0 0 0 42-day-old white stripes on the pectoral muscles 4 3 2 1 2 42-day-old breast muscle 1 0 0 0 0
[0101] In summary, the level of crude protein in the diet can significantly affect the growth performance, organ index and early fecal nitrogen content of broilers. When the dietary protein level in the early and late growth stages of broilers was 21% and 19%, the feeding effect and growth performance were the worst, and the fecal nitrogen content was the highest, which may be related to dietary energy. When the protein level in the early and late growth stages of broilers was reduced to 20% and 18%, there was no significant effect on growth performance and feed conversion, and it could significantly reduce the early fecal nitrogen content and the severity of white stripes in the late stages.
[0102] After removing group C, it was found that the breast muscle weight, glandular stomach weight and fecal nitrogen content of broiler chickens in the early stage of the experiment (0-21d) were positively correlated with the crude protein level in the diet, while in the later stage and during the entire growth period, the feed-to-meat ratio was negatively correlated with the protein level in the diet.
[0103] S102: Data preprocessing: Divide the data collected in step S101 into two stages of data, namely, predicting the production performance data and slaughter performance data in the early stage of the experiment through the nutritional component data in the early stage of the experiment; predicting the production performance data and slaughter performance data in the late stage of the experiment through the nutritional component data in the late stage of the experiment.
[0104] The data items of nutrient composition data are: crude protein, crude fat, crude fiber, nitrogen-free extract, crude ash, neutral detergent fiber, acid detergent fiber, starch, calcium, total phosphorus, available phosphorus, digestible arginine, digestible isoleucine, digestible lysine, digestible methionine, digestible threonine, digestible tryptophan, and digestible valine.
[0105] The production performance data are divided into production performance data before the test and production performance data after the test.
[0106] The data items of production performance data in the early stage of the experiment are: 21d body weight, early F / G, early ADG, early ADFI, and early fecal nitrogen content.
[0107] The data items of production performance data in the later stage of the experiment are: body weight at 42 days of age, late F / G, late ADFI, late ADG, feed-to-meat ratio from 0 to 42 days of age, body weight gain from 0 to 42 days of age, feed intake from 0 to 42 days of age, European index, and fecal nitrogen content in the later stage.
[0108] The data items of slaughter performance data are: carcass weight, leg muscle weight, breast muscle weight, wing weight, gizzard weight, glandular stomach weight, as well as white stripes in the breast muscle and woody meat in the breast muscle.
[0109] The above data items are preprocessed, and the numerical data (except for the data on whether the chest muscles have white stripes or woody meat) are normalized to the maximum and minimum values, and the type data (i.e. whether the chest muscles have white stripes or woody meat) are uniquely encoded.
[0110] S103: Model training: Use a multi-task learning model to train the data.
[0111] like Figure 1 As shown, the architecture of the multi-task learning model mainly includes a data input layer (1), an expert grid layer (2), a Tower module layer (3) and a target task layer (4), wherein the data input layer (1) is used to collect input features (i.e., nutrient content data items), and the expert grid layer (2) is composed of multiple expert network modules, wherein the number of expert network modules is preferably the same as the number of target data items (i.e., slaughter performance data items and production performance data). The arrow numbers, solid lines represent transmission through vector data, and dotted lines represent transmission through scalar data.
[0112] Each expert network module contains at least one Dense layer, and each Dense layer contains at least five neurons. The feature representation of a specific task is learned through the expert network module. The expert network module uses ReLU as the activation function;
[0113] The Gate mechanism is used between the expert grid layer (2) and the Tower module layer (3). Each target task has an independent Gate, which controls the contribution of each expert network module to different tasks. The Gate uses a softmax activation function to ensure that the sum of all Gate weights is 1. The specific formula is as follows:
[0114]
[0115] The k above represents the Gate value of the kth target task, g i It represents the contribution value of the i-th expert network module to the k-th target task, where n is the number of expert network modules.
[0116] The Tower module layer (3) is composed of multiple Tower network modules. The number of Tower network modules is the same as the target task. Each Tower network module corresponds to a target task. Each Tower network module receives the Gate value of the corresponding target task. At least one Tower network module contains a Dense layer, and each Dense layer contains at least 5 neurons.
[0117] The target task layer (4) is the output target task. If the target task is numerical, its output is a neuron. If the target task is type data, a corresponding number of neurons are set. For example, if there are five cases of white stripes and woody meat on the pectoral muscles, five output neurons are set.
[0118] The loss function of the multi-task learning model is the mean square error (MSE), and the optimizer used is Adam.
[0119] The multi-task learning model is trained iteratively for multiple times until the error change tends to be stable or after 10,000 iterations of training.
[0120] S104: Growth performance prediction: Use the trained multi-task learning model to predict the growth performance and slaughter performance of broilers based on the nutritional components in the current diet, and output the corresponding target task data items.
[0121] The above shows and describes the basic principle and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments.
Claims
1. A method for predicting growth traits and slaughter traits of broiler chickens using a low-protein diet based on a multi-task learning model, characterized in that: The following steps are involved: S101: Data collection: Collecting test data of broilers at different dietary protein levels, the test data including nutritional composition data, chicken metabolizable energy, production performance data, slaughter performance data, organ index, chicken breast white stripe situation, chicken breast woody meat situation; S102: Data preprocessing: the data collected in step S101 are divided into pre-test data and post-test data, wherein the pre-test data are nutritional data, production performance data and slaughter performance data of the pre-test; the post-test data are nutritional data, production performance data and slaughter performance data of the post-test; the numerical data in the collected data are normalized by maximum and minimum values, and the type data in the collected data are processed by one-hot encoding; S103: Model training: using the multi-task learning model to train the data pre-processed in step S102; using two multi-task learning models with the same structure to train the pre-experiment data and the post-experiment data respectively, wherein the two multi-task learning models with the same structure are the pre-experiment multi-task learning model and the post-experiment multi-task learning model; S104: Growth performance and slaughter performance prediction: using the trained pre-experiment multi-task learning model and the post-experiment multi-task learning model, the growth performance and slaughter performance of broilers are predicted according to the given nutritional data, and the corresponding target task data items are output; The architecture of the multi-task learning model of step S103 mainly includes a data input layer (1), an expert grid layer (2), a Tower module layer (3) and a target task layer (4), wherein the data input layer (1) is used to collect input features, wherein the input features are nutrient component data items at the early stage of the experiment or nutrient component data items at the late stage of the experiment, and the expert grid layer (2) is composed of a plurality of expert network modules, wherein the number of the expert network modules is the same as the number of the target data items; At least one Dense layer is included in each expert network module, and each Dense layer contains at least five neurons; a Gate mechanism is used between the expert grid layer (2) and the Tower module layer (3), and each target task has an independent Gate, through which the contribution of each expert network module to different tasks is controlled; the Gate uses a softmax activation function, and the sum of all branch Gate weights is 1, and the specific formula is as follows: The k above represents the Gate value of the kth target task, g i represents the weight value of the branch Gate of the i-th expert network module for the k-th target task, where the value of n is the number of expert network modules; The Tower module layer (3) is composed of a plurality of Tower network modules, the number of the Tower network modules is the same as the target task, each Tower network module corresponds to a target task, each Tower network module receives a Gate value corresponding to the target task, at least one of the Tower network modules includes a Dense layer, and each Dense layer includes at least 5 neurons; The target task layer (4) outputs the target task. If the target task is of numerical type, its output is a neuron. If the target task is of type data, a corresponding number of neurons is set.
2. The method for predicting broiler growth traits and slaughter traits using a low-protein diet based on a multi-task learning model according to claim 1, characterized in that: The nutritional component data before the test and the nutritional component data before the test are collectively referred to as nutritional component data, and the nutritional component data are the nutritional components in the feed, specifically: the content of crude protein, crude fat, crude fiber, nitrogen-free extract, crude ash, neutral detergent fiber, acid detergent fiber, starch, calcium, total phosphorus, available phosphorus, digestible arginine, digestible isoleucine, digestible lysine, digestible methionine, digestible threonine, digestible tryptophan, and digestible valine; The data items of the production performance data in the early stage of the experiment are: 21d body weight, early F / G, early ADG, early ADFI, and early fecal nitrogen content; The data items of production performance data in the later stage of the experiment are: body weight at 42 days of age, late F / G, late ADFI, and late ADG; The slaughter performance data before the experiment and the slaughter performance data before and after the experiment are collectively referred to as slaughter performance data, and the slaughter performance data are: carcass weight, leg muscle weight, breast muscle weight, wing weight, gizzard weight, glandular stomach weight, as well as the white stripes of the breast muscle and the woody meat of the breast muscle.
3. The method for predicting broiler growth traits and slaughter traits using a low-protein diet based on a multi-task learning model according to claim 1, characterized in that: The input feature data of the multi-task learning model in the early stage of the experiment are the nutritional component data in the early stage, and the target feature data of the multi-task learning model in the early stage of the experiment are the production performance data in the early stage of the experiment and the slaughter performance data in the early stage of the experiment; the input feature data of the multi-task learning model in the late stage of the experiment are the nutritional component data in the late stage, and the target feature data of the multi-task learning model in the late stage of the experiment are the production performance data in the late stage of the experiment and the slaughter performance data in the late stage of the experiment; 4. The method for predicting broiler growth traits and slaughter traits using a low-protein diet based on a multi-task learning model according to claim 1, characterized in that: The loss function of the multi-task learning model is mean square error (MSE), and the optimizer of the multi-task learning model is Adam.
5. The method for predicting broiler growth traits and slaughter traits using a low-protein diet based on a multi-task learning model according to claim 1, characterized in that: The experimental process of the experimental data in step S101 is as follows: 480 one-day-old commercial Cobb broiler roosters were selected and randomly divided into 5 treatment groups, namely, Group A, Group B, Group C, Group D, and Group E. Each treatment group had 8 replicates, and each replicate had 12 chickens. The experiment was divided into two stages, the early stage of the experiment and the late stage of the experiment (22-42d). The early stage of the experiment was 0-21 days, and the late stage of the experiment was 22-42 days.
6. The method for predicting broiler growth traits and slaughter traits using a low-protein diet based on a multi-task learning model according to claim 5, characterized in that: The crude protein levels of the treatment groups during the experiment are as follows: The above is the crude protein level of the treatment groups during the experiment.
7. The method for predicting broiler growth traits and slaughter traits using a low-protein diet based on a multi-task learning model according to claim 6, characterized in that: The nutritional composition of the diet in the early stage of the experiment is shown in the following table: The specific formulas of the broiler early premix 1, broiler early premix 2, broiler early premix 3, broiler early premix 4, and broiler early premix 5 are as follows: The above is the diet formula with nutritional components in the early stage of the experiment.
8. The method for predicting broiler growth traits and slaughter traits using a low-protein diet based on a multi-task learning model according to claim 7, characterized in that: The nutritional composition of the diet in the later stage of the experiment is shown in the following table: The specific formulas of the broiler late premix 1, broiler late premix 2, broiler late premix 3, broiler late premix 4, and broiler late premix 5 are as follows: The above is the diet formula with nutritional components in the later stage of the experiment.
