Social infrastructure control system
The social infrastructure control system uses a dual deep reinforcement learning approach to autonomously optimize control actions, addressing data bias and environmental uncertainty, ensuring safe and accurate operation.
Patent Information
- Application Number
- JP2023067503
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-10-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing social infrastructure control systems face challenges in optimizing control actions in real space due to biased data and difficulty in reproducing unknown environments, making it difficult to achieve safe and optimal control.
A social infrastructure control system utilizing a deep reinforcement learning algorithm with two agents, one for predicting control values and risks, and another for detecting abnormalities, autonomously learns from real-world data to optimize control actions while ensuring safety and accuracy.
The system enables safe and optimal control of social infrastructure by autonomously searching for optimal operating points in real-time, improving accuracy, sensitivity, and reliability through a hybrid model-based and model-free learning approach.
Smart Images

Figure 2024153964000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a social infrastructure control system that controls a social infrastructure. [Background technology]
[0002] Conventionally, there is known a technology that collects various data in the real space, models each object in a virtual space based on the data, performs predictive analysis, and performs the resulting optimization control on the real space. Patent Document 1 proposes a system that analyzes multiple data from one or more industrial processing units to optimize key performance indicators of the industry. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-195308 A Summary of the Invention [Problem to be solved by the invention]
[0004] For example, when controlling social infrastructure such as a plant consisting of many devices, it is conceivable to apply the optimized control obtained by learning with a virtual space model as in the past to the social infrastructure in the real space. However, in the case of model-based learning as described above, even if the control is optimized in the virtual space model, it is not necessarily optimized in the social infrastructure in the real space. It is possible to improve the model to find a better control operation (optimal operating point), but it is difficult to completely reproduce an unknown environment. In reality, the data that already exists is often biased, making it difficult to autonomously explore the data and find the global optimum while reliably protecting the safety of the social infrastructure.
[0005] An object of the present invention is to provide a social infrastructure control system capable of autonomously performing safe optimal control. [Means for solving the problem]
[0006] In order to achieve the above-mentioned object, the social infrastructure control system of the present invention includes a data collection unit that collects data related to the social infrastructure (including sensor data, text record data, etc.), at least sensor data from various sensors installed in the social infrastructure, a data processing unit that performs preprocessing, which is qualitative control of the data collected by the data collection unit, a data storage unit that stores the collected data and the preprocessed data, a reward determination unit that determines a reward based on the preprocessed data, which is a state corresponding to data indicating the current state of the social infrastructure, and a data learning unit that executes a deep reinforcement learning algorithm using the state and the reward, and outputs the obtained control value to the social infrastructure.
[0007] The data learning unit has a first deep reinforcement learning agent and a second deep reinforcement learning agent. The first deep reinforcement learning agent predicts the state value, risk, and control value through deep learning. The learning of the first deep reinforcement learning agent includes model-based learning in which a model predicting a target indicator of the social infrastructure is created and the behavior of the model is learned, and model-free learning in which the weights of the deep learning are adjusted by sampling from real-world data of the social infrastructure accumulated in the data storage unit. The first deep reinforcement learning agent re-learns both the model-based learning algorithm and the model-free learning algorithm using newly collected data, and further causes the model-free learning algorithm to learn the input-output relationship of the model-based learning algorithm. The second deep reinforcement learning agent outputs a second reward based on the state according to a reward function designed in the state space, and predicts an anomaly score by deep learning based on the second reward. The anomaly score is increased when a data pattern different from the pattern of past data accumulated in the data storage unit is input. The anomaly score from the second deep reinforcement learning agent is input to the network unit in which the first deep reinforcement learning agent predicts risk by deep learning. The second deep reinforcement learning agent has an algorithm management unit that, when the prediction performance of the anomaly score has deteriorated, predicts, based on the input data, whether the boundary of the operating range of the social infrastructure has been exceeded or the pattern of the input data has changed, by comparing with past data. The algorithm management unit uses statistical testing to determine whether the pattern of the input data has changed. When the algorithm management unit determines that the boundary of the operating range of the social infrastructure has been exceeded, the second deep reinforcement learning agent re-learns using new data.
[0008] This makes it possible to autonomously search for optimal control actions (optimal operating points) in real time while controlling social infrastructure. The deep learning output of the deep reinforcement learning agent is random, and new data is collected near the optimal solution to perform the search. According to the new data, the model-based learning algorithm that satisfies the accuracy and sensitivity expression is modified, and the engineering and physical behavior is confirmed (can be confirmed by humans). Although it is difficult for humans to directly interpret the deep learning that learns the model, accuracy and sensitivity can be acquired relatively quickly through the above-mentioned learning, ensuring the safety of the optimal solution by the first deep reinforcement learning agent, and improving accuracy, sensitivity, and reliability. Furthermore, safe control is realized through cooperation between the first and second deep reinforcement learning agents. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram showing an overall configuration of a social infrastructure control system and a social infrastructure according to an embodiment; [Diagram 2] FIG. 1 is a functional block diagram of a social infrastructure control system according to an embodiment. [Diagram 3] FIG. 2 is a functional block diagram of a data learning unit according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] An embodiment of the present invention will be described below with reference to the drawings. This embodiment proposes building a social infrastructure control system that can safely and autonomously operate social infrastructure by learning the knowledge of experts (human specialists) in real time and setting the social infrastructure as a target indicator (KPI). The social infrastructure is, for example, a plant composed of many devices. The target indicator is set as a useful indicator of the social infrastructure, such as performance, productivity, or quality.
[0011] <Social infrastructure control systems and overall configuration of social infrastructure> The overall configuration of a social infrastructure control system 10 and a social infrastructure 50 according to this embodiment will be described with reference to Fig. 1. The social infrastructure control system 10 is a system that controls the social infrastructure 50 using deep reinforcement learning.
[0012] The equipment section 51 is made up of various types of equipment that constitute the social infrastructure 50 . The equipment control unit 52 controls the operation of the equipment unit 51 based on the control value determined by the social infrastructure control system 10 .
[0013] The sensor unit 53 is a variety of sensors provided in the social infrastructure 50, and outputs sensor data related to the device unit 51. The communication unit 12 communicates with an external communication device such as a server via a communication network (not shown), and receives and outputs environmental data related to the social infrastructure 50.
[0014] The display unit 13 graphically displays (visualizes data) various data handled by the control device 11 using, for example, a graph or a dashboard so that an expert (human specialist) 60 can confirm the data. The operation unit 14 is operated by the expert 60 to input his / her knowledge to the control device 11, and includes, for example, a keyboard and a touch panel.
[0015] The data storage unit 15 uses, for example, a database or cloud storage, and stores the data output from the sensor unit 53 and the communication unit 12, and the data processed by the control device 11. The data stored in the data storage unit 15 is sampled by a method such as bootstrap, and is used in the learning stage.
[0016] The control device 11 acquires data from the sensor unit 53 and the communication unit 12 and executes social infrastructure control processing. The control device 11 includes a computer equipped with a CPU, RAM, ROM, an input / output interface, etc. (not shown), and the CPU executes a program pre-stored in the ROM while utilizing the temporary storage function of the RAM, thereby realizing the functions of the data collection unit 21, data processing unit 22, reward determination unit 23, and data learning unit 24. Hereinafter, the sensor data and environmental data used in the social infrastructure control processing will be referred to as "feedback data" as appropriate.
[0017] The data collection unit 21 collects all data related to the social infrastructure 50, that is, the sensor data from the sensor unit 53 and the environmental data from the communication unit 12, as feedback data.
[0018] The data processing unit 22 performs pre-processing of the collected feedback data. In this pre-processing, various processing processes are performed on the feedback data so that it is easy for the deep reinforcement learning algorithm to process. For example, data that is meaningless in terms of accuracy is removed as an outlier. In addition, the data processing unit 22 obtains other new information from the feedback data using the equations of physical laws and adds the new information to the feedback data. The social infrastructure 50 is composed of many devices. Through the pre-processing of the feedback data, the linear correlation or non-linear correlation of the data regarding each device is analyzed, and data tags are grouped for each device. When one or more multiple variables are selected, the data is mathematically and statistically normalized, and the distance (norm) and variance-covariance value of the multiple variables are defined. For the normalization, the z value, t value, standard deviation, maximum-maximum difference, and other statistics are used.
[0019] The reward determination unit 23 determines a reward to be used in the deep reinforcement learning algorithm based on the feedback data, and outputs it to the data learning unit 24.
[0020] The data learning unit 24 executes a deep reinforcement learning algorithm using the feedback data from the data processing unit 22 and the reward from the reward determination unit 23, and outputs the obtained control value to the equipment control unit 52. The data learning unit 24 determines an optimal control value for the feedback data by adjusting (i.e., learning) internal parameters through the execution of the deep reinforcement learning algorithm.
[0021] <Outline of social infrastructure control processing> Next, with reference to FIG. 2, an overview of social infrastructure control processing using deep reinforcement learning will be described.
[0022] The data learning unit 24 executes a deep reinforcement learning algorithm using feedback data at a certain time t, and outputs the obtained control value to the device control unit 52. In reinforcement learning, the feedback data is the state s of the environment. t The control value corresponds to the action on the environment a t The device control unit 52 controls the operation of the device unit 51 based on the control value from the data learning unit 24.
[0023] The data collection unit 21 collects feedback data at time t+1 from the sensor unit 53 and the communication unit 12. The data processing unit 22 pre-processes the collected feedback data. In reinforcement learning, this pre-processed feedback data is used to estimate the state s t+1 The reward determination unit 23 determines the reward r in the reinforcement learning based on the feedback data. t+1 Determine.
[0024] The data learning unit 24 calculates the feedback data (state s t+1 ) and reward r t+1After obtaining t+1, the policy is updated and the deep reinforcement learning algorithm is executed using the feedback data at time t+1 to obtain a new control value (action a t+1 ) to the device control unit 52.
[0025] <Data learning section configuration> Next, the configuration of the data learning unit 24 will be described with reference to FIG. 2 and FIG.
[0026] The data learning unit 24 is a functional unit that performs deep reinforcement learning and is divided into two parts. One part, a first deep reinforcement learning agent 30, learns and outputs a control value as an action a based on a reward r and a state s. The other part, a second deep reinforcement learning agent 40, learns and outputs an anomaly score as an action.
[0027] The first deep reinforcement learning agent 30 includes an actor network 31, a critic network 32, and a risk network 33.
[0028] The actor network 31 is a model that selects an action a according to a policy π(s, a) based on a state s. The policy π(s, a) is defined as a function using the probability p(s, a) of selecting an action a in a certain state s.
[0029] The critic network 32 is a model that evaluates the action a selected by the actor network 31, and has a value Q(s, a) that represents the evaluation. The state s and reward r are input to the critic network 32, and the critic network 32 predicts the value Q(s, a).
[0030] The risk network 33 is a model that places constraints on the action a selected by the actor network 31, and the risk Q ~ (s, a). The risk network 33 receives the state s and the anomaly score from the second deep reinforcement learning agent 40, and the risk network 33 has a risk Q ~ Predict (s,a). The actor network 31 updates the policy π(s, a) based on the evaluation by the critic network 32 and the constraints by the risk network 33.
[0031] The actor network 31, the critic network 32, and the risk network 33 are generated by deep learning using recurrent neural networks, and the control value, value Q(s, a), and risk Q ~ (s, a) is predicted. In other embodiments, a neural network other than a recurrent type may be used. In order to optimize deep learning, it is necessary to adjust the weights. The weights are adjusted by sampling from past data accumulated in the data storage unit 15. Using an index of the deviation between the state value and the obtained reward value, the weights are adjusted so that the deviation becomes small. This adjustment is performed periodically in a loop separate from the loop that outputs the control value.
[0032] Control value, value Q(s,a), and risk Q ~ (s, a) is expressed as a statistical probability distribution (called a policy in reinforcement learning), and is sampled from this probability distribution. The output of deep learning is random, and by sampling from this probability distribution, the risk Q ~ The (s, a) strategy uses a statistical method (e.g., using Kaliback-Leibler divergence) to appropriately constrain the probability distribution, and can safely avoid risk. In this embodiment, the anomaly score from the second deep reinforcement learning agent 40 is input to the risk network 33. This improves the prediction accuracy and sensitivity of the risk network 33.
[0033] The second deep reinforcement learning agent 40 includes a reward function unit 41, an anomaly detection network 42, a collaboration unit 43, and an algorithm management unit 44.
[0034] The anomaly detection network 42 is a model that outputs an anomaly score as an action a based on the reward r output from the reward function unit 41. The anomaly detection network 42 predicts an anomaly score by deep learning (including deep learning using a recurrent neural network). The learning data for the anomaly detection network 42 uses distances (norms), variance-covariance values, and eigenvalue groups that serve as their latent variables generated by the data processing unit 22.
[0035] The accuracy and sensitivity of prediction in the anomaly detection network 42 are important indicators for outputting a control value. The setting of the reward function in the reward function unit 41 designed in the state space has a large effect on improving the accuracy and sensitivity. The reward function is set as a differentiable regression equation using normalized state space values and anomaly scores defined as optimal actions.
[0036] The first deep reinforcement learning agent 30 creates a model that predicts the target index of the social infrastructure 50 and learns the behavior of the model, which constitutes initial learning. The accuracy of the model is confirmed by learning and testing past data, but it is necessary to evaluate not only the accuracy but also the sensitivity. Sensitivity is important in determining whether the behavior of the social infrastructure 50 is physically, engineering, and economically correct. Therefore, the reward function is set so that it is high when the tendency for the controlled variable matches the model and the state is within the target of the target index. When multiple models are used in the initial stage, an important model is selected and used as the target for setting the reward function.
[0037] In the anomaly detection network 42, deep learning learns the characteristics of past data. When a data pattern different from the pattern of past data is input, the anomaly score is raised. In this case, it becomes possible to know which equipment has a large deviation from the past pattern from the variance-covariance value of each equipment set by the data processing unit 22. Using this property, a cause analysis (FMEA) can be performed. The variance-covariance value is composed of normalized data and a data set that is a reference for the target index of the data. The collaboration unit 43 uses the display unit 13 to display the data fluctuation range, the tolerance boundary, and the data set reference in real time to the expert 60. The expert 60 can review the data set reference point and the tolerance boundary and correct the reward function of the reward function unit 41. The deep learning of the anomaly detection network 42 re-learns with the corrected reward function, and the anomaly score is reviewed. If the cause of the event is further investigated, the knowledge can also be stored.
[0038] When the prediction performance of the anomaly score is degraded, the algorithm management unit 44 predicts the cause of whether the boundary of the operating range of the social infrastructure 50 is exceeded or the pattern of the input data has changed, based on the input data, in comparison with past data. The algorithm management unit 44 tests whether the pattern of the input data has changed using statistical tests (for example, Komologrov-Smironov test, Mahalanobis distance, Kalibak-Leibler divergence, etc.). When the algorithm management unit 44 determines that the boundary of the operating range of the social infrastructure 50 is exceeded, the second deep reinforcement learning agent 40 performs re-learning using new data. When the algorithm management unit 44 determines that the boundary of the operating range of the social infrastructure 50 is exceeded, the second deep reinforcement learning agent 40 obtains knowledge from the expert 60 by the collaboration unit 43 for the input data that has exceeded the boundary of the operating range, reviews the reference values of the operating range and data, and performs re-learning.
[0039] In this embodiment, although not shown, a plurality of first deep reinforcement learning agents 30 are provided, and the plurality of first deep reinforcement learning agents 30 are arranged in parallel at the output of the second deep reinforcement learning agent 40, and learn in cooperation with each other. This allows optimal actions to be executed.
[0040] When a high-risk behavior is detected, the multi-agent consisting of multiple first deep reinforcement learning agents 30 deletes data related to control based on that behavior and does not store it in the data storage unit 15. The deep learning weights of the first deep reinforcement learning agents 30 are adjusted by sampling from past data accumulated in this data storage unit 15, ensuring safe operation within constraints.
[0041] <Summary of this embodiment> As described above, the social infrastructure control system 10 is designed to learn from real-world data of the social infrastructure 50 and operate optimally and autonomously. Deep reinforcement learning and model-based optimization technology are combined to realize safe autonomous driving. In the social infrastructure control system 10, the "functional unit that performs deep reinforcement learning" is divided into two parts. One part, the first deep reinforcement learning agent 30, learns and outputs an optimal control value as an action a based on the reward r and the state s. The other part, the second deep reinforcement learning agent 40, learns and outputs an anomaly score as an action. The two work together to accurately predict safety and perform autonomous optimal control with high accuracy and constraints.
[0042] The social infrastructure 50 is composed of many devices, and the second deep reinforcement learning agent 40 learns the optimal action a from each reward r and state s. In this case, the action a becomes the anomaly score. By using a model-free method that does not require creating an individual model for each device, a system that detects anomalies can be built. Abnormal parts are also analyzed at the same time, and the expert 60 is immediately notified of baseline data (evaluation standard data set) and operating range information. Based on this information, the expert 60 checks the baseline and operating range, reflects the reward system, and the deep reinforcement learning algorithm can learn the expert knowledge of the expert 60 in real time.
[0043] The first deep reinforcement learning agent 30 first learns a target indicator for driving that is constructed in advance using a model base. The model base uses supervised machine learning to display the target indicator as a function based on the control variables and impact variables of the social infrastructure 50. The target indicator includes a boundary value for ensuring safety. The first deep reinforcement learning agent 30 learns so that the behavior of this model with respect to the control variables of the social infrastructure 50 can be reproduced (so that the sensitivity matches). The deep learning of the first deep reinforcement learning agent 30 predicts the value of the state, the control value, and the risk. The risk is output based on the state and the anomaly score that is the output from the second deep reinforcement learning agent 40. The risk is output as a policy using a probability distribution. By setting various statistical probability distribution constraints on the policy, safety is ensured so that the control value does not exceed the boundary value.
[0044] A plurality of first deep reinforcement learning agents 30 are provided, and are evaluated by a model constructed based on data, and risks and constraints are evaluated. When a high-risk behavior is detected, control based on that behavior is deleted and not stored in the data storage unit 15. The deep learning weights of the first deep reinforcement learning agents 30 are adjusted by sampling from past data accumulated in this data storage unit 15, thereby ensuring safe operation within the constraints. Sampling for learning is performed using a sampling with replacement method, and high-risk data sets are excluded from the learning data. A hybrid of model-free and model-based ensures optimal driving for safety.
[0045] That is, the learning of the first deep reinforcement learning agent 30 includes model-based learning, in which a model predicting the target index of the social infrastructure 50 is created and the behavior of the model is learned, and model-free learning, in which the weights of the deep learning are adjusted by sampling from the real-world data of the social infrastructure 50 accumulated in the data storage unit 15. The first deep reinforcement learning agent 30 re-learns both the model-based learning algorithm and the model-free learning algorithm using newly collected data, and further makes the model-free learning algorithm learn the input-output relationship of the model-based learning algorithm. As a result, the output of the deep learning of the first deep reinforcement learning agent 30 has randomness, and new data is collected in the vicinity of the optimal solution and a search is performed. According to the new data, the model-based learning algorithm that satisfies the accuracy and sensitivity expression is corrected, and the engineering and physical behavior is confirmed (can be confirmed by humans). Although it is difficult for humans to directly interpret the deep learning used to train this model, the above-described learning method allows accuracy and sensitivity to be acquired relatively quickly, ensuring the safety of the optimal solution provided by the first deep reinforcement learning agent 30 and improving accuracy, sensitivity and reliability.
[0046] Although not specifically illustrated, the present invention can be implemented with various modifications without departing from the spirit and scope of the present invention. [Explanation of symbols]
[0047] 10 social infrastructure control system, 15 data storage unit, 21 data collection unit, 22 data processing unit, 23 reward determination unit, 24 data learning unit, 30 first deep reinforcement learning agent, 40 second deep reinforcement learning agent, 44 algorithm management unit, 50 social infrastructure.
Claims
1. A social infrastructure control system that controls a social infrastructure, a data collection unit that collects data related to the social infrastructure, the data being at least sensor data from various sensors installed in the social infrastructure; a data processing unit that performs pre-processing, which is a qualitative control of the data collected by the data collecting unit; a data storage unit for storing the collected data and the pre-processed data; a reward determination unit that determines a reward based on the preprocessed data, the reward being equivalent to data indicating the current state of the social infrastructure; A data learning unit that executes a deep reinforcement learning algorithm using the state and the reward and outputs an obtained control value to the social infrastructure; Equipped with The data learning unit has a first deep reinforcement learning agent and a second deep reinforcement learning agent, The first deep reinforcement learning agent predicts the value and risk of the state and the control value through deep learning; The learning of the first deep reinforcement learning agent includes model-based learning in which a model for predicting a target indicator of the social infrastructure is created and the behavior of the model is learned, and model-free learning in which a weight of deep learning is adjusted by sampling from real-world data of the social infrastructure accumulated in the data storage unit, the first deep reinforcement learning agent retrains both the model-based learning algorithm and the model-free learning algorithm using newly collected data, and further trains the model-free learning algorithm to learn an input-output relationship of the model-based learning algorithm; The second deep reinforcement learning agent outputs a second reward based on the state according to a reward function designed in a state space, and predicts an anomaly score by deep learning based on the second reward; The anomaly score is increased when a data pattern different from a pattern of past data stored in the data storage unit is input, The anomaly score from the second deep reinforcement learning agent is input to a network unit in which the first deep reinforcement learning agent predicts the risk by deep learning, The second deep reinforcement learning agent has an algorithm management unit that, when the prediction performance of the anomaly score is degraded, predicts, based on the input data, whether the boundary of the operating range of the social infrastructure is exceeded or the pattern of the input data is changed, by comparing with past data; The algorithm management unit tests whether the pattern of the input data has changed using a statistical test; A social infrastructure control system, wherein the second deep reinforcement learning agent re-learns using new data when the algorithm management unit determines that the boundary of the operating range of the social infrastructure has been exceeded.
2. The social infrastructure control system according to claim 1 , wherein the data processing unit obtains other new information from the collected data by using a formula of physical laws, and adds the new information as the preprocessed data.
3. The social infrastructure control system according to claim 1 , wherein a plurality of the first deep reinforcement learning agents are provided, the plurality of first deep reinforcement learning agents are arranged in parallel at the output of the second deep reinforcement learning agent, and learn in cooperation with each other.
4. The social infrastructure control system of claim 3, wherein when a high-risk behavior is detected, the multi-agent consisting of the plurality of first deep reinforcement learning agents deletes data related to control based on the behavior and does not store the data in the data storage unit.
5. The second deep reinforcement learning agent has a collaboration unit that displays data fluctuation ranges, tolerance boundaries, and data set standards in real time to the expert using a display unit that visualizes data so that knowledge of a human expert can be input in real time, The social infrastructure control system of claim 1, wherein when the algorithm management unit determines that the boundary of the operating range of the social infrastructure has been exceeded, the second deep reinforcement learning agent obtains knowledge from the expert via the collaboration unit for input data that exceeds the boundary of the operating range, reviews the operating range and the reference values of the data, and performs re-learning.
Citation Information
Patent Citations
Method and system for data-based optimization of performance indicators in process and manufacturing industries
JP2018195308A
Cited By
Data collection method and system for urban and rural planning investigation
CN120145295A
