A method for automatic annotation of power scene image data
Through technologies such as convolutional neural networks and recurrent neural networks, combined with attention mechanisms and evaluation networks, the problem of low efficiency of image data annotation in the power industry is solved, achieving fast, accurate and automatic annotation of power scene image data, and adapting to complex environments.
Patent Information
- Application Number
- CN202210598815.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-05-30
AI Technical Summary
The annotation efficiency of image data in the power industry is low, especially in complex scenes, which is greatly affected by external factors such as lighting, resulting in manual annotation being time-consuming and inefficient.
Convolutional neural network is used to extract image features, combined with recurrent neural network, attention mechanism and gated graph neural network, specific position information is controlled through the hidden layer of the recurrent neural network, and the evaluation network is used to process occlusion boundaries, reducing the number of parameters and performing upsampling. Implement automatic labeling.
It realizes fast, accurate and automatic annotation of power scene image data, improves the annotation efficiency, has strong adaptability, and solves the problem of low annotation efficiency in the existing technology.
Smart Images

Figure CN115063643B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data annotation, and in particular relates to a method for automatic annotation of electric power scene image data. Background Art
[0002] With the rapid development of big data and smart Internet, the traditional power industry is gradually becoming intelligent. According to the overall strategic deployment of State Grid Corporation of China to build a smart grid, the power industry is about to undergo revolutionary changes. With the development of the intelligent era, the power industry continues to generate a large amount of data with rich data types, and how to identify and process different types of data in different scenarios has become an urgent problem to be solved. The multi-scenario data sources of the power industry mainly come from the power generation, transmission, transformation, distribution, power consumption and dispatching of power production and power use, which can be roughly divided into three categories: one is the power grid operation and equipment detection or monitoring data; the second is the marketing data of power companies, such as transaction electricity prices, electricity sales, electricity customers and other aspects; the third is the management data of power companies.
[0003] At present, the sample data of power multi-scenario mainly targets the following business scenarios:
[0004] (1) Planning - Improving load forecasting capabilities. By analyzing massive amounts of data from multiple scenarios, we can more accurately understand the distribution and changing patterns of power loads and improve the accuracy of mid- and long-term load forecasts.
[0005] (2) Construction - Improve on-site safety management capabilities. Batch compare and analyze on-site photos to identify safety hazards at the construction site or verify the implementation of safety rectification measures.
[0006] (3) Operation - Improve the dispatching and management capabilities of new energy. Analyze the relationship between the output of new energy and meteorological factors such as wind speed, light, and temperature, and more accurately predict and manage the power generation capacity of new energy.
[0007] (4) Maintenance - Improve the condition maintenance management capabilities. Study the impact of factors such as troubleshooting, maintenance, operating conditions, and meteorological conditions on equipment status, as well as the risk level of equipment operation.
[0008] (5) Marketing - Improve the ability to analyze electricity usage behavior. Expand the scope and frequency of electricity usage collection, conduct in-depth analysis of electricity usage behavior characteristics, and implement differentiated user management strategies.
[0009] (6) Operation monitoring: Improve business correlation analysis capabilities. Use technologies such as streaming computing, visualization, and parallel processing to achieve all-round online monitoring, analysis, and computing. Use machine learning technology to solve cross-business correlation analysis, data factor analysis, data diagnostic rules and algorithms, and improve data quality monitoring and governance.
[0010] (7) Customer Service—Improve service efficiency. Monitor customer service recordings in real time, use pattern recognition, machine learning and other technologies to optimize the allocation of service resources for hot issues, and improve the level of interaction.
[0011] To sum up, there is an urgent need to combine sample data from multiple power scenarios to carry out intelligent operations and services for multiple power scenario businesses.
[0012] In power business scenarios, it is often necessary to label multi-scene image data. For example, in the operation monitoring scenario, most of the collected data is unlabeled data, with only a very small amount of labeled data. The massive labeled data is an important data support for our realization of smart grids. Therefore, it is very necessary to automatically label these unlabeled data and improve the accuracy and other performance of machine learning models through supervised training of machine learning models. At the same time, there are many types of power multi-scene sample data, including real-time data, historical data, text data, multimedia data, time series data and other structured, semi-structured data and unstructured data. Manual labeling takes a long time, and due to the complexity of power scenarios, images are easily affected by external factors such as light, which increases the difficulty of labeling. The efficiency of manual labeling is very low. Summary of the invention
[0013] The purpose of the present invention is to provide a method for automatically labeling electric power scene image data, so as to solve the problem of low efficiency of electric power scene image labeling in the prior art.
[0014] The technical solution adopted by the present invention is as follows:
[0015] A method for automatically labeling power scene image data comprises the following steps:
[0016] (1) Input power scene image samples and use convolutional neural network to extract image features;
[0017] (2) Use a recurrent neural network to model the two-dimensional vertex sequence of the labeled polygon object, use a long short-term memory network to reduce the number of parameters while retaining the spatial information of the data, perform normalization at each time step, and share different mean and variance estimates;
[0018] (3) Introducing the attention mechanism, at time step t, the weighted feature map is calculated. The attention mechanism uses the hidden layer of the recurrent neural network to control specific positions in the image feature map, allowing the recurrent neural network to focus only on relevant information in the next time step;
[0019] (4) When objects occlude each other in the image data, the occlusion boundary usually shows a stronger edge with a higher logarithmic probability during prediction, thereby reducing the probability of being cropped by the beam search. The quality of the recurrent neural network processing results is analyzed using the evaluation network skip features, the final state of the recurrent neural network, and the predicted polygons;
[0020] (5) Use a gated graph neural network for upsampling, use the vertex sequence generated by the recursive neural network decoder as the nodes of the graph, and add nodes between consecutive nodes; classify the image features within the node box to complete the labeling of power scene image samples.
[0021] Furthermore, in step (1), the convolutional neural network reduces the step size based on the ResNet-50 method and introduces hole convolution to amplify the feature map of the input image without reducing the receptive field of a single neuron.
[0022] Furthermore, in step (1), skip connections are introduced to capture lower-level details such as corners and high-level semantic information.
[0023] Furthermore, in step (1), batch normalization is used to optimize the variance size and mean position to ensure the nonlinear expression ability of the model.
[0024] Furthermore, in the step (1), Max Pooling is used to perform dimensionality reduction operations on image features to reduce the number of model parameters and overfitting.
[0025] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0026] 1. In the present invention, target detection is achieved by extracting image features based on a convolutional neural network, which can realize automatic annotation of power scene image data, is less prone to errors, has a fast processing speed, and has strong adaptability to the image shooting environment, greatly improving the annotation efficiency and solving the problem of low efficiency of power scene image annotation in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative work, among which:
[0028] Figure 1 Schematic diagram of the structure of the convolutional neural network of the present invention;
[0029] Figure 2It is a schematic diagram of the structure of the evaluation network of the present invention;
[0030] Figure 3 Schematic diagram of the gate graph neural network of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.
[0032] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] A method for automatically labeling power scene image data comprises the following steps:
[0034] (1) Input power scene image samples and use convolutional neural network to extract image features;
[0035] (2) Use a recurrent neural network to model the two-dimensional vertex sequence of the labeled polygon object, use a long short-term memory network to reduce the number of parameters while retaining the spatial information of the data, perform normalization at each time step, and share different mean and variance estimates;
[0036] (3) Introducing the attention mechanism, at time step t, the weighted feature map is calculated. The attention mechanism uses the hidden layer of the recurrent neural network to control specific locations in the image feature map, allowing the recurrent neural network to focus only on relevant information in the next time step;
[0037] (4) When objects occlude each other in the image data, the occlusion boundary usually shows a stronger edge with a higher logarithmic probability during prediction, thereby reducing the probability of being cropped by the beam search. The quality of the recurrent neural network processing results is analyzed using the evaluation network skip features, the final state of the recurrent neural network, and the predicted polygons;
[0038] (5) Use a gated graph neural network for upsampling, use the vertex sequence generated by the recursive neural network decoder as the nodes of the graph, and add nodes between consecutive nodes; classify the image features within the node box to complete the labeling of power scene image samples.
[0039] Furthermore, in step (1), the convolutional neural network reduces the step size based on the ResNet-50 method and introduces hole convolution to amplify the feature map of the input image without reducing the receptive field of a single neuron.
[0040] Furthermore, in step (1), skip connections are introduced to capture lower-level details such as corners and high-level semantic information.
[0041] Furthermore, in step (1), batch normalization is used to optimize the variance size and mean position to ensure the nonlinear expression ability of the model.
[0042] Furthermore, in the step (1), Max Pooling is used to perform dimensionality reduction operations on image features to reduce the number of model parameters and overfitting.
[0043] During implementation of the present invention:
[0044] 1. Extract image features using convolutional neural networks
[0045] Convolutional neural network is a common method in the field of deep learning to extract image features. The convolutional neural network refers to the ResNet-50 approach to reduce the step size and introduce hole convolution to amplify the feature map of the input image without reducing the receptive field of a single neuron. Skip connections are introduced to capture lower-level details such as corners and high-level semantic information. Batch normalization is used to optimize the variance size and mean position to ensure the nonlinear expression ability of the model. Max Pooling is used to reduce the dimension of the features to reduce the number of model parameters and overfitting problems. The above convolutional neural network structure is as follows: Figure 1 shown.
[0046] 2. Recursive Neural Network
[0047] Use recurrent neural networks to model the 2D vertex sequence of the polygon of the labeled object. Use long short-term memory networks (LSTM) to reduce the number of parameters while retaining the spatial information of the data. Normalization is performed at each time step, and different mean and variance estimates are shared.
[0048] 3. Attention Mechanism
[0049] In order to improve the recurrent neural network, the attention mechanism is introduced. At time step t, the weighted feature map is calculated. The attention mechanism uses the hidden layer of the recurrent neural network to control specific locations in the image feature map, so that the recurrent neural network only pays attention to relevant information in the next time step.
[0050] 4. Evaluate the network
[0051] When there are objects occluding each other in the image data, the occlusion boundary usually shows a strong edge with a higher logarithmic probability when predicted, thus reducing the probability of being clipped by the beam search. Using an evaluation network can effectively solve this problem. The evaluation network will skip the features, the final state of the recurrent neural network, and the predicted polygons to analyze the quality of the recurrent neural network processing results. The evaluation network structure is as follows Figure 2 shown.
[0052] 5. Upsampling
[0053] Use a gated graph neural network for upsampling, use the vertex sequence generated by the RNN decoder as the nodes of the graph, and add nodes between consecutive nodes. The gated graph neural network defines a propagation model that effectively propagates information before generating output at each node. Figure 3 shown.
[0054] Example 1
[0055] A method for automatically labeling power scene image data comprises the following steps:
[0056] (1) Input power scene image samples and use convolutional neural network to extract image features;
[0057] (2) Use a recurrent neural network to model the two-dimensional vertex sequence of the labeled polygon object, use a long short-term memory network to reduce the number of parameters while retaining the spatial information of the data, perform normalization at each time step, and share different mean and variance estimates;
[0058] (3) Introducing the attention mechanism, at time step t, the weighted feature map is calculated. The attention mechanism uses the hidden layer of the recurrent neural network to control specific positions in the image feature map, allowing the recurrent neural network to focus only on relevant information in the next time step;
[0059] (4) When objects occlude each other in the image data, the occlusion boundary usually shows a stronger edge with a higher logarithmic probability during prediction, thereby reducing the probability of being cropped by the beam search. The quality of the recurrent neural network processing results is analyzed using the evaluation network skip features, the final state of the recurrent neural network, and the predicted polygons;
[0060] (5) Use a gated graph neural network for upsampling, use the vertex sequence generated by the recursive neural network decoder as the nodes of the graph, and add nodes between consecutive nodes; classify the image features within the node box to complete the labeling of power scene image samples.
[0061] Example 2
[0062] Based on Example 1, in step (1), the convolutional neural network reduces the step size based on the ResNet-50 method and introduces hole convolution to amplify the feature map of the input image without reducing the receptive field of a single neuron.
[0063] Example 3
[0064] Based on the above embodiment, in step (1), a skip connection is introduced to capture lower-level details such as corners and high-level semantic information.
[0065] Example 4
[0066] Based on the above embodiment, in step (1), batch normalization is used to optimize the variance size and mean position to ensure the nonlinear expression ability of the model.
[0067] Example 5
[0068] Based on the above embodiment, in step (1), Max Pooling is used to perform dimensionality reduction operation on image features to reduce the number of model parameters and overfitting.
[0069] As described above, the embodiments of the present invention are described above. The preferred embodiments of the present invention are described above. If the preferred implementation methods in each preferred embodiment are not obviously self-contradictory or based on a preferred implementation method, each preferred implementation method can be arbitrarily superimposed and used in combination. The embodiments and specific parameters in the embodiments are only for the purpose of clearly describing the verification process of the invention, and are not used to limit the patent protection scope of the present invention. The patent protection scope of the present invention is still subject to its claims. Any equivalent changes made by using the contents of the description and drawings of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for automatically labeling power scene image data, characterized in that: The following steps are involved: (1) Input power scene image samples and use convolutional neural network to extract image features; (2) Use a recurrent neural network to model the two-dimensional vertex sequence of the labeled polygon object, use a long short-term memory network to reduce the number of parameters while retaining the spatial information of the data, perform normalization at each time step, and share different mean and variance estimates; (3) Introducing the attention mechanism, at time step t, the weighted feature map is calculated. The attention mechanism uses the hidden layer of the recurrent neural network to control specific positions in the image feature map, allowing the recurrent neural network to focus only on relevant information in the next time step; (4) When objects occlude each other in the image data, the occlusion boundary usually shows a stronger edge with a higher logarithmic probability during prediction, thereby reducing the probability of being cropped by the beam search. The quality of the recurrent neural network processing results is analyzed using the evaluation network skip features, the final state of the recurrent neural network, and the predicted polygons; (5) Use a gated graph neural network for upsampling, use the vertex sequence generated by the recursive neural network decoder as the nodes of the graph, and add nodes between consecutive nodes; classify the image features within the node box to complete the labeling of power scene image samples.
2. A method for automatically labeling power scene image data according to claim 1, characterized in that: In the step (1), the convolutional neural network reduces the step size based on the ResNet-50 method and introduces hole convolution to amplify the feature map of the input image without reducing the receptive field of a single neuron.
3. The method for automatic annotation of electric power scene image data according to claim 1, characterized in that: In step (1), skip connections are introduced to capture lower-level details such as corners and high-level semantic information.
4. The method for automatically labeling power scene image data according to claim 1, characterized in that: In step (1), batch normalization is used to optimize the variance size and mean position to ensure the nonlinear expression ability of the model.
5. The method for automatic annotation of electric power scene image data according to claim 1, characterized in that: In the step (1), Max Pooling is used to perform dimensionality reduction operations on image features to reduce the number of model parameters and overfitting.
