A chemical safety risk closed-loop troubleshooting method and system for experiments

By integrating multimodal features and pre-trained models from multi-source monitoring information, and combining them with reinforcement learning optimization schemes, the problems of insufficient real-time response and identification accuracy in chemical risk screening have been solved. This has enabled closed-loop monitoring and efficient handling of chemical safety risks, and improved the system's adaptability and reliability.

CN123180715APending Publication Date: 2026-11-27SICHUAN CHEM QUALITY & SAFETY INSPECTION RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611082347.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2025-12-11
Filing Date
2026-07-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing chemical risk assessment methods suffer from problems such as inability to respond to environmental changes in real time, insufficient identification accuracy, lack of closed-loop verification, and data fragmentation, resulting in low efficiency and poor effectiveness in risk assessment.

Method used

By integrating multimodal features from multi-source monitoring information, a pre-trained risk identification model is used for risk assessment and classification. Combined with reinforcement learning optimization schemes, a closed-loop monitoring, identification, processing, and verification of chemical safety risks can be achieved.

Benefits of technology

It enables accurate identification, rapid response, and efficient handling of chemical safety risks, ensuring the accuracy of risk identification and the adaptability of the system. Through continuous iterative optimization of the dataset, the reliability of the investigation system has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180715A_ABST
    Figure CN123180715A_ABST
Patent Text Reader

Abstract

The application discloses a chemical safety risk closed-loop investigation method and system for experiments, which maps multi-source monitoring data of a target scene into specific real-time risk points and performs hierarchical risk assessment by taking multi-modal features in multi-source monitoring information as the basis for investigating risks, obtains an accurate risk classification report, further verifies risk processing results, and periodically uses an optimized data set to perform reinforcement learning on the whole process and execute investigation optimization schemes, thereby realizing closed-loop management and control of experimental chemical safety risk monitoring, identification, processing, verification and optimization, and having the beneficial effects of accurate risk identification, efficient disposal response, continuous iterative optimization and strong safety controllability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of chemical experiment safety management technology, and in particular to a method and system for closed-loop investigation of chemical safety risks in experiments. Background Technology

[0002] In existing technologies, risk assessment of scenarios involving chemicals is usually conducted manually or by relying on a single sensor / monitoring video.

[0003] Periodic risk assessments conducted manually have limitations, including an inability to respond in real time to environmental changes and dynamic equipment loads, and low efficiency. While automated risk assessment methods using single sensors or monitoring videos can increase monitoring frequency and improve assessment effectiveness to some extent, they often rely on simple data splicing or independent analysis, resulting in insufficient accuracy in risk identification. Furthermore, existing automated risk assessment methods often stop at risk alarms, lacking closed-loop verification of response effectiveness, and the data is scattered across multiple independent systems, making self-optimization based on the data difficult. Summary of the Invention

[0004] The main objective of this application is to provide a closed-loop method and system for investigating chemical safety risks in experiments. The method integrates multimodal features from multi-source monitoring information as the basis for risk investigation, maps multi-source monitoring data of the target scenario to specific real-time risk points, and performs hierarchical risk assessment to obtain an accurate risk classification report. The method further verifies the risk treatment results and periodically uses optimized datasets to perform reinforcement learning on the entire process and execute the investigation optimization plan. This achieves closed-loop control of experimental chemical safety risk monitoring, identification, treatment, verification, and optimization, and has the beneficial effects of accurate risk identification, efficient response, continuous iterative optimization, and strong safety controllability.

[0005] To achieve the above objectives, this application proposes a closed-loop method for identifying chemical safety risks in experiments, comprising the following steps:

[0006] Collect multi-source monitoring data of the target scene and preprocess it to obtain multi-source monitoring information with multimodal attributes;

[0007] A pre-trained risk identification model is used to extract multimodal features from multi-source monitoring information according to modality type and fuse them to obtain global features. Based on a preset risk mapping table, the global features are mapped to a real-time risk point list of the target scene.

[0008] Based on the real-time risk point list, a risk assessment is conducted on the target scenario, a risk classification report is obtained, and the report is sent to the corresponding risk processing unit.

[0009] Obtain the risk handling results from the risk handling unit, verify the handling effect of the risk handling results, and obtain a risk investigation effect verification report.

[0010] Store multi-source monitoring information, real-time risk point list, risk classification report and risk investigation effect verification report to the optimization dataset. According to the preset first optimization cycle, use the optimization dataset for reinforcement learning to obtain the investigation and optimization plan for the target scenario and execute it.

[0011] In one embodiment, the method for collecting and preprocessing multi-source monitoring data of a target scene to obtain multi-source monitoring information with multi-modal attributes includes:

[0012] Obtain information on the use of experimental materials in the target scenario, and obtain a list of potential risks of experimental materials in the target scenario based on a pre-set experimental material association table;

[0013] Based on the potential risk list of experimental materials, obtain the corresponding static baseline data of the experimental materials, and configure the acquisition equipment for the experimental materials and collect dynamic monitoring data.

[0014] Static baseline data is preprocessed to obtain static baseline information. In addition, dynamic monitoring data is preprocessed according to the modal type to obtain dynamic monitoring information sequence and monitoring data quality report.

[0015] The static benchmark information, the dynamic monitoring information sequence, and the monitoring data quality report are used as the multi-source monitoring information with multimodal attributes.

[0016] In one embodiment, a method for using a pre-trained risk identification model to extract multimodal features from multi-source monitoring information according to modality type and fuse them to obtain global features, and then mapping the global features to a real-time risk point list of the target scene according to a preset risk mapping table, includes:

[0017] Input multi-source monitoring information into a pre-trained risk identification model;

[0018] Visual modal features or infrared modal features are extracted from multi-source monitoring information as first modal features; sound modal features and RFID modal features are extracted from multi-source monitoring information as second modal features; and environmental modal features and experimental equipment modal features are extracted from multi-source monitoring information as third modal features.

[0019] By using the cross-attention network in the risk identification model, the first dimensionality matching and the first attention calculation are performed based on the first modality features and the second modality features to obtain the fused modality features;

[0020] By using a cross-attention network, modal features and third-modal features are fused to perform a second dimension matching and a second attention calculation to obtain global features;

[0021] Based on the risk point labels and risk dimensions of the risk point labels in the risk mapping table, the global features are mapped to a risk feature matrix with the same dimensions as the risk dimensions through a fully connected layer for risk classification.

[0022] The Softmax function is used to perform probability transformation on the risk feature matrix to obtain the risk confidence level corresponding to each risk point label;

[0023] The risk point labels with a risk confidence level greater than the risk point threshold in the risk mapping table are used as valid risk points, and the real-time risk point list corresponding to the valid risk points is output.

[0024] In one embodiment, a method for extracting visual modal features or infrared modal features from multi-source monitoring information as first modal features, extracting sound modal features or RFID modal features from multi-source monitoring information as second modal features, and extracting environmental modal features or experimental equipment modal features from multi-source monitoring information as third modal features includes:

[0025] Visual modal information or infrared modal information from multi-source monitoring information is input into a pre-trained improved YOLOv8 network that incorporates a spatial attention mechanism. Channel attention calculation, spatial attention calculation, and global average pooling are performed sequentially to obtain the first modal features.

[0026] The sound modal information and RFID modal information from multi-source monitoring information are input into the ResNet-50 network. First, the sound modal features and RFID modal features with the same dimension are extracted separately. Then, the sound modal features and RFID modal features are fused through the fully connected layer of the ResNet-50 network to obtain the second modal feature.

[0027] The environmental modal information and experimental equipment modal information from the multi-source monitoring information are input into a two-layer fully connected network, and two fully connected feature extractions are performed to obtain the third modal feature.

[0028] In one embodiment, the risk identification model includes a feature extraction layer, a cross-attention network, and a fully connected layer for risk classification. The method for constructing and training the risk identification model includes:

[0029] Based on the risk mapping table, the material risk feature matrix corresponding to each experimental material is extracted. The material risk feature matrix is ​​used as the modality weight matrix of the cross-attention network, and the material risk feature matrix is ​​used as the initial weight matrix of the risk classification fully connected layer.

[0030] The preset security rules are encoded as knowledge constraints and embedded into a cross-attention network as the initial weight values ​​of the modality weight matrix.

[0031] Configure bias terms for the risk identification model based on static baseline data;

[0032] By adapting the pre-trained ResNet-50 network to the feature extraction layer through cross-domain transfer, an initial risk identification model is obtained.

[0033] Standard risk test data of experimental materials are obtained as real samples, and risk simulation data of experimental materials are obtained as pseudo samples through physical simulation and feature interpolation. The initial risk identification model is fine-tuned using real samples and pseudo samples as training datasets to obtain the risk identification model.

[0034] In one embodiment, the method for constructing and training a risk identification model further includes:

[0035] According to the preset second optimization cycle, the risk identification model is optimized using an optimized dataset, based on incremental supervised learning and federated learning.

[0036] In one embodiment, the method of performing a risk assessment on a target scenario based on a real-time risk point list, obtaining a risk classification report, and sending it to the corresponding risk processing unit includes:

[0037] Based on the preset LEC security risk assessment parameter table and the real-time risk point list, the risk value is calculated to obtain the real-time risk value;

[0038] Based on the real-time risk value and the preset risk value threshold, the real-time risk level and the corresponding risk handling time are obtained;

[0039] Input the real-time risk value and global features into the pre-trained LSTM model to obtain a list of secondary risk points associated with the risk points implemented in the real-time risk point list;

[0040] A risk classification report is generated based on the real-time risk level, risk handling time, real-time risk point list, and secondary risk point list.

[0041] Send risk classification reports to the risk handling units corresponding to the real-time risk point list and the secondary risk point list.

[0042] In one embodiment, a method for obtaining risk processing results from a risk processing unit, verifying the processing effect of the risk processing results, and obtaining a risk investigation effect verification report includes:

[0043] Obtain and parse the risk processing result table from the risk processing unit to obtain risk processing result information;

[0044] Collect dynamic monitoring data within a preset time period, and compare the dynamic monitoring data with static baseline data to verify whether the risks in the risk treatment results obtained from the analysis have been eliminated.

[0045] If the risk is eliminated, the risk handling result table will be marked as verified and a risk investigation effectiveness verification report will be generated directly. If the risk is not eliminated, the risk handling result table will be marked as verified as failed and a risk investigation effectiveness verification report will be generated after manual verification.

[0046] In one embodiment, the reinforcement learning is PPO reinforcement learning, and the method of using an optimized dataset to perform reinforcement learning to obtain and execute an optimization scheme for investigating the target scene includes:

[0047] Based on the preset optimization objective, the state space S, action space A, and reward function R are defined to complete the parameter definition for PPO reinforcement learning.

[0048] Load the optimized dataset as the initial state, and initialize the policy network and value network;

[0049] Trajectory collection is performed using a policy network to obtain a trajectory set;

[0050] The dominance value A is obtained by using the GAE generalized dominance estimation algorithm and trajectory set. t ;

[0051] Using the PPO Clip objective function and advantage value A t The system performs iterative training on the defined parameters for a specified number of rounds, and verifies the policy performance after each round of parameter updates to obtain the optimal policy and send it to the responsible department for execution.

[0052] Furthermore, to achieve the above objectives, this application also proposes a closed-loop chemical safety risk assessment system for experiments, comprising:

[0053] The multi-source monitoring information acquisition module is used to collect multi-source monitoring data of the target scene and preprocess it to obtain multi-source monitoring information with multi-modal attributes.

[0054] The real-time risk point automatic identification module is used to extract multimodal features from multi-source monitoring information according to modality type using a pre-trained risk identification model and fuse them to obtain global features. Based on a preset risk mapping table, the global features are mapped to a real-time risk point list for the target scene.

[0055] The risk assessment module is used to assess the risks of the target scenario based on the real-time risk point list, obtain a risk classification report, and send it to the corresponding risk processing unit.

[0056] The risk assessment effectiveness verification module is used to obtain the risk handling results from the risk handling unit, verify the handling effect of the risk handling results, and obtain the risk assessment effectiveness verification report.

[0057] The investigation plan optimization module is used to store multi-source monitoring information, real-time risk point list, risk classification report and risk investigation effect verification report to the optimization dataset. According to the preset first optimization cycle, the optimization dataset is used for reinforcement learning to obtain the investigation optimization plan for the target scenario and execute it.

[0058] This application provides a closed-loop method and system for identifying chemical safety risks in experiments, which has the following beneficial effects:

[0059] By integrating multimodal data with pre-trained models, features are extracted and fused in a targeted manner according to modality, and combined with a risk mapping table to accurately map real-time risk points, the limitations of a single modality are avoided, and the accuracy and timeliness of risk identification are improved.

[0060] By conducting assessments based on a real-time risk point list, tiered reports are generated and pushed to the corresponding processing units, clarifying the priority of handling and the responsible parties, ensuring timely response to high risks and orderly handling of medium and low risks;

[0061] By storing core data from the entire process to build an optimized dataset, and by using reinforcement learning to periodically iterate the investigation plan, the system can dynamically adapt to changes in scenarios and the evolution of risks, thereby continuously improving the adaptability and reliability of the investigation system. Attached Figure Description

[0062] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0063] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0064] Figure 1 This is a flowchart illustrating an embodiment of a closed-loop chemical safety risk assessment method for experiments according to this application.

[0065] Figure 2 This is a schematic diagram of a structural feature of an embodiment of a closed-loop chemical safety risk assessment system for experiments, as described in this application.

[0066] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0067] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. The components of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0068] It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, terms such as "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0069] Example 1

[0070] This application provides a closed-loop method for investigating chemical safety risks in experiments, referring to... Figure 1 This includes the following steps:

[0071] Step S1: Collect multi-source monitoring data of the target scene and preprocess it to obtain multi-source monitoring information with multi-modal attributes;

[0072] Step S2: Using a pre-trained risk identification model, extract multimodal features from multi-source monitoring information according to modal type and fuse them to obtain global features. Based on the preset risk mapping table, map the global features to a real-time risk point list of the target scene.

[0073] Step S3: Based on the real-time risk point list, conduct a risk assessment of the target scenario, obtain a risk classification report, and send it to the corresponding risk processing unit;

[0074] Step S4: Obtain the risk processing results from the risk processing unit, verify the processing effect of the risk processing results, and obtain a risk investigation effect verification report;

[0075] Step S5: Store multi-source monitoring information, real-time risk point list, risk classification report and risk investigation effect verification report to the optimization dataset. According to the preset first optimization cycle, use the optimization dataset for reinforcement learning to obtain the investigation and optimization plan for the target scenario and execute it.

[0076] Specifically, the target scenario refers to the chemical experimental scenarios under investigation, such as chemical laboratories in factories and universities. These scenarios store a certain number of chemicals, and the experimental personnel use the chemicals immediately according to the experimental content. Therefore, the corresponding multi-source monitoring data includes static baseline data and dynamic monitoring data. Static baseline data includes data related to the chemical's own properties, such as the Material Safety Data Sheet (MSDS), as well as data related to the experimental scenario, experimental equipment ledger data, and preset pretreatment configuration data. Dynamic monitoring data includes various real-time collected monitoring data, such as environmental parameters, surveillance videos, RFID data of chemicals, and experimental equipment operating parameters.

[0077] Of course, for different chemicals, due to their different properties and corresponding experimental procedures, the modes of their multi-source monitoring data will also be different. In particular, when collecting dynamic monitoring data, it is possible to selectively collect several key modes.

[0078] The data collected through various acquisition methods, namely multi-source monitoring data, can be preprocessed in accordance with relevant procedures such as data augmentation, anomaly removal, and standardization to meet the input requirements of the risk identification model, thereby obtaining multi-source monitoring information with multimodal attributes.

[0079] In this embodiment, the pre-trained risk identification model will extract single-modal / single-class features from multi-source monitoring information to obtain multi-modal features. After fusing these features, the obtained global features will be used as highly identifiable features. Then, through a preset risk mapping table, the global features will be mapped to one or more specific real-time risk points to form a list of real-time risk points. The real-time risk points are used to characterize a certain type of risk that may or has already occurred. That is, the specific risks that have occurred or will occur in the target scenario (including risk type, confidence level, and key quantitative data) will be qualitatively and preliminarily quantified.

[0080] By adopting this implementation method, risks in multi-source monitoring information with multi-modal attributes are comprehensively identified, rather than simply relying on whether one or more monitoring data exceed the standard. This can more accurately characterize the risk situation of the current target scenario, predict potential risks before they occur, improve the accuracy of risk identification, and avoid false alarms.

[0081] In this embodiment, after obtaining the real-time risk point list, a comprehensive assessment will be conducted on each real-time risk point to obtain the real-time risk level and the corresponding handling suggestions, handling time limits, responsible departments, and chain risk predictions as the assessment content as a risk classification report.

[0082] A risk handling unit is an intelligent device or terminal corresponding to relevant personnel who handle risks. The risk handling result is the relevant information of the handling process transmitted back by the risk handling unit. When verifying the effectiveness of the risk handling result, the above-mentioned data collection, risk identification, and risk assessment steps can be repeated to verify whether the risk level has been reduced. Alternatively, only the relevant indicators of the real-time risk points can be monitored. The risk investigation effectiveness verification report can include a summary of the investigation results, a comparison of verification data, and a verification conclusion. The summary of the handling results is associated with the core information of the report, including the real-time risk points, handling measures, and handling duration. The verification data comparison can be a comparison table of dynamic monitoring data before and after handling. The verification conclusion can include whether the final verification result is passed or failed. If the final verification result is passed, the handling time and other relevant information will also be marked. If the final verification result is failed, handling suggestions will also be given. The risk investigation effectiveness verification report is archived after being approved by the relevant responsible person.

[0083] After accumulating a certain amount of data, reinforcement learning methods, such as the PPO algorithm, can be used to optimize the above steps and achieve a closed loop.

[0084] Example 2

[0085] This implementation is a further optimization based on Example 1. In this embodiment, step S1 includes:

[0086] Step S101: Obtain the experimental material usage information for the target scenario, and obtain the potential risk list of experimental materials for the target scenario based on the preset experimental material association table.

[0087] Step S102: Based on the potential risk list of experimental materials, obtain the static baseline data corresponding to the experimental materials, and configure the acquisition equipment for the experimental materials and collect dynamic monitoring data.

[0088] Step S103: Preprocess the static reference data to obtain static reference information, and select the corresponding preprocessing method according to the modal type to preprocess the dynamic monitoring data to obtain the dynamic monitoring information sequence and monitoring data quality report.

[0089] Step S104: The static reference information, the dynamic monitoring information sequence, and the monitoring data quality report are used as the multi-source monitoring information with multimodal attributes.

[0090] Specifically, the experimental material association table is an association table obtained by associating chemicals according to materials, risks, modalities, and static baselines. In one specific implementation, the experimental material association table includes experimental material ID, experimental material name, experimental material properties, potential risk type of experimental material, mandatory sensing modalities, optional sensing modalities and triggering conditions, and static baseline data. For example, for ethanol, the experimental material association table is displayed in the form of experimental material ID: CHEM003 - experimental material name: ethanol - experimental material properties: flammable organic matter, flash point 21℃ - potential risk type of experimental material: physical open flame, chemical volatilization, temperature anomaly - mandatory sensing modalities: visual, gas, temperature - optional sensing modalities: wind speed (ventilation < 1.5m / s) - static baseline data: flash point 21℃, storage < 25℃, explosion limits 3.3%-19%. In the above display format, the static baseline data mainly associates the relevant content of the Material Safety Data Sheet (MSDS). Of course, the static baseline data also includes scenario attributes, such as the spatial attributes of the scenario, compliance classification attributes, equipment configuration attributes, etc.

[0091] Information about the use of experimental materials can be obtained through RFID tags, such as the material ID, name, quantity, and time of use for each material. Then, the material association table is called to obtain the potential risk type of each material, generating a potential risk list for the target scenario. The corresponding static baseline data is then obtained. Furthermore, based on the required and optional sensing modes, the acquisition equipment is configured to start / stop the corresponding sensors and collect dynamic monitoring data. Stopping the corresponding sensor means sending a shutdown command to the irrelevant mode to avoid redundant data and prevent interference.

[0092] For static baseline data, preprocessing mainly includes field filtering and extraction, compliance coding standardization, threshold data structuring, and association structuring. Field filtering and extraction specifically refers to removing redundant fields such as supplier information and purchase date from data such as MSDS (Material Safety Data Sheets), retaining only risk-related core fields such as toxicity, threshold, and incompatible substances, to reduce data volume and focus on key information for risk assessment. Compliance coding standardization specifically refers to uniformly coding according to the corresponding compliance standards, converting textual descriptions into quantitative / unified identifiers to avoid semantic ambiguity and ensure cross-system compatibility. Threshold data structuring specifically refers to converting thresholds such as temperature and concentration into a structured format of "value + unit," unifying units for easy comparison with dynamic monitoring data later. Association structuring specifically refers to converting the list of incompatible substances corresponding to experimental materials into an associated array of "incompatible substance ID + name" and binding it to the experimental material ID, which can quickly identify "whether there is a risk of mixed storage" in subsequent risk identification, and binding the experimental material ID with scene ID, equipment ID, etc.

[0093] For dynamic monitoring data, in one optional implementation, the data is mainly divided into several modalities: infrared data, sound data, RFID data, operational video data, and environmental / equipment data, and each is preprocessed differently. For infrared data, preprocessing includes Gaussian filtering with a 3×3 pixel filter kernel and a smoothing coefficient of 1 to remove random noise, as well as normalization and anomaly removal. For sound data, preprocessing includes sampling rate conversion to retain core frequencies while reducing data volume, MFCC Mel-frequency cepstral coefficient extraction to generate features of a specified dimension for spectrum splitting, obtaining feature labels with the same specified dimension, capturing signals such as leakage and abnormal noise, and processing the acquired MFCC Mel-frequency cepstral coefficients. Cepstral coefficient standardization brings sound signals of different intensities to the same order of magnitude. For RFID data, preprocessing includes Kalman filtering and smoothing angle values ​​by combining historical and current measurements. For operational video data, preprocessing includes frame extraction, size unification, and normalization. Frame extraction preserves key actions and reduces data volume, while size unification specifies the size, and normalization eliminates lighting interference. For environmental / equipment data, preprocessing includes outlier removal based on the 3σ principle, missing value filling using linear interpolation, Min-Max normalization, and smoothing data fluctuations by setting a sliding window mean. The dynamic monitoring information obtained after the above preprocessing is time-dependent and constitutes a dynamic monitoring information sequence.

[0094] The monitoring data quality report is mainly assessed based on several dimensions, including data integrity (valid data volume / total data volume), modality missing rate (data volume missing for a single modality / total data volume for that modality), anomaly removal rate (number of outliers removed from dynamic data / total dynamic data volume), preprocessing time (average processing time per frame of dynamic data), and data consistency (deviation of monitoring values ​​of the same physical quantity from different devices, such as comparison between infrared and contact temperature). The resulting monitoring data quality report includes quality control indicators for each dimension, anomaly analysis, and follow-up suggestions to provide data support for subsequent steps.

[0095] Of course, the acquired multi-source monitoring information can also be encrypted, stored, and backed up for data traceability.

[0096] By adopting this implementation method, static and dynamic data are managed in layers. Static data provides a calibration benchmark for dynamic data, and dynamic data reflects real-time changes in the scene. This avoids risk judgment bias caused by data confusion and improves the accuracy of data utilization. At the same time, the structured storage of static data also provides a reliable basis for the initialization of the subsequent risk identification model.

[0097] In this embodiment, step S2 includes:

[0098] Step S201: Input the multi-source monitoring information into the pre-trained risk identification model;

[0099] Step S202: Extract visual modal features or infrared modal features from multi-source monitoring information as first modal features; extract sound modal features and RFID modal features from multi-source monitoring information as second modal features; and extract environmental modal features and experimental equipment modal features from multi-source monitoring information as third modal features.

[0100] Step S203: Using the cross-attention network in the risk identification model, perform the first dimension matching and the first attention calculation based on the first modality features and the second modality features to obtain the fused modality features;

[0101] Step S204: By using a cross-attention network, the modal features and the third modal features are fused, and a second dimension matching and a second attention calculation are performed to obtain global features;

[0102] Step S205: Based on the risk point labels and risk dimensions of the risk point labels in the risk mapping table, the global features are mapped to a risk feature matrix with the same dimensions as the risk dimensions through a fully connected layer for risk classification.

[0103] Step S206: Use the Softmax function to perform probability transformation on the risk feature matrix to obtain the risk confidence level corresponding to each risk point label;

[0104] Step S207: Use risk point labels with risk confidence levels greater than the risk point threshold in the risk mapping table as valid risk points, and output the real-time risk point list corresponding to the valid risk points;

[0105] Further, step S202 includes:

[0106] Step S2021: Input the visual modal information or infrared modal information from the multi-source monitoring information into the pre-trained improved YOLOv8 network that incorporates a spatial attention mechanism, and perform channel attention calculation, spatial attention calculation and global average pooling in sequence to obtain the first modal features;

[0107] Step S2022: Input the sound modal information and RFID modal information from the multi-source monitoring information into the ResNet-50 network. First, extract the sound modal features and RFID modal features of the same dimension respectively. Then, fuse the sound modal features and RFID modal features through the fully connected layer of the ResNet-50 network to obtain the second modal feature.

[0108] Step S2023: Input the environmental modal information and experimental equipment modal information from the multi-source monitoring information into a two-layer fully connected network, perform two fully connected feature extractions, and obtain the third modal features;

[0109] In one specific implementation, the improved YOLOv8 network inserts a CBAM spatial attention module after the C2f module in its Neck layer. The improved YOLOv8 network first obtains an initial feature map F, with dimensions B×C×H×W, where B is the batch size, C is the number of channels, H is the feature map height, and W is the feature map width. In the CBAM spatial attention module, F is first weighted according to Equation 1 to obtain the first pooling result. The expression of Equation 1 is as follows:

[0110]

[0111] in, This is the result of the first pooling. For channel attention weights, The function is the Sigmoid function, and MLP is a fully connected network (multilayer perceptron). For element-wise multiplication;

[0112] The spatial average value of each channel in the initial feature map F reflects the overall response intensity of the channel, and its calculation expression is:

[0113]

[0114] i is the index variable in the height H direction of the feature map, and j is the index variable in the width W direction of the feature map.

[0115] Let F be the spatial maximum value of each channel of the initial feature map F, reflecting the local salient response of the channel. Its calculation expression is as follows:

[0116]

[0117] Then, F is weighted according to the spatial dimension according to Equation 2 to obtain the second pooling result, where the expression of Equation 2 is as follows:

[0118] in, This is the result of the second pooling. Spatial attention weights, It is a 7×7 convolutional layer;

[0119] The spatial average value of each channel of the first pooling result is expressed as:

[0120]

[0121] c is the channel traversal index variable;

[0122] The spatial maximum value for each channel of the first pooling result is expressed as:

[0123]

[0124] Finally, according to Equation 3, a global average pooling is performed to obtain the enhanced feature map F', where the expression of Equation 3 is as follows:

[0125]

[0126] The enhanced feature map F' obtained by this embodiment enables the improved YOLOv8 network to focus on key information (such as overheated areas and reagent bottle locations) and ignore irrelevant backgrounds (such as walls and floors).

[0127] For an input 640×480 video frame or a 224×224 infrared feature map, the improved YOLOv8 network will eventually output an enhanced feature map F' in the form of a 256-dimensional vector, which is the first modality feature.

[0128] In one specific implementation, for sound modal information in the form of a 13×44 MFCC feature map, the sound modal information is first reshaped from the two-dimensional feature map into a one-dimensional vector. Then, the flattened one-dimensional vector is input into the first 15 layers of the ResNet-50 network to extract features layer by layer, obtaining sound modal features in the form of a 256-dimensional vector. The residual structure of ResNet-50 solves the gradient vanishing problem in deep networks and can capture sound anomalies from MFCC features.

[0129] For reagent location / movement data collected by RFID tags in 100-dimensional time-series vector form, Reshape is also used to flatten it into a one-dimensional vector, sharing the weights of the first 15 layers of ResNet-50 with the sound modality, and outputting a 256-dimensional feature vector to extract abnormal movement patterns from RFID time-series data, such as abnormal displacement of reagent bottles and RFID signal fluctuations caused by storage cabinets not being closed.

[0130] According to Equation 4, the sound modal features and RFID modal features are concatenated along the dimension, and then compressed and fused through a fully connected layer to obtain the 128-dimensional second modal features. It includes both sound anomaly information and RFID location anomaly information, where the expression of Equation 4 is as follows:

[0131]

[0132] in, For feature concatenation operations, the dimensions are stacked from 256 to 512. For sound modal features, For RFID modal characteristics, This is the weight matrix for the fully connected layer, with dimensions 512×128, used to map the stacked 512-dimensional features to 128 dimensions. A new 128-dimensional vector is used to compensate for model offset. This is an activation function used to introduce nonlinearity and avoid information loss caused by linear superposition of features.

[0133] In one specific implementation, the environmental modal information and the experimental equipment modal information are first integrated into a 6-dimensional vector X, where the expression for the 6-dimensional vector X is as follows:

[0134]

[0135] in, The concentration is expressed in ppm. Temperature (°C) The power of the equipment is in kW. The rotational speed of the equipment (rpm). The fume hood velocity (m / s) Pipeline pressure (MPa);

[0136] Then, the negative feature values ​​are set to 0 by the ReLU activation function, while positively correlated features, such as positive responses to concentration exceedances and temperature anomalies, are retained. The 6-dimensional vector X is mapped to a 32-dimensional vector by the first fully connected layer. Then, the 32-dimensional vector is further compressed into a 16-dimensional third modality feature by the second fully connected layer through the ReLU activation function. This integrates environmental parameter anomalies with equipment operating status information, so as to capture the correlation features between environmental parameters and equipment status through two layers of nonlinear mapping.

[0137] In one specific implementation, through the above implementation method, a first modal feature in the form of a 256-dimensional vector, a second modal feature in the form of a 128-dimensional vector, and a third modal feature in the form of a 16-dimensional vector are obtained. First, the 128-dimensional second modal feature is mapped to 256 dimensions, consistent with the first modal feature. Then, a multi-head attention mechanism with 8 heads and 32 key-value dimensions is adopted, with the first modal feature as the query Q and the second modal feature mapped to 256 dimensions as the key K and value V, to output a 64-dimensional fused modal feature. Then, the 16-dimensional third modal feature is mapped to 64 dimensions, and a multi-head attention mechanism with 4 heads and 16 key-value dimensions is adopted, with the fused modal feature as the query Q and the third modal feature in the form of 64 dimensions as the key K and value V, to output a 32-dimensional global feature and perform layer normalization to ensure stable feature distribution.

[0138] Next, a risk mapping table is loaded, containing 10 risk point labels (0 - overheating, 1 - leakage, 2 - dumping, 3 - open flame, 4 - concentration exceeding limits, 5 - abnormal pressure, 6 - abnormal humidity, 7 - equipment failure, 8 - operational violations, 9 - other), corresponding to a 32×10 weight matrix and a 10-dimensional bias. After inputting the 32-dimensional global features into the fully connected layer of risk classification, a 10-dimensional risk score vector is output. Finally, the Softmax function converts the risk score vector into a 0-1 confidence level, obtaining the risk confidence level representing the probability of occurrence of the risk corresponding to each risk point label. Optionally, risk points with a confidence level ≥ 0.75 are set as risks that have occurred, and risk points with a confidence level between 0.5 and 0.75 are set as risks that will occur. Both are valid risk points, and the corresponding real-time risk point list is obtained.

[0139] In one specific implementation, the risk identification model includes a feature extraction layer, a cross-attention network, and a fully connected layer for risk classification. The method for constructing and training the risk identification model includes:

[0140] Based on the risk mapping table, the material risk feature matrix corresponding to each experimental material is extracted. The material risk feature matrix is ​​used as the modality weight matrix of the cross-attention network, and the material risk feature matrix is ​​used as the initial weight matrix of the risk classification fully connected layer.

[0141] The preset security rules are encoded as knowledge constraints and embedded into a cross-attention network as the initial weight values ​​of the modality weight matrix.

[0142] Configure bias terms for the risk identification model based on static baseline data;

[0143] By adapting the pre-trained ResNet-50 network to the feature extraction layer through cross-domain transfer, an initial risk identification model is obtained.

[0144] Standard risk test data of experimental materials are obtained as real samples, and risk simulation data of experimental materials are obtained as pseudo samples through physical simulation and feature interpolation. The initial risk identification model is fine-tuned using real samples and pseudo samples as training datasets to obtain the risk identification model.

[0145] In this embodiment, the risk mapping table is a structured table obtained by associating materials, risks, modalities, thresholds and compliance standards. It provides a basic framework for all risk-related knowledge. By simplifying the risk mapping table, an experimental material association table can be obtained. The material risk feature matrix is ​​a 0-1 numerical matrix that transforms the association strength between materials and risks.

[0146] Safety rules can be obtained by converting the experience of safety experts into differentiable rules and embedding them into the middle layer of the model to form a knowledge constraint layer. For example, if the cyanide concentration is >0.01ppm, the corresponding risk score will increase by 0.8.

[0147] By encoding static benchmark data such as material storage temperature and concentration thresholds into model bias terms, the model is initially equipped with the ability to determine whether the data exceeds the threshold.

[0148] We adopted a pre-trained ResNet-50 in the field of industrial equipment fault diagnosis, which has already learned the ability to identify abnormal signals. We retained its first 15 layers of feature extraction network, and then replaced the fault diagnosis classification layer (10 types of faults) with the risk classification layer (10 types of risks). Finally, we mapped the 256-dimensional features of the source model to the 32-dimensional risk feature space through a fully connected layer.

[0149] Methods for obtaining real samples can include simulating risk events such as leaks, for example, controlling the concentration of a gas from 0.01 ppm to 0.5 ppm, recording data such as infrared, gas, and sound modal data, and obtaining 500 manually labeled samples. Physical simulation can be performed using COMSOL, such as an ethanol open flame scenario, generating 2000 virtual visual and temperature data. Feature interpolation can be based on real data, generating 1000 quasi-risk samples through linear interpolation, such as transition data of a gas concentration increasing from 0.05 ppm to 0.1 ppm, to construct a training dataset. Then, the training dataset is used to fine-tune the pre-trained ResNet-50 in the initial risk identification model to achieve the target accuracy.

[0150] This implementation method enables the cold start of the risk identification model, ensuring identification accuracy even with limited data.

[0151] Furthermore, methods for constructing and training risk identification models also include:

[0152] According to the preset second optimization cycle, the risk identification model is optimized using an optimized dataset, based on incremental supervised learning and federated learning.

[0153] Specifically, after a certain period of time, such as 6 months, based on the accumulated data, i.e. the optimized dataset, a new training dataset is constructed, the pre-trained weights of the improved YOLOv8n network and ResNet-50 are loaded, the weights of the attention layer and fully connected layer are randomly initialized, the learning rate is adjusted according to the cosine annealing scheduler, the training set loss and validation set accuracy are calculated in each period, and if the validation set accuracy does not improve for 5 consecutive periods, training is stopped and the optimal model weights are saved.

[0154] We used a multimodal preprocessed dataset and a potential risk list of experimental materials in the optimized dataset to supplement risk priority labels, for example, the risk of hazardous gas leakage has a higher priority than overheating. Then, we froze the first 10 layers of ResNet-50 / YOLOv8 and trained only the attention layer and class layer, set 10 epochs, and the learning rate = 0.0001 for fine-tuning.

[0155] An architecture consisting of one central node and five edge nodes is adopted. The model after scene fine-tuning is loaded, the dataset generated in step S1 is imported locally, the edge nodes are initialized, each node is trained independently for 10 rounds, batch_size=16, learning rate 0.0005, the gradients of the last 3 layers are recorded, and the gradients of the edge nodes are encrypted with AES-256 and uploaded to the central node through the TLS1.3 channel. The global model weights are calculated according to the FedAvg algorithm, and finally the central node encrypts and distributes the global model to the edge nodes to update the local model.

[0156] This implementation method allows for the optimization of the risk identification model for cold starts when sufficient data is available, thereby further improving identification accuracy.

[0157] Using the above implementation method, modality adaptation was performed on the feature extraction layer of the risk identification model. The extraction network was customized for different modal characteristics, avoiding the situation where a general network was used to adapt to all modalities, resulting in feature loss. In addition, environmental parameters were reduced by using small-dimensional fully connected layers to reduce the amount of computation, thus balancing feature quality and extraction efficiency.

[0158] By using a cross-attention network, features are fused in stages. First, dynamic state modal features belonging to the same category are fused to reduce spatial and temporal feature conflicts. Then, basic environment modal features are fused. This avoids feature dilution from multimodal fusion at once and reduces heterogeneous feature conflicts. At the same time, attention calculation can dynamically allocate modal weights and improve the risk correlation of global features.

[0159] By adapting the pre-trained ResNet-50 to the feature extraction layer through cross-domain transfer and fine-tuning with real samples and physically simulated pseudo-samples, the model training cycle is shortened and the problem of scarce risk data in experimental scenarios is solved. This allows the model to maintain high recognition accuracy in cold start scenarios and improves the scenario adaptability of the solution.

[0160] In one optional implementation, step S3 includes:

[0161] Step S301: Calculate the risk value according to the preset LEC security risk assessment parameter table and the real-time risk point list to obtain the real-time risk value;

[0162] Step S302: Obtain the real-time risk level and the corresponding risk handling time based on the real-time risk value and the preset risk value threshold;

[0163] Step S303: Input the real-time risk value and global features into the pre-trained LSTM model to obtain a list of secondary risk points associated with the risk points implemented in the real-time risk point list;

[0164] Step S304: Generate a risk classification report based on the real-time risk level, risk handling time, real-time risk point list, and secondary risk point list;

[0165] Step S305: Send the risk classification report to the risk handling unit corresponding to the real-time risk point list and the secondary risk point list.

[0166] Specifically, in the LEC safety risk assessment parameter table, L refers to the probability of risk occurrence, which is assigned a value based on historical data and material risk characteristics; E refers to personnel exposure, which is assigned a value based on the daily exposure time of laboratory personnel; and C refers to the severity of risk consequences, which is assigned a value based on the MSDS toxicity level and equipment hazard. The correction coefficient can also be dynamically adjusted based on the monitoring data quality report. Data consistency represents high reliability, and the higher the correction coefficient, the higher the reliability. Therefore, the real-time risk value is the product of the probability of risk occurrence, personnel exposure, severity of risk consequences, and correction coefficient. The classification standard can be divided into high risk, medium risk, and low risk. The risk handling time for high risk is immediate, the risk handling time for medium risk is two hours, and the risk handling time for low risk is 24 hours.

[0167] The LSTM model outputs the top three secondary risks with the highest confidence based on the received 32-dimensional global features and real-time risk values. For example, if the current risk is a hazardous gas leak, the top three secondary risks with the highest confidence are personnel poisoning (0.89), equipment corrosion (0.78), and fire (0.65).

[0168] Ultimately, the risk classification report includes the risk ID, real-time risk value, risk level, response timeframe, responsible department, and prediction of cascading risks.

[0169] In one alternative implementation, step S4 includes:

[0170] Step S401: Obtain and parse the risk processing result table from the risk processing unit to obtain risk processing result information;

[0171] Step S402: Collect verification dynamic monitoring data within a preset time period, and compare the verification dynamic monitoring data with static benchmark data to verify whether the risk in the risk treatment result information obtained by parsing has been eliminated;

[0172] Step S403: If the risk is eliminated, the risk handling result table is marked as verified and a risk investigation effectiveness verification report is generated directly. If the risk is not eliminated, the risk handling result table is marked as verified as failed and a risk investigation effectiveness verification report is generated after manual verification.

[0173] Specifically, after the risk handling unit completes the handling, it will send back a risk handling result form, which includes basic information, supporting documents, and handling instructions. The basic information includes the report ID, handling time, handling personnel, and handling measures. Supporting documents include on-site handling photos (such as reagent bottles being returned to their original positions and equipment status), equipment operation logs (such as the start-up record of the extraction system), and scanned copies of manual signatures. The handling instructions include the risk elimination status (such as "the leak has stopped and the concentration has dropped to 0.005 ppm") and the reasons for not eliminating the risk (such as "equipment malfunction requires manufacturer repair").

[0174] Then, the risk handling result table is parsed to obtain the risk handling result information. Dynamic monitoring data is collected over a certain period of time, and the dynamic monitoring data is compared with the static baseline data to verify whether the risk in the risk handling result information obtained by parsing has been eliminated. If the data still exceeds the standard after handling, the risk handling result table will be marked as "verification failed", the possible reasons will be analyzed and a preliminary re-handling suggestion will be generated.

[0175] For high-risk cases, cases that fail automatic verification, and cases with medium data credibility, manual verification will be forcibly initiated. Manual verification will be initiated by sending relevant information, including the risk handling result table, automatic verification data, possible causes, preliminary reprocessing suggestions, and manual verification record table, to the corresponding personnel. After receiving the manual verification record table, the dual verification results will be integrated, and the priority of the manual verification conclusion will be set higher than that of the automatic verification result. An effect verification report as described in Example 1 will be generated, with a structure including a summary of the handling results, which will not be elaborated here.

[0176] In one optional implementation, the reinforcement learning is PPO reinforcement learning. In step S5, the method of using an optimized dataset to perform reinforcement learning, obtain an optimized investigation plan for the target scene, and execute it includes:

[0177] Based on the preset optimization objective, the state space S, action space A, and reward function R are defined to complete the parameter definition for PPO reinforcement learning.

[0178] Load the optimized dataset as the initial state, and initialize the policy network and value network;

[0179] Trajectory collection is performed using a policy network to obtain a trajectory set;

[0180] The dominance value A is obtained by using the GAE generalized dominance estimation algorithm and trajectory set. t ;

[0181] Using the PPO Clip objective function and advantage value A t The system performs iterative training on the defined parameters for a specified number of rounds, and verifies the policy performance after each round of parameter updates to obtain the optimal policy and send it to the responsible department for execution.

[0182] Specifically, this implementation method is to use the PPO reinforcement learning algorithm to optimize the model and policy according to a preset cycle, output the optimization scheme of the target scenario and implement it to achieve closed-loop iteration; it can classify and store multi-source monitoring information, real-time risk point list, risk classification report and risk investigation effect verification report according to structured data, unstructured data and model files respectively; it can supplement the data in the optimization dataset with data annotation, remove invalid data that fails verification and has no reprocessing record, retain high-quality samples, and divide them into training set, validation set and test set in 7:2:1 for reinforcement learning training;

[0183] The first optimization cycle can be one month. Unlike the previous optimization that only focused on the risk identification model, the optimization goals of PPO reinforcement learning include improving the accuracy of risk identification, reducing the false alarm rate, shortening the handling time, and reducing the handling cost.

[0184] When performing PPO reinforcement learning, the parameters to be optimized are first defined. For the 406-dimensional state space S, it includes the acquisition parameters from step S1 (such as sensor sampling frequency, calibration cycle, etc.), the model parameters from step S2 (such as the number of cross-attention heads, risk classification layer weights, confidence thresholds, etc.), the hierarchical parameters from step S3 (such as LEC coefficients, data quality correction coefficient thresholds, etc.), and environmental parameters (such as scene temperature, humidity, equipment health, etc.). For the action space A, it includes five discrete actions: A0 maintains the current parameters (no adjustment), A1 increases the sampling frequency of key sensors, A2 optimizes model parameters, A3 adjusts the LEC coefficients, and A4 shortens the sensor calibration cycle. The reward function R, used to comprehensively evaluate the optimization effect, is expressed as follows:

[0185] in, To improve the accuracy of identification, This represents the increase in the false alarm rate. The increase in disposal costs is expressed as a percentage.

[0186] Then, the acquisition parameters in step S1, the model parameters and waiting optimization parameters in step S2 are loaded as the initial state s0, and the policy network and value network are initialized. The policy network consists of two fully connected layers, which are used to reduce the 406-dimensional vector state space S to 64 dimensions and then to 5 dimensions. The value network also consists of two fully connected layers, which are used to reduce the 406-dimensional vector state space S to 64 dimensions and then to 1 dimension.

[0187] Next, the policy network is used in state s t Output the probability distribution of actions, and randomly select action a. t After performing an action, obtain environmental feedback rewards (r). t With the next state s t+1 Generate trajectory data {(s0, a0, r0, s1), (s1, a1, r1, s2), ..., (s T-1 a T-1 r T-1 s T )}, collect a specified number of trajectories, such as 5000;

[0188] Then, the GAE (Generalized Advantage Estimation) algorithm is used to calculate the advantage value A. t Balancing immediate and long-term rewards, with advantage value A t The expression is as follows:

[0189]

[0190] in, As a discount factor, As an advantage discount factor, The state value output by the value network;

[0191] Furthermore, the PPO Clip objective function is used to limit the policy update magnitude and avoid sudden parameter changes. The expression for the PPO Clip objective function is as follows:

[0192]

[0193] in, For time step expectations, Indicates the new strategy in state Choose below The probability, Indicates the old strategy in state Choose below The probability, These are the new strategy parameters, i.e., the updated parameters. These are the parameters for the old strategy, i.e., the parameters before the update. To restrict the input value to The element-by-element cut operation within, where... These are hyperparameters, typically ranging from 0.1 to 0.2;

[0194] In this implementation, the training will be iterated for 500 rounds. After each round of updates, the policy performance will be verified, the optimal policy will be retained, and after obtaining the optimal policy, it will be sent to the responsible department for execution.

[0195] By using this embodiment, the update range of the investigation and optimization scheme is controlled by the PPO Clip objective function, which can avoid the destruction of the existing effective investigation process due to sudden parameter changes, thereby ensuring the continuity of on-site personnel operations and making the strategy update stable and controllable.

[0196] By reusing training data multiple times, it is not necessary to collect new risk data for each optimization, resulting in high data utilization efficiency, reducing the situation of deliberately creating risks to obtain data, and lowering data collection costs and security risks.

[0197] By using a multi-dimensional reward function, various indicators can be dynamically balanced during strategy iteration to adapt to multi-objective optimization needs and balance and investigate multiple indicators. At the same time, the smooth and gradual strategy iteration of PPO reinforcement learning can reduce on-site adaptation costs and dynamically adapt to changes in scenarios, thereby improving the long-term effectiveness of the solution.

[0198] Example 3

[0199] This embodiment discloses a closed-loop chemical safety risk assessment system for experiments, such as... Figure 2 As shown, it includes:

[0200] The multi-source monitoring information acquisition module is used to collect multi-source monitoring data of the target scene and preprocess it to obtain multi-source monitoring information with multi-modal attributes.

[0201] The real-time risk point automatic identification module is used to extract multimodal features from multi-source monitoring information according to modality type using a pre-trained risk identification model and fuse them to obtain global features. Based on a preset risk mapping table, the global features are mapped to a real-time risk point list for the target scene.

[0202] The risk assessment module is used to assess the risks of the target scenario based on the real-time risk point list, obtain a risk classification report, and send it to the corresponding risk processing unit.

[0203] The risk assessment effectiveness verification module is used to obtain the risk handling results from the risk handling unit, verify the handling effect of the risk handling results, and obtain the risk assessment effectiveness verification report.

[0204] The investigation plan optimization module is used to store multi-source monitoring information, real-time risk point list, risk classification report and risk investigation effect verification report to the optimization dataset. According to the preset first optimization cycle, the optimization dataset is used for reinforcement learning to obtain the investigation optimization plan for the target scenario and execute it.

[0205] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A closed-loop method for identifying chemical safety risks in experiments, characterized in that, Includes the following steps: Collect multi-source monitoring data of the target scene and preprocess it to obtain multi-source monitoring information with multimodal attributes; A pre-trained risk identification model is used to extract multimodal features from multi-source monitoring information according to modality type and fuse them to obtain global features. Based on a preset risk mapping table, the global features are mapped to a real-time risk point list of the target scene. Based on the real-time risk point list, a risk assessment is conducted on the target scenario, a risk classification report is obtained, and the report is sent to the corresponding risk processing unit. Obtain the risk handling results from the risk handling unit, verify the handling effect of the risk handling results, and obtain a risk investigation effect verification report. Store multi-source monitoring information, real-time risk point list, risk classification report and risk investigation effect verification report to the optimization dataset. According to the preset first optimization cycle, use the optimization dataset for reinforcement learning to obtain the investigation and optimization plan for the target scenario and execute it.

2. The closed-loop chemical safety risk assessment method for experiments as described in claim 1, characterized in that, The method for collecting and preprocessing multi-source monitoring data of a target scene to obtain multi-source monitoring information with multi-modal attributes includes: Obtain information on the use of experimental materials in the target scenario, and obtain a list of potential risks of experimental materials in the target scenario based on a pre-set experimental material association table; Based on the potential risk list of experimental materials, obtain the corresponding static baseline data of the experimental materials, and configure the acquisition equipment for the experimental materials and collect dynamic monitoring data. Static baseline data is preprocessed to obtain static baseline information. In addition, dynamic monitoring data is preprocessed according to the modal type to obtain dynamic monitoring information sequence and monitoring data quality report. The static benchmark information, the dynamic monitoring information sequence, and the monitoring data quality report are used as the multi-source monitoring information with multimodal attributes.

3. The closed-loop chemical safety risk assessment method for experiments as described in claim 2, characterized in that, A method for employing a pre-trained risk identification model to extract multimodal features from multi-source monitoring information according to modality type, fusing them to obtain global features, and mapping these global features to a real-time risk point list for the target scene based on a pre-defined risk mapping table includes: Input multi-source monitoring information into a pre-trained risk identification model; Visual modal features or infrared modal features are extracted from multi-source monitoring information as first modal features; sound modal features and RFID modal features are extracted from multi-source monitoring information as second modal features; and environmental modal features and experimental equipment modal features are extracted from multi-source monitoring information as third modal features. By using the cross-attention network in the risk identification model, the first dimensionality matching and the first attention calculation are performed based on the first modality features and the second modality features to obtain the fused modality features; By using a cross-attention network, modal features and third-modal features are fused to perform a second dimension matching and a second attention calculation to obtain global features; Based on the risk point labels and risk dimensions of the risk point labels in the risk mapping table, the global features are mapped to a risk feature matrix with the same dimensions as the risk dimensions through a fully connected layer for risk classification. The Softmax function is used to perform probability transformation on the risk feature matrix to obtain the risk confidence level corresponding to each risk point label; The risk point labels with a risk confidence level greater than the risk point threshold in the risk mapping table are used as valid risk points, and the real-time risk point list corresponding to the valid risk points is output.

4. The closed-loop chemical safety risk assessment method for experiments as described in claim 3, characterized in that, A method for extracting visual or infrared modal features from multi-source monitoring information as first modal features, extracting sound or RFID modal features from multi-source monitoring information as second modal features, and extracting environmental or experimental equipment modal features from multi-source monitoring information as third modal features, includes: Visual modal information or infrared modal information from multi-source monitoring information is input into a pre-trained improved YOLOv8 network that incorporates a spatial attention mechanism. Channel attention calculation, spatial attention calculation, and global average pooling are performed sequentially to obtain the first modal features. The sound modal information and RFID modal information from multi-source monitoring information are input into the ResNet-50 network. First, the sound modal features and RFID modal features with the same dimension are extracted separately. Then, the sound modal features and RFID modal features are fused through the fully connected layer of the ResNet-50 network to obtain the second modal feature. The environmental modal information and experimental equipment modal information from the multi-source monitoring information are input into a two-layer fully connected network, and two fully connected feature extractions are performed to obtain the third modal feature.

5. The closed-loop chemical safety risk assessment method for experiments as described in claim 4, characterized in that, The risk identification model includes a feature extraction layer, a cross-attention network, and a fully connected layer for risk classification. The method for constructing and training the risk identification model includes: Based on the risk mapping table, the material risk feature matrix corresponding to each experimental material is extracted. The material risk feature matrix is ​​used as the modality weight matrix of the cross-attention network, and the material risk feature matrix is ​​used as the initial weight matrix of the risk classification fully connected layer. The preset security rules are encoded as knowledge constraints and embedded into a cross-attention network as the initial weight values ​​of the modality weight matrix. Configure bias terms for the risk identification model based on static baseline data; By adapting the pre-trained ResNet-50 network to the feature extraction layer through cross-domain transfer, an initial risk identification model is obtained. Standard risk test data of experimental materials are obtained as real samples, and risk simulation data of experimental materials are obtained as pseudo samples through physical simulation and feature interpolation. The initial risk identification model is fine-tuned using real samples and pseudo samples as training datasets to obtain the risk identification model.

6. The closed-loop chemical safety risk assessment method for experiments as described in claim 5, characterized in that, Methods for building and training risk identification models also include: According to the preset second optimization cycle, the risk identification model is optimized using an optimized dataset, based on incremental supervised learning and federated learning.

7. The closed-loop chemical safety risk assessment method for experiments as described in claim 1, characterized in that, The method for conducting a risk assessment of the target scenario based on a real-time risk point list, obtaining a risk classification report, and sending it to the corresponding risk processing unit includes: Based on the preset LEC security risk assessment parameter table and the real-time risk point list, the risk value is calculated to obtain the real-time risk value; Based on the real-time risk value and the preset risk value threshold, the real-time risk level and the corresponding risk handling time are obtained; Input the real-time risk value and global features into the pre-trained LSTM model to obtain a list of secondary risk points associated with the risk points implemented in the real-time risk point list; A risk classification report is generated based on the real-time risk level, risk handling time, real-time risk point list, and secondary risk point list. Send risk classification reports to the risk handling units corresponding to the real-time risk point list and the secondary risk point list.

8. The closed-loop chemical safety risk assessment method for experiments as described in claim 2, characterized in that, Methods for obtaining risk handling results from the risk handling unit, verifying the effectiveness of the risk handling results, and obtaining a risk assessment effectiveness verification report include: Obtain and parse the risk processing result table from the risk processing unit to obtain risk processing result information; Collect dynamic monitoring data within a preset time period, and compare the dynamic monitoring data with static baseline data to verify whether the risks in the risk treatment results obtained from the analysis have been eliminated. If the risk is eliminated, the risk handling result table will be marked as verified and a risk investigation effectiveness verification report will be generated directly. If the risk is not eliminated, the risk handling result table will be marked as verified as failed and a risk investigation effectiveness verification report will be generated after manual verification.

9. The closed-loop chemical safety risk assessment method for experiments as described in claim 1, characterized in that, The reinforcement learning is PPO reinforcement learning. The method of using an optimized dataset for reinforcement learning to obtain and execute a target scene investigation and optimization plan includes: Based on the preset optimization objective, the state space S, action space A, and reward function R are defined to complete the parameter definition for PPO reinforcement learning. Load the optimized dataset as the initial state, and initialize the policy network and value network; Trajectory collection is performed using a policy network to obtain a trajectory set; The dominance value A is obtained by using the GAE generalized dominance estimation algorithm and trajectory set. t ; Using the PPO Clip objective function and advantage value A t The system performs iterative training on the defined parameters for a specified number of rounds, and verifies the policy performance after each round of parameter updates to obtain the optimal policy and send it to the responsible department for execution.

10. A closed-loop chemical safety risk assessment system for experiments, characterized in that, include: The multi-source monitoring information acquisition module is used to collect multi-source monitoring data of the target scene and preprocess it to obtain multi-source monitoring information with multi-modal attributes. The real-time risk point automatic identification module is used to extract multimodal features from multi-source monitoring information according to modality type using a pre-trained risk identification model and fuse them to obtain global features. Based on a preset risk mapping table, the global features are mapped to a real-time risk point list for the target scene. The risk assessment module is used to assess the risks of the target scenario based on the real-time risk point list, obtain a risk classification report, and send it to the corresponding risk processing unit. The risk assessment effectiveness verification module is used to obtain the risk handling results from the risk handling unit, verify the handling effect of the risk handling results, and obtain the risk assessment effectiveness verification report. The investigation plan optimization module is used to store multi-source monitoring information, real-time risk point list, risk classification report and risk investigation effect verification report to the optimization dataset. According to the preset first optimization cycle, the optimization dataset is used for reinforcement learning to obtain the investigation optimization plan for the target scenario and execute it.