Learning data generation method, information processing device, and control program
The method addresses the challenge of improving recognition accuracy by using incorrectly recognized data and metadata to select similar data from different scenes for machine learning, efficiently enhancing the model's performance and handling rare or privacy-restricted environments.
Patent Information
- Application Number
- PCT/JP2024/003271
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-02-01
- Publication Date
- 2024-10-03
AI Technical Summary
Current machine learning technologies face challenges in improving recognition accuracy due to the time-consuming process of collecting large datasets from various scenes similar to the target scene, especially for rare or privacy-restricted environments, and fail to effectively utilize data from scenes different from the target scene.
A method for generating learning data that involves acquiring incorrectly recognized data and metadata from a recognition model, and matching it with similar metadata from different scenes to determine the similarity and select new data for machine learning, allowing the use of data from scenes different from the target scene.
This approach efficiently adds data from similar but different scenes to improve recognition model accuracy, reducing the time and effort required for data collection and enhancing the model's ability to handle rare scenes and privacy-restricted environments.
Smart Images

Figure JP2024003271_03102024_PF_FP_ABST
Abstract
Description
Learning data generation method, information processing device, and control program
[0001] The present disclosure relates to a technique for generating training data for use in machine learning.
[0002] In recent years, technologies have been put into practical use that use recognition models generated by machine learning such as deep learning to recognize features related to specific scenes that may occur at a specific location from data acquired at that location. To improve the recognition accuracy of a recognition model, it is necessary to perform machine learning using a large amount of data on diverse scenes similar to the scene (domain) that the recognition model is intended to infer. However, collecting a large amount of data on diverse scenes similar to the scene that the recognition model is intended to infer requires a significant amount of time.
[0003] Patent Document 1 describes how, when a fire alarm is issued at a site, a determination is made as to whether or not a fire has actually occurred, and the site surveillance image, to which a label indicating the determination result has been attached, is used in machine learning of a recognition model that recognizes whether or not the site surveillance image is a fire site image.
[0004] However, Patent Document 1 does not take into consideration adding data relating to similar scenes, although different from the scenes that the recognition model is intended to infer, as new data to be used in the machine learning of the recognition model.
[0005] Patent No. 6862144
[0006] The present disclosure has been made to solve such problems, and aims to provide a technology that can efficiently add data about scenes that are similar to but different from the scenes targeted by a recognition model as new data to be used in machine learning of the recognition model.
[0007] An information processing method in one aspect of the present disclosure is a method in a computer for generating training data to be used in machine learning of a recognition model that recognizes features related to a specified scene, comprising the steps of: acquiring first data, which is at least one of data used in the machine learning and data misrecognized by the recognition model; generating first metadata indicating characteristics of the first data; acquiring second data related to a scene different from the specified scene; generating second metadata indicating characteristics of the second data; and determining whether to select the second data as third data to be newly used in the machine learning based on the similarity between the first metadata and the second metadata; and outputting the third data.
[0008] 1 is a diagram illustrating an overall configuration of an information processing system according to an embodiment of the present disclosure; FIG. 2 is a diagram illustrating an example of first metadata; FIG. 3 is a diagram illustrating an example of second metadata; FIG. 4 is a diagram illustrating an example of a distribution of characteristics whose degree of local distribution is lower than a predetermined degree; FIG. 5 is a diagram illustrating an example of a distribution of characteristics whose degree of local distribution is higher than a predetermined degree; FIG. 6 is a diagram illustrating a first example of a selection screen; FIG. 7 is a diagram illustrating a second example of a selection screen; FIG. 8 is a diagram illustrating an example of calculation of detailed similarity; FIG. 9 is a diagram illustrating an example of an operation screen; FIG. 10 is a diagram illustrating a first example of a metadata display screen; FIG. 11 is a diagram illustrating a second example of a metadata display screen; and FIG. 12 is a flowchart illustrating an example of server processing.
[0009] (Findings underlying the present disclosure) In recent years, technology has been put into practical use that uses a recognition model generated by machine learning such as deep learning to recognize features related to a predetermined scene that may occur at a predetermined location from data acquired at the location. Here, a scene refers to a scene that may occur at the location, such as a nursing care site, a manufacturing site, or a shipping site, such as a scene before or after work is performed, a scene during work, or a scene where an abnormality has occurred. Features related to a scene include, for example, objects that appear in the scene, the location and time at which data indicating the scene was generated, etc.
[0010] To improve the accuracy of recognition by a recognition model, it is necessary to perform machine learning using a large amount of data from a variety of scenes similar to the scene being inferred. However, collecting a large amount of data from a variety of scenes similar to the scene being inferred by the recognition model requires a significant amount of time.
[0011] For example, collecting a large amount of data to be used for machine learning of a recognition model that recognizes features related to scenes that occur infrequently (rare scenes) requires a significant amount of time. A scene that occurs infrequently is, for example, a scene where an abnormality such as a fire occurs in the on-site environment. In manufacturing sites where the products to be manufactured are changed frequently, it takes time and effort to change the data to be used for machine learning depending on the products to be manufactured. In sites that operate 24 hours a day, it is difficult to interrupt work and collect data over a long period of time. Furthermore, in sites where privacy protection is required, such as bathrooms, data collection time may be limited, or data collection may not even be permitted.
[0012] In the technology of Patent Document 1, the recognition model recognizes a single feature, i.e., whether or not a fire has occurred at a monitored site. Therefore, only a label indicating whether or not a fire has occurred at the site is assigned to the monitoring image of the site used for machine learning of the recognition model. Therefore, it is not easy to obtain data to be used for machine learning of a recognition model targeting scenes with multiple features using the technology of Patent Document 1. Patent Document 1 also describes collecting images of scenes where fire alarms have occurred, which are the subject of inference by the recognition model, from multiple different sites where fire alarms have occurred. However, Patent Document 1 does not consider adding data related to scenes that are different from but similar to the scene the recognition model is targeting for inference, such as images of scenes where an accident other than a fire has occurred, as new data to be used for machine learning of the recognition model.
[0013] Therefore, the inventors have conducted extensive research into technology that can efficiently add data about similar but different scenes to those targeted by a recognition model as new data to be used in machine learning of the recognition model, and have come up with the various aspects of the present disclosure described below.
[0014] (1) A method for generating training data according to one aspect of the present disclosure is a method for generating training data in a computer to be used for machine learning of a recognition model that recognizes features related to a specified scene, the method comprising the steps of: acquiring first data, which is at least one of data used in the machine learning and data misrecognized by the recognition model; generating first metadata indicating characteristics of the first data; acquiring second data related to a scene different from the specified scene; generating second metadata indicating characteristics of the second data; determining whether to select the second data as third data to be newly used in the machine learning based on the similarity between the first metadata and the second metadata; and outputting the third data.
[0015] According to this configuration, whether or not to select the second data relating to a scene different from the predetermined scene as the third data to be newly used in the machine learning of the recognition model that recognizes features relating to the predetermined scene is determined based on the similarity between the first metadata and the second metadata. Therefore, data relating to a scene similar to but different from the scene targeted by the recognition model can be efficiently added as new data to be used in the machine learning of the recognition model.
[0016] (2) In the method for generating training data described in (1) above, the characteristics of the first data may include at least one of the characteristics of the environment in which the first data was generated and the content of the first data, and the characteristics of the second data may include at least one of the characteristics of the environment in which the second data was generated and the content of the second data.
[0017] According to this configuration, third data can be appropriately selected from the second data based on the similarity between at least one characteristic of the environment in which the first data was generated and the content of the first data, and at least one characteristic of the environment in which the second data was generated and the content of the second data.
[0018] (3) In the method for generating training data described in (1) above, the characteristics of the first data may include features recognized from the first data by one or more existing first recognition models, and the characteristics of the second data may include features recognized from the second data by one or more existing second recognition models.
[0019] According to this configuration, third data can be appropriately selected from the second data based on the similarity between features recognized from the first data by one or more existing first recognition models and features recognized from the second data by one or more existing second recognition models.
[0020] (4) In the method for generating training data described in any one of (1) to (3) above, when determining whether to select the second data as the third data, if the similarity is greater than a predetermined value, it may be determined to select the second data as the third data.
[0021] According to this configuration, the second data having characteristics similar to those of the first data can be appropriately selected as the third data.
[0022] (5) In the method for generating training data described in (1) above, the first data may include a plurality of first element data, and the second data may include a plurality of second element data. In generating the first metadata, a plurality of first element metadata indicating characteristics of each of the plurality of first element data may be generated. In generating the second metadata, a plurality of second element metadata indicating characteristics of each of the plurality of second element data may be generated. In determining whether to select each of the plurality of second element data as the third data, a plurality of detailed similarities may be calculated for each of the plurality of second element data, which are degrees of similarity between the second element metadata indicating characteristics of each of the second element data and the plurality of first element metadata. Based on the plurality of detailed similarities, it may be determined whether to select each of the second element data as the third data.
[0023] According to this configuration, for each of a plurality of second element data, whether or not to select each second element data as third data is determined based on a plurality of detailed similarities, which are the degrees of similarity between the second element metadata indicating the characteristics of each second element data and each of a plurality of first element metadata.
[0024] Therefore, even if it is difficult to collect data related to the specified scene, this configuration can appropriately select second element data as the third data, the second element data having characteristics similar to the data used in the machine learning or the data misrecognized by the recognition model.
[0025] (6) In the method for generating training data described in (5) above, when deciding whether to select the second element data as the third data, a predetermined number of second element data may be extracted from the plurality of second element data in order of the calculated degree of detailed similarity, and each of the predetermined number of second element data may be selected as the third data.
[0026] In this configuration, a predetermined number of second element data are extracted from the plurality of second element data in descending order of calculated detailed similarity, and each of the predetermined number of second element data is selected as the third data. Therefore, it is possible to appropriately select, from the plurality of second element data, a predetermined number of second element data whose characteristics are particularly similar to the first element data as the third data.
[0027] (7) In the method for generating training data described in (5) above, in determining whether to select the second element data as the third data, a first predetermined number of second element data may be excluded from the plurality of second element data in the order in which the largest detailed similarity was calculated, and a predetermined number of second element data may be extracted from the remaining second element data group in the order in which the largest detailed similarity was calculated, and each of the predetermined number of second element data may be selected as the third data.
[0028] In this configuration, a predetermined number of second element data are extracted from the second element data group from which a first predetermined number of second element data with high detailed similarity have been excluded, and each of the predetermined number of second element data is selected as the third data. Therefore, second element data with a wider range of characteristics can be selected as the third data.
[0029] (8) In the method for generating training data described in (5) above, in determining whether to select the second element data as the third data, a first predetermined number of second element data may be excluded from the plurality of second element data in the order of the calculated largest detailed similarity, and a second predetermined number of second element data may be excluded in the order of the calculated smallest detailed similarity, and a predetermined number of second element data may be extracted from the remaining group of second element data in the order of the calculated largest detailed similarity, and each of the predetermined number of second element data may be selected as the third data.
[0030] In this configuration, a predetermined number of second element data are extracted from the second element data group, from which a second predetermined number of second element data with low detailed similarity have been excluded, and the predetermined number of second element data are selected as the third data. This makes it possible to prevent second element data whose characteristics are not similar to those of the first element data from being selected as the third data. This makes it possible to prevent a deterioration in recognition accuracy by the recognition model caused by performing the machine learning using second element data whose characteristics are not similar to those of the first element data.
[0031] (9) In the method for generating learning data described in any one of (6) to (8) above, when deciding whether to select the second element data as the third data, an operation screen displaying the predetermined number of second element data and a screen component for performing an operation to decide whether to select each of the predetermined number of second element data as the third data may be displayed on a terminal device used by a user.
[0032] According to this configuration, the user can select the desired second element data as the third data from a predetermined number of second element data extracted in the learning data generation method described in any one of (6) to (8) above by operating the screen component displayed on the operation screen.
[0033] (10) In the method for generating training data described in (5) above, each first element metadata includes one or more characteristics of each first element data, and each second element metadata includes one or more characteristics of each second element data, and in calculating the multiple detailed similarities, a group of characteristics having a degree of local distribution higher than a predetermined degree is extracted from at least one of the multiple first element metadata and the multiple second element metadata, and for each of the multiple second element data, the multiple detailed similarities may be calculated as the degree of similarity between the group of characteristics of each second element data and the group of characteristics of each of the multiple first element metadata.
[0034] In this configuration, a set of characteristics having a degree of local distribution higher than a predetermined degree is extracted from at least one of the plurality of element metadata, and for each of the plurality of second element data, the degree of similarity between the set of characteristics of each of the second element data and each of the plurality of first element metadata is calculated as the plurality of detailed similarities.
[0035] Therefore, according to this configuration, second element data whose characteristic group is similar to the first element data and whose degree of local distribution is higher than a predetermined degree and which is considered to have distinctive features can be selected as the third data.
[0036] (11) In the method for generating training data described in (5) above, each first element metadata indicates one or more characteristics of each first element data, and each second element metadata indicates one or more characteristics of each second element data. In calculating the multiple detailed similarities, a selection screen may be displayed on a terminal device used by a user. The selection screen displays information indicating the distribution of each of the one or more characteristics indicated by at least one of the multiple first element metadata and the multiple second element metadata, and a screen component for selecting whether or not to use each of the one or more characteristics in calculating the multiple detailed similarities. For each of the multiple second element data, a characteristic group selected on the selection screen as a characteristic to be used in calculating the multiple detailed similarities from among the one or more characteristics indicated by each second element data may be calculated as the multiple detailed similarities by calculating the multiple detailed similarities based on the degree of similarity between the characteristic group indicated by each of the multiple first element metadata.
[0037] In this configuration, the selection screen is displayed on a terminal device used by a user, and for each of the plurality of second element data, a characteristic group selected on the selection screen as a characteristic group to be used in calculating the plurality of detailed similarities is calculated as the plurality of detailed similarities.
[0038] Therefore, according to this configuration, the user can select a group of characteristics to be used in calculating multiple detailed similarities by operating the screen components displayed on the selection screen while referring to information indicating the distribution of each of one or more characteristics indicated by at least one of the multiple element metadata.
[0039] (12) In another aspect of the present disclosure, an information processing device is an information processing device that generates learning data to be used in machine learning of a recognition model that recognizes multiple features related to a specified scene, and includes: a first acquisition unit that acquires first data, which is at least one of data used in the machine learning and data misrecognized by the recognition model; a first generation unit that generates first metadata that indicates multiple characteristics of the first data; a second acquisition unit that acquires second data related to a scene different from the specified scene; a second generation unit that generates second metadata that indicates multiple characteristics of the second data; a decision unit that decides whether to select the second data as new third data to be used in the machine learning based on the similarity between the first metadata and the second metadata; and an output unit that outputs the third data.
[0040] This configuration provides the same effects as the method for generating training data described above in (1).
[0041] (13) In yet another aspect of the present disclosure, a control program causes a computer of an information processing device that generates learning data to be used in machine learning of a recognition model that recognizes multiple features related to a specified scene to function as a first acquisition unit that acquires first data, which is at least one of data used in the machine learning and data misrecognized by the recognition model, a first generation unit that generates first metadata that indicates multiple characteristics of the first data, a second acquisition unit that acquires second data related to a scene different from the specified scene, a second generation unit that generates second metadata that indicates multiple characteristics of the second data, a decision unit that decides whether to select the second data as third data to be newly used in the machine learning based on the similarity between the first metadata and the second metadata, and an output unit that outputs the third data.
[0042] This configuration provides the same effects as the method for generating training data described above in (1).
[0043] The present disclosure can also be realized as an information processing system operated by such a control program. Needless to say, such a computer program can be distributed on a non-transitory computer-readable recording medium such as a CD-ROM or via a communication network such as the Internet.
[0044] Note that the embodiments described below each illustrate a specific example of the present disclosure. The numerical values, shapes, components, steps, and step orders shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, among the components in the following embodiments, components that are not described in an independent claim that represents a superordinate concept are described as optional components. Furthermore, in all embodiments, the respective contents can be combined.
[0045] 1 is a diagram showing the overall configuration of an information processing system 1000 according to an embodiment of the present disclosure. The information processing system 1000 includes a server 2 (information processing device), a user terminal 6 (terminal device), and a DB server 5.
[0046] The server 2 is communicatively connected to a user terminal 6 and a DB server 5 via a network 4. The network 4 is a wide area communication network including, for example, the Internet and a mobile phone communication network. Although one user terminal 6 is illustrated in FIG. 1, there may be multiple user terminals 6.
[0047] The user terminal 6 is a portable information processing device such as a tablet computer or a smartphone, which is used by a user of the information processing system 1000. The user terminal 6 includes a display that displays various information, a touch panel device that accepts various operations, and a communication circuit that connects the user terminal 6 to the network 4.
[0048] The DB server 5 is a database server that can be accessed via the network 4. The DB server 5 includes a storage device such as an HDD (Hard Disk Drive) and an SSD (Solid State Drive), and a communication circuit that connects the DB server 5 to the network 4.
[0049] The DB server 5 includes a learned data storage unit 51, an erroneous recognition data storage unit 52, a pre-held data storage unit 53, and a learned data storage unit 54.
[0050] 1 illustrates one DB server 5, each of a plurality of DB servers 5 may include one or more of the learned data storage unit 51, the erroneous recognition data storage unit 52, the pre-held data storage unit 53, and the learned data storage unit 54 in a distributed manner. Alternatively, the memory 22 of the server 2 may include some of the learned data storage unit 51, the erroneous recognition data storage unit 52, the pre-held data storage unit 53, and the learned data storage unit 54, and one or more DB servers 5 may include the remaining storage units.
[0051] The trained data storage unit 51 stores data (hereinafter, trained data) used for machine learning of a predetermined authentication model (hereinafter, target model). The target model is a recognition model that recognizes features related to a predetermined scene (hereinafter, target scene) from input data and outputs the features. The target scene is, for example, a scene before and after work is performed in a field environment such as a nursing care site, a manufacturing site, or a shipping site, a scene during work, or a scene where an abnormality occurs in the field environment. Features related to the target scene are, for example, objects that appear in the target scene, the location and time when data indicating the target scene was generated, etc.
[0052] The learned data storage unit 51 further stores a target model and a plurality of authentication models different from the target model. The plurality of authentication models includes a single recognition model and a multiple recognition model.
[0053] A single recognition model is a recognition model that recognizes a single feature related to a specific scene from input data. For example, a single recognition model includes a recognition model that recognizes whether an image represented by input image data includes a person. A single recognition model includes a recognition model that recognizes what is shown in an image represented by input image data. A single recognition model includes a recognition model that recognizes whether a fire has occurred at the scene where an image represented by input image data was taken.
[0054] A multiple recognition model is a recognition model that recognizes multiple features related to a specific scene from input data. For example, multiple recognition models include a recognition model that recognizes multiple features such as the location where the image represented by the input image data was taken, the brightness of the location, the objects present in the location, and the movements of the objects.
[0055] The multiple recognition models include a recognition model that recognizes to which area (road, building) each pixel of the image represented by the input image data belongs, and a recognition model that recognizes the size and position of an object in the image represented by the input image data.
[0056] The multiple recognition models include a recognition model that recognizes multiple features from input voice data, such as the language type of the voice indicated by the voice data, the amount of noise, the recording environment, and the recording time, etc. The multiple recognition models also include a recognition model that recognizes multiple features from input text data, such as the language type of the text indicated by the text data, the frequency of occurrence of each word included in the text, information indicating whether the text indicates a dialogue history, and the emotion indicated by the text.
[0057] Data that has been erroneously recognized by the target model is stored in the erroneous recognition data storage unit 52. Data that has been erroneously recognized by the target model (hereinafter, erroneous recognition data) is data in which one or more features that the target model recognized from the data contain errors, and data in which the target model was unable to recognize features from the data.
[0058] Data (second data) relating to a scene different from the target scene is stored in the pre-held data storage unit 53. For example, assume that the target scene is a scene of a care task of changing clothes in a bathroom. In this case, for example, data relating to a scene of a care task of changing clothes in a bedroom is stored in the pre-held data storage unit 53.
[0059] The learning data storage unit 54 stores (outputs) data (third data) to be newly used for machine learning of the target model by the output unit 207 described below.
[0060] Next, a detailed description will be given of the configuration of the server 2. The server 2 includes a communication unit 21, a memory 22, and a processor 20 (computer).
[0061] The communication unit 21 is a communication circuit that connects the server 2 to the network 4. The communication unit 21 transmits information instructed by the processor 20 to the instructed user terminal 6.
[0062] The memory 22 is configured by, for example, a nonvolatile rewritable semiconductor memory such as a flash memory, a hard disk drive (HDD), etc. The memory 22 stores a control program executed by the processor 20.
[0063] The processor 20 is configured to be able to send and receive data to and from the DB server 5 via the network 4 using a communication unit 21.
[0064] By executing a control program stored in the memory 22, the processor 20 functions as a data selection unit 201 (first acquisition unit), an analysis means selection unit 202, a first generation unit 203, a second generation unit 204 (second acquisition unit), a selection unit 205, a calculation unit 206, an output unit 207 (determination unit), and an information display unit 208. However, this is just one example, and the data selection unit 201 to the information display unit 208 may be realized by a dedicated electric circuit such as an ASIC that can send and receive data to and from the DB server 5 via the network 4 using the communication unit 21.
[0065] The data selection unit 201 acquires at least one of the learned data stored in the learned data storage unit 51 and the erroneous recognition data stored in the erroneous recognition data storage unit 52 (hereinafter, first data).
[0066] Specifically, the data selection unit 201 acquires at least one of the learned data and the erroneous recognition data as the first data from the DB server 5 in accordance with a selection instruction received from the user terminal 6. Note that the data selection unit 201 may acquire at least one of the learned data and the erroneous recognition data as the first data, which is predetermined, without receiving a selection instruction from the user terminal 6.
[0067] The analysis means selection unit 202 selects an analysis method for the first data acquired by the data selection unit 201. Specifically, the analysis means selection unit 202 selects the first analysis method and / or the second analysis method as the analysis method for the first data in accordance with a selection instruction received from the user terminal 6.
[0068] The first analysis method is an analysis method that derives at least one feature of the environment in which the data to be analyzed was generated and the content of the data as characteristics of the data. The second analysis method is an analysis method that derives features recognized from the data to be analyzed by one or more single recognition models and / or multiple recognition models (first recognition model, second recognition model) stored in the learned data storage unit 51 as characteristics of the data.
[0069] Furthermore, the analysis means selection unit 202 selects an analysis method for the data stored in the pre-held data storage unit 53 (hereinafter, referred to as second data) in the same manner as when selecting an analysis method for the first data.
[0070] The analysis means selection unit 202 may select the analysis method for the first data and the second data in accordance with setting information pre-stored in the memory 22, instead of a selection instruction received from the user terminal 6. Alternatively, the analysis means selection unit 202 may select the analysis method for the first data and the second data in accordance with the total amount of data associated with the first data and the second data and stored in the DB server 5. Alternatively, the analysis means selection unit 202 may select the analysis method for the first data and the second data in accordance with the number of single recognition models and multiple recognition models stored in the trained data storage unit 51.
[0071] The first generation unit 203 derives the characteristics of the first data acquired by the data selection unit 201 using the first data analysis method selected by the analysis means selection unit 202, and generates data indicating the characteristics of the first data (hereinafter, first metadata).
[0072] Specifically, when the analysis means selection unit 202 selects the first analysis method, the first generation unit 203 derives at least one of the characteristics of the environment in which the first data was generated and the content of the first data as a characteristic of the first data.
[0073] For example, assume that data indicating characteristics of the environment in which the device that generated the first data is installed (hereinafter, environmental data) is stored in the DB server 5 in association with the first data. In this case, the first generation unit 203 acquires the environmental data from the DB server 5 and generates the environmental data as first metadata. The characteristics indicated by the environmental data include, for example, the installation position of the camera that generated the image data, the shooting angle, the illuminance and temperature in the installation environment of the camera, etc. The installation position of the camera may be the latitude, longitude, and altitude of the installation position, or may be identification information of a space including the installation position (e.g., "XX Company, Room XX") or geographic information (e.g., "Mount XX," "XX Riverbed")
[0074] The first generating unit 203 also generates data indicating the characteristics of the content of the first data (hereinafter, content data) as first metadata.
[0075] Specifically, when the first data is audio data, the characteristics indicated by the content data include the voice quality, voice speed, language type, etc. of the voice indicated by the audio data. When the first data is image data, the characteristics indicated by the content data include the color and average brightness, brightness variance, average edge value, edge variance, resolution, etc. of the image indicated by the image data.
[0076] When the first data includes multiple image data, the recognition accuracy or rarity of the multiple image data by a single recognition model stored in the learned data storage unit 51 may be set as one feature of the content of the first data. The recognition accuracy by the single recognition model is the ratio of the number of image data pieces in which a single feature related to a specific scene is recognized by the single recognition model to the total number of image data pieces included in the first data. The rarity of the single recognition model is the ratio of the number of image data pieces in which a single feature related to a specific scene is not recognized by the single recognition model to the total number of image data pieces included in the first data.
[0077] When the first data includes multiple pieces of image data, the total number of pieces of image data included in the first data (the number of learned pieces of data) may be used as a feature of the content of the first data. Also, the first generation unit 203 may use a caption indicating the content of the first data, generated by a known caption generation process, as a feature of the content of the first data.
[0078] On the other hand, when the analysis means selection unit 202 selects the second analysis method, the first generation unit 203 generates, as first metadata, data indicating features recognized from the first data by one or more single recognition models and / or multiple recognition models stored in the learned data storage unit 51.
[0079] For example, if the first data is image data, the features recognized by the multiple recognition model from the first data may include the location where the image represented by the image data was taken, the brightness of the location, objects present at the location, and the movements of the objects. If the first data is image data, the features recognized by the multiple recognition model from the first data may include the area to which each pixel of the image represented by the image data belongs (e.g., road, building, etc.). If the first data is image data, the features recognized by the multiple recognition model from the first data may include the position and size of each object included in the image represented by the image data.
[0080] When the first data is voice data, the features recognized by the multiple recognition models from the first data may include the language type of the voice indicated by the voice data, the amount of noise, the recording environment, the recording time, etc. When the first data is text data, the features recognized by the multiple recognition models from the first data may include the language type of the text indicated by the text data, the frequency of occurrence of each word included in the text, information indicating whether the text indicates a dialogue history, the emotion indicated by the text, etc.
[0081] In addition, when the first data includes multiple pieces of data (hereinafter referred to as first element data), the first generation unit 203 generates multiple first element metadata as first metadata, each of which indicates the characteristics of the multiple first element data.
[0082] Fig. 2 is a diagram showing an example of the first metadata MD1. Fig. 2 shows an example in which, when the first data includes n pieces of first element data, the first generation unit 203 generates, as the first metadata MD1, n pieces of first element metadata X1 to Xn, each indicating characteristics of the n pieces of first element data. For example, the first element metadata X1 shown in Fig. 2 indicates the characteristics of the first element data, such as "resolution is 'x11'," "illuminance is 'x12'," "brightness is 'x13'," ... "characteristic Q is 'x1q'."
[0083] The second generating unit 204 acquires the second data stored in the pre-held data storage unit 53. Similar to the first generating unit 203, the second generating unit 204 derives characteristics of the acquired second data using the second data analysis method selected by the analysis means selecting unit 202, and generates data indicating the characteristics of the second data (hereinafter, second metadata).
[0084] Furthermore, if the second data includes multiple pieces of data (hereinafter referred to as second element data), the second generation unit 204 generates multiple pieces of second element metadata indicating the characteristics of each of the multiple pieces of second element data as second metadata, in the same manner as the first generation unit 203.
[0085] Fig. 3 is a diagram showing an example of the second metadata MD2. Fig. 3 shows an example in which, when the second data includes m pieces of second element data, the second generation unit 204 generates, as the second metadata MD2, m pieces of second element metadata Y1 to Ym indicating the characteristics of each of the m pieces of second element data. For example, the second element metadata Y1 shown in Fig. 3 indicates the characteristics of the second element data, "resolution is 'y11'," "illuminance is 'y12'," "brightness is 'y13'," ... "characteristic R is 'y1r'."
[0086] The selection unit 205 selects a group of characteristics to be compared between the first metadata and the second metadata (hereinafter referred to as a comparison group of characteristics).
[0087] Specifically, the selection unit 205 extracts a group of characteristic types (e.g., "resolution" and "illuminance") that are common between the first metadata and the second metadata. The selection unit 205 selects, as a comparison characteristic group, each type of characteristic included in the group of types in the first metadata (e.g., "resolution is 'x11'" and "illuminance is 'x12'") and each type of characteristic included in the group of types in the second metadata (e.g., "resolution is 'y11'" and "illuminance is 'y12'").
[0088] Assume that the first metadata includes a plurality of first element metadata and the second metadata includes a plurality of second element metadata. In this case, the selection unit 205 selects, as the comparison characteristic group, a characteristic group having a degree of local distribution higher than a predetermined degree from at least one of the plurality of first element metadata included in the first metadata and the plurality of second element metadata included in the second metadata. Note that the at least one of the plurality of element metadata is, in other words, a plurality of first element metadata, a plurality of second element metadata, or a plurality of first element metadata and a plurality of second element metadata. In this case, a characteristic group having a degree of local distribution higher than a predetermined degree and considered to have distinctive features can be selected as the comparison characteristic group.
[0089] Fig. 4 is a diagram showing an example of a distribution of a characteristic whose degree of local distribution is lower than a predetermined degree. Fig. 5 is a diagram showing an example of a distribution of a characteristic whose degree of local distribution is higher than a predetermined degree. The horizontal axis of Fig. 4 and Fig. 5 indicates the value of one characteristic (characteristic value) in at least one of the plurality of element metadata, and the vertical axis indicates the number of element metadata having the one characteristic among the at least one of the plurality of element metadata.
[0090] The selection unit 205 calculates the variance and entropy of each characteristic as an index indicating the distribution of each characteristic in the at least one of the plurality of element metadata, for each of one or more characteristics indicated by the element metadata.
[0091] A distribution of a characteristic with both large variance and entropy will have a low degree of local distribution, as shown in Figure 4. A distribution of a characteristic with both small variance and entropy will have a high degree of local distribution, as shown in Figure 5. Therefore, the selection unit 205 selects, from among one or more characteristics indicated by the element metadata, a group of characteristics whose variance is smaller than a predetermined first threshold and whose entropy is smaller than a predetermined second threshold, as characteristics whose degree of local distribution is higher than a predetermined degree.
[0092] Alternatively, the selection unit 205 may transmit to the user terminal 6 an instruction to display a selection screen that displays information indicating the distribution of each of the one or more characteristics indicated by at least one of the plurality of element metadata and a screen component for performing an operation to select each of the one or more characteristics as a comparison characteristic group. In this case, the user can select a comparison characteristic group by operating the screen component displayed on the selection screen while referring to the information indicating the distribution of each of the one or more characteristics.
[0093] 6 is a diagram showing a first example of a selection screen. Fig. 6 shows an example in which a user performs an operation to select three characteristic type groups "resolution," "illuminance," and "luminance" on a selection screen that displays, as information indicating the distribution of each of the one or more characteristics indicated by at least one of the plurality of element metadata, four characteristic type groups "resolution," "illuminance," "luminance," and "edge," along with average values of each type of characteristic of "30.2," "80.5," "15.7," and "0.2," and variances of "0.2," "0.6," "0.01," and "2," and that displays four check boxes as screen components.
[0094] In this case, the user terminal 6 returns information indicating the type group of the three characteristics, "resolution," "illuminance," and "luminance," to the server 2. The selection unit 205 selects, as a comparison characteristic group, the characteristics of the type group, "resolution," "illuminance," and "luminance," indicated by the information received from the user terminal 6, in each of the plurality of first element metadata and the plurality of second element metadata.
[0095] In addition, the selection unit 205 may display a graph showing the distribution of each of the one or more characteristics indicated by at least one of the plurality of element metadata on the selection screen as information showing the distribution of each of the one or more characteristics indicated by at least one of the plurality of element metadata.
[0096] 7 is a diagram showing a second example of a selection screen, in which a graph showing the distribution of each of four characteristic groups of "resolution," "illuminance," "brightness," and "edge" in at least one of the plurality of element metadata is displayed as information indicating the distribution of each of the one or more characteristics indicated by the at least one plurality of element metadata, and four check boxes are displayed as the screen components, and a user performs an operation to select three characteristic groups of "resolution," "illuminance," and "brightness."
[0097] In this case, the user terminal 6 returns information indicating the three types of characteristic group, "resolution," "illuminance," and "brightness," to the server 2. The selection unit 205 selects, as a comparison characteristic group, the three types of characteristic group, "resolution," "illuminance," and "brightness," indicated by the information received from the user terminal 6, for each of the plurality of first element metadata and the plurality of second element metadata.
[0098] The calculation unit 206 calculates the similarity between the first metadata and the second metadata.
[0099] Specifically, the calculation unit 206 calculates, as the similarity between the first metadata and the second metadata, the reciprocal (=1 / distance) of the distance between the values of the comparison characteristic groups in the first metadata and the second metadata selected by the selection unit 205. The distance between the values of the comparison characteristic groups in the first metadata and the second metadata is any one of the L2 distance, L1 distance, Mahalanobis distance, and KL (Kullback-Leibler) divergence between the values of the comparison characteristic groups in the first metadata and the second metadata.
[0100] When the first data includes a plurality of first element data and the second data includes a plurality of second element data, the first metadata includes a plurality of first element metadata and the second metadata includes a plurality of second element metadata, in this case, the calculation unit 206 calculates a plurality of detailed similarities for each of the plurality of second element data, which are degrees of similarity between the second element metadata indicating the characteristics of each second element data and each of the plurality of first element metadata.
[0101] Specifically, for each of the multiple second element data, the calculation unit 206 calculates the reciprocal of the distance (=1 / distance) between the value of the comparison characteristic group in the second element metadata indicating the characteristics of that second element data and the value of the comparison characteristic group in each of the multiple first element metadata. The calculation unit 206 calculates the reciprocal of the distance as the detailed similarity between the second element metadata indicating the characteristics of each second element data and each of the multiple first element metadata. Note that the method of calculating the detailed similarity by the calculation unit 206 is not limited to this, and any method may be used as long as it calculates a larger detailed similarity as the distance becomes smaller, such as calculating the product of the distance and −1 as the detailed similarity.
[0102] The distance between the value of the comparison characteristic group in the second element metadata indicating the characteristics of the second element data and the value of the comparison characteristic group in the first element metadata is any of the L2 distance, L1 distance, Mahalanobis distance, and KL divergence between the value of the comparison characteristic group in the second element metadata and the value of the comparison characteristic group in the first element metadata.
[0103] 8 is a diagram illustrating an example of calculation of the detailed similarity. For example, Fig. 8 illustrates an example in which the calculation unit 206 calculates m x n detailed similarities when the first metadata MD1 includes n pieces of first element metadata X1, X2, ..., Xn that indicate characteristics of n pieces of first element data included in the first data, and the second metadata MD2 includes m pieces of second element metadata Y1, Y2, ..., Ym that indicate characteristics of m pieces of second element data included in the second data.
[0104] 8 shows an example in which the calculation unit 206 calculates the detailed similarity "1 / D11" of the pair [X1, Y1] of the first second element metadata Y1 and the first first element metadata X1. Specifically, the reciprocal "1 / D11" of the distance D11 between the values "y11, y12, ..., y1r" of the comparison property group of the first second element metadata Y1 indicating the characteristics of the first second element data and the values "x11, x12, ..., x1r" of the comparison property group of the first first element metadata X1 is calculated as the detailed similarity "1 / D11" of the pair [X1, Y1].
[0105] 8 shows an example in which the calculation unit 206 calculates the detailed similarity "1 / Dnm" of the pair [Xn, Ym] of the mth second element metadata Ym and the nth first element metadata Xn. Specifically, the reciprocal "1 / Dnm" of the distance Dnm between the values "ym1, ym2, ..., ymr" of the comparison characteristic group of the mth second element metadata Ym indicating the characteristics of the mth second element data and the values "xn1, xn2, ..., xnr" of the comparison characteristic group of the nth first element metadata Xn is calculated as the detailed similarity "1 / Dnm" of the pair [Xn, Ym].
[0106] The output unit 207 determines whether to select the second data as third data to be newly used in machine learning based on the similarity between the first metadata and the second metadata, and outputs the third data. In other words, the output unit 207 outputs the second data that has been determined to be selected as the third data as the third data.
[0107] Specifically, when the similarity between the first metadata and the second metadata is greater than a predetermined value, the output unit 207 determines to select the second data whose characteristics are indicated by the second metadata as the third data, thereby making it possible to appropriately select the second data whose characteristics are similar to those of the first data as the third data.
[0108] The output unit 207 stores the second data determined to be selected as the third data in the learning data storage unit 54 ( FIG. 1 ) as the third data. Note that this is just one example, and the output unit 207 may transmit (output) the second data determined to be selected as the third data, using the communication unit 21, as the third data to an external information processing device that performs machine learning of the target model.
[0109] On the other hand, if the similarity between the first metadata and the second metadata is equal to or less than the predetermined value, the output unit 207 determines not to select the second data whose characteristics are indicated by the second metadata as the third data, and in this case, the output unit 207 does not perform processing to store the second data as the third data in the training data storage unit 54 ( FIG. 1 ).
[0110] When the first data includes a plurality of first element data and the second data includes a plurality of second element data, the first metadata includes a plurality of first element metadata and the second metadata includes a plurality of second element metadata, in this case, the calculation unit 206 calculates a plurality of detailed similarities for each of the plurality of second element data, which are degrees of similarity between the second element metadata indicating the characteristics of each second element data and each of the plurality of first element metadata.
[0111] In this case, the output unit 207 determines to select, as the third data, each of the second element data groups for which a detailed similarity greater than a predetermined value has been calculated, from among the plurality of second element data.
[0112] Alternatively, the output unit 207 extracts a predetermined number of second element data from the plurality of second element data in descending order of calculated detailed similarity, and determines to select each of the predetermined number of second element data as the third data. In this case, it is possible to appropriately select, from the plurality of second element data, a predetermined number of second element data whose characteristics are particularly similar to the first element data as the third data.
[0113] For example, as shown in Fig. 8, suppose the first metadata MD1 includes n pieces of first element metadata X1, X2, ..., Xn, which indicate characteristics of n pieces of first element data included in the first data. Also, suppose the second metadata MD2 includes m pieces of second element metadata Y1, Y2, ..., Ym, which indicate characteristics of m pieces of second element data included in the second data. In this case, suppose the calculation unit 206 calculates m x n detailed similarities. Also, suppose the predetermined number is N.
[0114] In this case, the output unit 207 extracts N detailed similarities from the m x n detailed similarities in order from the largest detailed similarity, and decides to select each of the N second element data for which the extracted N detailed similarities have been calculated as third data.
[0115] In addition, there may be a plurality of duplicated pieces of the same second element data among the predetermined number of second element data determined to be selected as the third data. In this case, the output unit 207 repeats the process of extracting the next largest detailed similarity and determining to select the second element data for which the detailed similarity was calculated as the third data until the number of different second element data determined to be selected as the third data reaches the predetermined number.
[0116] Alternatively, the output unit 207 may exclude a first predetermined number (e.g., N1) of second data elements from a plurality (e.g., m) of second data elements in descending order of calculated detailed similarity. Then, the output unit 207 may determine to select, as the third data, each of a predetermined number (e.g., N) of second data elements from the remaining (e.g., m-N1) second data elements in descending order of calculated detailed similarity, in the same manner as described above. In this case, second data elements having a wider range of characteristics than the above method can be selected as the third data.
[0117] Furthermore, the output unit 207 may exclude, from multiple second element data, second element data for which detailed similarities have been calculated in the range from the maximum detailed similarity to a detailed similarity that is smaller than the maximum detailed similarity by a predetermined value or more, in the order in which the largest detailed similarities have been calculated.
[0118] Alternatively, the output unit 207 may exclude a first predetermined number (e.g., N1 pieces) of second element data from a plurality (e.g., m pieces) of second element data in descending order of calculated detailed similarity, and may exclude a second predetermined number (e.g., N2 pieces) of second element data in descending order of calculated detailed similarity. Thereafter, the output unit 207 may determine to select, as the third data, each of a predetermined number (e.g., N pieces) of second element data from the remaining (e.g., m-N1-N2 pieces) of second element data in descending order of calculated detailed similarity in the same manner as above.
[0119] In this case, it is possible to suppress the selection of second element data whose characteristics are not similar to those of the first element data as the third data, compared to the above-described method, thereby suppressing the deterioration of recognition accuracy by the target model caused by machine learning using second element data whose characteristics are not similar to those of the first element data.
[0120] The output unit 207 may exclude, from the plurality of second element data, second element data for which a detailed similarity has been calculated in a range from the maximum detailed similarity to a detailed similarity that is smaller than the maximum detailed similarity by a predetermined value or more, in order of decreasing detailed similarity. In addition, the output unit 207 may exclude, from the plurality of second element data, second element data for which a detailed similarity has been calculated in a range from the minimum detailed similarity to a detailed similarity that is larger than the minimum detailed similarity by a predetermined value or more, in order of decreasing detailed similarity.
[0121] Furthermore, the output unit 207 may be configured to send to the user terminal 6 an instruction to display an operation screen that displays a predetermined number of second element data that have been decided to be selected as third data by any of the above methods, and screen components for performing an operation to select each of the predetermined number of second element data as third data.
[0122] In this case, the user can visually check a predetermined number of second element data displayed on the operation screen, select from the predetermined number of second element data those second element data that are considered appropriate as third data, and select only the desired second element data as third data.
[0123] 9 is a diagram illustrating an example of an operation screen displaying a display field A11 for a predetermined number of second element data items that the output unit 207 has determined to be selected as third data items by any of the above methods, and a display field A12 for a screen component for performing an operation to select each of the predetermined number of second element data items as third data items.
[0124] 9 shows an example in which the user terminal 6 deselects the first second element data CD1 when an operation to not select the first second element data CD1 as the third data is performed. The operation to not select the first second element data CD1 as the third data is performed by pressing the button "NO" displayed in the display field A12 below the first second element data CD1.
[0125] 9 shows an example in which the user terminal 6 displays the second second element data CD2 when an operation to select the second second element data CD2 as the third data has been performed or when an operation not to select the second second element data CD2 as the third data has not been performed. The operation to select the second second element data CD2 as the third data is an operation to press the button "YES" displayed in the display field A12 below the second second element data CD2.
[0126] In this case, the user terminal 6 returns information indicating the second element data groups for which the operation to select them as the third data has been performed to the server 2. The output unit 207 determines to select, as the third data, each of the second element data groups indicated by the information received from the user terminal 6, from the predetermined number of second element data determined to be selected as the third data by any of the above methods.
[0127] The information display unit 208 generates a display screen that can be operated to display various types of information in accordance with instructions received from the user terminal 6, and returns an instruction to the user terminal 6 to display the display screen.
[0128] 10 is a diagram showing a first example of a display screen for metadata. Fig. 10 shows an example of a display screen that can be operated to display a plurality of first element data included in the first metadata and first element metadata indicating the characteristics of each of the plurality of first element data, which are generated by the information display unit 208.
[0129] 10 shows an example in which first element data corresponding to identification information "1" input in input field A21 is displayed in display field A22, first element metadata indicating the characteristics of the first element data is displayed in display field A24, and identification information "X1" of the first element metadata is displayed in display field A23. Note that on the display screen of FIG. 10, the identification information input in input field A21 is changed by operating scroll bar B21, and the contents displayed in display fields A22 to A24 are updated accordingly.
[0130] Fig. 11 is a diagram showing a second example of a display screen for metadata. Fig. 11 shows another example of a display screen generated by the information display unit 208. The display screen in Fig. 11 differs from the display screen shown in Fig. 10 in the display format of the first element metadata.
[0131] 11 shows an example in which first element data corresponding to identification information "1" entered in input field A31 is displayed in display field A32, and a radar chart showing the contents of first element metadata that indicate the characteristics of the first element data is displayed in display field A34. The display screen of Fig. 11 also shows an example in which identification information "X1" of the first element metadata is displayed in display field A33. Note that, on the display screen of Fig. 11, the identification information entered in input field A31 can be changed by operating scroll bar B31, and the contents displayed in display fields A32 to A34 are updated accordingly.
[0132] 6 and 7 in accordance with an instruction received from the user terminal 6, the information display unit 208 may generate a display screen that displays information indicating the distribution of each of one or more characteristics indicated by the plurality of first element metadata, similar to the selection screens shown in Figures 6 and 7, and return an instruction to display the display screen to the user terminal 6. Also, the information display unit 208 may generate a display screen that displays information indicating the distribution of each of one or more characteristics indicated by the plurality of second element metadata, similar to the selection screens shown in Figures 6 and 7 in accordance with an instruction received from the user terminal 6, and return an instruction to display the display screen to the user terminal 6.
[0133] The display screen is displayed on the user terminal 6, allowing the user to visually recognize the characteristics of the plurality of first element data. Therefore, this configuration is suitable for the user to consider what characteristics data should have to be selected as data to be newly used in machine learning of a target model.
[0134] The above is the configuration of the server 2. Next, a description will be given of the processing of the server 2. Fig. 12 is a flowchart showing an example of the processing of the server 2.
[0135] In the server 2, the processor 20 starts a process of generating new data to be used in machine learning of the target model (hereinafter, referred to as a learning data generation process) at a predetermined timing. The predetermined timing may be, for example, the timing when the communication unit 21 receives an instruction to execute the learning data generation process from the user terminal 6, the timing when a predetermined amount or more of second data is stored in the pre-held data storage unit 53, or the timing at regular intervals such as once a month.
[0136] 12, when the learning data generation process is started, the data selection unit 201 acquires first data (step S1). Next, the analysis means selection unit 202 selects an analysis method for the first data acquired in step S1 (step S2).
[0137] Next, the first generation unit 203 derives the characteristics of the first data acquired in step S1 using the first data analysis method selected in step S2, and generates first metadata indicating the characteristics of the first data (step S3).
[0138] Furthermore, if the first data acquired in step S1 includes multiple first element data, in step S3, the first generation unit 203 generates multiple first element metadata as first metadata, each of which indicates the characteristics of the multiple first element data.
[0139] Next, the second generation unit 204 acquires the second data stored in the pre-held data storage unit 53 (step S4). Then, the second generation unit 204 derives characteristics of the second data acquired in step S4 using the second data analysis method selected in step S2, and generates second metadata indicating the characteristics of the second data (step S5).
[0140] In addition, if the first data acquired in step S4 includes multiple first element data, the second generation unit 204 generates multiple second element metadata indicating the characteristics of each of the multiple second element data as second metadata in step S5.
[0141] Next, the selection unit 205 selects a comparison characteristic group to be used when comparing the first metadata generated in step S3 with the second metadata generated in step S5 (step S6).
[0142] It is assumed that the first metadata generated in step S3 includes a plurality of first element metadata, and the second metadata generated in step S5 includes a plurality of second element metadata. In this case, in step S6, the selection unit 205 selects a comparison characteristic group from at least one of the plurality of first element metadata and the plurality of second element metadata.
[0143] Next, the calculation unit 206 calculates the similarity between the first metadata and the second metadata using the values of the comparison characteristic groups selected in step S6 for each of the first metadata and the second metadata (step S7).
[0144] It is assumed that the first metadata generated in step S3 includes a plurality of first element metadata, and the second metadata generated in step S5 includes a plurality of second element metadata. In this case, in step S7, the calculation unit 206 calculates, for each of the plurality of second element data, a plurality of detailed similarities that are the degrees of similarity between the second element metadata indicating the characteristics of each second element data and each of the plurality of first element metadata.
[0145] Next, the output unit 207 determines whether to select the second data as third data to be newly used for machine learning based on the similarity between the first metadata and the second metadata calculated in step S7 (step S8).
[0146] In step S7, the calculation unit 206 calculates, for each of the plurality of second element data, a plurality of detailed similarities, which are degrees of similarity between the second element metadata indicating the characteristics of each of the plurality of second element data and each of the plurality of first element metadata. In this case, the output unit 207 determines whether or not to select each of the second element data as third data based on the plurality of detailed similarities.
[0147] After step S8, the output unit 207 outputs the second data determined to be selected as the third data in step S8 as the third data to be newly used in machine learning of the target model (step S9).
[0148] As described above, in the configuration of this embodiment, whether or not to select second data relating to a scene different from the target scene as third data to be newly used in machine learning of the target model is determined based on the similarity between the first metadata and the second metadata. Therefore, this configuration can output second data having characteristics similar to the data used in machine learning of the target model as data to be newly used in machine learning of the target model. As a result, it is possible to efficiently collect a variety of third data similar to the target scene.
[0149] Furthermore, this configuration can output the second data, which has characteristics similar to the data misrecognized by the target model, as new data to be used in machine learning of the target model. As a result, by performing machine learning of the target model using the third data, the accuracy of misrecognition by the target model can be improved.
[0150] According to the present disclosure, data relating to scenes different from the scenes targeted by a recognition model can be added as new data to be used in the machine learning of the recognition model, which is useful in collecting learning data to be used in the machine learning of a recognition model that recognizes the characteristics of a specified scene.
Claims
1. A method for generating training data in a computer for use in machine learning of a recognition model that recognizes features related to a specified scene, comprising the steps of: acquiring first data, which is at least one of data used in the machine learning and data misrecognized by the recognition model; generating first metadata indicating characteristics of the first data; acquiring second data related to a scene different from the specified scene; generating second metadata indicating characteristics of the second data; determining whether to select the second data as third data to be newly used in the machine learning based on the similarity between the first metadata and the second metadata; and outputting the third data.
2. A method for generating learning data as described in claim 1, wherein the characteristics of the first data include at least one of characteristics of the environment in which the first data was generated and the content of the first data, and the characteristics of the second data include at least one of characteristics of the environment in which the second data was generated and the content of the second data.
3. A method for generating training data as described in claim 1, wherein the characteristics of the first data include features recognized from the first data by one or more existing first recognition models, and the characteristics of the second data include features recognized from the second data by one or more existing second recognition models.
4. A method for generating learning data described in any one of claims 1 to 3, wherein in deciding whether to select the second data as the third data, if the similarity is greater than a predetermined value, it is decided to select the second data as the third data.
5. The method for generating learning data described in claim 1, wherein the first data includes a plurality of first element data, and the second data includes a plurality of second element data, wherein in generating the first metadata, a plurality of first element metadata indicating characteristics of each of the plurality of first element data is generated, wherein in generating the second metadata, a plurality of second element metadata indicating characteristics of each of the plurality of second element data is generated, and wherein in determining whether or not to select the third data, a plurality of detailed similarities are calculated for each of the plurality of second element data, which are degrees of similarity between second element metadata indicating characteristics of each of the second element data and the plurality of first element metadata, and wherein it is determined whether or not to select each of the second element data as the third data based on the plurality of detailed similarities.
6. The method for generating training data described in claim 5, wherein in deciding whether to select as the third data, a predetermined number of second element data are extracted from the plurality of second element data in order of the calculated largest detailed similarity, and it is decided to select each of the predetermined number of second element data as the third data.
7. The method for generating training data described in claim 5, wherein the decision as to whether to select the third data comprises excluding a first predetermined number of second element data from the plurality of second element data in the order in which the largest detailed similarity was calculated, extracting a predetermined number of second element data from the remaining group of second element data in the order in which the largest detailed similarity was calculated, and deciding to select each of the predetermined number of second element data as the third data.
8. The method for generating training data described in claim 5, wherein the decision as to whether to select as the third data comprises excluding, from the plurality of second element data, a first predetermined number of second element data in the order in which the largest detailed similarity was calculated, and excluding a second predetermined number of second element data in the order in which the smallest detailed similarity was calculated; extracting, from the remaining group of second element data, a predetermined number of second element data in the order in which the largest detailed similarity was calculated; and deciding to select each of the predetermined number of second element data as the third data.
9. A method for generating learning data described in any one of claims 6 to 8, wherein in deciding whether or not to select the third data, an operation screen displaying the predetermined number of second element data and a screen component for performing an operation to decide whether or not to select each of the predetermined number of second element data as the third data is displayed on a terminal device used by a user.
10. A method for generating training data as described in claim 5, wherein each first element metadata includes one or more characteristics of each first element data, and each second element metadata includes one or more characteristics of each second element data, and in calculating the multiple detailed similarities, a group of characteristics having a degree of local distribution higher than a predetermined degree is extracted from at least one of the multiple first element metadata and the multiple second element metadata, and for each of the multiple second element data, a degree of similarity between the group of characteristics of each second element data and the group of characteristics of each of the multiple first element metadata is calculated as the multiple detailed similarities.
11. The method for generating training data as described in claim 5, wherein each first element metadata indicates one or more characteristics of each first element data, and each second element metadata indicates one or more characteristics of each second element data, and in calculating the multiple detailed similarities, a selection screen is displayed on a terminal device used by a user, the selection screen displaying information indicating a distribution of one or more characteristics indicated by at least one of the multiple first element metadata and the multiple second element metadata, and a screen component for selecting whether or not to use each of the one or more characteristics in the calculation of the multiple detailed similarities, and for each of the multiple second element data, a characteristic group selected on the selection screen as a characteristic to be used in the calculation of the multiple detailed similarities is calculated as the multiple detailed similarities between the characteristic group indicated by each of the multiple first element metadata.
12. An information processing device that generates learning data to be used in machine learning of a recognition model that recognizes multiple features related to a specified scene, comprising: a first acquisition unit that acquires first data, which is at least one of data used in the machine learning and data misrecognized by the recognition model; a first generation unit that generates first metadata indicating multiple characteristics of the first data; a second acquisition unit that acquires second data related to a scene different from the specified scene; a second generation unit that generates second metadata indicating multiple characteristics of the second data; a decision unit that decides whether to select the second data as third data to be newly used in the machine learning based on the similarity between the first metadata and the second metadata; and an output unit that outputs the third data.
13. A control program that causes a computer of an information processing device that generates learning data to be used in machine learning of a recognition model that recognizes multiple features related to a specified scene to function as: a first acquisition unit that acquires first data, which is at least one of data used in the machine learning and data misrecognized by the recognition model; a first generation unit that generates first metadata indicating multiple characteristics of the first data; a second acquisition unit that acquires second data related to a scene different from the specified scene; a second generation unit that generates second metadata indicating multiple characteristics of the second data; a decision unit that decides whether to select the second data as third data to be newly used in the machine learning based on the similarity between the first metadata and the second metadata; and an output unit that outputs the third data.
Citation Information
Patent Citations
Information processing method and information processing system
WO2020183807A1
Information processing device, information processing method, and information processing program
WO2021153477A1
