Abstract

In view of the small sample size of combat ammunition trial data and the difficulty of forecasting the demand for combat ammunition, a Bayesian inference method based on multinomial distribution is proposed. Firstly, considering the different damage grades of ammunition hitting targets, the damage results are approximated as multinomial distribution, and a Bayesian inference model of ammunition demand based on multinomial distribution is established, which provides a theoretical basis for forecasting the ammunition demand of multigrade damage under the condition of small samples. Secondly, the conjugate Dirichlet distribution of multinomial distribution is selected as a prior distribution, and Dempster–Shafer evidence theory (D-S theory) is introduced to fuse multisource previous information. Bayesian inference is made through the Markov chain Monte Carlo method based on Gibbs sampling, and ammunition demand at different damage grades is obtained by referring to cumulative damage probability. The study result shows that the Bayesian inference method based on multinomial distribution is highly maneuverable and can be used to predict ammunition demand of different damage grades under the condition of small samples.

1. Introduction

Ammunition supply support is a key element in the formation of combat effectiveness [1]. In the information war, ammunition supply support plays an increasingly prominent role, and ammunition demand forecasting, as a basic work, becomes increasingly concerned [2]. Domestic relevant scholars have made systematic research on ammunition demand forecasting methods.

Traditionally, there are three ammunition demand prediction methods: ammunition consumption standard correction method, empirical deduction algorithm, and theoretical calculation method. The ammunition consumption standard correction method is based on the ammunition consumption standard, which is modified according to actual combat conditions to predict the ammunition demand, but with the rapid development of weapons and ammunition, the formulation of ammunition consumption standards cannot be followed up in time. In an empirical deduction algorithm, the law of ammunition consumption is summarized by analyzing typical war cases, and ammunition demand is predicted according to the future war development trend and ammunition consumption characteristics. Considering historical limitations in respect to the complexities of the future combat mode and the diversity of the combat means, the empirical deduction algorithm is difficult to apply. The theoretical calculation method is a mathematical method for calculating ammunition consumption based on military indicators, such as the number of weapons and equipment. It can be further classified into the task quantity method and the battle scenario method. When the theoretical calculation method is used for ammunition demand estimation, large amounts of accurate and reliable trial data are required to be as a basis [3].

With the development of ammunition demand prediction theory, the simulation prediction method based on military operations, the prediction method based on an intelligent algorithm, and the combination forecasting method [4, 5] are gradually adopted by researchers. The simulation prediction method based on military operations refers to the military operations methodologies such as the Lanchester equation and combat simulation in ammunition demand prediction. Xiao et al. [6] introduced the matrix of fire distribution coefficient, improved the Lanchester combat equation, and established an air-to-air missile consumption prediction model as well as an air combat model adapted to modern warfare. The prediction method based on intelligent algorithms refers to the application of smart algorithms such as artificial neural networks, support vector machines, particle swarm optimization, and Bayesian algorithm in ammunition demand prediction. Tian et al. [7] have incorporated variant particle swarm optimization into deep neural networks to make aviation ammunition training consumption prediction. In the combination forecasting method, the strengths of every single prediction model can be put to good use, yet a large amount of ammunition consumption data is needed for [8].

In order to solve the problem of a small amount of test data caused by economic problems in ammunition demand prediction, the Bayesian method is included in the research scope [9, 10]. Zhang et al. [11] studied the problem of uncertainty quantification and propagation when data for characterizing probability distributions are scarce. Matthias et al. considered the case where only a very scarce set of experimentally obtained eigenfrequencies and eigenmodes are available and proposed an improved approach for the quantification of multivariate interval uncertainty for high-dimensional models under scarce data availability [12, 13]. Zhao et al. [2] proposed a Bayesian inference method for ammunition demand based on Gompertz distribution and solved the problem of ammunition demand prediction in the case of insufficient samples.

The prior information comes from expert information and field test information in the process of using the Bayes method. To make better use of the prior information, it is necessary to fuse them. The D-S theory is widely used in multisource information fusion because of its effectiveness in data fusion. Tang et al. [14, 15] generated generalized basic probability assignment (GBPA) based on the triangular fuzzy number model under the open world assumption. Zhang et al. [16] focused on the determination of Basic Probability Assignment (BPA) and proposed a BPA determination method based on triangular fuzzy members under the assumption of an open world. Experts’ understanding of ammunition effectiveness is based on ammunition effectiveness test data, and the field trial information is ammunition effectiveness data obtained from the field trial. There is no potential conflict between these two pieces of evidence. Therefore, the Dempster combination rule is used to fuse expert information and the field trial in this paper.

Ammunition demand refers to the amount of ammunition needed for a target to reach a certain degree of damage. Without considering the cumulative effect of ammunition damage, the calculation of ammunition demand comes from the single-shot damage probability of ammunition. In fact, the probability that the target reaches a certain degree of damage is stable in the process of ammunition damage. Therefore, this paper assumes that the damage result of the target obeys multinomial distribution. Obtaining multinomial distribution parameters becomes a key link, and its value depends on expert experience and field test data.

Based on the above analysis, a Bayesian inference method of ammunition demand based on multinomial distribution is proposed. It considers the different damage grades in combat ammunition hitting and the actual demand of ammunition prediction under the condition of a small sample size. The multinomial distribution is used for describing the damage result of the target and the D-S theory is used for fusing expert information and field test information. And the ammunition demand as reaching different damage grades is forecasted based on Bayesian statistics, which provide a method for solving the ammunition demand prediction under the condition of multiple damage grades and small samples.

2. Bayesian Inference Method for Ammunition Demand

2.1. Prior Distribution Representation of Previous Information

Compared with the classical statistical inference method, the Bayesian inference method integrates general information, sample information, and prior information and regards the parameters to be estimated as random variables. Assuming that the overall distribution is , the posterior distribution of parameter can be obtained by the Bayesian formula:where is the edge probability corresponding to ammunition consumption data and independent of the parameter , is an unknown parameter of the overall distribution, and represents sample data; then, the Bayesian formula can be rewritten as

It can be seen from formula (2) that prior distribution, as is crucial for the calculation of posterior distribution function, is determined with the need for scientific and reasonable previous information. Even under the condition of small samples, a certain amount of prior information is needed. For ammunition damage data collection, the prior information stems from expert experience and field trial; that is, the ammunition required to achieve different damage grades isamong which represents the ammunition demand.

The methods to determine the prior distribution function include the maximum entropy method commonly used in engineering, the conjugate distribution method with known overall distribution, and the expert scoring method. Assuming that the conditions of each shooting test are basically the same and each shooting is independent, each shooting test has different damage levels, but only one of them will appear in the result. In each shooting test, each result has its own occurrence probability, and the sum of the occurrence probabilities of all results is 100%, so the target damage result can be described as multi-item distribution.

To facilitate the calculation and reasonably explain the parameters, the conjugate distribution method is used to determine prior distribution in this paper. Given that the conjugate prior distribution of multinomial distribution is Dirichlet distribution, the previous probability density function of ammunition demand iswhere is a multivariate beta function; that is, where is a Gamma function. represents the hyperparameter of Dirichlet distribution.

The prior distribution function of ammunition demand can be obtained as follows:where , , .

To obtain more accurate Bayesian inference results, the fusion of different prior information should be attended to in the application of Bayesian methods. Expert information comes from the damage data of different similar targets, which has a certain credibility. The field test data may also have certain deviations because of the small number of samples. The D-S theory can effectively fuse and correct the deviation. Therefore, the D-S theory is introduced in this paper for the fusion of prior information.

2.2. Multisource Prior Information Fusion Based on D-S Theory

Before the firing trial, experts could have a specific prior understanding of the ammunition demand required to reach the damage grade. To utilize the information and the field trial data simultaneously, multisource Bayes prior information is fused based on the D-S theory, and the fusion formula is [17, 18]in which , indicates different damage levels, and and represent mass functions, which satisfy

In this paper, the D-S theory is used to fuse expert information and field test data, as shown in Table 1.

According to the data in Table 1,

After fusing expert information and field test information, the prior information of damage grade is as follows:

According to the analysis of the experimental data of ammunition effectiveness, the identification framework represents the set of different damage levels. By multiplying the probability value obtained by formula (10) with the number of tests, the target frequency reaching different damage levels can be obtained.

3. Bayes Inference Model of Ammunition Demand Based on the Multinomial Distribution

3.1. Multinomial Distribution Hypothesis

Assume that the number of damage grades is and each firing trial is under nearly the same conditions. shooting trials are carried out in advance and each shooting produces basic events. represent different damage grades. Denote , as the occurrence probability of different damage grades and mark to indicate the number of times occurred in strike trials. It can be seen that obeys the multinomial distributionand satisfies , .

3.2. Posterior Distribution of Dirichlet Conjugate Prior

Zhang et al. [19] studied the effect of prior on prediction and estimation in Bayesian inference. They think that model parameters are shown to have a significant impact on quantified uncertainties. Shitsi et al. [20] think that Jeffreys prior is preferred over Uniform Dirichlet prior for Bayesian analysis because it yields longer confidence intervals (or shorter uncertainty interval) at 90% confidence level. Raiffa and Schlaifer suggested that a conjugate distribution is appropriate for a prior distribution [21], so Conjugate prior distribution is adopted in this paper. The multinomial distribution is used as the likelihood function of ammunition demand data of weapon damage degree. To estimate the ammunition demand, the Dirichlet distribution is the conjugate distribution family selected as the prior distribution to obtain the posterior distribution function of ammunition demand at each damage grade. Assuming that the strike trial is carried out from time to time , the observed result is . The observed result from time to time is . is selected as the prior probability and as the conditional probability. According to Bayes theorem, the posterior probability of parameter can be obtained and expressed as . Both and obey multinomial distribution, and the multinomial distribution likelihood function followed by can be expressed as

Based on the Bayesian theorem, the posterior distribution density function of the parameter can be obtained as follows:

Let , and the posterior distribution density function can be expressed as

It can be seen that the posterior distribution density function obeys Dirichlet distribution.

3.3. Bayesian Analysis of Ammunition Demand Based on the Multinomial Distribution

After using the Dirichlet distribution of conjugate prior distribution of multinomial distribution to obtain the estimated value of posterior distribution parameters, the updated ammunition demand can be obtained by cumulative calculation of ammunition demand reaching different damage grades.

Combining the fused prior information in the light of D-S theory with the Bayesian theorem, the formula of fusion density can be obtained as follows:

The fusion posterior density is

According to formula (15), the posterior estimation of the parameter can be obtained as follows:

The parameter means corresponding to different damage grades can be obtained after calculation. When the ammunition demand for different damage grades is expected, the cumulative calculation is needed. For example, when moderate damage is to be estimated, severe damage and scrap should be taken into account.

After is obtained, the probability value corresponding to different damage grades can be obtained by cumulative calculation, and the calculation formula iswhere .

Equation (17) represents the probability value corresponding to each damage grade during a single strike. When multiple strikes are carried out, it is expressed as follows:

The damage of ammunition to the target can be regarded as a random event. When calculating the ammunition consumption, it is necessary to determine the probability critical value when the ammunition consumption is up to a certain level and the damage reaches a specific level. It is considered that when the cumulative damage probability exceeds the damage probability significant value , the target will be successfully damaged. Assuming that is the ammunition demand when reaching damage grade , the discriminant of ammunition demand is

According to the above formula, the best ammunition demand for damage grades can be determined.

4. Model Solving

4.1. Compatibility Test of Prior Information

The premise of Bayes statistical inference method using prior information is that previous information can reflect the statistical characteristics of parameters; that is, advance information and outfield trial data approximately obey the same distribution [22]. In this research, both the prior information and shooting range trial data follow the multinomial distribution. To judge whether they meet the consistency condition, it is necessary to check the compatibility of prior information.

Compatibility test consists of two methods: a parametric test and a nonparametric test [23]. Because the variance of the prior information population is unknown, the nonparametric test method does not involve the parameters of the population distribution in the inference process, so the nonparametric test method is used for data tests in this paper.

It is assumed that the observed values of samples from populations and are and , respectively, where . The test hypothesis is that : and are in the same population. Mix the two groups of samples and arrange them from big to small; the order statistics can be obtained [24]:

If , consider that the rank in the mixed sample satisfies . If some of the observed values are the same, take the rank as the average of the subscripts sum in mixed samples, and define the rank of sample in the mixed sample as follows:

In the formula, is the statistical test value. When is neither too large nor too small, the two groups of samples meet the condition of consistency. Given the significance level and the acceptance interval of the inspection amount, the inspection criteria are

When meets the above conditions, the two groups of samples are compatible, otherwise incompatible.

Up to this point, the compatibility test of the prior information of ammunition demand estimation is completed, and further solutions can be made.

4.2. Basic Principle of the Markov Chain Monte Carlo Method

According to the fusion posterior distribution density function (15), to get posterior integral and posterior estimation values, complex high-dimensional calculus needs to be calculated, which is difficult to realize. In this paper, Markov chain Monte Carlo (MCMC) is adopted to realize the numerical calculation of high-dimensional integral. Its basic principle is as follows:(a)Constructing Markov chain: start from the initial state and make state transition on the Markov chain. According to the Markov chain convergence theorem, probability distribution will converge to stationary distribution .(b)Generating samples: starting from a particular point in , use the Markov chain constructed in (a) for sampling simulation, and create a sequence of points .(c)Monte Carlo integration: the marginal distribution of each state cannot be considered as a stable distribution after iterations before the convergence of the Markov chain, so it is necessary to eliminate the first iterations and use the following iterations to calculate. Then, the expected estimate value of any function can be obtained [25, 26]; that is, the integral value is

4.3. MCMC Solution Flow Based on Gibbs Sampling

The Metropolis–Hastings method and the Gibbs sampling method are two widely used MCMC methods in Bayesian analysis. The Markov chains constructed by which are reversible [27]. The Gibbs sampling method proposed by Geman has the advantage of dealing with high-dimensional features and is used to simplify the complex problem of multiple related parameters into a simple one in which only one parameter needs to be dealt with at a time. [28]. In this paper, the MCMC method based on Gibbs sampling is used to solve the posterior estimation [2931]. The Specific steps are as follows:Step 1: determine the posterior conditional distribution of parameters. Generating simulation sample data from posterior conditional distributions is easier than from parameter vectors. [32]. Therefore, the posterior conditional distribution of parameters is determined according to formula (24) as follows:Step 2: determine the initial value, select an initial state point , and set the iteration times as .Step 3: sampling iteration. Extract sample values of parameters from posterior conditional distribution in the following way: is extracted from the posterior conditional distribution is extracted from the posterior conditional distribution …… is extracted from the posterior conditional distribution A new sample is Step 4: repeat the iteration of Step 3 and stop when the maximum iteration number is reached, so the simulation samples of posterior distribution parameters are obtained.Step 5: calculate the parameters. In this paper, sample mean serves as the parameter point estimation value in this paper:

So far, the estimated values of parameters corresponding to each damage grade are obtained, which can be used for Bayes inference of ammunition demand.

5. Example Analysis

It is assumed that five damage grades are caused after ammunition hitting, and the conditions of each shooting trial are nearly the same. Sixty shooting trials are conducted in advance and five essential events occurred in each strike, corresponding to five different damage grades, namely, zero damage, mild damage, moderate damage, severe damage, and scrapping. To test the technical performance of high-tech weapons and ammunition, an individual unit has carried out a specific actual installation and firing trial in the shooting range, out of which a certain kind of ammunition of high-tech weapons is selected as the research object in this study. Given the low frequency of firing and the indefinite amount of ammunition needed to reach the corresponding damage grade, in this study, the Bayesian statistical inference method is used to predict the amount of ammunition required to reach different damage grades while applying a small sample statistical analysis method to data analysis.

Combining expert information with field trial data, the frequency distribution for reaching different damage grades under the condition of striking the same target is shown in Table 2.

Python software is used to count the number of trials, and visual processing is shown in Figure 1. It can be seen that it is reasonable to assume the strike situation with multinomial distributions.

In this paper, through the Markov chain Monte Carlo method, the statistical inference in the WinBUGS software environment is made. With the Gibbs sampling algorithm, three Markov chains are generated by sampling from the complete conditional probability distribution. To estimate the posterior for the parameters of the multinomial distribution corresponding to different damage grades, multinomial distribution is selected as a likelihood function with reference to formula (11), and Dirichlet distribution is regarded as a conjugate prior distribution with the application of equation (4). The posterior density estimation of parameters can be obtained by setting the number of iterations of each chain to 1500 and updating it in every 100. The convergence of Bayesian inference results based on MCMC needs to be judged, and Figures 2 and 3 show the iterative trace diagram and autocorrelation function diagram of parameters , and according to the diagrams, whether the Markov chain converges or not can be decided.

We found all three Markov chains converge by observing the iterative trace graph and autocorrelation function graph. Then, the posterior estimation of parameters can be performed, which is shown in Figure 4.

After 1500 iterations of each chain, the posterior estimation results of parameters are shown in Table 3, including the estimated mean value of each parameter, MCMC iteration error, and 97.5% confidence interval of the setting.

In the actual attack, the damage grade of the target cannot be determined. Assuming that the threshold value of damage probability is 0.8, and then the cumulative value of ammunition required for different damage grades can be obtained; that is, the optimal ammunition demand for reaching each damage grade can be obtained by referring to equation (19). The grade of zero damage means that the target equipment’s combat performance is nearly unaffected, and no ammunition is consumed. Table 4 shows the optimal ammunition demand for four damage grades: mild damage, moderate damage, severe damage, and scrapping.

From the calculation results in Table 4, it can be seen that the ammunition consumption is 1, 2, 4, and 8 rounds, respectively, corresponding with the four damage levels: mild damage, moderate damage, severe damage, and scrapping. Therefore, with the condition of small samples, the ammunition demand for reaching different damage levels based on the Bayesian inference method is obtained, which is economical and scientific. Considering the prior information, the Bayesian method can overcome the problem of small sample size and has its superiority in prediction.

6. Conclusions

To predict the ammunition demand for reaching different damage grades, the Bayesian inference method based on multinomial distribution is proposed by fully considering the current situation of little data in ammunition strike trials, which provides a reference for the prediction of ammunition demand under the condition of small samples in the trial of high-tech weapons and ammunition. The main work accomplished includes the following:(1)To provide a prerequisite for Bayesian inference, multinomial distribution assumptions are made in the process of ammunition hitting.(2)With the fusion of multisource prior information based on the D-S theory, multiple information sources can be taken full advantage of. This paper adopts the classical fusion rule, but when there is a large amount of data, there may be conflicts between evidence, so this rule will no longer be applicable. Therefore, a new basic probability assignment method proposed by Jing et al. can be considered to adopt [33] and a new classification method based on the negation of a basic probability assignment in the evidence theory proposed by Wu et al. [34] to resolve possible conflict information fusion in the method.(3)On the basis of analyzing the prior information, this paper chooses the Dirichlet distribution, which is the conjugate distribution of multinomial distributions, as the prior distribution of the Bayesian inference model of ammunition demand, that not only does it simplify the calculation but also the posterior distribution parameters are better explained.(4)By using the MCMC method based on Gibbs sampling to solve the Bayesian inference model of ammunition demand based on multinomial distribution and with the application of WinBUGS software to simulation, the ammunition demand for different damage grades is obtained with the idea that the cumulative probability exceeds the given probability value.

To sum up, the ammunition demand forecasting method in this paper makes the demand forecasting of a new type of ammunition feasible, which has practical guidance to the ammunition supply support, yet it is necessary to consider the damage efficiency of new ammunition in further study.

Data Availability

All the data supporting this study are included within this paper.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

Our work was supported by army scientific research (LJ20202C050369).