A dynamic grading method for cadmium pollution in rice fields

By constructing a hierarchical chain-like heterogeneous graph structure for multi-source data fusion and an inverse optimization algorithm, the problems of disconnect between soil classification and rice quality, classification results and policy implementation, and classification boundaries and control chains in the classification method for cadmium pollution in paddy fields were solved. This enabled targeted and precise control of cadmium pollution in paddy fields, reduced management costs, and improved the applicability and efficiency of classification results and control.

CN123180640APending Publication Date: 2026-11-27RURAL ENERGY & ENVIRONMENT AGENCY MINISTRY OF AGRI & RURAL AFFAIRS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611508383.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-28
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing methods for classifying cadmium pollution in paddy fields suffer from problems such as a disconnect between soil classification and rice quality, a disconnect between classification results and appropriate policy implementation, and a disconnect between classification boundaries and the control chain. This results in a lack of targeting, precision, and applicability in the management and control of cadmium pollution in paddy fields.

Method used

A hierarchical chain-like heterogeneous graph structure for multi-source data fusion is constructed. By embedding graph convolutional networks with control threshold constraint parameters and combining them with an inverse optimization algorithm, dynamic hierarchical boundaries are determined, and a step-by-step control scheme is output. Combined with the diagnostic results of cadmium enrichment driving factors, collaborative control measures are provided.

Benefits of technology

This approach achieves targeted and precise classification of cadmium pollution in paddy fields, improves the applicability of the classification results and the implementation of control measures, reduces the technical threshold and administrative costs for grassroots management, and enhances the efficiency of soil pollution control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180640A_ABST
    Figure CN123180640A_ABST
Patent Text Reader

Abstract

The present application relates to a kind of rice field cadmium pollution dynamic grading method, by constructing basic database, and be abstracted as constraint layer-measures layer-environment layer three-level chain heterogeneous graph structure, constraint signal is mediated by control measure node and is passed to environmental factor node;Rice cadmium enrichment prediction based on graph convolution network constraint embedding;With the technical parameter constraint of control measure as grading boundary constraint condition, dynamic grading interval composed of conservative boundary and loose boundary is determined by reverse optimization, and risk preference factor is mapped into field block demarcation threshold;Accordingly, rice field gradient is divided into multiple control levels and the grading control scheme is output.The present application can realize the accurate dynamic grading of rice field cadmium pollution, and the grading result is directly linked with control measure, significantly reduces the regional control cost under the same food safety standard rate, and improves the landing of grading scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of agricultural resources and environmental information technology, and in particular, it is a dynamic classification method for cadmium pollution in paddy fields. Background Technology

[0002] Cadmium (Cd) is a highly toxic heavy metal element characterized by its easy migration, accumulation, and difficulty in degradation. In some rice-growing areas, cadmium pollution in paddy soil exists due to factors such as industrial and mining activities, wastewater irrigation, and the application of chemical fertilizers and pesticides. Cadmium is readily absorbed by rice roots and translocated to the grains, making rice the primary source of cadmium intake for Chinese residents. Long-term consumption of rice with excessive cadmium levels seriously threatens food safety and public health. Therefore, scientifically classifying and implementing categorized management of cadmium pollution in paddy fields is an urgent need to ensure the quality and safety of agricultural products and promote green agricultural development. It is also a crucial focus for the government in fulfilling its public service functions of soil pollution prevention and control and agricultural product quality supervision.

[0003] Existing methods for classifying cadmium pollution in paddy fields mainly fall into the following categories: The first category is the threshold method based on national standards, which measures the cadmium content in the soil or rice and directly compares it to the standard limits to classify the category. This is currently the most widely used method in practice. For example, according to GB 15618, agricultural land is divided into priority protection, safe utilization, and strict control categories. The second category is the spatial interpolation method, which uses limited sampling point data and employs methods such as Kriging interpolation and inverse distance weighting to expand the spatial area and generate a regional-scale pollution classification distribution map. The third category is the machine learning prediction method, which uses environmental factors such as soil pH, organic matter, and cation exchange capacity to build a prediction model to indirectly estimate the cadmium content in rice and classify it. Commonly used models include random forests, support vector machines, and artificial neural networks. In recent years, some studies have attempted to apply graph neural network (GNN) technology to predict soil heavy metal content, improving prediction accuracy by capturing the correlations between environmental factors. However, existing methods for classifying and controlling cadmium pollution in paddy fields mainly have the following three problems: (1) Soil grading is disconnected from rice quality, and the grading criteria lack specificity. Current grading methods mainly rely on comparing soil cadmium content and pH value with national standard thresholds, which is a static model of determining grading based on soil conditions. However, the same soil cadmium content can result in rice cadmium enrichment levels that vary by several times under different field conditions (such as differences in organic matter, iron and manganese oxides, and water management). Pollution levels determined solely by soil indicators lead to over-control in some areas, increasing unnecessary costs, while insufficient control in other areas still poses food safety risks.

[0004] (2) The grading results are disconnected from the classified measures, and the control lacks precision. The existing grading can only provide a binary judgment or a rough grade, which cannot reveal the internal driving mechanism of cadmium exceeding the standard in paddy fields, nor can it distinguish whether the exceedance is caused by low pH, insufficient iron and manganese oxides, or improper water management. It cannot support the control needs of classified measures and precise pollution control. There is no corresponding relationship between the grading results and specific control measures, which makes it difficult to directly guide field management practices.

[0005] (3) The grading boundaries are disconnected from the control chain, and the threshold setting lacks embedded constraints. The control of cadmium pollution in paddy fields is a multi-level chain, from conventional agronomic regulation to the replacement of low-accumulation varieties, and then to passivation remediation. Each level of measures has its applicable cadmium pollution range and corresponding upper limit of control intensity. The existing grading standards adopt a nationally unified fixed threshold, which does not establish an inherent correlation between the grading boundaries and the technical parameters of control measures. This often leads to the dilemma that the grading scheme is technically inapplicable or the control intensity cannot be achieved when it is actually implemented. The control conditions vary greatly in different regions, and a unified threshold is difficult to take into account the technical feasibility of each region.

[0006] (4) Although there are studies on applying graph neural networks to predict heavy metals in soil in the existing technology, the graph structures used are mostly homogeneous graphs or simple heterogeneous graphs composed of environmental factors. The nodes and edges lack hierarchical semantic division, and cannot embed the control constraints into the prediction process in a directional transmission manner. As a result, the prediction model can only reflect the correlation between environmental factors and cannot reflect the causal control chain between "constraint-measures-environment". Summary of the Invention

[0007] The purpose of this invention is to overcome the shortcomings of existing technologies and propose a dynamic classification method for cadmium pollution in paddy fields, which can solve three major technical problems in existing technologies: the disconnect between soil classification and rice quality, the disconnect between classification results and classification-based policies, and the disconnect between classification boundaries and control chains.

[0008] The technical problem solved by this invention is achieved through the following technical solution: A dynamic classification method for cadmium pollution in paddy fields includes the following steps: Step 1: Construct a hierarchical management and control basic database for multi-source data fusion, and construct the multi-source data into a hierarchical chain-like heterogeneous graph structure; Step 2: The control threshold constraint parameters in the hierarchical chain heterogeneous graph structure are transmitted to the control measure nodes as limiting signals, and the environmental factor nodes are further modulated through the mediation effect of the control measure nodes, so that the output prediction results meet the upper limit requirements of the regional control parameters. Step 3: Dynamic boundary optimization based on the lower-level loss constraint of the upper-level boundary. The technical parameter constraints of the lower-level measures in the control chain are used as the constraints of the higher-level grading boundary. Under the premise of fixed soil background environmental characteristics, only the intensity of control measures is used as a variable. The inverse optimization algorithm is used to determine the grading boundary. The output is a dynamic grading interval composed of conservative boundary and lenient boundary. The risk preference factor set by the manager is introduced to map the dynamic grading interval to a uniquely determined field demarcation threshold. Step 4: Output of tiered hierarchical management and control scheme and active sampling optimization. Based on the determined field demarcation threshold, the target paddy field area is divided into four levels: priority protection zone, safety control zone, variety replacement zone, and strict control zone. For each level, a collaborative management and control scheme is output based on the diagnostic results of cadmium enrichment driving factors. At the same time, based on the prediction model, areas with ambiguous boundaries are identified, and the optimal location for supplementary sampling is recommended to the user.

[0009] Furthermore, the specific method of step 1 is as follows: collect soil environmental data, rice cadmium content data, spatial geographic data, agronomic management parameters, and management threshold constraint parameters of the target paddy field area to construct a basic database covering three dimensions: environmental background, management technology, and management intensity; abstract the multi-source data into a hierarchical chain-like heterogeneous graph structure, which consists of a constraint layer, a measure layer, and an environment layer, forming a three-level topology: the constraint layer contains constraint nodes, the measure layer contains management measure nodes, and the environment layer contains environmental factor nodes; constraint nodes and management measure nodes are connected through constraint edges, management measure nodes and environmental factor nodes are connected through regulatory action edges, and there is no direct connection between constraint nodes and environmental factor nodes, thus forming a directional three-level transmission path of constraint-measure-environment, with constraint signals transmitted to environmental factor nodes through the mediation of management measure nodes.

[0010] Moreover, the method for constructing the heterogeneous graph structure is as follows: the node set includes three types: environmental factor nodes, control measure nodes, and control threshold constraint nodes; the edge set includes three types: correlation edges between environmental factors, threshold constraint edges between control threshold constraint nodes and control measure nodes, and regulatory effect edges between control measure nodes and environmental factor nodes; the control threshold constraint nodes indirectly exert constraint influence on environmental factor nodes through control measure nodes as intermediaries.

[0011] Furthermore, the specific implementation method of step 2 is as follows: Step 2.1: The constraint suppression signal is issued by the constraint node and transmitted to the control measure node through the constraint edge. The higher the control strength of the control measure, the greater the degree of suppression of its activation value. Step 2.2: The updated control measure node applies multiplicative control to the environmental factor node through the control action edge, thereby reducing the representation weight of environmental factors associated with high-intensity control measures in the prediction.

[0012] Furthermore, the specific method for step 3 is as follows: Step 3.1: Set the control intensity constraints corresponding to the hierarchical boundaries; Step 3.2: Perform a binary iterative search within the range of cadmium content values, calculate the control cost corresponding to each search midpoint, and compare it with the cost constraint to update the search interval; Step 3.3: Use gradient information to accelerate search convergence and obtain the critical cadmium content value.

[0013] Step 3.4: Output the dynamic grading interval consisting of conservative and relaxed boundaries. The dynamic grading interval is generated using the Monte Carlo sampling method: sample multiple samples from the feature distribution, select samples that meet the control strength constraints to form a feasible set, calculate the low quantile of cadmium content in the feasible set as the conservative boundary, and the high quantile as the relaxed boundary to form the decision confidence interval.

[0014] Furthermore, the risk preference factor in step 3 ranges from [0,1], and the final grading threshold is determined by the formula... The calculation yielded, where To maintain the boundaries, The threshold is set to a loose boundary; the larger α is, the more conservative the management strategy and the stricter the grading threshold.

[0015] Moreover, the specific implementation method of the active sampling optimization in step 4 is as follows: based on the prediction confidence distribution of the graph convolutional network, identify areas with high prediction uncertainty near the classification boundary, and recommend the optimal geographical coordinates and number of samples for supplementary sampling to the user, so as to maximize the improvement of classification accuracy with limited sampling cost.

[0016] Furthermore, the four levels of control schemes in step 4 are as follows: (1) Priority protected areas: Maintain routine field management and conduct only periodic monitoring; (2) Safety control zone: adopt low-cost agronomic control measures, including precise watering, pH adjustment and organic matter control; (3) Variety replacement area: Select low-accumulation rice varieties and combine them with auxiliary agronomic control measures; (4) Strictly controlled areas: High-intensity passivation repair measures or adjustments to the planting structure are adopted.

[0017] Furthermore, in step 4, the diagnosis of cadmium enrichment driving factors is based on the functional community division results of the heterogeneous graph and the assessment of the contribution of intervention ablation, which identifies the dominant environmental factors of cadmium enrichment in each field and outputs targeted collaborative management and control plans accordingly.

[0018] The advantages and positive effects of this invention are: 1. A cadmium enrichment prediction mechanism based on heterogeneous graph constraint embedding was constructed, significantly improving the targeting accuracy of classification. Breaking away from the traditional static index model of "classification by soil", the constraint conditions are embedded into the graph convolution prediction network in a three-level directional transmission manner. This allows the prediction process to not only consider the correlation between soil environmental factors, but also to transmit the control constraint signals to the environmental layer through the measure layer. This achieves multi-factor coupling of "constraint-measure-environment" in rice cadmium enrichment prediction, so that the classification results directly correspond to the actual safety status and control feasibility of rice.

[0019] 2. A dynamic hierarchical mechanism of "constraining reverse determination of boundaries" was established, significantly improving the feasibility of the solution. An innovative approach was proposed to constrain the hierarchical boundary of the next higher level by using the loss of measures at the next lower level in the control chain. This embeds control intensity constraints into the entire optimization process, upgrading the hierarchical boundary from a static value to a dynamic deterministic threshold that adapts to regional control conditions.

[0020] 3. A clear tiered management chain truly achieves integrated "grading-diagnosis-implementation". A four-tiered progressive chain is established, from priority protection to strict control. Each level corresponds to a clear combination of control measures and a cost range, overcoming the bottleneck of traditional grading methods that only provide a grade without corresponding solutions in engineering applications. The grading results can directly guide field management practices. This significantly reduces the technical threshold and administrative costs for grassroots departments to develop solutions. Grassroots agricultural technology and environmental protection departments can directly rely on the grading results to match corresponding control plans, rapidly advancing field remediation work and significantly improving the efficiency and practical value of public services for soil pollution control.

[0021] 4. Introducing risk preference factors enhances management flexibility. By using a confidence interval comprised of conservative and lenient boundaries, combined with the risk preference factors set by managers, the level of stringency can be flexibly adjusted according to the risk management needs of different regions, balancing multiple objectives such as food safety and control feasibility. Attached Figure Description

[0022] Figure 1 This is a flowchart of the present invention. Detailed Implementation

[0023] The present invention will be further described in detail below with reference to the accompanying drawings.

[0024] Example 1 A dynamic classification method for cadmium pollution in paddy fields, such as Figure 1 As shown, it includes the following steps: Step 1: Construct a hierarchical management and control foundation database based on multi-source data fusion. Collect soil environmental data, rice cadmium content data, spatial geographic data, agronomic management parameters, and management threshold constraint parameters for the target paddy field area to construct a foundation database covering three dimensions: environmental background, management technology, and management intensity. Abstract the multi-source data into a heterogeneous graph with a three-level chain transmission structure. This heterogeneous graph differs from a conventional flat heterogeneous graph structure; instead, it is a hierarchical chain topology composed of a constraint layer, a measure layer, and an environment layer: Constraint layer: Contains constraint nodes, used to output management threshold signals; Measure layer: Contains management measure nodes, serving as an intermediary transmission layer; Environment layer: Contains environmental factor nodes, used to characterize soil physicochemical properties. The three layers are connected by cascaded directional edges. Constraint signals can only be transmitted unidirectionally from the constraint layer through the measure layer to the environment layer. There are no direct edges between constraint nodes and environmental factor nodes, thus forming a three-level directional transmission path of "constraint-measure-environment," ensuring that the constraint effect is strictly applied to environmental factors through the mediation of management measures.

[0025] The node set of the heterogeneous graph includes three categories: the feature vector of environmental factor nodes is the soil physicochemical observation value; the feature vector of control measure nodes includes the expected cadmium reduction effect and the duration of action; and the feature vector of control threshold constraint nodes includes the upper limit threshold of the parameters. The edge set includes three categories: correlation edges between environmental factors, threshold constraint edges between control threshold constraint nodes and control measure nodes, and regulatory effect edges between control measure nodes and environmental factor nodes. Through the graph structure definition, a three-level transmission path of "control threshold constraint - control measure - environmental factor" is formed.

[0026] It also includes heterogeneous graph sparsity pruning: a heterogeneous community detection algorithm based on metapaths is used to perform group evolution on heterogeneous graphs, and nodes with similar regulatory paths and functional roles are grouped into the same functional community; based on the contribution evaluation of intervention ablation, redundant edges with an absolute value of correlation coefficient less than 0.3 and ranking in the bottom 40% of causal contribution are removed, and the topological size of heterogeneous graphs is compressed to 30%-60% of the original size to improve the computational efficiency and generalization performance of the model.

[0027] Step 2: Establish a multi-factor coupled rice cadmium enrichment prediction model and constraint signal transmission. A graph convolutional network (GCN) is constructed for cadmium enrichment prediction. The control threshold constraint parameters are transmitted as limiting signals to the control measure nodes, and the environmental factor nodes are further modulated through the mediation effect of the control measure nodes, so that the output prediction results meet the upper limit requirements of the regional control parameters.

[0028] Constrained embedding of cadmium enrichment map convolutional network prediction specifically includes: (1) Environmental factor feature aggregation: The scaling dot product attention mechanism is used to perform weighted aggregation of the neighbor information of environmental factor nodes to capture the complex nonlinear relationship between environmental factors; (2) Constraint signal transmission: The constraint node sends a constraint suppression signal to update the activation value of the control measure node. The higher the control strength, the greater the degree of suppression of the control measure. (3) Multiplicative regulation: The updated control measure node applies multiplicative regulation to environmental physicochemical factors, which reduces the representation weight of environmental factors associated with high-intensity control measures in the prediction, and the prediction results naturally meet the control intensity constraints. (4) Finally, the cadmium concentration of rice grains is predicted by outputting the fully connected layer.

[0029] Step 3: Dynamic boundary optimization based on "lower-level loss constrains higher-level boundary". The technical parameter constraints of lower-level measures in the control chain are used as constraints of higher-level grading boundaries. Under the premise of fixed soil background environmental characteristics, only the intensity of control measures is used as a variable. The inverse optimization algorithm is used to determine the grading boundary. The output is a dynamic grading interval composed of conservative and lenient boundaries. The risk preference factor set by the manager is introduced to map the dynamic grading interval to a uniquely determined field demarcation threshold.

[0030] Dynamic boundary optimization specifically includes: (1) Set condition constraints: In the gradient binary search, fix the soil background environmental characteristics of the target area (such as pH and actual observed values ​​of organic matter), and only take the intensity of control measures (such as lime dosage and number of days of water incubation) as variable variables; (2) Binary search iteration: Calculate the control cost corresponding to the midpoint of the search, compare it with the upper limit of the parameters to update the upper and lower bounds of the search, and iterate until convergence; (3) Deterministic threshold mapping: A feasible set is generated by Monte Carlo sampling. The 5% quantile of cadmium content in the feasible set is used as a conservative boundary and the 95% quantile is used as a relaxed boundary to form a decision confidence interval. The manager risk preference factor α∈[0,1] is introduced, and a uniquely determined field boundary threshold is derived by linear weighting.

[0031] Step 4: Output of Tiered Management and Control Scheme and Active Sampling Optimization. Based on the determined field boundary thresholds, the target paddy field area is tiered into four levels: priority protection zone, safety control zone, variety replacement zone, and strict control zone. For each level, a collaborative management and control scheme is output based on the diagnostic results of cadmium enrichment driving factors. Simultaneously, based on the predictive model, areas with ambiguous boundaries are identified, and the optimal location for supplementary sampling is recommended to the user to improve the tiering accuracy with limited sampling costs.

[0032] Active sampling optimization specifically involves identifying ambiguous areas with high prediction uncertainty near the classification boundary based on the current network's prediction confidence distribution, recommending the optimal geographic coordinates for supplementary sampling to the user, and maximizing the improvement of classification accuracy with minimal sampling cost.

[0033] Example 2 Based on the aforementioned dynamic classification method for cadmium pollution in paddy fields, this embodiment uses 12,000 mu (approximately 800 hectares) of paddy fields in a typical agro-mining complex county in southern my country as the research object to verify the effectiveness and superiority of the dynamic classification method for cadmium pollution in paddy fields described in this invention. This region, affected by historical industrial and mining activities, has a prominent problem of excessive cadmium levels in paddy field soil, making it a typical representative area.

[0034] Step 1: Multi-source data acquisition and basic database construction Six hundred monitoring sampling points were set up within the target area at a density of approximately 20 mu / point. Soil surface (0–20 cm) samples and corresponding rice samples were collected at the rice maturity stage. Soil sample parameters included pH value, total cadmium content, organic matter (SOM) content, available cadmium content, and cation exchange capacity; rice sample grain cadmium content was measured.

[0035] At the same time, input parameters for agronomic management measures and control threshold constraints, including: lime application cost of 150 yuan / mu, flood management cost of 50 yuan / mu, yield loss rate of low-accumulation variety replacement ≤5%, and upper limit of average cost per mu for passivation repair, etc.

[0036] The aforementioned multi-source data is abstracted into a three-level chain-like heterogeneous graph structure. The node set includes environmental factor nodes, control measure nodes, and control threshold constraint nodes, while the edge set includes environmental factor-related edges, threshold constraint edges, and regulatory effect edges. A meta-path-based heterogeneous community detection algorithm is used to perform group evolution on the heterogeneous graph. An intervention-based ablation method is used to calculate the contribution of each edge to the prediction performance, eliminating redundant edges and weak nodes. After sparsity pruning, the number of nodes in the heterogeneous graph is compressed from the original 2400 to 960, a compression rate of 40%, significantly improving the computational efficiency of graph convolution.

[0037] Step 2: Validation of the Constrained Embedding Cadmium Enrichment Prediction Model The 600 sample points were randomly divided into a training set (480 points) and a test set (120 points) at an 8:2 ratio. The constrained embedding heterogeneous graph convolutional network described in this invention was compared with traditional random forest, conventional graph convolutional network (GCN), and traditional "soil-based grading" static threshold method (according to GB 15618). The prediction accuracy and grading accuracy of each method were evaluated based on the measured cadmium value of rice in the test set. The results are shown in Table 1.

[0038] Table 1 Comparison of prediction accuracy and grading accuracy of different methods for cadmium in rice

[0039] As shown in Table 1, the coefficient of determination R for predicting cadmium in rice using the method of this invention is... 2The accuracy reached 0.91, with a root mean square error of only 0.038 mg / kg, and a classification accuracy of 94.3%, which is 25.8 percentage points higher than the traditional static threshold method, 13.1 percentage points higher than the random forest method, and 8.7 percentage points higher than the conventional GCN method. The results indicate that the three-level chain heterogeneous graph structure and constrained embedding mechanism effectively improved the accuracy of cadmium enrichment prediction and classification in rice.

[0040] Step 3: Dynamic Boundary Optimization and Risk Preference Mapping Set the upper limit C of agronomic control parameters in the safe control zone. agri =200 yuan / mu. Using actual observed values ​​of the soil background environmental characteristics in the fixed study area, and taking only the intensity of control measures as a variable, a gradient-guided binary search algorithm was used for inverse optimization. A feasible set was generated through Monte Carlo sampling (1000 sampling times). The 5th percentile of cadmium content in rice within the feasible set was calculated as a conservative boundary, and the 95th percentile as a relaxed boundary, yielding a dynamic graded confidence interval between the safe control zone and the variety replacement zone. ) Based on local fiscal budget and risk prevention requirements, the manager sets a risk preference factor α = 0.6. According to the formula described in claim 7 of this invention: Substituting the numerical values, the final field boundary threshold is obtained: Similarly, using the upper limit of yield loss due to the replacement of low-accumulation varieties as a constraint, the boundary threshold between the variety replacement zone and the strictly controlled zone is found to be 0.35 mg / kg (rice Cd) through reverse optimization.

[0041] Step 4: Output and Cost-Benefit Assessment of the Tiered Management and Control Plan Based on the established grading thresholds, the 12,000 mu of paddy fields were divided into four management levels, and corresponding management plans were output for each level. The grading results and management benefits are shown in Table 2.

[0042] Table 2 Comparison of Dynamic Hierarchy Results and Control Benefits in Implementation Areas

[0043] Table 2 shows that the actual average cost per mu (unit of land area) for the safety control zone was 180 yuan / mu, which is lower than the set upper limit of 200 yuan / mu for agronomic control parameters, verifying the effectiveness of the constraint embedding mechanism. Based on area-weighted calculations, the overall rice safety compliance rate in the region was 97.2%, with a total annual control cost of 2.049 million yuan.

[0044] A comparative analysis using the traditional static grading scheme revealed that, due to its reliance solely on soil cadmium content and pH thresholds for grading, and its inability to consider the upper limit of cadmium reduction effects of agronomical measures, 5,500 mu of soil were designated as strictly controlled areas, resulting in a total regional control cost of 3.7 million yuan. However, by employing the dynamic optimization method described in this invention, which uses "lower-level loss constraining higher-level boundary," the total regional control cost was reduced to 2.049 million yuan, while maintaining an overall rice safety compliance rate of 97.2%, representing a saving of approximately 44.6% compared to the traditional scheme. This achieved precise cost reduction and efficiency improvement.

[0045] Step 5: Active Sampling Optimization and Verification Constrained Embedded Graph Convolutional Prediction Model Based on the distribution of prediction confidence, a fuzzy prediction zone of approximately 86 acres (prediction uncertainty > 0.15) was identified near the boundary between the safety control zone and the variety replacement zone. The model recommends that users supplement the sampling with 43 points (approximately 20 acres / point) within this fuzzy zone, prioritizing the areas with the lowest prediction confidence.

[0046] After supplementary sampling, the newly added data was incorporated into the model for retraining, improving the overall classification accuracy from 94.3% to 96.7%, and reducing the area of ​​the blurred boundary region to 210 acres. Compared with the strategy of uniformly and randomly sampling 43 points, the active sampling recommendation strategy of this invention improves classification accuracy by approximately 2.1 times, verifying the effectiveness of the active sampling optimization module in maximizing classification accuracy under limited sampling costs.

[0047] It should be emphasized that the embodiments described in this invention are illustrative rather than limiting. Therefore, this invention includes, but is not limited to, the embodiments described in the specific implementation. Any other implementations derived by those skilled in the art based on the technical solutions of this invention are also within the scope of protection of this invention.

Claims

1. A method for dynamic classification of cadmium pollution in paddy fields, characterized in that: Includes the following steps: Step 1: Construct a hierarchical management and control basic database for multi-source data fusion, and construct the multi-source data into a hierarchical chain-like heterogeneous graph structure; Step 2: The control threshold constraint parameters in the hierarchical chain heterogeneous graph structure are transmitted to the control measure nodes as limiting signals, and the environmental factor nodes are further modulated through the mediation effect of the control measure nodes, so that the output prediction results meet the upper limit requirements of the regional control parameters. Step 3: Dynamic boundary optimization based on the lower-level loss constraint of the upper-level boundary. The technical parameter constraints of the lower-level measures in the control chain are used as the constraints of the higher-level grading boundary. Under the premise of fixed soil background environmental characteristics, only the intensity of control measures is used as a variable. The inverse optimization algorithm is used to determine the grading boundary. The output is a dynamic grading interval composed of conservative boundary and lenient boundary. The risk preference factor set by the manager is introduced to map the dynamic grading interval to a uniquely determined field demarcation threshold. Step 4: Output of tiered hierarchical management and control scheme and active sampling optimization. Based on the determined field demarcation threshold, the target paddy field area is divided into four levels: priority protection zone, safety control zone, variety replacement zone, and strict control zone. For each level, a collaborative management and control scheme is output based on the diagnostic results of cadmium enrichment driving factors. At the same time, based on the prediction model, areas with ambiguous boundaries are identified, and the optimal location for supplementary sampling is recommended to the user.

2. The method for dynamic classification of cadmium pollution in paddy fields according to claim 1, characterized in that: The specific method of step 1 is as follows: collect soil environmental data, rice cadmium content data, spatial geographic data, agronomic management parameters, and management threshold constraint parameters of the target paddy field area to construct a basic database covering three dimensions: environmental background, management technology, and management intensity; abstract the multi-source data into a hierarchical chain-like heterogeneous graph structure. The heterogeneous graph consists of a constraint layer, a measure layer, and an environment layer, forming a three-level topology: the constraint layer contains constraint nodes, the measure layer contains management measure nodes, and the environment layer contains environmental factor nodes; constraint nodes and management measure nodes are connected through constraint edges, management measure nodes and environmental factor nodes are connected through regulatory action edges, and there is no direct connection between constraint nodes and environmental factor nodes, thus forming a directional three-level transmission path of constraint-measure-environment, with constraint signals transmitted to environmental factor nodes through the mediation of management measure nodes.

3. The method for dynamic classification of cadmium pollution in paddy fields according to claim 2, characterized in that: The method for constructing the heterogeneous graph structure is as follows: the node set includes three types: environmental factor nodes, control measure nodes, and control threshold constraint nodes; the edge set includes three types: correlation edges between environmental factors, threshold constraint edges between control threshold constraint nodes and control measure nodes, and regulatory effect edges between control measure nodes and environmental factor nodes; the control threshold constraint nodes indirectly exert constraint influence on environmental factor nodes through control measure nodes as intermediaries.

4. The method for dynamic classification of cadmium pollution in paddy fields according to claim 1, characterized in that: The specific implementation method of step 2 is as follows: Step 2.1: The constraint suppression signal is issued by the constraint node and transmitted to the control measure node through the constraint edge. The higher the control strength of the control measure, the greater the degree of suppression of its activation value. Step 2.2: The updated control measure node applies multiplicative control to the environmental factor node through the control action edge, thereby reducing the representation weight of environmental factors associated with high-intensity control measures in the prediction.

5. The method for dynamic classification of cadmium pollution in paddy fields according to claim 1, characterized in that: The specific method for step 3 is as follows: Step 3.1: Set the control intensity constraints corresponding to the hierarchical boundaries; Step 3.2: Perform a binary iterative search within the range of cadmium content values, calculate the control cost corresponding to each search midpoint, and compare it with the cost constraint to update the search interval; Step 3.3: Use gradient information to accelerate search convergence and obtain the critical cadmium content value. Step 3.4: Output the dynamic grading interval consisting of conservative and relaxed boundaries. The dynamic grading interval is generated using the Monte Carlo sampling method: sample multiple samples from the feature distribution, select samples that meet the control strength constraints to form a feasible set, calculate the low quantile of cadmium content in the feasible set as the conservative boundary, and the high quantile as the relaxed boundary to form the decision confidence interval.

6. The method for dynamic classification of cadmium pollution in paddy fields according to claim 1, characterized in that: In step 3, the risk preference factor ranges from [0,1], and the final grading threshold is determined by the formula. The calculation yielded, where To maintain the boundaries, The threshold is set to a loose boundary; the larger α is, the more conservative the management strategy and the stricter the grading threshold.

7. The method for dynamic classification of cadmium pollution in paddy fields according to claim 1, characterized in that: The specific implementation method of active sampling optimization in step 4 is as follows: based on the prediction confidence distribution of graph convolutional networks, identify areas with high prediction uncertainty near the classification boundary, and recommend the optimal geographical coordinates and number of samples for supplementary sampling to the user, so as to maximize the improvement of classification accuracy with limited sampling cost.

8. The method for dynamic classification of cadmium pollution in paddy fields according to claim 1, characterized in that: The four levels of control schemes in step 4 are as follows: (1) Priority protected areas: Maintain routine field management and conduct only periodic monitoring; (2) Safety control zone: adopt low-cost agronomic control measures, including precise watering, pH adjustment and organic matter control; (3) Variety replacement area: Select low-accumulation rice varieties and combine them with auxiliary agronomic control measures; (4) Strictly controlled areas: High-intensity passivation repair measures or adjustments to the planting structure are adopted.

9. The method for dynamic classification of cadmium pollution in paddy fields according to claim 1, characterized in that: In step 4, the diagnosis of cadmium enrichment driving factors is based on the functional community division results of the heterogeneous graph and the assessment of the contribution of intervention ablation, to identify the dominant environmental factors of cadmium enrichment in each field, and to output targeted collaborative management and control plans accordingly.