Learning data generation device, learning system, learning data generation method, and program

By converting input data into coordinate values and symbols, the learning data generation method addresses the challenge of dimension changes, enabling effective reuse of learning data in dynamic environments.

JP2024133757AInactive Publication Date: 2024-10-03NEC CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023043709
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing reinforcement learning systems struggle to handle changes in the number of dimensions of observed states, leading to the need for relearning when the dimensions change, and existing image generation methods do not account for variations in the number of sensors.

Method used

A learning data generation method that converts input data elements into coordinate values and symbols, generating image data to represent the state of an object, allowing for the combination of information with changing dimensions into a single image.

Benefits of technology

This approach suppresses the influence of dimension changes in observed information, enabling the reuse of previous learning results and reducing the need for relearning, particularly in dynamic environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133757000001_ABST
    Figure 2024133757000001_ABST
Patent Text Reader

Abstract

To provide a learning data generation device capable of suppressing an influence of changes in the number of dimensions in observed information on learning data.SOLUTION: Input means 81 receives input of data including multiple elements indicative of a state of a target object. Conversion means 82 converts any one of the elements included in the input data into coordinate values of an image and a value corresponding to a symbol to be drawn. Image generation means 83 generates image data obtained by drawing the symbol corresponding to a position identified by the coordinate values.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a training data generation device, a training system, a training data generation method, and a training data generation program for generating data used for training. [Background technology]

[0002] Various methods have been proposed for making a computer do machine learning using collected observation data. For example, Patent Document 1 describes a data analysis system that collectively analyzes multiple time series data. The system described in Patent Document 1 generates a converted image expressed by pixel shades (luminance values) from the data values ​​of each sensor data to be analyzed, and performs a learning process using a CNN (Convolutional Neural Network) with the acquired teacher signal and the generated image group as input.

[0003] Another type of machine learning known is reinforcement learning, in which data is given to an agent such as an AI (Artificial Intelligence) or a computer to make it learn. In reinforcement learning, learning is performed to search for an action that maximizes a set reward function. For example, Patent Document 2 describes a reinforcement learning device that learns using data collected from non-experts. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-124639 A [Patent Document 2] JP 2019-101979 A Summary of the Invention [Problem to be solved by the invention]

[0005] When learning the behavior of an object, not only observational data from the object itself but also from the environment around the object is often used. For example, when learning the autopilot of an aircraft, not only observational data such as the position, speed, orientation, and model of the aircraft itself is required, but also observational data such as the number, positions, speeds, orientations, and models of aircraft in the vicinity.

[0006] Since the surrounding situation generally changes, the number of dimensions of the obtained information also changes. For example, in the above example of aircraft, the number of dimensions of "number of aircraft x aircraft information" changes depending on the situation.

[0007] For example, in reinforcement learning, data on the state of the learning target is required, so in order to perform reinforcement learning in an environment close to reality, it is necessary to handle complex situations in which the number of dimensions of the observed state changes. However, in reinforcement learning, if the number of dimensions of the state changes, previous learning results cannot be used. Therefore, the reinforcement learning device described in Patent Document 2 does not take into account the change in the number of dimensions, so there is a problem in that if the dimensions change, the results of re-learning using learning data generated in the new state are required.

[0008] In addition, in the system described in Patent Document 1, a converted image is generated from multiple time-series data, but the number of sensors that acquire data (i.e., the number of dimensions) is not assumed to change. Therefore, it is difficult to generate learning data that corresponds to the change in the number of dimensions.

[0009] Therefore, an object of the present invention is to provide a training data generation device, a training system, a training data generation method, and a training data generation program that can suppress the impact on training data of changes in the number of dimensions in observed information. [Means for solving the problem]

[0010] The training data generation device according to the present invention is characterized by comprising an input means for accepting input of data including a plurality of elements indicating the state of an object, a conversion means for converting any of the elements included in the input data into coordinate values ​​of an image and values ​​corresponding to a symbol to be drawn, and an image generation means for generating image data in which a symbol corresponding to a position specified by the coordinate values ​​is drawn.

[0011] A learning system according to the present invention is characterized by including the above-mentioned learning data generation device and a learning device that performs reinforcement learning using the generated image data.

[0012] The learning data generation method according to the present invention is characterized in that it accepts input data including a plurality of elements indicating the state of an object, converts any of the elements included in the input data into coordinate values ​​of an image and values ​​corresponding to a symbol to be drawn, and generates image data in which a symbol corresponding to a position identified by the coordinate values ​​is drawn.

[0013] The learning data generation program according to the present invention is characterized in that it causes a computer to execute an input process for accepting input of data including a plurality of elements indicating the state of an object, a conversion process for converting any of the elements included in the input data into coordinate values ​​of an image and values ​​corresponding to a symbol to be drawn, and an image generation process for generating image data in which a symbol corresponding to a position identified by the coordinate values ​​is drawn. Effect of the Invention

[0014] According to the present invention, it is possible to suppress the influence on training data caused by changes in the number of dimensions in observed information. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing an example of the configuration of an embodiment of a learning system of the present invention; [Diagram 2] FIG. 11 is an explanatory diagram showing an example of a process for generating an image. [Diagram 3] 4 is a flowchart showing an example of the operation of the learning system of the present embodiment. [Figure 4] 1 is a block diagram showing an overview of a training data generating device according to the present invention; [Diagram 5] 1 is a block diagram showing an overview of a learning system according to the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the following description, reinforcement learning is exemplified as a learning method, and automatic piloting of an aircraft is exemplified as a learning content. However, the subject to which the present invention can be used is not limited to automatic piloting of an aircraft, and may be, for example, automatic driving of a car. In addition, any learning method using the learning data generated in this embodiment may be used as long as the method can use images for learning.

[0017] 1 is a block diagram showing an example of the configuration of an embodiment of a learning system of the present invention. The learning system 100 of this embodiment includes a storage unit 10, an input unit 20, a conversion unit 30, an image generation unit 40, and a learning unit 50.

[0018] The storage unit 10 stores information used by the learning system 100 of this embodiment for various processes. The storage unit 10 may store, for example, observation data used for learning. The storage unit 10 may also store a model used for learning by the learning unit 50 described below. For example, when the learning unit 50 performs reinforcement learning, the storage unit 10 may store a reward function (cost function) used for learning. The storage unit 10 is realized by, for example, a magnetic disk or the like.

[0019] The input unit 20 accepts input of data including a plurality of elements indicating the state of an object. For example, when the learning unit 50 described later learns about the automatic piloting of an aircraft, the input unit 20 accepts input of data including a plurality of elements indicating the state of the aircraft. The input unit 20 may accept input of observation data acquired by an external sensor (not shown). The input unit 20 may also acquire information required for processing from the storage unit 10. In the following description, each feature amount observed about an object may be referred to as information or an element, and a collection of information or elements may be referred to as data.

[0020] For example, when performing reinforcement learning for the autopilot of an aircraft, information on the latitude, longitude, altitude, speed, orientation, and model of the aircraft is required as a state. Furthermore, information on the latitude, longitude, altitude, speed, orientation, and model of aircraft flying around is also required as a state. Therefore, the input unit 20 may receive input of data on the aircraft and data on the aircraft flying around.

[0021] In this embodiment, the image data is generated by converting information about an object whose number of dimensions may change for each observation by a conversion unit 30 described later. Therefore, the input unit 20 accepts input of information about an object whose number of dimensions may change for each observation.

[0022] The conversion unit 30 converts any element included in the input data into a coordinate value of an image and a value corresponding to a symbol to be drawn. The conversion unit 30 may also convert any element included in the input data into a pixel value in addition to a coordinate value of an image and a value corresponding to a symbol to be drawn. The correspondence between the symbol to be drawn (for example, a circle, a cross, a rectangle, a diamond, etc.) and a value is determined in advance by a user, etc.

[0023] Specifically, conversion unit 30 converts each piece of information included in the data into at least one value (hereinafter referred to as image display information) including the value in the x-axis direction of the image, the value in the y-axis direction of the image, the values ​​of each of the three primary colors that make up the color of a pixel (specifically, R (red), G (green), and B (blue)), and a value corresponding to the symbol to be drawn. Note that in the following explanation, for the sake of simplicity, the pixel value of the R element that makes up a pixel will be referred to as the R value, the pixel value of the G element that makes up a pixel will be referred to as the G value, and the pixel value of the B element that makes up a pixel will be referred to as the B value.

[0024] It is preferable that the conversion unit 30 converts information about an object whose number of dimensions may change for each observation. In the above example, since the number of aircraft flying around the aircraft may change, it is preferable that the conversion unit 30 changes information indicating the status of the aircraft flying around. However, the conversion unit 30 does not prevent conversion of information about an object whose number of dimensions does not change.

[0025] Here, since the values ​​corresponding to the symbols to be drawn are discrete values, it is preferable that the conversion unit 30 converts the values ​​of the information expressed as discrete values, among the individual pieces of information contained in the data, into values ​​corresponding to the symbols. By converting the discrete value information into values ​​corresponding to the symbols to be drawn, conversion can be performed without reducing the amount of information. Note that it is optional as to which image display information the input information is converted, and it may be determined in advance.

[0026] A specific example of a method for converting data will be described below. In this specific example, it is assumed that the observation data (data indicating a state) is represented by six types of information (X1, X2, X3, X4, X5, X6). Since the values ​​corresponding to the symbols to be drawn among the image display information are discrete values, it is preferable to convert the discrete value information among the six types of information into values ​​corresponding to the symbols. When all the information included in the input data is a continuous value, the conversion unit 30 may perform a conversion that assigns a predetermined discrete value to each range of continuous values. In this specific example, it is assumed that the information X6 is a discrete value.

[0027] The conversion unit 30 also assigns the remaining five types of information (X1, X2, X3, X4, X5) to image display information. For example, the conversion unit 30 converts the information X1 into the x-axis value of the image data, the information X2 into the y-axis value of the image data, the information X3 into the R value of the image data, the information X4 into the G value of the image data, and the information X5 into the B value of the image data. By performing such conversion, the six types of information are converted into information for drawing an RGB image.

[0028] In order to convert each piece of information into RGB image data, it is necessary to convert each piece of information into a value between 0 and 1 and normalize it. Therefore, the conversion unit 30 converts the element value X i may be converted to a value between 0 and 1. In Equation 1, X iMax is the maximum value that each piece of information i can take, X iMin is the minimum value that each piece of information i can take.

[0029]

number

[0030] In addition, the conversion unit 30 converts the discrete value X num The information in Equation 2 may be converted as follows: sum is the number of patterns that each piece of information can take. Note that the discrete values ​​X num may be a negative integer.

[0031]

number

[0032] Next, a specific example will be described in which the above-mentioned conversion method is applied to observation data on aircraft. In this specific example, it is assumed that information on the latitude, longitude, altitude, speed, direction, and model of the aircraft itself, as well as information on the latitude, longitude, altitude, speed, direction, and model of the aircraft flying around it, are obtained as states. Hereinafter, the latitude is X1, the longitude is X2, the altitude is X3, the speed is X4, the direction is X5, and the model is X6.

[0033] Among these pieces of information, the information expressed as a discrete value is the model X6, so we will associate the model with a symbol. In addition, we will assume that all possible patterns for the model are four types: large aircraft, medium aircraft, small aircraft, and Cessna, and we will associate large aircraft with a triangle symbol, medium aircraft with a circle symbol, small aircraft with a diamond symbol, and Cessna with a cross symbol.

[0034] In addition, since latitude X1, longitude X2, altitude X3, and speed X4 are continuous values, the conversion unit 30 identifies the minimum and maximum values ​​that each piece of information can take, and converts each piece of information into a value between 0 and 1 using the conversion formula shown in Equation 1 above.

[0035] Note that the direction X5 can also be expressed as a discrete value, but to simplify the explanation, in this specific example, the direction X5 is expressed as eight discrete values ​​obtained by multiplying east-west / north-south with two types of directions (upward / downward), and a number is assigned to all possible patterns.

[0036] Specifically, the conversion unit 30 assigns the values ​​1 to the upper east direction, 2 to the upper south direction, 3 to the upper west direction, 4 to the upper north direction, 5 to the lower east direction, 6 to the lower south direction, 7 to the lower west direction, and 8 to the lower north direction, and converts these numbers to values ​​from 0 to 1 using the conversion formula of the above-mentioned formula 2. With this conversion, the values ​​of the converted direction X5 become 0.125 for the upper east direction, 0.25 for the upper south direction, 0.375 for the upper west direction, 0.5 for the upper north direction, 0.625 for the lower east direction, 0.75 for the lower south direction, 0.875 for the lower west direction, and 1 for the lower north direction.

[0037] The image generating unit 40 generates an image using values ​​(i.e., image display information) converted from the input data. Specifically, the image generating unit 40 generates image data in which a symbol corresponding to the converted value is drawn with the converted pixel value at a position specified by the converted coordinate value. For example, when information on continuous values ​​converted to values ​​from 0 to 1 is associated with pixel values, the image generating unit 40 may generate image data in which the pixel values ​​are values ​​converted again so that the converted continuous values ​​are assigned to 256 gradations.

[0038] Fig. 2 is an explanatory diagram showing an example of a process for generating an image. Fig. 2 shows an example of a process for generating an image from observation data on the above-mentioned aircraft. In the example shown in Fig. 2, a state in which five aircraft are present, including the aircraft itself and aircraft flying around the aircraft itself, is observed. When the input unit 20 accepts input of data observing this state, the conversion unit 30 converts this data into image display information.

[0039] When all the information has been converted, the image generating unit 40 draws the symbol associated with the aircraft model at the latitude and longitude position corresponding to the converted values, in the color indicated by the pixel values ​​indicating the converted altitude, speed, and direction. The image generating unit 40 also converts the data of surrounding aircraft in the same way and draws them on the same image. As a result, the image I1 shown in FIG. 2 is generated.

[0040] The learning unit 50 performs learning using learning data including the generated images. The learning unit 50 may learn the automatic piloting of the aircraft by, for example, reinforcement learning using the learning data including the generated images.

[0041] As described above, in reinforcement learning, if the number of dimensions of a state changes, the previous learning result cannot be used. On the other hand, in this embodiment, the image generating unit 40 generates learning data in which information on an object whose number of dimensions may change with each observation is compiled into one image data, so that even in a situation where the number of dimensions of a state changes, re-learning is not necessary. In other words, it can be said that by using the image data generated in this embodiment as learning data used in reinforcement learning, a more significant effect is achieved in machine learning.

[0042] In addition, since the input unit 20, the conversion unit 30 and the image generation unit 40 generate the learning data used by the learning unit 50 for learning, an apparatus equipped with the input unit 20, the conversion unit 30 and the image generation unit 40 can be called a learning data generation apparatus, as shown in Figure 1.

[0043] The input unit 20, the conversion unit 30, and the image generation unit 40 are realized by a processor (e.g., a CPU (Central Processing Unit), a GPU (Graphics Processing Unit)) of a computer that operates according to a program (learning data generation device). The learning unit 50 may also be realized by a processor of a computer that operates according to a program.

[0044] For example, a program may be stored in the storage unit 10 of the learning system 100, and the processor may read the program and operate as the input unit 20, the conversion unit 30, the image generation unit 40, and the learning unit 50 in accordance with the program. Furthermore, the functions of the learning system 100 may be provided in the form of SaaS (Software as a Service).

[0045] Furthermore, the input unit 20, the conversion unit 30, the image generation unit 40, and the learning unit 50 may each be realized by dedicated hardware. Furthermore, some or all of the components of each device may be realized by a general-purpose or dedicated circuit, processor, etc., or a combination of these. These may be configured by a single chip, or may be configured by multiple chips connected via a bus. Some or all of the components of each device may be realized by a combination of the above-mentioned circuits, etc., and a program.

[0046] Furthermore, when some or all of the components of the learning system 100 are realized by multiple information processing devices, circuits, etc., the multiple information processing devices, circuits, etc. may be centrally or distributed. For example, the information processing devices, circuits, etc. may be realized as a client-server system, cloud computing system, etc., in a form in which each is connected via a communication network.

[0047] Next, the operation of the learning system of this embodiment will be described. Fig. 3 is a flowchart showing an example of the operation of the learning system of this embodiment. The flowchart shown in Fig. 3 illustrates an example of processing when the learning unit 50 performs reinforcement learning.

[0048] First, as a preliminary step of learning, states required for reinforcement learning are determined by a user or the like (step S11), and among those states, states represented by discrete values ​​are selected (step S12). In addition, all possible patterns of states are listed (step S13), and simple figures are associated with all patterns (step S14).

[0049] Similarly, another state is selected (step S15), and it is determined whether it is a discrete value (step S16). If the selected state is a discrete value (Yes in step S16), all possible patterns for that state are enumerated (step S17), and the conversion unit 30 converts all patterns into values ​​from 0 to 1 (step S18).

[0050] On the other hand, if the selected state is not a discrete value (No in step S16), the maximum and minimum values ​​for that state are identified (step S19), and the conversion unit 30 normalizes the value of each state to be a value between 0 and 1 (step S20). Note that, in order to avoid overlapping drawing, each state is associated with the X-axis, Y-axis, and unused RGB pixel values ​​(step S21).

[0051] If all states have not been covered (No in step S22), the processes from step S15 onwards are repeated. On the other hand, if all states have been covered (Yes in step S22), the image generating unit 40 generates an image using the converted values ​​(step S23).

[0052] As described above, in this embodiment, the input unit 20 accepts input of data including multiple elements indicating the state of an object, and the conversion unit 30 converts any of the elements included in the input data into coordinate values ​​of an image and values ​​corresponding to a symbol to be drawn. Then, the image generation unit 40 generates image data in which a symbol corresponding to a position specified by the coordinate values ​​is drawn. This makes it possible to suppress the influence of changes in the number of dimensions in the observed information on the learning data.

[0053] That is, in this embodiment, the image generating unit 40 renders the data converted by the converting unit 30 into RGB image data. Therefore, even if the environment changes due to, for example, an increase or decrease in the number of aircraft flying around, it becomes possible to represent the state with data of the same number of dimensions.

[0054] Next, an overview of the present invention will be described. Fig. 4 is a block diagram showing an overview of a training data generation device according to the present invention. A training data generation device 80 according to the present invention (for example, the training data generation device shown above) includes input means 81 (for example, the input unit 20) that accepts input of data including a plurality of elements indicating the state of an object, conversion means 82 (for example, the conversion unit 30) that converts any of the elements included in the input data into coordinate values ​​of an image and values ​​corresponding to a symbol to be drawn, and image generation means 83 (for example, the image generation unit 40) that generates image data in which a symbol corresponding to a position specified by the coordinate values ​​is drawn.

[0055] With such a configuration, it is possible to suppress the influence of changes in the number of dimensions in the observed information on the training data.

[0056] In addition, the conversion means 82 may convert any of the elements contained in the input data into image coordinate values, a value corresponding to the symbol to be drawn, and a pixel value, and the image generation means 83 may generate image data in which the corresponding symbol is drawn with the converted pixel values ​​at a position specified by the coordinate values.

[0057] The input unit 81 may also receive input of information on an object whose number of dimensions may change for each observation. By generating image data based on such input, it becomes possible to summarize the change in the number of dimensions in the image data.

[0058] The conversion means 82 may also convert the values ​​of elements expressed in discrete values ​​into values ​​corresponding to the symbols to be drawn. By selecting such targets, it becomes possible to perform conversion without reducing the amount of information.

[0059] Furthermore, the conversion means 82 may convert the values ​​of elements represented by continuous values ​​into values ​​ranging from 0 to 1. By performing such conversion, it becomes possible to normalize the converted values.

[0060] 5 is a block diagram showing an overview of a learning system according to the present invention. The learning system according to the present invention (for example, learning system 100) includes the above-described learning data generating device 80 and a learning device 90 that performs reinforcement learning using the generated image data.

[0061] With such a configuration, the impact of changes in the number of dimensions in the observed information on the training data can be suppressed. Furthermore, since image data that aggregates changes in the number of dimensions is used for training, it is possible to utilize the original training results even if the number of dimensions changes. [Industrial Applicability]

[0062] The present invention is preferably applied to a learning data generation device that generates data used for learning. For example, the present invention is preferably applied to generate learning data used for learning the behavior of an unmanned aerial vehicle, a robot, or a vehicle. [Explanation of symbols]

[0063] 10 Storage section 20 Input section 30 Conversion unit 40 Image Generation Unit 50 Learning Department 100 Learning System

Claims

1. An input means for receiving an input of data including a plurality of elements indicating a state of an object; A conversion means for converting any element included in the input data into a coordinate value of an image and a value corresponding to a symbol to be drawn; and an image generating means for generating image data in which a symbol corresponding to the position specified by the coordinate values ​​is drawn. A training data generating device comprising:

2. The conversion means converts any element included in the input data into a coordinate value of an image, a value corresponding to a symbol to be drawn, and a pixel value; The image generating means generates image data in which a corresponding symbol is drawn at a position specified by the coordinate values ​​using the converted pixel values. The training data generating device according to claim 1 .

3. The input means receives input of information about an object whose number of dimensions may change for each observation. The training data generating device according to claim 1 or 2.

4. The conversion means converts the values ​​of the elements represented by discrete values ​​into values ​​corresponding to the symbols to be drawn. The training data generating device according to claim 1 or 2.

5. The conversion means converts the values ​​of the elements represented by continuous values ​​into values ​​ranging from 0 to 1. The training data generating device according to claim 1 or 2.

6. A training data generating device according to claim 1 or 2, A learning device that performs reinforcement learning using the generated image data. A learning system characterized by:

7. Accepting input of data including multiple elements indicating the state of the object; Convert any element contained in the input data into a coordinate value of the image and a value corresponding to the symbol to be drawn, Generate image data in which a symbol corresponding to the position specified by the coordinate values ​​is drawn. A method for generating training data.

8. Converting any element included in the input data into image coordinate values, values ​​corresponding to the symbol to be drawn, and pixel values; Generate image data that draws the corresponding symbol with the converted pixel value at the position specified by the coordinate value. The training data generating method according to claim 7.

9. On the computer, An input process for accepting input of data including a plurality of elements indicating a state of the object; A conversion process for converting any element included in the input data into a coordinate value of an image and a value corresponding to a symbol to be drawn; and An image generation process for generating image data in which a symbol corresponding to the position specified by the coordinate values ​​is drawn. A learning data generation program for executing the above.

10. On the computer, In the conversion process, any element included in the input data is converted into an image coordinate value, a value corresponding to the symbol to be drawn, and a pixel value; In the image generation process, image data is generated in which the corresponding symbol is drawn at the position specified by the coordinate value with the converted pixel value. The learning data generating program according to claim 9.

Citation Information

Patent Citations

  • Data analysis system, data analysis method and program

    JP2018124639A

  • Reinforcement learning device

    JP2019101979A