Next Article in Journal
The Use of Electronic Nose in the Quality Evaluation and Adulteration Identification of Beijing-You Chicken
Previous Article in Journal
Almond Hull as a Functional Ingredient of Bread: Effects on Physico-Chemical, Nutritional, and Consumer Acceptability Properties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PRIAS: An Intelligent Analysis System for Pesticide Residue Detection Data and Its Application in Food Safety Supervision

1
Beijing Key Laboratory of Big Data Technology for Food Safety, Beijing Technology and Business University, Beijing 100048, China
2
Chinese Academy of Inspection and Quarantine, Beijing 100176, China
*
Author to whom correspondence should be addressed.
Foods 2022, 11(6), 780; https://doi.org/10.3390/foods11060780
Submission received: 13 January 2022 / Revised: 1 March 2022 / Accepted: 4 March 2022 / Published: 8 March 2022
(This article belongs to the Section Food Quality and Safety)

Abstract

:
Pesticide residue is a prominent factor that leads to food safety problems. For this reason, many countries sample and detect pesticide residues in food every year, which generates a large amount of pesticide residue data. However, the way to deeply analyze and mine these data to quickly identify food safety risks is still an unresolved issue. In this study, we present an intelligent analysis system that supports the collection, processing, and analysis of detection data of pesticide residues. The system is first based on a number of databases such as maximum residue limit standards for the fusion of pesticide residue detection results; then, it applies a series of statistical methods to analyze pesticide residue data from multiple dimensions for quickly identifying potential risks; it uses the Apriori algorithm to mine the implicit association in the data to form pre-warning rules; finally, it applies Word document automatic generation technology to automatically generate pesticide residue analysis and pre-warning reports. The system was applied to analyze the pesticide residue detection results of 42 cities in mainland China from 2012 to 2015. Application results show that the system proposed in this study can greatly improve the depth, accuracy and efficiency of pesticide residue detection data analysis, and it can provide better decision support for food safety supervision.

1. Introduction

Pesticides, which are a class of agrochemicals for preventing and controlling pests and regulating plant growth, are widely used in the growth of edible agricultural products. However, the excessive use of pesticides will threaten human life and cause damage to human health [1,2,3]. For this reason, many countries have formulated monitoring programs for pesticide residues in food and regularly conduct random inspections on the pesticide residue content in locally marketed food/agricultural products to assess the levels of pesticide residues in foods and safety risk [4]. For example, the U.S. Food and Drug Administration (FDA) has been implementing the pesticide residue monitoring program since 1987 [5], sampling and monitoring pesticide residues in domestic and imported food every year and releasing monitoring reports and data. The European Food Safety Authority (EFSA) organizes its member states to monitor pesticide residues in food and publishes reports every year [6]. China’s State Administration for Market Regulation (SAMR) conducts random inspections on marketed foods and releases inspection results every month. SAMR has also established a Food Safety Inspection Result Query System [7]. Users can search inspection results since 2014, including information on qualified and unqualified foods. Excessive pesticide residues are one of the main reasons for unqualified foods. Pesticide residues are an important aspect of food safety supervision [8].
The emergence and development of detection techniques such as enzyme inhibition [9], immunoassay [10], spectroscopic detection [11,12,13], and mass spectrometric detection [14] have made the detection of pesticide residues in agricultural products more efficient and accurate, and the amount of detection data obtained is also increasing. These detection results are interwoven with information on agricultural products, pesticides, geographic regions, and maximum residue limit (MRL) standards, which forms a large number and complex relationship of pesticide residue datasets [15,16]. On the one hand, this situation provides a wealth of data resources for formulating pesticide residue control measures. On the other hand, it also poses great challenges to the collection, storage, analysis, and mining of pesticide residue data [17]. The emergence of food safety big data [18] has enabled data-driven risk analysis and pre-warning techniques to play an increasingly important role in food safety supervision [19,20,21].
Statistics, data mining, and other intelligent techniques have been applied to data analysis in the field of food safety, which has greatly improved the efficiency of food safety risk analysis, discovery, pre-warning, and tracing and provided new means for food safety detection and control. Statistical analysis methods are often used to discover distribution characteristics and outliers in food safety data. For example, Kuuliala et al. used multivariate statistical analysis to explore potential factors that lead to seafood spoilage [22]. Al-Shamary et al. analyzed pesticide residues in Qatari fruits and vegetables using the t-test method and found differences in pesticide residues in washed and unwashed samples [23]. Szarka et al. proposed a new statistical method that combines robust regression on ordered statistics with a maximum-likelihood estimator to quantify pesticide residue concentrations in the presence of heavily censored datasets, and they found that the median is a more robust measure of central tendency than the mean [24]. Data mining techniques are often applied to discover knowledge and uncover hidden rules and potential associations in food safety data. Muangprathub et al. used the Apriori algorithm to analyze crop growth monitoring data for mining the relationship among temperature, humidity, and soil moisture to optimize the future growth environment of crops [25]. Wang et al. used the association rule mining algorithm (Apriori) to mine association rules from inspection data of the food supply chain, and then, they generated warning rules to provide pre-warning of potential food safety risks [26]; Rong et al. used the Apriori algorithm to study cooking recipes to mine the correlation among ingredients, flavor, cooking time, cooking methods, and other information for helping people better match ingredients in cooking [27].
Statistical analysis methods and data mining techniques have played a good role in food safety data analysis. However, these methods are still independent of one another and have not been integrated into a system. A large number of manual operations are still required in the analysis process, such as MRL queries for various pesticides in various agricultural products, the determination of the contamination level of residues, multidimensional analysis of pesticide residue data, and editing analysis reports, which results in relatively low efficiency and accuracy of data analysis. The design and development of a set of collection, storage, analysis, and automatic generation of analytical reports of an intelligent analysis system are imperative. Information systems have been widely used in the food industry with good results due to their ability to process and manage data efficiently [28,29,30]. Integrating statistical analysis and data mining techniques into information systems to form an intelligent analysis system will greatly improve the efficiency of data processing, the quality of data management, and the utilization of data resources and provide better decision support for food safety supervision. According to the research, no public reports of similar work have been identified.
For these reasons, we designed an intelligent analysis system (PRIAS) for pesticide residue detection data to support the automatic collection, storage, analysis of pesticide residue data, and ultimate generation of pesticide residue detection data analysis reports. The contributions of this work are as follows.
(1) A data fusion method of pesticide residues based on the database is proposed. The method can achieve error checking and information supplementation of the original data, as well as determining the contamination level of residues. (2) On the basis of statistical methods, several pesticide residue statistical indicators are designed to help users analyze the distribution characteristics of pesticide residue contamination from multiple perspectives, such as sampling areas, agricultural products, pesticides, and discover high-risk pesticides, agricultural products, and geographical areas. (3) Association rule mining technology is applied to mine the internal association implied in the pesticide residue data for discovering potential food safety risks and pre-warning. (4) Word document generation technology is used, and a complete result analysis report is automatically generated according to the user’s analysis requirements. The report is presented in the form of text, data, tables, and statistical graphs, including the above-mentioned statistics and mining results, as well as the conclusions and pre-warning information obtained from them, which can provide decision support for food safety supervision. The pesticide residue detection data from mainland China from 2012–2015, as a case study, are applied to PRIAS for analysis, and the analysis results verify the feasibility of the methodology in this study.

2. Pesticide Methods

2.1. PRIAS Framework

PRIAS adopts Browser/Server mode and consists of an I/O module, storage module, data fusion processing module, and intelligent analysis module, as shown in Figure 1.
In the framework, the I/O module allows users to upload detection results, select the data ranges and analysis function, display the analysis and mining results in the form of figures and texts, and export the complete result analysis report document. The storage module is used to store detection results, relevant basic information, and pre-warning rules. The relevant basic information includes MRL standards, agricultural classification information, pesticide information, and hierarchical geographical information, which are used to assist in data processing and analysis. The data fusion processing module realizes error checking, derivative merging, and information association of the original data and determines the residue level. Thereafter, the fusion processed data are stored in the detection result database. The intelligent analysis module realizes multidimensional cross-analysis and association rule mining on the detection result data in the database to help users understand the characteristics of data distribution and mine the internal association between data. This module also generates a complete result analysis report automatically with the analysis results as a basis.
The advantage of the Browser/Server architecture adopted by PRIAS is that client programs need not be installed and maintained on the user side, which can be accessed by the user through a browser. Detection institutions (users) distributed in different regions regularly upload pesticide residue detection results to the Web Server through their own browsers, and the Web Server is based on the analysis method and the information in the database of the detection results for fusion processing and intelligent analysis, to obtain the analysis results and complete analysis report, returned to the user browser.

2.2. Database Design

The pesticide residue dataset mainly includes six types of information: pesticide residue detection results, pesticide basic information, classification information of agricultural products, administrative divisions of sampling areas, MRL standards, and pre-warning rules. They are described as follows.
(1)
The detection results mainly include sampling time, sampling point, sample name, and the name and content of the pesticide detected.
(2)
Pesticide information includes pesticide name, chemical composition, function, toxicity, and derivative. Among them, the chemical composition includes organochlorine, organophosphorus, carbamate, pyrethroid, organic nitrogen, or organic sulfur pesticide. The function includes insecticides, fungicides, herbicides, and plant growth regulators. Toxicity can be low, medium, high, or severe.
(3)
The classification of agricultural products is organized in a hierarchical structure, as shown in Figure 2a, and includes primary, secondary, and tertiary categories. The primary classification can take the values of fruits, vegetables, and so on. The secondary classification can be citrus fruits, melon vegetables, and so on. The tertiary classification can take the values of orange, cucumber, and so on.
(4)
Sampling points are usually supermarkets or farmers’ markets. The geographical areas (China) to which they belong are also organized in a hierarchy, including geographic regions (e.g., East China and North China), provinces level (e.g., Zhejiang and Beijing), cities (e.g., Hangzhou and Zhangjiakou), and counties (e.g., Shangcheng and Xihu), as shown in Figure 2b.
(5)
The MRL standard specifies the maximum limit of each pesticide in specific agricultural products, which is the basis for determining the residue level. It mainly involves the names of pesticides, agricultural products, and limit values.
(6)
The pre-warning rules are the results obtained after mining pesticide residue data through association rules, including rule’s antecedent items, rule’s subsequent items, support, and confidence. The item set includes information on agricultural products, sampling area, detected pesticides, the chemical composition of detected pesticides, the toxicity of detected pesticides, and function of detected pesticides.
The pesticide residue dataset containing the six types of information mentioned above is a multidimensional dataset with hierarchical, spatiotemporal, and interrelated characteristics. Considering the characteristics of making data structured, easy to relate and share, satisfying independence, and low redundancy, six databases are designed according to the data attributes and the linkage among them. They are pesticide residue Detection Result Database (DRDB), MRL Standard Database (MRLDB), Pesticide Info Database (PIDB), Classified Agricultural Product Database (CAPDB), Hierarchical Geographic Database (HGDB), and Pre-Warning Rule Database (PWRDB). Table 1 shows the main properties of the six databases. In this study, MRL is using GB2763-2014, which is issued by the Chinese government [31].

2.3. Data Fusion Processing

Raw detection result data usually have the following problems. (1) The format is not standardized. For example, the format of the sampling time exists in various formats, such as “2015/12/23,” “20151223,” and “2015-12-23,” which needs to be standardized. (2) The name is not standardized. Some agricultural products have different names in different regions. Thus, each agricultural product should have a unique standardized name. For example, “xihongshi” and “fanqie” represent the same agricultural product in Chinese and need to be standardized as “tomato.” (3) Incomplete information. For example, the name of agricultural products does not contain classification information, but detecting the residue value is necessary for comparison with MRL standards and supplementation, according to the classification of agricultural product standards. (4) Determining the pesticide residue level by comparing the detected pesticide residue content with MRL is also important. Therefore, the raw data are normalized by data fusion processing and data from multiple sources are fused into a complete dataset with better performance according to some rules to obtain a more accurate and comprehensive data description than a single source [32].
A data fusion processing method of pesticide residue detection based on a database is proposed in this study to solve the above-mentioned problems. The method is based on PIDB, APDB, HGDB, and MRLDB on the original data format specification, name specification, information supplementation, and residual level determination. Standardized and complete data stored in the DRDB are formed, as shown in the data fusion processing module in Figure 1. Among them, the residue level determination basis is shown in Table 2, with not detected and level 1 and 2 residues as qualified and level 3 residues as unqualified.

2.4. Statistical Analysis and Association Rule Mining

Intelligent analysis methods of statistical analysis and association rule mining are used to analyze the distribution characteristics of the pesticide residue data and discover the implicit association between them.

2.4.1. Statistics and Comparative Analysis

The system mainly helps users analyze the distribution characteristics, exceedance and ranking results of pesticide residues from three different aspects, such as sampling areas, agricultural products and pesticides, by counting, accounting for, ranking, and comparing statistics. The main statistical indicators and calculation methods in this study are shown in Table 3.

2.4.2. Association Rule Mining

Association rule mining is used to mine a frequent pattern P (e.g., item set, subsequence, or substructure) in dataset D and then identify some strong rules from these mined frequent patterns. These strong rules reflect some pattern characteristics and rules hidden in the dataset. The general expression of strong rules is shown in Equation (11).
X Y ,   in   which   X P , Y P , X Y = ϕ , X Y = P
Association rule mining finds frequent item sets by calculating the support degree and then calculates the confidence degree to judge whether strong rules exist in frequent item sets. The support degree refers to the frequency of a pattern P in the dataset. Its calculation method is given as Equation (12).
s u p p o r t P = N u m b e r   o f   d a t a   i t e m s   c o n t a i n n i n g   X T o t a l   n u m b e r   o f   d a t a   i t e m s   i n   D
The confidence degree refers to the ratio of the number of data items containing X and Y to the number of data items containing X in the dataset, as shown in Equation (13).
c o n f i d e n c e X Y = N u m b e r   o f   d a t a   i t e m s   c o n t a i n n i n g   b o t h   X   a n d   Y N u m b e r   o f   d a t a   i t e m s   c o n t a i n n i n g   X  
Strong rules refer to those rules whose support and confidence are both greater than a given minimum threshold. In this study, we use the Apriori algorithm [33], which is a classic algorithm in association rule mining, to discover the implicit associations in pesticide residue data. The Apriori algorithm is considered the pioneer algorithm for association rule mining. It uses an iterative method called layer-by-layer search to find frequent item sets and mine the strong rules hidden in these frequent item sets [34]. It scans the dataset, accumulates the number of occurrences of each data item, and collects items that meet the minimum support degree. Thus, it obtains a set of frequent 1 item sets, uses frequent 1 item sets to find frequent 2 item sets, uses frequent 2 items to find frequent 3 item sets, and so on until no more frequent k item sets can be found. Then, from the frequent item sets found, strong association rules that meet the minimum confidence are determined. Through these strong association rules, users can quickly obtain the association relationship between pesticide residue data, discover potential risks in pesticide use, and form early warning rules and store them in the PWRDB.

2.5. Automatic Report Generation

Manual preparation of the result analysis report requires MRL criteria search, data statistics and analysis, table editing and image insertion, format normalization and layout, and continuous reading and revision of the report content to produce a complete analysis report. This method is tedious, time-consuming, inefficient, and error-prone, and it does not meet the user’s requirements in terms of report accuracy. PRIAS can automatically generate an analysis report of pesticide residue detection results, and thus, it can avoid the problems that can occur in the manual preparation of the report. Sample example is shown in Figure 3, which consists of four parts: (1) statistical analysis of sample types, quantities, and sources; (2) statistical and comparative analysis of pesticide residue data; (3) association rule mining; (4) comprehensive conclusions and problem identification. The report content is divided into two categories: one is the report framework, the title of the table, the style of graphics, and other fixed content, such as the black part in Figure 3. The content of the other blue part is obtained by the intelligent analysis method reading and calculation. The system provides an automatic report generation function by customizing the report template. The generic content is first written into the template and then into the variable content through self-defined data query methods for data reading, intelligent analysis, and chart editing. The specified location is filled to automatically generate the final analysis report of pesticide residue. Each detection agency can export the generated report files through the I/O module to obtain support for their decision making.

3. Application Case

We conducted a case study using pesticide residue detection data from 2012 to 2015 in mainland China to illustrate the utility and effectiveness of PRIAS. The detection data included pesticide residue in commercial fruits and vegetables in 42 cities (including 4 municipalities directly under the central government, 27 provincial capitals, and 11 cities with major fruit and vegetable production areas). A total of 15,053 fruit and vegetable samples covering 166 fruit and vegetable species were randomly collected from supermarkets and farmers’ markets. High-resolution mass spectrometry [35] was used to detect the residues of 510 pesticides in these samples. PRIAS was used to process the results as follows.
(1)
Data fusion and preprocess
PRIAS performs error checking, information supplementation, and residue level determination on the raw data and then stores them into the DRDB for unified management. A total of 43,851 records were accumulated in DRDB. Each record mainly included attributes such as sample ID, agricultural product name, pesticide name, sampling area, sampling time, the content of pesticide residue, MRL standard value, residue grade, and so on, as listed in Table 4.
(2)
Statistical analysis
Statistical analysis of the detection result data from multiple perspectives using the statistical indicators described in Section 2.4.1 and the calculation methods. Additional details can be found in Section 4.1, Section 4.2, Section 4.3.
(3)
Association rule mining
Association mining is performed using the Apriori algorithm for selected factors according to the method described in Section 2.4.2. Additional details can be found in Section 4.4.
(4)
Automatic generation of result analysis report
PRIAS supports on-demand customization of the analysis report content and “one-click download.” The user can select the data range, such as time range, area range, and so on. The user can also select the statistical functions, such as statistics from a regional perspective, statistics from agricultural products, and statistics from pesticides. A typical result analysis report of roughly 50 pages (including text, figures, and tables) can be generated in about 50 s, which greatly improves the efficiency and accuracy of the report.

4. Result and Discussion

4.1. Statistics from the Perspective of Sampling Area

Equations (1) and (2) were used to calculate the detection rate ( D R a r e a ) and exceeding MRL rate ( E R a r e a ) of pesticide residues for each sampling city in China, respectively, and the results are shown in Figure 4. The figure shows that pesticide residues are prevalent in commercially available fruits and vegetables in China and pesticide residues are present in every city. The detection rates range from 65.24% to 96.81%, with most of them above 80%. Further analysis of the pesticide residue exceedance rate shows that pesticide residue exceedance is prevalent, but the exceedance rate is low, which ranges from 0.24% to 5.17%.

4.2. Statistics from the Perspective of Agricultural Products

We selected 42 agricultural products with high market sales to ensure sufficient sample size and the types of pesticides tested, and the combined frequency of testing for various pesticide residues in these products exceeded 200 times. The detection rate ( D R a p ) and exceeding MRL rate ( E R a p ) of pesticide residues in each agricultural product were calculated using Equations (5) and (6), respectively, and the results are shown in Figure 5. Pesticide residues are detected in all of the agricultural products that people frequently purchase for use, with detection rates ( D R a p ) ranging from 43.68% to 99.67%, most of which are above 80%, and these findings are of concern. In addition, the analysis of the exceeding MRL rate of pesticide detection in these agricultural products shows that the exceeding MRL rate ( E R a p ) ranges from 0% to 6.24%, with two of them above 3%, which is within a manageable range.

4.3. Statistics from the Perspective of Pesticides

The number of each pesticide ( D T p c ) detected and the total number of pesticides exceeding MRL ( E T p c ) in 42 cities in China from 2012 to 2015 were calculated using Equations (7) and (8), respectively. The results are shown in Figure 6. Five pesticides have been detected more than 1500 times, namely, carbendazim, dimethomorph, acetamiprid, metalaxyl, and imidacloprid, which indicates that these pesticides are frequently used. In the 4 years, the number of detections exceed 20 times for five pesticides: carbofuran, phorate, omethoate, chlorpyrifos-ethyl, and carbendazim, which need to be monitored.
Equations (9) and (10) were used to calculate the percentage of pesticides detected belonging to each function ( P f u n c ) and the percentage of pesticides detected belonging to each toxicity level ( P t o x ). The results are shown in Figure 7. Figure 7a reveals that fungicides, insecticides, and herbicides account for more than 90% of the pesticides detected. This result indicates that China still relies on pesticides during this time period to reduce the impact of pests and weeds on crop growth for increasing the yield of agricultural products and ensuring food supply. Figure 7b indicates that, although pesticide residues were widespread in fruits and vegetables sold in China during this time period, most of the pesticide residues are of low to medium toxicity.

4.4. Association Rule Mining

In this case, the Apriori algorithm was used to mine the hidden relationships among six factors: sampling area, agricultural product, detected pesticide, the chemical composition of detected pesticide, the toxicity level of detected pesticide, and function of detected pesticide. We selected all records with pesticide residue level 3 (compared with the Chinese MRL standard) from the DRDB, that is, 576 records with pesticide residue exceeding the MRL standard in the 4 years from 2012 to 2015, as the data to be mined. Table 5 lists part of data. The data distribution involved in each mining factor is relatively sparse. Thus, the support of item sets formed by these factors is generally very low. After many experiments, we set the default value of the minimum support in the Apriori algorithm to 0.03 and the default value of the minimum confidence to 0.7.
Table 6 shows the top 5 interesting strong rules mined under the above-mentioned threshold. These strong rules show the hidden associations among the six factors in Table 5. For example, the meaning of the first strong rule is that the highly toxic pesticides detected in Zhengzhou can be 100% inferred to belong to insecticide. This strong rule can guide relevant departments to supervise the use of insecticides in Zhengzhou. The third strong rule means that the highly toxic pesticides detected in celery can be 100% inferred as insecticides, which implies that the use of insecticides in celery needs to be supervised. The fifth strong rule means that for carrots with excessive residues, a 95% chance that the sampling site will be Guangzhou exists, and the pesticide with excessive residues is phorate. This strong rule can remind relevant departments to strengthen the detection and supervision of the pesticide phorate in carrots sold in Guangzhou. Association rule mining can help relevant departments quickly build the association relationship among these six different factors, obtain the early warning rules, and store them in the early warning rule database. Thus, it provides a basis for supervision and decision making.

4.5. Discussion

We applied PRIAS to analyze pesticide residue sampling data of commercially available fruits and vegetables in 42 cities in mainland China from 2012 to 2015, from which we discovered the distribution characteristics and potential risks of pesticide residue data and automatically generated pesticide residue sampling analysis reports to improve the accuracy and speed of analysis reports. The application results show that PRIAS can provide decision support for pesticide residue supervision and pre-warning from three aspects: data accumulation, distribution characteristics and potential risk discovery, and automatic generation of analysis reports.
(1)
Aggregation and accumulation of pesticide residue detection data
PRIAS continuously collects, fuses, and processes the detection results from different areas and stores them into DRDB, and thus, it realizes the aggregation and accumulation of detection result data. By the end of 2019, DRDB has accumulated the detection results of 8 years since 2012. The MRLDB contains three versions of MRL standards: GB2763-2014, GB2763-2016, and GB2763-2019. The APDB contains 324 kinds of agricultural products and their classification information. The PIDB contains 1100 kinds of pesticide information. All these data provide a reliable and rich database for food safety analysis and supervision.
(2)
Pesticide residue distribution characteristics and potential risk discovery
The statistical analysis function provided by the PRIAS helps users analyze pesticide distribution characteristics from multiple perspectives such as sampling areas, agricultural products, and pesticides through detection rate, exceeding MRL rate, and other indicators. Users can then identify the regions, agricultural products, and pesticides that need to be monitored. The association rule mining function provided by the model helps users discover the hidden associations in the data, and the pre-warning information mined through association rules provides a reference for pesticide residue supervision and risk warning.
(3)
Automatic generation of sampling analysis reports
Compared with manual analysis, the intelligent analysis function provided by PRIAS greatly improves the accuracy and efficiency of comprehensive analysis. The automatic generation function of the analysis report proposed in this study completes a 50-page comprehensive analysis report on average in about 50 s, including text, data, tables and figures, which provides strong support for timely grasp and reporting of pesticide residue supervision status and pre-warning information.
The limitation of this system currently lies in the fact that the uncertainty of the detection results may be caused by the absence of detection instruments. In the future, we will consider introducing neutrosophic statistical methods [36,37] to solve the data analysis tasks obtained from complex processes or uncertain environments for making the analysis results more adequate and valid.

5. Conclusions

In this study, we propose an intelligent analysis system for pesticide residue detection data, namely, PRIAS, which enables online collection, fusion processing, storage, and intelligent analysis of pesticide residue detection data. It supports comprehensive analysis from multiple perspectives, such as agricultural products, pesticides, and sampling areas, to explore the implicit associations in the data and automatically generate analysis reports. The system was applied to analyze the pesticide residue detection data in mainland China from 2012 to 2015. The application results show that PRIAS can greatly improve the depth, accuracy, and efficiency of data analysis and provide support for food safety supervision and decision making. The method can also be easily extended to other data analyses in the food field, such as statistical and risk analysis of sampling data for hazards in other foods.

Author Contributions

Conceptualization, Y.C. and H.D.; methodology, Y.C., Q.C. and C.F.; software, H.D.; investigation, Y.C. and H.D.; resources, Y.C., Q.C. and C.F.; writing—original draft preparation, Y.C. and H.D.; writing—review and editing, Y.C. and H.D.; funding acquisition, Y.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (Grant No. 61972010), the National Key Research and Development Program of China (Grant No. 2018YFC1603602), Beijing Science and Technology Planning Project (Grant No. Z151100001615041), and Basic Research Project of the Ministry of Science and Technology (Grant No. 2015FY111200).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing is inapplicable for this article.

Acknowledgments

The authors would like to thank Guofang Pang for supporting this work and Rong Zhang, Wanqiao Chen, and Yuehong Sun for their excellent technical support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Carvalho, F.P. Pesticides, environment, and food safety. Food Energy Secur. 2017, 6, 48–60. [Google Scholar] [CrossRef]
  2. Settimi, L.; Orford, R.; Davanzo, F.; Hague, C.; Desel, H.; Pelclova, D.; Dragelyte, G.; Mathieu-Nolf, M.; Adams, R.; Duarte-Davidson, R. Development of a new categorization system for pesticides exposure to support harmonized reporting between EU Member States. Environ. Int. 2016, 91, 332–340. [Google Scholar] [CrossRef] [PubMed]
  3. Winter, C.K. Chronic dietary exposure to pesticide residues in the United States. Food Contam. 2015, 2, 11–12. [Google Scholar] [CrossRef] [Green Version]
  4. Poulsen, M.E.; Andersen, J.H.; Petersen, A.; Jensen, B.H. Results from the Danish monitoring programme for pesticide residues from the period 2004–2011. Food Control 2016, 74, 25–33. [Google Scholar] [CrossRef] [Green Version]
  5. U.S. Food & Drug Administration. Pesticide Residue Monitoring Program Reports and Data. 2020. Available online: https://www.fda.gov/food/pesticides/pesticide-residue-monitoring-program-reports-and-data (accessed on 20 December 2021).
  6. European Food Safety Authority. The 2016 European Union report on pesticide residues in food. EFSA J. 2018, 16, 5348. [Google Scholar] [CrossRef] [Green Version]
  7. State Administration for Market Regulation. Food Safety Spot Check Announcement Result Inquiry System 2020. Available online: https://spcjsac.gsxt.gov.cn/ (accessed on 25 December 2021).
  8. Wu, Y.N.; Chen, J.S. Food safety monitoring and surveillance in China: Past, present and future. Food Control 2018, 90, 429–439. [Google Scholar] [CrossRef]
  9. Liu, S.Z.; Liao, Y.D.; Zhong, X.J.; Lu, J.H.; Lin, S.D.; Guo, S.Z.; Lai, X.T.; Yu, Q.F. Analysis and application of field detection technology of pesticide residues. J. Food Saf. Qual. 2019, 10, 5378–5392. [Google Scholar] [CrossRef]
  10. Li, Q.; Li, J.H. Rapid detection methods for pesticide residues in agricultural products. Agric. Dev. Equip. 2018, 02, 84. [Google Scholar] [CrossRef]
  11. Zhang, Y.L.; Yan, K.T.; Wang, L.L.; Chen, P.C.; Han, Y.F.; Lan, Y.B. Research progress of pesticide residue detection based on fluorescence spectrum analysis. Spectrosc. Spectr. Anal. 2021, 41, 2364–2371. [Google Scholar] [CrossRef]
  12. Xu, M.L.; Gao, Y.; Han, X.X.; Zhao, B. Detection of pesticide residues in food using surface-enhanced raman spectroscopy: A review. J. Agric. Food Chem. 2017, 65, 6719–6762. [Google Scholar] [CrossRef]
  13. Jiang, Y.; Sun, D.W.; Pu, H.; Wei, Q.Y. Surface enhanced Raman spectroscopy (SERS): A novel reliable technique for rapid detection of common harmful chemical residues. Trends Food Sci. Technol. 2018, 75, 10–22. [Google Scholar] [CrossRef]
  14. Almeida, M.O.; Oloris, S.C.S.; Faria, V.H.F.; Ribeiro, M.C.M.; Cantini, D.M.; Soto-Blanco, B. Optimization of method for pesticide detection in honey by using liquid and gas chromatography coupled with mass spectrometric detection. Foods 2020, 9, 1368. [Google Scholar] [CrossRef] [PubMed]
  15. Chen, Y.; Dong, Y.; Sun, Y.H.; Liang, J. A multi-comparable visual analytic approach for complex hierarchical data. J. Vis. Lang. Comput. 2018, 47, 19–30. [Google Scholar] [CrossRef]
  16. Marvin, H.J.; Janssen, E.M.; Bouzembrak, Y.; Hendriksen, P.J.; Staats, M. Big data in food safety: An overview. Crit. Rev. Food Sci. Nutr. 2018, 57, 2286–2295. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Chen, Y.; Lv, C.; Li, Y.; Chen, W.; Ma, K.L. Ordered matrix representation supporting the visual analysis of associated data. Sci. China Inf. Sci. 2020, 63, 184101. [Google Scholar] [CrossRef]
  18. Jin, C.; Bouzembrak, Y.; Zhou, J.; Liang, Q.; van den Bulk, L.M.; Gavai, A.; Liu, N.; van den Heuvel, L.J.; Hoenderdaal, W.; Marvin, H.J. Big Data in food safety—A review. Curr. Opin. Food Sci. 2020, 36, 24–32. [Google Scholar] [CrossRef]
  19. Jin, C.Y.; Bouzembrak, Y.; Zhou, J.; Liang, Q.; van den Bulk, L.M.; Gavai, A.; Liu, N.J.; van den Heuvel, L.J.; Hoenderdaal, W.; Marvin, H.J.P. Global research trends in food safety in agriculture and industry from 1991 to 2018: A data-driven analysis. Trends Food Sci. Technol. 2019, 85, 262–276. [Google Scholar] [CrossRef]
  20. Garre, A.; Boue, G.; Fernandez, P.S.; Membre, J.M.; Egea, J.A. Evaluation of multicriteria decision analysis algorithms in food safety: A case study on emerging zoonoses prioritization. Risk Anal. 2020, 40, 336–351. [Google Scholar] [CrossRef]
  21. Panghal, A.; Chhikara, N.; Sindhu, N.; Jaglan, S. Role of food safety management systems in safe food production: A review. J. Food Saf. 2018, 38, e12464. [Google Scholar] [CrossRef]
  22. Kuuliala, L.; Abatih, E.; Ioannidis, A.; Vanderroost, M.; De Meulenaer, B.; Ragaert, P.; Devlieghere, F. Multivariate statistical analysis for the identification of potential seafood spoilage indicators. Food Control 2018, 84, 49–60. [Google Scholar] [CrossRef] [Green Version]
  23. Al-Shamary, N.M.; Al-Ghouti, M.A.; Al-Shaikh, I.; Al-Meer, S.H.; Ahmad, T.A. Evaluation of pesticide residues of organochlorine in vegetables and fruits in Qatar: Statistical analysis. Environ. Monit. Assess. 2016, 188, 14. [Google Scholar] [CrossRef] [PubMed]
  24. Szarka, A.Z.; Hayworth, C.G.; Ramanarayanan, T.S.; Joseph, R.S. Statistical techniques to analyze pesticide data program food residue observations. J. Agric. Food Chem. 2018, 66, 7165–7171. [Google Scholar] [CrossRef] [PubMed]
  25. Muangprathub, J.; Boonnam, N.; Kajornkasirat, S.; Lekbangpong, N.; Wanichsombat, A.; Nillaor, P. IoT and agriculture data analysis for smart farm. Comput. Electron. Agric. 2019, 156, 467–474. [Google Scholar] [CrossRef]
  26. Wang, J.; Yue, H. Food safety pre-warning system based on data mining for a sustainable food supply chain. Food Control 2017, 73, 223–229. [Google Scholar] [CrossRef]
  27. Rong, C.; Liu, Z.; Huo, N.; Sun, H. Exploring Chinese dietary habits using recipes extracted from websites. IEEE Access 2019, 7, 24354–24361. [Google Scholar] [CrossRef]
  28. Mcmeekin, T.A.; Baranyi, J.; Bowman, J.; Dalgaard, P.; Kirk, M.; Ross, T.; Schmid, S.; Zwietering, M.H. Information systems in food safety management. Int. J. Food Microbiol. 2006, 112, 181–194. [Google Scholar] [CrossRef]
  29. Kote, D. Increasing food safety through the use of information technology. Eur. J. Eng. Res. Sci. 2018, 3, 35. [Google Scholar] [CrossRef]
  30. Yoo, C.W.; Parameswaran, S.; Kishore, R. Knowing about your food from the farm to the table: Using information systems that reduce information asymmetry and health risks in retail contexts. Inf. Manag. 2015, 52, 692–709. [Google Scholar] [CrossRef]
  31. National Health and Family Planning Commission of PRC & The Ministry of Agriculture of the People’s Republic of China. National Food Safety Standard-Maximum Residue Limits for Pesticides in Food; Standards Press: Beijing, China, 2014. [Google Scholar]
  32. Li, Y.; Zhang, J.; Li, T.; Liu, H.G.; Li, J.Q.; Wang, Y.Z. Geographical traceability of wild boletus edulis based on data fusion of FT-MIR and ICP-AES coupled with data mining methods (SVM). Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2017, 177, 20–27. [Google Scholar] [CrossRef]
  33. Cheng, Y.; Ying, X. Research and improvement of apriori algorithm for association rules. In Proceedings of the 2010 2nd International Workshop on Intelligent Systems and Applications, Wuhan, China, 22–23 May 2010. [Google Scholar] [CrossRef]
  34. Benatia, M.A.; Baudry, D.; Louis, A. Detecting counterfeit products by means of frequent pattern mining. J. Ambient Intell. Humaniz. Comput. 2020; in press. [Google Scholar] [CrossRef]
  35. Pang, G.F.; Shen, S.G.; Chang, Q.Y.; Liang, S.X.; Xu, J.Z.; Fan, C.L.; Bai, R.B.; Cao, Y.Z.; Chen, H.; Chen, Y.; et al. Research on Monitoring, Risk Assessment and Traceability Technology of Pesticide Residues in Edible Agricultural Products; Science Press: Beijing, China, 2018; pp. 1–73. [Google Scholar]
  36. Al-Marshadi, A.H.; Aslam, M. Statistical analysis for food quality in the presence of vague information. J. Food Qual. 2021, 2021, 5. [Google Scholar] [CrossRef]
  37. Aslam, M.; Albassam, M. Application of neutrosophic logic to evaluate correlation between prostate cancer mortality and dietary fat assumption. Symmetry 2019, 11, 330. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Framework of intelligent analysis system for Pesticide residue detection data.
Figure 1. Framework of intelligent analysis system for Pesticide residue detection data.
Foods 11 00780 g001
Figure 2. (a) Classification hierarchy of Chinese agricultural products and (b) geographical hierarchy of China.
Figure 2. (a) Classification hierarchy of Chinese agricultural products and (b) geographical hierarchy of China.
Foods 11 00780 g002
Figure 3. Template of analysis report of pesticide residue detection results.
Figure 3. Template of analysis report of pesticide residue detection results.
Foods 11 00780 g003
Figure 4. Detected rate of pesticide residues ( D R a r e a ) and exceeding MRL rate of pesticide residue ( E R a r e a ) in each sampling city.
Figure 4. Detected rate of pesticide residues ( D R a r e a ) and exceeding MRL rate of pesticide residue ( E R a r e a ) in each sampling city.
Foods 11 00780 g004
Figure 5. Detected rate of pesticide residues ( D R a p ) and exceeding MRL rate of pesticide residue ( E R a p ) in each agricultural product.
Figure 5. Detected rate of pesticide residues ( D R a p ) and exceeding MRL rate of pesticide residue ( E R a p ) in each agricultural product.
Foods 11 00780 g005
Figure 6. Top 20 pesticides in times detected ( D T p c ) and times of exceeding MRL ( E T p c ).
Figure 6. Top 20 pesticides in times detected ( D T p c ) and times of exceeding MRL ( E T p c ).
Foods 11 00780 g006
Figure 7. Function percentage ( P f u n c ) and toxicity level percentage ( P t o x ) in detected pesticides.
Figure 7. Function percentage ( P f u n c ) and toxicity level percentage ( P t o x ) in detected pesticides.
Foods 11 00780 g007
Table 1. Main properties of six databases.
Table 1. Main properties of six databases.
Detection Result DatabaseMRL Standard DatabasePesticide Info DatabaseClassified Agri-Product DatabaseHierarchical Geographic DatabasePre-Warning Rule Database
Sampling timePesticide namePesticide nameSample nameSampling pointAntecedent of the rule
Sampling pointAgri-product
or category
CAS IDPrimary level
category
Geographical regionSubsequent of the rule
Sample nameMRL valueCompositionSecondary level
category
Provincial levelSupport
Pesticide nameEffective timeFunctionTertiary level
category
Prefecture levelConfidence
Content of residueExpiration time Toxicity County levelCreate time
Table 2. Rule of residue level determination.
Table 2. Rule of residue level determination.
Residue LevelCondition
QualifiedNot detectedc 1 = 0
Level 10 ≤ c ≤ 0.1 × MRL
Level 20.1 × MRL ≤ c ≤ 1 × MRL
UnqualifiedLevel 3c ≥ 1 × MRL
1 c represents the content of pesticide residue.
Table 3. Statistical indicators and calculation methods.
Table 3. Statistical indicators and calculation methods.
AspectStatistical IndicatorsCalculation MethodsVariable Description
Sampling area(I) D R a r e a , the pesticide residue detection rate in each sampling area;
(II) E R a r e a , the pesticide residue exceeding the MRL rate in each sampling area.
D R a r e a _ i = j = 1 m i d i j m i (1) E R a r e a _ i = j = 1 m i e i j m i   (2)
d i j = 0   , c i j = 0 1   ,   c i j > 0   (3)
e i j = 0 , c i j M R L 1 , c i j > M R L (4)
D R a r e a _ i   is the D R a r e a in the i th sampling area;
E R a r e a _ i   is the E R a r e a in the i th sampling area;
c i j   is the j th pesticide content detection value in the i th sampling area;
m i   is the total detection frequency of the i th sampling area;
i = 1,2,3, …, M (Total of M areas were sampled).
Agricultural Products(III)   D R a p , the pesticide residues detection rate in various agricultural products;
(IV)   E R a p , the pesticide residue exceeding the MRL rate in various agricultural products.
D R a p _ i = j = 1 n i d i j n i (5)
E R a p _ i = j = 1 n i e i j n i (6)
D R a p _ i is the D R a p   of the i th agricultural product.
E R a p _ i is the E R a p   of the i th agricultural product.
d i j and e i j are obtained from Equations (3) and (4), respectively, where c i j is the j th pesticide content detection value of the i th agricultural product.
n i is the total detection frequency of the i th agricultural product.
i = 1,2,3, …, N (the total of N agricultural products detected).
Pesticides(V) D T p c , the total frequency of various pesticides detected;
(VI) E T p c , the total frequency of exceeding MRL.
D T p c _ i = j = 1 x i d i j (7)

E T p c _ i = j = 1 x i e i j (8)
D T p c _ i is the D T p c   of the i th pesticide.
E T p c _ i is the E T p c   of the i th pesticide.
d i j and e i j are obtained from Equations (3) and (4), respectively, where c i j is the pesticide content detection value of the i th pesticide at the j th time.
i = 1,2,3, …, X (Total of X times were detected).
(VII)   P f u n c , percentage of pesticides detected belonging to each function;
(VIII) P t o x , percentage of pesticides detected belonging to each toxicity level.
P f u n c _ i = s i y × 100 %   (9)
P t o x _ j = t j y × 100 % (10)
P f u n c _ i is the   P f u n c   of the i th function.
P t o x _ j   is the P t o x   of the j th toxicity level.
s i is the number of pesticide species belonging to the i th function, i = 1,2,3, ..., S ( S functions of the detected pesticides are considered).
t j is the number of pesticide species belonging to the j th toxicity level, j = 1,2,3, ..., T ( T toxicity levels of the pesticides detected are considered).
y is the number of pesticide species.
Table 4. Data records (partially) in DRDB.
Table 4. Data records (partially) in DRDB.
Sampling TimeAgricultural
Product Name
Sampling AreaPesticide NameContent of Residue
(µg/kg)
MRL
(µg/kg)
2015-03-08appleTianjinetofenprox0.00520.6
2014-03-11leekXiningterbufos0.00230.01
2013-08-06potatoShenyangpharate0.00130.01
2012-07-30cucumberBeijingmetalaxyl0.0010.5
2012-07-30appleBeijingpyrimethanil0.0017
Table 5. Records (partially) for association rule mining.
Table 5. Records (partially) for association rule mining.
No.Sampling AreaAgricultural ProductPesticideChemical CompositionToxicity LevelFunction
1HaerbingcelerynitrofenorganochlorinelowHerbicide
2ChangshacarrotphorateorganophosphorussevereInsecticide
3ChangshacelerycarbofurancarbamateshighInsecticide
4Beijingstrawberrydimethomorphorganic nitrogenlowFungicide
5Beijingleekcarbendazimorganic nitrogenlowFungicide
6Hefeiromaine lettucedaminozideotherlowPlant growth regulator
Table 6. First 5 interesting strong association rules.
Table 6. First 5 interesting strong association rules.
No.RuleSupportConfidence
1Sampling area = Zhengzhou + toxicity = high function = insecticide0.061.0
2Chemical component = Carbamates + agricultural product = beens function = insecticide + toxicity = high0.061.0
3Toxicity = severe + agricultural product = celery function = insecticide0.0491.0
4Toxicity = severe + agricultural product = leek function = insecticide0.0421.0
5Agricultural product = carrot pestcide = phorate + sampling area = Guangzhou0.0350.95
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chen, Y.; Dou, H.; Chang, Q.; Fan, C. PRIAS: An Intelligent Analysis System for Pesticide Residue Detection Data and Its Application in Food Safety Supervision. Foods 2022, 11, 780. https://doi.org/10.3390/foods11060780

AMA Style

Chen Y, Dou H, Chang Q, Fan C. PRIAS: An Intelligent Analysis System for Pesticide Residue Detection Data and Its Application in Food Safety Supervision. Foods. 2022; 11(6):780. https://doi.org/10.3390/foods11060780

Chicago/Turabian Style

Chen, Yi, Haifeng Dou, Qiaoying Chang, and Chunlin Fan. 2022. "PRIAS: An Intelligent Analysis System for Pesticide Residue Detection Data and Its Application in Food Safety Supervision" Foods 11, no. 6: 780. https://doi.org/10.3390/foods11060780

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop