Skip to main content

ORIGINAL RESEARCH article

Front. Insect Sci., 22 January 2025
Sec. Insect Economics
This article is part of the Research Topic Pest-Smart Strategies For Improved Eco-Efficiency In Agriculture, Forestry And Communities View all articles

Bayesian Optimization of insect trap distribution for pest monitoring efficiency in agroecosystems

  • 1Global Connectivity Program, Akita International University, Akita, Japan
  • 2Department of Plant Pathology and Microbiology, Texas A&M University, College, Station, TX, United States
  • 3Department of Entomology and Plant Pathology and North Carolina Plant Science Initiative, North Carolina State University, Raleigh, NC, United States

Insect trap networks targeting agricultural pests are commonplace but seldom optimized to improve precision or efficiency. Trap site selection is often driven by user convenience or predetermined trap densities relative to sensitive host crop abundance in the landscape. Monitoring for invasive pests often requires expedient decisions based on dispersal potential and ecology to inform trap placement. Optimization of trap networks using contemporary analytical approaches can help users determine the distribution of traps as information accumulates and priorities change. In this study, a Bayesian optimization (BO) algorithm was used to learn more about the optimal distribution of a fine-scale trap network targeting Helicoverpa zea (Boddie), a significant agricultural pest across North America. Four years of pheromone trap monitoring was conducted at the same 21 locations distributed across ~7,000 square kilometers in a five-county area in North Carolina, USA. Three years of data were used to train a BO model with a fourth year designated for testing. For any quantity of trap locations, the approach identified those that provide the most information, allowing optimization of trapping efficiency given either a constraint on the number of locations, or a set precision required for pest density estimation. Results suggest that BO is a powerful approach to enable optimized trap placement decisions by practitioners given finite resources and time.

1 Introduction

Efficient management of agricultural pest insects requires accurate and timely information about the relative abundance of populations from plant to landscape scales. Understanding where populations occur is also important because many insect pests have uneven distributions within fields and across agroecosystems. For decades, Integrated Pest Management (IPM) practitioners have used pest trap networks as one tool to monitor pest activity and inform growers about infestation risk during the growing season. Pest density estimation using traps informs grower management decisions when used in combination with traditional crop scouting, but collecting this information is costly and rarely optimized for specific cropping systems. Examples of management thresholds using traps exist, but as pest management practices change or monitoring tools evolve (e.g., trap technology, pheromone blend), the relevance of these decision tools decreases. Improving analytical approaches through contemporary modeling will make trap networks more adaptable to enable better management decisions. This improvement addresses a central principle of IPM, which seeks to maximize sustainability of pest management through diversified management practices in the context of agroecosystems (1).

A central challenge to the continued refinement and adoption of trap network information arises from the translation of pest activity to direct negative impacts on crops. Recent literature has explored trap network optimization for agricultural or medical pest populations in simulated landscapes that include parameters to include varying ecological complexity and stakeholder goals (26). A general theme of this work is that pest populations can be viewed as processes and monitored using simulation techniques developed to detect changes or abnormalities. However, pest populations in agroecosystems are often aggregated in space in addition to being temporally dynamic. Contagion is also a feature of wild insect populations that can challenge assumptions involved in risk assessment. This results in a need to monitor pest populations through time, but it also necessitates attention to the spatial distribution of trap network sites. Techniques useful for generating expectations of pest densities at unsampled geospatial locations exist. For example, Gaussian process regression or Kriging approaches can be useful to combine spatial with temporal aspects of sampling optimization and may increase efficacy of trap networks if users are willing to reconfigure distributions based on stakeholder goals (i.e., detection of large populations). Although these studies can accommodate complex simulations and multiple objectives, they rarely use the abundance of observational data being collected in real agricultural systems to better understand how the efficiency of existing networks can be improved.

Here we develop an application of Bayesian Optimization (BO) (7) to select from a finite number of trapping locations involved in monitoring an agricultural pest lepidopteran insect, Helicoverpa zea Boddie. Bayesian Optimization has become a popular tool for optimizing complicated objective functions and has found success in many domains, particularly environmental monitoring and sensor selection. Practical examples of Bayesian Optimization approaches include selecting the optimal weather sensors from a predefined set to predict the maximum rainfall at unobserved locations (8), selecting sensors to monitor ozone concentrations (9), and selecting sensors for temperature monitoring in a given area (10). In our study, there preexists a certain number of locations from which adult H. zea abundance data have been collected using pheromone-baited Texas Hartstack traps (11). We hypothesize that the information yield of different trap locations varies and the number of traps in a network can be optimized to a smaller subset of high-value locations. In other words, for any predetermined precision requirement, trapping effort can be minimized, and for any predetermined amount of available effort, precision can be maximized. Through this application, we optimize the subset of locations at which to trap to maximize information return (coverage, precision) while minimizing costs. Important additional benefits arise from this approach, for example improvements to the expedient distribution of traps when monitoring for novel or invasive pests, or to the identification of geospatial areas or place-time combinations that are inconsistent with their surroundings in ways that expedite research into the system’s biology.

Bayesian Optimization is used to address a combinatorial problem in which the goal is to choose an optimal K locations from a possible set L, meaning there are  LCK possible sets of locations that can be chosen. Problems in combinatorics inherently require efficiency to address because of the expansive search spaces they present to brute force approaches: a realistic example of 50 potential locations from which to choose a subset of 20 to receive traps results in more than 1013 combinations, which is not practical to search, even if the datum at each trap site is simple and affordable to obtain. However, the necessity of efficiency is increased in this use case because the quantity to be optimized is complicated and expensive to calculate. Bayesian Optimization is thus a well-suited approach to this problem, because it can approximate a complicated loss function with a simple statistical model. In our approach, a model is fit with Bayesian regression and then maximized with an acquisition function. We evaluate the original loss function with the optimum from the surrogate model, add it to our data set, and then refit the model. A relatively simple surrogate model is more efficient to optimize in comparison to the complicated original objective function.

2 Materials and methods

2.1 Pest ecology and trap network

In the southeastern U.S., H. zea completes several generations that cycle through non-crop weeds and then crops that include corn (Zea mays L.), upland cotton (Gossypium hirsutum L.), soybean (Glycine max (L.) Merr.), and several other minor crops (1215). Larvae are the economically important life stage because they consume vegetative and reproductive plant structures that result in crop yield loss (e.g., cotton bolls, soybean pods, and corn kernels). As the season progresses, populations grow when high-quality crop hosts become abundant in the landscape, with some of the largest seasonal populations originating from corn (15). The adult flight originating from corn often coincides with blooming cotton and soybean in early August.

To provide an early warning system for H. zea flights, university extension researchers maintain trap networks to monitor H. zea adults across the region (16). Resulting trap data is used as an early warning system to incentivize intensive in-field H. zea egg and larval monitoring. Importantly, growers often infer H. zea activity for their locations based on a small number of traps distributed across large geographic regions. For example, the North Carolina trap network has included 22 unique black light trap locations in 2024 that span approximately 36,000 km2 of land area from central to eastern North Carolina. Traps in this network are concentrated in major agricultural regions with the goal of providing growers with timely pest activity information (data available at: https://www.ces.ncsu.edu/trap-data/). These networks provide useful H. zea activity information each year but may not account for population variation across spatially and temporally heterogenous agricultural landscapes (17, 18).

This study documented variation in H. zea adult activity in an experimental trap network distributed across 21 locations in a major row crop production landscape from 2020-2023. The trap network spans approximately 700 km2 of agricultural land in five North Carolina counties (i.e. Northampton, Halifax, Nash, Edgecombe, and Wilson). The fine-scale trap network monitored adult male H. zea using commercially available pheromone lures (PHEROCON® CEW, Trécé Inc., Adair, OK) and fabricated metal Texas Hartstack traps (11). We collaborated with row crop growers to select 21 trap locations that were distributed across the study extent and located in open areas adjacent to agricultural fields. Each year, traps were installed at the same location late in July and monitored weekly for 6-11 weeks during the peak flight period (Figure 1). Captured moths from individual traps were returned to the laboratory and counted each week.

Figure 1
www.frontiersin.org

Figure 1. Sampling locations distributed across an intensive row crop production landscape in five North Carolina counties. Numbers correspond to trap ID used in Figure 6.

2.2 Trap data

Our dataset includes n=705 observations, L=21 locations, T=4 years (2020-2023). We have 83 site-year combinations (site 3 did not participate in 2020) and 6 - 11 weeks of observations per year. In 2020 there were 6 weeks of trapping, 2021 had 7 weeks, 2022 had 10 weeks, and 2023 had 11 weeks. In 2023, Trap 13 was missing an observation for week 2, so for this observation we imputed the average value of all other sites for this same week. Let S={s1,,sL} be the set of all sampling locations. Our response variable of interest is the cumulative pest count for each week. In particular, if Ztsx is the pest count (in hundreds of pests) for location s in year t at week x, then our response variable, Ytsx, is the cumulative pest count for location s in year t at week x, i.e.,

Ytsx=j=1xZtsj

Note that by definition, Yt,s,xYt,s,x+1.

2.3 Logistic growth model

The logistic growth curve represents biological population growth by including both exponential increase and a density-limiting carrying capacity. It is defined as

f(x)=β1+exp{(xγ)/k}(1)

for all x, where x represents the week of the observation. The model is defined by three parameters. β is supremum of the function, and here represents the maximum number of cumulative pests. A larger value of β means a greater number of pests. The growth parameter, k, represents how quickly the pest population is increasing, and is inversely correlated with growth rate. If k is large, then the growth is slower, while a small k indicates fast growth. Finally, γ is the midpoint and represents where the function attains half of its supremum, i.e., f(γ)=β/2.  Alarger γ means that the midpoint is later in the growing season, and vice-versa for a smaller γ.

As formulated in Equation 1, the logistic growth curve is the same at each trapping location. Because spatial dependencies among trapping locations are expected, β and γ depend on location. Mathematically, the model becomes

Ytsx~Normal(μ(x;s),σ2)(2)

where

μ(x;s)=β(s)1+exp[{xγ(s)}/k]

The asymptote parameter, β, has been replaced with a spatially-varying parameter, β(s). Similarly, the midpoint γ, is now modeled spatially with γ(s). Spatial terms are modeled as a Gaussian Process with exponential correlation, i.e.,

β(s1),,β(sL)~Normal(0,σβ2Σβ)

and

γ(s1),,γ(sL)~Normal(0, σγ2 Σγ),

where Σβ and Σγ represent exponential correlation structures, a special case of Matern correlation. If Σ is an exponential correlation matrix, then

Σij=exp(||sisj||/ρ)

where ρ is the spatial range parameter, and |||| is the Euclidean distance between trapping locations. In this correlation function, points are more correlated if they are closer together, and the correlation decreases exponentially fast with distance. This model was then fit using all locations and all years (before 2023) via Bayesian inference. Please see the Supplementary Materials for full prior specification.

There are several noteworthy points about this model. First, the model has spatial variation, but is the same for each year, i.e., there is no temporal component. There were not enough years of data to accurately learn a parameter differentiating years, and the model thus overfit on year when such a parameter was included. Next, the model has spatial variation in the supremum and midpoint, but not in the growth parameter. Additional models were tested with spatial variation in k, but there was very little variation among sites. Thus, the growth parameter was fixed across space. Additionally, both β(s) and γ(s) have exponential correlation structures, but are allowed to have different spatial range parameters, ρβ and ργ. Finally, covariates were not included in the model (e.g., landscape composition), because we found that models including candidate covariates tended to overfit to the data and did not provide good out-of-sample prediction. While we might reasonably assume that covariates such as landscape composition weather, etc. do affect the pest population, the current model implicitly accounts for such factors in the spatial processes. Moreover, the focus of this paper is selecting the optimal trapping locations, not necessarily the reason that these sites were chosen. We consider this latter question an important avenue for future work.

2.4 Optimal sampling locations

After empirically establishing the model form, we proceeded to determine how to select the optimal trapping location sets. We seek a small number of trapping locations, K, with K<L, such that if we fit a model on these K locations, then the model can most accurately predict at the LK unobserved sites. For now, we consider K as known and fixed but we will generalize this in the experimental results.

We seek to minimize the mean log error (MLE) between the real and predicted cumulative counts at the unobserved locations in 2023. Let Si={si1,,siK} be a set of K locations where SiS, and let Y^τsx(Si) be the predicted value at site sSi in year τ=2023 for week x{1,,11}, using the locations in Si to fit the logistic growth model. Thus, Y^τsx(Si) are out-of-sample predictions. Then our loss function is the MLE on the sites we did not train on for 2023, defined as

L(Si)=111(LK)sSix=111log(|YτsxY^τsx(Si)|+1)(3)

where log() is the natural logarithm. Optimization thus seeks

S˜=argminSi,|Si|=KL(Si)(4)

In this case, the optimum is the set of sampling locations, S˜, such that, if the model is trained on this set of locations from 2020-2023, and then used to predict trap data from other locations in 2023, MLE will be minimized for predictions of these out-of-sample points. 2023 was chosen as the testing data subset to simulate forecasting of future data using past data. MLE was chosen for our loss function due to the following observation. The observed cumulative counts vary in orders of magnitude, i.e., the first week may have tens of counts while the cumulative sum at the end of the season can be in the thousands. By taking the logarithm of the difference between the observed and fitted values, it ensures that all errors are on the same scale, such that each component of the sum in (3) contributes approximately equally to the loss function. Please see the Supplementary Materials for further discussion on the loss-function as well as potential other options.

2.5 Bayesian optimization

The loss function in Equation 3 is complex enough to complicate optimization in practice. Indeed, it is not easy to minimize this loss function directly, primarily because it is a combinatorial optimization problem with L choose K many solutions. Because fitting the logistic growth curve model takes a nontrivial amount of time, a brute force approach is not feasible. Thus, we employ Bayesian Optimization (BO) to approximate the optimal trapping locations S˜. There are three main steps to a BO schema: the objective function, statistical model, and acquisition function, after Yanchenko (19). Please see Figure 2 for an overview of the modeling workflow.

Figure 2
www.frontiersin.org

Figure 2. Overview of data pipeline and algorithm structure.

2.5.1 Objective function

The first step is to evaluate the objective function at some initial points. While it is too costly to evaluate the loss function at every possible sampling set Si, we can evaluate it at N0 points in a reasonable amount of time, if N0 is small. Let xi{0,1}L be such that xij=1 if sjSi, and 0 otherwise. Since we can only choose K locations, we impose the constraint that j=1Lxij=K.

Then we define f(xi) as the MSE for all sites sjSi and for years 2020-2022, i.e.,

f(xi)=1n˜t=20202022sSixlog(|YτsxY^τsx(Si)|+1)(5)

Where n˜ is the number of terms in the sum. We stress that our goal is the sampling locations S˜ which minimize the MSE at all locations sS˜ for the year 2023. To train the BO algorithm, however, we cannot use the 2023 data, so our choice of optimal sampling points can only depend on the data before 2023. For our initial evaluation, we randomly sample K locations to construct each xi, and define X=(x1T,,xN0T)T{0,1}N0×L. For each xi, we fit the logistic growth model in Equation 2 and evaluate the loss function, f(xi), using Equation 5.

2.5.2 Statistical model

Next, we need a model for the objective function in Equation 5. Let fb(xi) be a surrogate model for f(xi) parameterized by b. We assume that the surrogate model is linear in its parameters,

fb(xi)=j=1Lxijbj=xib(6)

for b=(b1,,bL)T. Since L is small, we use a Bayesian multiple linear regression to fit the model in Equation 6 with standard non-informative priors. The coefficient bj represents the marginal contribution of site sj to the overall MLE. So if bj is large and positive, including sj in Si will likely lead to a large MLE on our hold-out predictions. Conversely, if bj is negative, then the MLE will be smaller when sj is used to train the model. The interpretation of bjbj' is the increase in MLE if we used site j to train the model instead of site j', with all else being equal. In this sense, the coefficient bj yields a sense of the relative increase/decrease to the testing MLE if site sj is used to train the model.

2.5.3 Acquisition function

Lastly, we need to optimize our surrogate model fb(). Recall that each coefficient bj represents the marginal contribution to the MSE when site sj is used to train the model. So, if bj is large in absolute value and negative, we can expect that training on this site will lead to a lower MSE. Therefore, selecting the K sites with lowest bj will minimize fb(). For given b^, the optimal sampling locations are x˜=argminxfb^(x)where xj˜=1 if b^jb^{(K)} where b^(K) is the Kth order statistic of b^1,,b^L. After solving for x˜, we evaluate f(x˜) and then re-fit (6) by appending x˜ and f(x˜) to X and f(x1),,f(xN0), respectively. This step is repeated B times, and the optimal seed set is x*=argminx{x1,,xN0+B}f(x), where the minimum is found over the N0+B sampled points. Then x* corresponds to our approximate optimum of (3) and therefore (5) as well.

2.6 Experiment

We now apply the BO method from Section 2.4 to our H. zea trap data. For a fixed K, we follow the method outline in Section 2.4 to obtain our approximate optimum x*. We then use the trap locations S* corresponding to x* to fit a logistic growth model based on the data from 2023 and compute the MLE on the hold-out sites for 2023, i.e. L(S*). We do this for K=5,6,,14. For comparison, we also randomly select K trap locations and compute the out-of-sample MSE for 2023, which serves as a baseline method. Both the BO algorithm and random sampling are repeated for 50 Monte Carlo (MC) samples, and the average MLE is reported. We use the standard Kriging estimate to predict cumulative counts at new locations, and all Bayesian models are fit using Stan in R (20).

3 Results and discussion

3.1 MLE results

The main results show that the proposed BO approach greatly outperforms randomly sampling locations with a lower MLE for all K (Figure 3). Additionally, the MLE monotonically decreases as the number of training sites increases for the BO algorithm. We plot the proportion of MC samples for which a trap location was chosen in the optimal set for K=5,10 (Figures 4A, B), we also plot the proportion of samples a trap was chosen in the optimal set averaged over all K (Figure 4). The central traps are chosen for the optimal set more often when K=5, whereas the spread of optimal sites for K=10 is biased toward the south. When the results are averaged over all K, the southern and central locations have a higher proportion of MC samples for which they are in the optimal set.

Figure 3
www.frontiersin.org

Figure 3. Mean log error for hold-out 2023 locations for Bayesian Optimization (black line) and random sampling locations (gray line) against number of training sites. Averaged over 50 Monte Carlo samples.

Figure 4
www.frontiersin.org

Figure 4. Proportion of Monte Carlo samples a trap was chosen in the optimal set for K=5 (A) and K=10 (B).

While Figures 4, 5 show the proportion of MC samples for which a site was chosen in the optimal set, Figure 6 considers the binary inclusion/exclusion of sites in the optimal set. For each value of K, the proportion of samples for which each site was chosen in the optimal set was calculated. Then the K sites with the largest proportion are chosen as the optimal sites. This is represented in Figure 6 as a black tile if the trap has one of the K largest proportions, and a white tile otherwise. In case of ties, both sites have a black tile. Traps 1, 5 and 14 are included in the optimal site for every value of K. Conversely, traps 13, 15, 16, 18, and 21 are never selected. The plot also shows a substantial amount of nesting in the optimal sites, i.e., trap i is selected in the optimal set for K, then it is also selected in the optimal set for K+1.

Figure 5
www.frontiersin.org

Figure 5. Proportion of times a site was chosen in the optimal set averaged over all K.

Figure 6
www.frontiersin.org

Figure 6. Inclusion/exclusion of traps in optimal set for each value of K. A black square indicates that trap was selected in the optimal set for the particular value of K. In case of tie, both sites are included.

3.2 Model extension

As an extension of this work, we could explicitly include money, time, distance, etc. into our loss function if we wanted these to factor into our optimal choice (e.g., 9). For example,

L(Si)=111(LK)sSix=111log(|YτsxY^τsx(Si)|+1)+λC(Si) 

where C(Si) is the cost to sample at locations Si and λ is a tuning parameter which controls how much we weigh fit (small λ) versus cost (large λ) in the loss function.

3.3 Model performance and interpretation

The general implication of these empirical findings is that optimization enriches the information provided per unit trap in a multi-site network. First, the magnitude of the MLE associated with an optimized set is appreciably smaller than that for random sampling. For example, a MLE of 1.2 means that the predicted count was within 230 units of the true cumulative count value, on average. In the Supplementary Materials, we also compare the results of the BO algorithm with a brute-force computation for K=5 and find that the BO results are close to the global optimum with similar trap combinations detected by each method (Supplementary Table S1). This establishes the utility of the method for efficiently selecting trapping locations.

The BO algorithm was run 50 times and the average MLE was recorded. Ideally, the algorithm would be run once and the global optimum would be found, such that running multiple MC iterations would be unnecessary. The necessity of running the BO algorithm multiple times could be because the algorithm is finding a local optimum and/or because the objective function surface is relatively “flat.” This would mean that several different sets of K trap locations yield comparable MLEs. While these considerations and the computational expense of running the BO algorithm multiple times are relevant, running the algorithm multiple times also has advantages. The proportion of MC samples that a trap is included in the optimal set yields a continuous measure of importance as opposed to a binary result. This allows for some uncertainty quantification in the optimal sites and a richer understanding of which sites to choose for maximum precision in pest density estimation, and perhaps which sites to choose for research to understand why they are inconsistent or otherwise different from the optimal set.

In general, the optimal trapping locations appear in the southern and central locations. This could be interpreted one of two ways. It could mean that knowing the number of H. zea at these locations is very informative for knowing the number of moths at other locations. On the other hand, it could mean that these locations are very difficult to predict so we should trap at these sites to ensure an accurate value. For example, trap 1 could be included in every optimal set because knowing its value helps predict at the other sites, or because predicting the number of H. zea at trap 1 is extremely difficult. In the Supplementary Materials, we looked for systematic reasons why some trapping locations were chosen more than others. We found a moderate relationship showing that traps with a high probability of being included in the optimal set tended to have larger amounts of corn and soy planted within a 1 km radius. These are initial findings, however, and require further study.

Together, these steps toward optimization are important, as the costs of monitoring H. zea are immediately clear. Establishing which traps in the network provide the most return on investment would be a significant step toward sustainable monitoring approaches that continue to provide useful information to agricultural stakeholders. In the future, this approach would also apply to invasive species monitoring, which is a common approach when outbreaks occur. The persistent threat of pests with similar ecology as H. zea (i.e., Helicoverpa armigera) is a major focus of regulatory agencies tasked with responding to incipient threats of invasive species in the United States (e.g., USDA-APHIS). Ecological niche modeling suggests that H. armigera could establish in the southern U.S. and would pose a significant threat to agriculture across broad geographies (21). Effective monitoring strategies would be a first step toward effective management of a widespread invasive outbreak. The BO approach is one tool which could be adapted to model effective monitoring networks that are informed by the current distribution and activity of a closely related species.

3.4 Extending BO modeling to understand pest ecological drivers and sampling efficiency

These results suggest that understanding these contrasting motivating factors will help to assess which locations are informative and/or what about these locations make them informative. Future studies focused on assessing location-wise characteristics from the perspective of H. zea could generate new context for the optimized dataset. For example, overwintering temperatures limit H. zea survival during the pupal stage (22) which contributes to regional trends in population abundance over time (16). Moreover, soil conditions which vary at much smaller spatial scales are also linked to overwintering survival which affects H. zea population size in the spring (23, 24). During the growing season, the abundance of highly suitable host plants for H. zea development across multiple generations may also explain variation among traps across the relatively small geographic region where we established our trap network (1214, 18). Although these studies independently assessed specific aspects of H. zea ecology, they are unable to account for multiple variables influencing these insects in agricultural systems. Absent an optimized network, it is difficult to learn what factors at key trap sites are responsible for those sites’ providing information that can positively affect grower management decisions. Next steps connecting optimized networks to relevant ecological and environmental drivers would further refine our understanding about H. zea population dynamics in the context of realistic agroecosystems. In short, the improvement of observational efficiency results in the improvement of any study or application that relies on precision estimates of the observed process. Optimizing the provision of evidence used to describe biological systems, to make system management decisions, or to discover novel or incipient events in those system is a valuable step to take early in a study or management program.

This study builds on a deep body of literature focused on improving sampling optimization for insect pests in agriculture. Entomologists apply numerous sampling techniques for the purpose of estimating arthropod population densities, sometimes adapting from methods used in engineering (25) or analysis of data from clinical trials (26, 27). A commonly applied sampling technique in entomological pest management is sequential sampling, first developed in the 1940’s (28), for the purpose of increasing the efficiency of estimation for values important to industrial processes. The primary motivation for the development of sequential sampling techniques was efficiency: the potential to accelerate estimation or increase precision per sample, while minimizing wasted sampling effort. In pest management, this translates to iterative sampling and interim analysis based on observations. Samplers use pre-established stopping conditions to determine when sufficient pest density or crop damage information has been collected to make a management decision. This level of tolerated pest activity is informed by the economic thresholds, which is a pest density or other damage metric above which not managing the pest is expected to result in net economic loss. For example, the threshold at which the value of the expected yield loss to H. zea larval herbivory exceeds the cost of management. Effectively, this effort becomes a statistical hypothesis, and sequential sampling proceeds until the hypothesis is rejected or fails to be rejected under pre-established tolerances for Type I and Type II error rates. While some important developments have extended the rationale of increasing sampling efficiency for decision support (e.g. 25, 2931, 32), efficiency gains through innovative statistical approaches continue to represent a major opportunity for improving the environmental compatibility and economy of agricultural pest management. The BO algorithm developed in this study enhances sampling in a way parallel to existing practices of sequential sampling or interim analysis, but adds a substantial amount of value to data in the process by showing the aforementioned nesting of high-value sites within larger optimal sets, by providing a measure of uncertainty around the importance of individual sites, and by including correlation structure that allows nonrandom associations between sites to be exploited for optimization. Similar approaches could be developed for other pest species and geographic regions but will require initial investment to collect activity data for model development and validation.

4 Conclusions and future directions

In this study, BO provided useful insight into the optimization of a trap network targeting a key agricultural pest. Our results showed that we can achieve H. zea monitoring objectives without sampling at every trapping location. Moreover, the BO approach greatly outperforms the baseline method of random sampling. These empirical results provide several key takeaways for practitioners and stakeholders. First, if budgets limit the number of traps in a study area, then our BO procedure yields the optimal locations for these traps, while initial monitoring still may be required to validate the experimental set-up. Second, our methodology can also suggest how many traps to use, as in prospective power analysis. For example, if there is some pre-determined error tolerance or pre-specified desired coverage level, then the BO procedure can be used, not only choose the locations of the traps, but also how many to deploy. Indeed, the results in Figure 3 show a clear monotonically decreasing error as the number of traps increases, so this must be chosen carefully. Being able to afford just one more trap in the best location may lead to high payoff. Collecting data from all 21 traps in the existing network currently requires a ~700 km trip for two entomologists for 10 weeks. Because time and distance are considerable, we also discussed an extension to the BO analysis that includes flexibility to optimize networks based on user-defined criteria. Finally, once the number and location of the traps are chosen, further analysis can be performed to understand why these sites were selected. This question is slightly beyond the scope of this work, so we only took a first step toward this end looking at landscape information which aligns with previous work suggesting that the abundance of soybean in the landscape is an important predictor of H. zea abundance in this region (33). The proposed statistics framework, however, facilitates principled study of this question.

Data availability statement

The datasets presented in this article are not readily available because the information includes specific location information. The raw data supporting the conclusions of this article will be made available by the authors upon reasonable request. Requests to access the datasets should be directed to YXNodXNldGhAbmNzdS5lZHU=.

Ethics statement

The manuscript presents research on animals that do not require ethical approval for their study.

Author contributions

EY: Formal analysis, Methodology, Validation, Visualization, Writing – original draft, Writing – review & editing, Conceptualization, Investigation. TC: Methodology, Writing – original draft, Writing – review & editing, Formal analysis. AH: Conceptualization, Methodology, Writing – original draft, Writing – review & editing, Data curation, Funding acquisition, Investigation, Project administration, Resources, Supervision, Visualization.

Funding

The author(s) declare financial support was received for the research, authorship, and/or publication of this article. Parts of this work is supported by the North Carolina Cotton Producers Association, Specialty Crop Research Initiative program grant 2023-51181-41157, Crop Protection and Pest Management competitive grant 2017-70006-27205, and Biotechnology Risk Assessment Grant 2020-33522-32272, from the U.S. Department of Agriculture’s National Institute of Food and Agriculture.

Acknowledgments

We thank Seth Dorman, Lindsey Christianson, Renee Ackerman, Bailey Allison, and Gabbie Frech for servicing the trap network. We thank cooperating growers for providing access to trap locations over the duration of this project.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

The author(s) declared that they were an editorial board member of Frontiers, at the time of submission. This had no impact on the peer review process and the final decision.

Generative AI statement

The author(s) declare that no Generative AI was used in the creation of this manuscript.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Author disclaimer

Any opinions, findings, conclusions, or recommendations expressed in this publication are those of the author(s) and should not be construed to represent any official USDA or U.S. Government determination or policy.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/finsc.2024.1509942/full#supplementary-material

References

1. Getz WM, Gutierrez AP. A perspective on systems analysis in crop production and insect pest management. Ann Rev Entomol. (1982) 27:447–66. doi: 10.1146/annurev.en.27.010182.002311

Crossref Full Text | Google Scholar

2. Manoukis NC, Hall B, Geib SM. A computer model of insect traps in a landscape. Sci Rep. (2014) 4:7015. doi: 10.1038/srep07015

PubMed Abstract | Crossref Full Text | Google Scholar

3. Guimapi RA, Mohamed SA, Ekesi S, Biber-Freudenberger L, Borgemeister C, Tonnang HE. Optimizing spatial positioning of traps in the context of integrated pest management. Ecol Complex. (2020) 41:100808. doi: 10.1016/j.ecocom.2019.100808

Crossref Full Text | Google Scholar

4. Fang H, Caton BP, Manoukis NC, Pallipparambil GR. Simulation-based evaluation of two insect trapping grids for delimitation surveys. Sci Rep. (2022) 12:11089. doi: 10.1038/s41598-022-14958-5

PubMed Abstract | Crossref Full Text | Google Scholar

5. Caton BP, Fang H, Pallipparambil GR, Manoukis NC. Transect-based trapping for area-wide delimitation of insects. J Econ Entomol. (2023) 116:1002–16. doi: 10.1093/jee/toad059

PubMed Abstract | Crossref Full Text | Google Scholar

6. Duan S, Li Y, Zhu B, Adam B, He Z. Intelligent pest trap monitoring under uncertainty in food industry. Swarm Evol Comput. (2024) 86:101465. doi: 10.1016/j.swevo.2023.101465

Crossref Full Text | Google Scholar

7. Frazier PI. A tutorial on Bayesian optimization. arXiv preprint arXiv:1807.02811. (2018). doi: 10.48550/arXiv.1807.02811

Crossref Full Text | Google Scholar

8. Garnett R, Osborne MA, Roberts SJ. (2010). Bayesian optimization for sensor set selection, in: Proceedings of the 9th ACM/IEEE international conference on information processing in sensor networks, (Stockholm, Sweden). pp. 209–19.

Google Scholar

9. Marchant R, Ramos F. (2012). Bayesian optimisation for intelligent environmental monitoring, in: 2012 IEEE/RSJ international conference on intelligent robots and systems, . pp. 2242–9, Vilamoura-Algarve, Portugal: IEEE. doi: 10.1109/IROS.2012.6385653

Crossref Full Text | Google Scholar

10. Srinivas N, Krause A, Kakade SM, Seeger M. Gaussian process optimization in the bandit setting: No regret and experimental design. arXiv preprint arXiv:0912.3995. (2009). doi: 10.48550/arXiv.0912.3995

Crossref Full Text | Google Scholar

11. Hartstack AW, Witz JA, Buck DR. Moth traps for the tobacco budworm. J Econ Entomol. (1979) 72:519–22. doi: 10.1093/jee/72.4.519

Crossref Full Text | Google Scholar

12. Neunzig HH. Wild host plants of the corn earworm and the tobacco budworm in eastern North Carolina. J Econ Entomol. (1963) 56:135–9. doi: 10.1093/jee/56.2.135

Crossref Full Text | Google Scholar

13. Neunzig HH. (1969). Biology of the tobacco budworm and the corn earworm in North Carolina, in: North Carolina Agricultural Experiment Station. Tech. Bull. No. 196, Raleigh, NC.

Google Scholar

14. Johnson MW, Stinner RE, Rabb RL. Ovipositional response of Heliothis zea (Boddie) to its major hosts in North Carolina. Environ Entomol. (1975) 4:291–7. doi: 10.1093/ee/4.2.291

Crossref Full Text | Google Scholar

15. Jackson RE, Bradley JR, Van Duyn JOHN, Leonard BR, Allen KC, Luttrell R, et al. Regional assessment of Helicoverpa zea populations on cotton and non-cotton crop hosts. Entomol Exp Appl. (2008) 126:89–106. doi: 10.1111/j.1570-7458.2007.00653.x

Crossref Full Text | Google Scholar

16. Lawton D, Huseth AS, Kennedy GG, Morey AC, Hutchison WD, Reisig DD, et al. Pest population dynamics are related to a continental overwintering gradient. P. Natl Acad Sci U S A. (2022) 119:e2203230119. doi: 10.1073/pnas.2203230119

PubMed Abstract | Crossref Full Text | Google Scholar

17. Huseth AS, Reisig DD, Hutchison WD. Linking corn earworm populations and management to landscapes across North America. In: Brewer MJ, Hein GL, editors. Arthropod Management and Landscape Considerations in Large-scale Agroecosystems. CABI, Wallingford, Great Britain (2024). p. 187–208.

Google Scholar

18. Kennedy GG, Storer NP. Life systems of polyphagous arthropod pests in temporally unstable cropping systems. Ann Rev Entomol. (2000) 45:467–93. doi: 10.1146/annurev.ento.45.1.467

PubMed Abstract | Crossref Full Text | Google Scholar

19. Yanchenko E. BOPIM: Bayesian Optimization for influence maximization on temporal networks. arXiv preprint arXiv:2308.047. (2023). doi: 10.48550/arXiv.2308.04700

Crossref Full Text | Google Scholar

20. Stan Development Team. RStan: the R interface to Stan. R package version 2.32.6 (2024). Available online at: https://mc-stan.org/ (Accessed March 1, 2024).

Google Scholar

21. Haile F, Nowatzki T, Storer N. Overview of pest status, potential risk, and management considerations of Helicoverpa armigera (Lepidoptera: Noctuidae) for US soybean production. J Integrat. Pest Manage. (2021) 12:1–10. doi: 10.1093/jipm/pmaa030

Crossref Full Text | Google Scholar

22. Morey AC, Hutchison WD, Venette RC, Burkness EC. Cold hardiness of Helicoverpa zea (Lepidoptera: Noctuidae) pupae. Environ Entomol. (2012) 41:172–9. doi: 10.1603/EN11026

PubMed Abstract | Crossref Full Text | Google Scholar

23. Dillard D, Reisig DD, Reay-Jones FP. Helicoverpa zea (Lepidoptera: Noctuidae) in-season and overwintering pupation response to soil type. Environ Entomol. (2023) 52:67–73. doi: 10.1093/ee/nvac106

PubMed Abstract | Crossref Full Text | Google Scholar

24. Dillard D, Reisig DD, Schug HT, Burrack HJ. Moisture and soil type are primary drivers of Helicoverpa zea (Lepidoptera: Noctuidae) pupation. Environ Entomol. (2023) 52:847–52. doi: 10.1093/ee/nvad074

PubMed Abstract | Crossref Full Text | Google Scholar

25. Binns MR. Sequential sampling for classifying pest status. In: Pedigo LP, Buntin GD, editors. Handbook of sampling methods for arthropods in agriculture. CRC Press, Boca Raton, FL (1994). p. 137–74.

Google Scholar

26. O’Brien PC, Fleming TR. A multiple testing procedure for clinical trials. Biometrics. (1979) 35:549–56. doi: 10.2307/2530245

Crossref Full Text | Google Scholar

27. Demets DL, Lan KG. Interim analysis: the alpha spending function approach. Stat Med. (1994) 13:1341–52. doi: 10.1002/sim.4780131308

PubMed Abstract | Crossref Full Text | Google Scholar

28. Wallis WA. The statistical research group 1942–1945. J Am Stat Assoc. (1980) 75:320–30. doi: 10.1080/01621459.1980.10477469

Crossref Full Text | Google Scholar

29. Shelton AM, Theunissen J, Hoy CW. Efficiency of variable-intensity and sequential sampling for insect control decisions in cole crops in the Netherlands. Entomol Exp Appl. (1994) 70:209–15. doi: 10.1111/j.1570-7458.1994.tb00749.x

Crossref Full Text | Google Scholar

30. Taylor LR. A natural law for the spatial disposition of insects. Proc 12th Int Congr. Entomol. (1965) 12:396–7.

Google Scholar

31. Wilson LT, Room PM. Clumping patterns of fruit and arthropods in cotton, with implications for binomial sampling. Environ Entomol. (1983) 12:50–4. doi: 10.1093/ee/12.1.50

Crossref Full Text | Google Scholar

32. Kogan M. Integrated pest management: historical perspectives and contemporary developments. Ann Rev Entomol. (1998) 43:243–70. doi: 10.1146/annurev.ento.43.1.243

PubMed Abstract | Crossref Full Text | Google Scholar

33. Dorman SJ, Hopperstad KA, Reich BJ, Kennedy G, Huseth AS. Soybeans as a non-Bt refuge for Helicoverpa zea in maize-cotton agroecosystems. Agr. Ecosyt. Environ. (2021) 322:107642. doi: 10.1016/j.agee.2021.107642

Crossref Full Text | Google Scholar

Keywords: Helicoverpa zea, sampling efficiency, adaptive sampling, eco-efficiency, integrated pest management

Citation: Yanchenko E, Chappell TM and Huseth AS (2025) Bayesian Optimization of insect trap distribution for pest monitoring efficiency in agroecosystems. Front. Insect Sci. 4:1509942. doi: 10.3389/finsc.2024.1509942

Received: 11 October 2024; Accepted: 30 December 2024;
Published: 22 January 2025.

Edited by:

Andrea Sciarretta, University of Molise, Italy

Reviewed by:

Rachele Nieri, University of Trento, Italy
Petros T. Damos, Ministry of Education, Research and Religious Affairs, Greece

Copyright © 2025 Yanchenko, Chappell and Huseth. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Eric Yanchenko, ZXlhbmNoZW5rb0BhaXUuYWMuanA=; Anders S. Huseth, YXNodXNldGhAbmNzdS5lZHU=

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.