Information processing device, information processing method, and recording medium

The information processing device and method enhance metric learning by using attribute label groups and teacher data to generate a conversion model, addressing the issue of human feeling reflection in similarity calculations.

JP7533774B2Active Publication Date: 2024-08-14NEC CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023515945
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-04-21
Publication Date
2024-08-14
Estimated Expiration
2041-04-21

AI Technical Summary

Technical Problem

Existing metric learning methods fail to accurately reflect the sense of similarity between data pieces as perceived by a typical user, as they do not adequately consider human feelings.

Method used

An information processing device and method that extracts feature vectors with defined attribute label groups, using teacher data and loss information to generate a conversion model, allowing for metric learning that reflects general user similarity by distinguishing between different types of attribute label groups.

Benefits of technology

The solution enables metric learning that accurately reflects the sense of similarity between data pieces as perceived by a general user, improving the relevance of similarity calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533774000003
    Figure 0007533774000003
  • Figure 0007533774000008
    Figure 0007533774000008
  • Figure 0007533774000014
    Figure 0007533774000014
Patent Text Reader

Abstract

Provided is an information processing device 4 comprising: an extraction means 421 that extracts two feature vectors as at least a part of training data 4130 from a feature data set 412 including a plurality of feature vectors XV each assigned with an attribute label group ALG including a plurality of types of attribute labels AL; a training means that uses the training data to perform metric learning for generating a transformation model TM; and a storage means 41 that stores a plurality of sets of definition data 4140 including extraction specification information 4142, which specifies an extraction condition for extracting the two feature vectors by the extraction means on the basis of a relationship between two attribute label groups assigned to the two feature vectors respectively, and loss information 4143 that defines a loss Lc relating to the training data extracted on the basis of the extraction specification information.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to, for example, the technical field of an information processing device, an information processing method, and a recording medium capable of performing metric learning. [Background technology]

[0002] As an example of a method for calculating the distance between two data (specifically, the distance between two feature vectors each indicating the feature amounts of the two data), a method using metric learning (in other words, metric learning) is known (see Patent Document 1). Metric learning is a method for generating a transformation model capable of transforming the feature vector of each data so that the distance between two similar data is shortened and the distance between two dissimilar data is lengthened in a vector space. In this case, two feature vectors each indicating the feature amounts of the two data are transformed by the transformation model, and the distance between the two transformed feature vectors is calculated as the distance between the two data.

[0003] Other prior art documents related to this disclosure include Patent Documents 2 to 7. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2001-337986 A [Patent Document 2] International Publication No. 2015 / 174063 Brochure [Patent Document 3] JP 2020-135494 A [Patent Document 4] International Publication No. 2020 / 049667 Brochure Summary of the Invention [Problem to be solved by the invention]

[0005] In metric learning, there is a technical problem that the distance between feature vectors transformed by a transformation model generated by metric learning (i.e., the similarity between two pieces of data) does not necessarily appropriately reflect the sense of similarity that a general user has for two pieces of data. In other words, there is a technical problem that it is not necessarily possible to perform metric learning that reflects the sense of similarity that a general user has for two pieces of data.

[0006] The present disclosure aims to provide an information processing device, an information processing method, and a recording medium capable of solving the above-mentioned technical problems. As an example, the present disclosure aims to provide an information processing device, an information processing method, and a recording medium capable of performing metric learning that reflects the sense of similarity that a general user has between two pieces of data. [Means for solving the problem]

[0007] One aspect of the information processing device disclosed herein includes an extraction means for extracting at least two feature vectors as at least a part of teacher data from a feature dataset including a plurality of feature vectors to which attribute label groups including a plurality of types of attribute labels are assigned, and a learning means for performing metric learning using the teacher data to generate a transformation model capable of transforming the feature vectors. A storage means for storing a plurality of definition data including extraction specification information that specifies extraction conditions for the extraction means to extract the at least two feature vectors based on a relationship between the at least two attribute label groups respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the teacher data extracted based on the extraction specification information. The extraction means extracts the at least two feature vectors as at least a part of the teacher data based on the extraction specification information, and the learning means calculates the loss based on the loss information and performs the metric learning based on the calculated loss.

[0008] One aspect of the information processing method disclosed herein includes an extraction step in which at least two feature vectors are extracted as at least a part of teacher data from a feature dataset including a plurality of feature vectors to which attribute label groups including a plurality of types of attribute labels are assigned, and a learning step in which metric learning is performed using the teacher data to generate a transformation model capable of transforming the feature vectors, wherein a storage means stores a plurality of definition data including extraction designation information that designates extraction conditions for extracting the at least two feature vectors in the extraction step based on a relationship between the at least two attribute label groups respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the teacher data extracted based on the extraction designation information, and in the extraction step, the at least two feature vectors are extracted as at least a part of the teacher data based on the extraction designation information, and in the learning step, the loss is calculated based on the loss information, and the metric learning is performed based on the calculated loss.

[0009] One aspect of the recording medium of the disclosure is a recording medium having recorded thereon a computer program for causing a computer to execute an information processing method including an extraction step in which at least two feature vectors are extracted as at least a part of teacher data from a feature dataset including a plurality of feature vectors to which attribute label groups including a plurality of types of attribute labels are assigned, and a learning step in which metric learning is performed using the teacher data to generate a transformation model capable of transforming the feature vectors, wherein a storage means stores a plurality of definition data including extraction designation information that designates extraction conditions for extracting the at least two feature vectors in the extraction step based on a relationship between the at least two attribute label groups respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the teacher data extracted based on the extraction designation information, wherein in the extraction step, the at least two feature vectors are extracted as at least a part of the teacher data based on the extraction designation information, and in the learning step, the loss is calculated based on the loss information, and the metric learning is performed based on the calculated loss. Effect of the Invention

[0010] According to one aspect of each of the above-mentioned information processing device, information processing method, and recording medium, it becomes possible to perform metric learning that reflects the sense of similarity that a typical user has between two pieces of data. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a block diagram showing the configuration of an information processing device in the first embodiment. [Diagram 2] FIG. 2 is a block diagram showing the configuration of a communication system in the second embodiment. [Diagram 3] FIG. 3 is a block diagram showing the configuration of an information processing device according to the second embodiment. [Figure 4] FIG. 4 is a data structure diagram showing the data structure of the proxy log DB in the second embodiment. [Diagram 5] FIG. 5 is a data structure diagram showing the data structure of a feature data set in the second embodiment. [Figure 6] FIG. 6 is a flowchart showing the flow of a model generating operation performed by an information processing device in the second embodiment. [Figure 7] FIG. 7 is a data structure diagram showing the data structure of extraction definition information in the second embodiment. [Figure 8] FIG. 8 is a data structure diagram showing the data structure of the condition definition information in the second embodiment. [Figure 9] FIG. 9 is a data structure diagram showing the data structure of the teacher data set in the second embodiment. [Figure 10] FIG. 10 conceptually illustrates the model structure of a Siamese network. [Figure 11] FIG. 11 is a flowchart showing the flow of a threat detection operation performed by an information processing device in the second embodiment. [Figure 12] FIG. 12 conceptually illustrates a model structure of a triplet network. [Figure 13] FIG. 13 is a data structure diagram showing the data structure of extraction definition information in the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, embodiments of an information processing device, an information processing method, and a recording medium will be described with reference to the drawings.

[0013] (1) First embodiment First, a first embodiment of an information processing device, an information processing method, and a recording medium will be described. In the following, the first embodiment of the information processing device, the information processing method, and the recording medium will be described using an information processing device 1000 to which the first embodiment of the information processing device, the information processing method, and the recording medium is applied.

[0014] FIG. 1 is a block diagram showing a configuration of an information processing device 1000 in the first embodiment. As shown in FIG. 1, the information processing device 1000 includes an extraction unit 1001, a learning unit 1002, and a storage unit 1003. The extraction unit 1001 extracts at least two feature vectors as at least a part of teacher data from a feature data set including a plurality of feature vectors to which an attribute label group including a plurality of types of attribute labels is assigned. The learning unit 1002 performs metric learning to generate a conversion model capable of converting the feature vectors, using the teacher data including the at least two feature vectors extracted by the extraction unit 1001. The storage unit 1003 includes a plurality of definition data 1004. Each definition data 1004 includes extraction specification information 1005 that specifies extraction conditions for the extraction unit 1001 to extract teacher data. The extraction specification information 1005 particularly specifies the extraction conditions by the relationship between at least two attribute label groups that are respectively assigned to at least two feature vectors extracted as at least a part of the teacher data. Each definition data 1004 further includes loss information 1006 that defines a loss related to the training data extracted based on the extraction specification information 1005 .

[0015] According to the information processing device 1000 in the first embodiment, it is possible to perform metric learning that reflects the sense of similarity that a general user has between two pieces of data.

[0016] The storage unit 1003 may store first definition data 1004, second definition data 1004, and third definition data 1004. The first definition data 1004 may include first extraction designation information 1005 and first loss information 1006. The first extraction designation information 1005 may designate a first extraction condition for extracting at least two first feature vectors as at least a part of first teacher data corresponding to positive example data. The first loss information 1006 may define a first loss related to the first teacher data. The second definition data 1004 may include second extraction designation information 1005 and second loss information 1006. The second extraction designation information 1005 may designate a second extraction condition for extracting at least two second feature vectors as at least a part of second teacher data corresponding to negative example data. The second loss information 1006 may define a second loss related to the second teacher data. The third definition data 1004 may include third extraction designation information 1005 and third loss information 1006. The third extraction designation information 1005 may designate a third extraction condition for extracting at least two third feature vectors as at least a part of the third teacher data corresponding to the positive example data or the negative example data. The third loss information 1006 may define a third loss related to the third teacher data. The similarity of the at least two first attribute label groups respectively assigned to the at least two first feature vectors may be higher than the similarity of the at least two second attribute label groups respectively assigned to the at least two second feature vectors and the similarity of the at least two third attribute label groups respectively assigned to the at least two third feature vectors. The similarity of the at least two second attribute labels may be lower than the similarity of the at least two first attribute labels and the similarity of the at least two third attribute labels. The similarity of the at least two third attribute labels may be lower than the similarity of the at least two first attribute labels and higher than the similarity of the at least two second attribute labels.

[0017] In this case, the extraction unit 1001 may typically extract at least two feature vectors as at least a part of the first teacher data based on the first extraction designation information 1005, extract at least two feature vectors as at least a part of the second teacher data based on the second extraction designation information 1005, and extract at least two feature vectors as at least a part of the third teacher data based on the third extraction designation information 1005. Furthermore, the learning unit 1002 may calculate a first loss based on the first teacher data and the first loss information 1006, calculate a second loss based on the second teacher data and the second loss information 1006, calculate a third loss based on the third teacher data and the third loss information 1006, and perform metric learning based on the calculated first to third losses.

[0018] In this way, when the storage unit 1003 stores the first to third definition data 1004, the information processing device 1000 can extract at least three types of teacher data (i.e., the first to third teacher data) using at least three different extraction conditions. Furthermore, the information processing device 1000 can separately calculate the first loss related to the first teacher data, the second loss related to the second teacher data, and the third loss related to the third teacher data. That is, the information processing device 1000 can separately calculate the first to third losses by taking into account the differences between the first to third teacher data. As a result, compared to the case where a common loss is calculated without taking into account the differences between the first to third teacher data, the information processing device 1000 can perform metric learning that reflects the sense of similarity that a general user has for two pieces of data.

[0019] (2) Second embodiment Next, a second embodiment of the information processing device, the information processing method, and the recording medium will be described. In the following, the second embodiment of the information processing device, the information processing method, and the recording medium will be described using a communication system SYS2 to which the second embodiment of the information processing device, the information processing method, and the recording medium is applied.

[0020] (2-1) Configuration of communication system SYS2 (2-1-1) Overall configuration of communication system SYS2 First, the overall configuration of a communication system SYS2 in the second embodiment will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the overall configuration of a communication system SYS2 in the second embodiment.

[0021] 2, the communication system SYS2 includes a proxy server 1, a plurality of clients 2, a plurality of servers 3, and an information processing device 4. However, the communication system SYS2 may include a single client 2. The communication system SYS2 may include a single server 3. The proxy server 1 and each of the plurality of servers 3 can communicate with each other via a network 5. The network 5 may include a wired network or a wireless network.

[0022] The proxy server 1 is a device that relays communication between the client 2 and the server 3. For example, the proxy server 1 may transmit a request acquired from the client 2 to the server 3 specified in the acquired request via the network 5. The request may include, for example, an HTTP (Hyper Text Transfer Protocol) request. However, the request is not limited to an HTTP request. For example, the proxy server 1 may transmit a response acquired from the server 3 via the network 5 to the client 2 specified in the response. The response may include, for example, an HTTP response. However, the response is not limited to an HTTP response.

[0023] A system including the proxy server 1 and the multiple clients 2 may be referred to as a local system LS. In this case, it can be said that the proxy server 1 is disposed at the boundary between the local system LS and a wide area network outside the local system LS. It can also be said that the proxy server 1 relays communication between the local system LS and the wide area network.

[0024] A client 2 communicates with a server 3 via a proxy server 1. For example, the client 2 may transmit desired data to the server 3 via the proxy server 1. For example, the client 2 may receive desired data from the server 3 via the proxy server 1.

[0025] The server 3 communicates with the client 2 via the proxy server 1. For example, the server 3 may transmit desired data to the client 2 via the proxy server 1. For example, the server 3 may receive desired data from the client 2 via the proxy server 1. The server 3 is, for example, an HTTP server. However, the server 3 may be a server other than an HTTP server.

[0026] The information processing device 4 performs a threat detection operation for detecting a threat that has already intruded into the local system LS via the network 5. The configuration of the information processing device 4 that performs such a threat detection operation will be further described below.

[0027] (2-1-2) Configuration of information processing device 4 Next, the configuration of the information processing device 4 in the second embodiment will be described with reference to Fig. 3. Fig. 3 is a block diagram showing the configuration of the information processing device 4 in the second embodiment.

[0028] 3, the information processing device 4 includes a storage device 41, which is a specific example of a "storage means", and a calculation device 42. Furthermore, the information processing device 4 may include an input device 43 and an output device 44. However, the information processing device 4 does not have to include at least one of the input device 43 and the output device 44. The storage device 41, the calculation device 42, the input device 43, and the output device 44 may be connected via a data bus 45.

[0029] The storage device 41 can store desired data. For example, the storage device 41 may temporarily store a computer program executed by the arithmetic device 42. The storage device 41 may temporarily store data that is temporarily used by the arithmetic device 42 when the arithmetic device 42 is executing a computer program. The storage device 41 may store data that the information processing device 4 stores for a long period of time. The storage device 41 may include at least one of a RAM (Random Access Memory), a ROM (Read Only Memory), a hard disk device, a magneto-optical disk device, an SSD (Solid State Drive), and a disk array device. In other words, the storage device 41 may include a non-temporary recording medium.

[0030] In the second embodiment, the storage device 41 stores data used by the information processing device 4 to perform a threat detection operation. Fig. 3 shows a proxy log DB (Database) 411, a feature data set 412, a teacher data set 413, extraction definition information 414, and a conversion model TM as an example of data used by the information processing device 4 to perform a threat detection operation. That is, Fig. 3 shows an example in which the storage device 41 stores the proxy log DB 411, the feature data set 412, the teacher data set 413, the extraction definition information 414, and the conversion model TM.

[0031] The proxy log DB 411 stores multiple pieces of proxy log data 4111 (see FIG. 4, which will be described later). The proxy log data 4111 is log data that indicates the history of communication relayed by the proxy server 1 (i.e., communication between the client 2 and the server 3). The data structure of the proxy log DB 411 that stores multiple pieces of proxy log data 4111 is shown in FIG. As shown in Fig. 4, the proxy log data 4111 may include, for example, (i) log information (client information) indicating the client 2 that communicated with the server 3, (ii) log information (server information) indicating the server 3 that communicated with the client 2, (iii) log information (communication date and time information) indicating the date and time of communication between the client 2 and the server 3, (iv) log information (method information) indicating the method used when the client 2 communicated with the server 3, (v) log information (request path information) indicating the path (request path) specified in the request transmitted from the client 2 to the server 3, (vi) log information (received size information) indicating the size of data received from the server 3 by the client 2, and (vii) log information (transmitted size information) indicating the size of data transmitted from the client 2 to the server 3. However, the proxy log data 4111 may not include at least one of the multiple pieces of log information shown in Fig. 4. The proxy log data 4111 may include other log information different from the multiple pieces of log information shown in Fig. 4.

[0032] The feature data set 412, the teacher data set 413, the extraction definition information 414, and the conversion model TM will be described in detail later.

[0033] 3 again, the arithmetic device 42 includes, for example, at least one of a central processing unit (CPU), a graphical processing unit (GPU), and a field programmable gate array (FPGA). The arithmetic device 42 reads a computer program. For example, the arithmetic device 42 may read a computer program stored in a storage device 41. For example, the arithmetic device 42 may read a computer program stored in a computer-readable and non-transient storage medium using a storage medium reading device (not shown). The arithmetic device 42 may acquire (i.e., download or read) a computer program from a device (not shown) disposed outside the information processing device 4 via an input device 43 capable of functioning as a communication device. The arithmetic device 42 executes the read computer program. As a result, a logical function block for executing an operation (for example, the above-mentioned threat detection operation) that the information processing device 4 should perform is realized in the arithmetic device 42. That is, the arithmetic device 42 can function as a controller for realizing a logical function block for executing an operation that the information processing device 4 should perform.

[0034] Fig. 3 shows an example of logical functional blocks realized in computing device 42 for performing a threat detection operation. As shown in Fig. 3, computing device 42 realizes a feature extraction unit 421, a metric learning unit 422 which is a specific example of a "learning means", a data extraction unit 423 which is a specific example of an "extraction means", a search unit 424, and an output control unit 425.

[0035] The feature extraction unit 421 extracts from the proxy log DB 411 a plurality of (or at least one) proxy log data 4111 classified into the same log data group based on a predetermined log classification criterion. The predetermined log classification criterion may include a log classification criterion that a plurality of proxy log data 4111 having the same client information, the same server information, and communication date and time information satisfying a predetermined date and time criterion are classified into the same log data group. The plurality of proxy log data 4111 satisfying the predetermined date and time criterion may include a plurality of proxy log data 4111 whose communication date indicated by the communication date and time information is the same. The plurality of proxy log data 4111 satisfying the predetermined date and time criterion may include a plurality of proxy log data 4111 whose communication times (or communication dates and times) indicated by the communication date and time information are consecutive with the interval between them being less than a predetermined value. In this case, for example, the feature extraction unit 421 may extract, from the proxy log DB 411 shown in Fig. 4, three pieces of proxy log data 4111 indicating a history of communication performed on January 1, 2019 between the client 2 corresponding to the identifier C1 and the server 3 corresponding to the identifier S1, as the proxy log data 4111 classified into a first log data group. Similarly, for example, the feature extraction unit 421 may extract, from the proxy log DB 411 shown in Fig. 4, three pieces of proxy log data 4111 indicating a history of communication performed on January 1, 2019 between the client 2 corresponding to the identifier C2 and the server 3 corresponding to the identifier S2, as the proxy log data 4111 classified into a second log data group different from the first log data group.

[0036] Returning to FIG. 3, the feature extraction unit 421 further generates a feature vector XV indicating the feature amount of the extracted multiple proxy log data 4111 (that is, multiple proxy log data 4111 classified into the same log data group). The feature extraction unit 421 generates one feature vector XV from multiple proxy log data 4111 classified into the same log data group. For this reason, the feature extraction unit 421 generates feature vectors XV for the number of log data groups. In the following explanation, an example will be explained in which the number of log data groups is R (R is a constant indicating an integer equal to or greater than 1) and the feature extraction unit 421 generates R feature vectors XV. In the following explanation, the R feature vectors XV will each be referred to as a "feature vector XV" with a subscript as an index. 1 From XV R In the following description, a feature vector XV generated from one log data group with index r (r is a variable indicating an integer satisfying 1≦r≦R) among R log data groups is referred to as a feature vector XV r The feature extraction unit 421 may generate a feature vector XV by analyzing the extracted multiple proxy log data 4111. The feature extraction unit 421 may generate the feature vector XV by performing a calculation process to calculate statistics of the multiple proxy log data 4111, for example.

[0037] The feature vector XV may include, for example, an element indicating a feature amount related to the transmission size information (i.e., vector components, the same below). The feature amount related to the transmission size information may include a feature amount related to a statistic of the transmission size indicated by the transmission size information (e.g., at least one of a minimum value, a maximum value, an average value, a variance, and an average value, etc.). The feature vector XV may include, for example, an element indicating a feature amount related to the reception size information. The feature amount related to the reception size information may include a feature amount related to a statistic of the reception size indicated by the reception size information (e.g., at least one of a minimum value, a maximum value, an average value, a variance, and a total value, etc.). The feature vector XV may include, for example, an element indicating a feature amount related to the path information. The feature amount related to the path information may include a feature amount related to a statistic of the data length of the request path indicated by the path information (e.g., at least one of a minimum value, a maximum value, an average value, a variance, and an average value, etc.). The feature amount related to the path information may include a feature amount related to the frequency of the extension of the request path indicated by the path information (e.g., the frequency of requests for each extension). The feature vector XV may include, for example, an element indicating a feature amount related to the method information. The feature related to the method information may include a feature related to the frequency of the method indicated by the method information (e.g., at least one of the percentage of GET methods, the percentage of POST methods, and the percentage of other methods). The feature vector XV may include, for example, an element indicating a feature related to the distribution of access times (e.g., the percentage of requests sent per unit time (e.g., one hour)). The feature vector XV may include, for example, an element indicating a feature related to the number of times a request was sent. Note that, in the case where the proxy log data 4111 includes header information, the feature vector XV may include, for example, an element indicating a feature related to the header information.

[0038] The feature vector XV generated by the feature extraction unit 421 is stored by the storage device 41 as at least a part of the feature data set 412. An example of the data structure of the feature data set 412 is shown in FIG. 5. As shown in FIG. 5, the storage device 41 may store feature data DV including the feature vector XV generated by the feature extraction unit 421. As described above, the feature extraction unit 421 generates one feature vector XV from a plurality of proxy log data 4111 classified into the same log data group. In this case, as shown in FIG. 5, the feature data set 412 includes feature data DV equal to the number of log data groups classified according to a predetermined log classification criterion. In other words, the feature data set 412 may include R pieces of feature data DV. In the following description, each of the R pieces of feature data DV will be referred to as “feature data DV” with a subscript as an index. 1 From DVD R " Also, the feature vector XV r The feature data DV including r It is called.

[0039] In the second embodiment, the storage device 41 may store the feature vector XV generated by the feature extraction unit 421 as feature data DV in which the attribute label group ALG and the feature vector XV are associated with each other. In other words, the storage device 41 may store the feature vector XV to which the attribute label group ALG is assigned as the feature data DV.

[0040] The attribute label group ALG is data about data called feature vector XV (i.e., metadata of data called feature vector XV). In this case, the attribute label group ALG may be data that can be used as a label for classifying the feature vector XV. In other words, the feature vector XV generated by the feature extraction unit 421 may be classifiable by the attribute label group ALG. The attribute label group ALG may be data that can be used as a label for determining the similarity of the feature vector XV, for example. In other words, the similarity of at least two feature vectors XV generated by the feature extraction unit 421 may be determined by the attribute label group ALG.

[0041] In the second embodiment, the attribute label group ALG includes multiple types of attribute labels AL. In other words, the attribute label group ALG corresponds to a combination of multiple types of attribute labels AL. The attribute label AL is data about data called feature vector XV (that is, metadata of data called feature vector XV). The attribute label AL may be any data as long as it can be used as metadata of data called feature vector XV.

[0042] For example, the feature vector XV is generated from a plurality of proxy log data 4111 classified into the same log data group. Therefore, information on the log data group used to generate the feature vector XV may be used as metadata of the feature vector XV. That is, a label indicating information on the log data group may be used as the attribute label AL. Also, in the above description, the plurality of proxy log data 4111 are classified into log data groups based on a predetermined log classification criterion. Therefore, information on the log classification criterion used to classify the plurality of proxy log data 4111 may be used as metadata of the feature vector XV. That is, a label indicating information on the log classification criterion may be used as the attribute label AL. Also, in the above description, the log classification criterion includes a log classification criterion that a plurality of proxy log data 4111 having the same client information, server information, and communication date and time information are classified into the same log data group. In this case, each of the client information, server information, and communication date and time information may be used as metadata of the feature vector XV. That is, each of the label indicating the client information, the label indicating the server information, and the label indicating the communication date and time information may be used as the attribute label AL.

[0043] 5 shows an example in which a label for identifying client information, a label for identifying server information, and a label for identifying communication date and time information are each used as an attribute label AL. In this case, each feature data DV included in the feature data set 412 includes a feature vector XV, and an attribute label group ALG corresponding to a combination of an attribute label AL for identifying client information corresponding to the feature vector XV, an attribute label AL for identifying server information corresponding to the feature vector XV, and an attribute label AL for identifying communication date and time information (communication date in the example shown in FIG. 5) corresponding to the feature vector XV. The client information corresponding to the feature vector XV may mean client information included in the proxy log data 4111 from which the feature vector XV is calculated. The server information corresponding to the feature vector XV may mean server information included in the proxy log data 4111 from which the feature vector XV is calculated. The communication date and time information corresponding to the feature vector XV may mean communication date and time information (communication date in the example shown in FIG. 5) included in the proxy log data 4111 from which the feature vector XV is calculated. In the following description, the attribute label AL for identifying client information is referred to as a "client label ALc", the attribute label AL for identifying server information is referred to as a "server label ALs", and the attribute label AL for identifying communication date and time information (the date of communication in the example shown in Figure 5) is referred to as a "communication date label ALd".

[0044] For convenience of explanation, an example in which the attribute label group ALG includes a client label ALc, a server label ALs, and a communication date label ALd will be described below. However, the attribute label AL is not limited to the client label ALc, the server label ALs, and the communication date label ALd shown in FIG. 5. Other examples of the attribute label AL will be described below. For example, a label indicating information related to the proxy log data 4111 used to generate the feature vector XV (for example, metadata of the proxy log data 4111) may be used as the attribute label AL. For example, a label indicating information that is included in the proxy log data 4111 but whose feature amount is not indicated by the feature vector XV may be used as the attribute label AL. For example, a label indicating information that is included in the proxy log data 4111 but is not used to generate the feature vector XV may be used as the attribute label AL. For example, a label indicating information that is included in the proxy log data 4111 and is correlated with at least one of the similarity and dissimilarity of the feature vector may be used as the attribute label AL. For example, when the proxy log data 4111 includes information that is relatively unsuitable for use in generating the feature vector XV because of its relatively high cardinality (i.e., the number of types of information is relatively large), a label indicating the information may be used as the attribute label AL. An example of information with a relatively high cardinality is at least one of date information and time information. For example, when the proxy log data 4111 includes information that is relatively likely to be unknown or undefined when searched by the search unit 424 described later, a label indicating the information may be used as the attribute label AL. An example of information that is relatively likely to be unknown or undefined when searched by the search unit 424 is at least one of the user name of the user who uses the client 2, the machine name of the client 2, and the machine name of the server 3.

[0045] 3 again, the metric learning unit 422 performs metric learning to generate a conversion model TM capable of converting the feature vector XV. The feature vector XV indicates the feature amount of the proxy log data 4111 in a representation space (i.e., a vector space). The conversion model TM is a model that converts the feature vector XV indicating the feature amount of the proxy log data 4111 in such a representation space into a latent vector ZV indicating the feature amount of the proxy log data 4111 in a latent space, which is a vector space different from the representation space. As described above, the R feature vectors XV 1 From XV R Therefore, the transformation model TM is generated by dividing R feature vectors XV 1 From XV R Let ZV be the R latent vectors. 1 From ZV R In other words, the transformation model TM may transform the feature vector XV r Let ZV r The conversion model TM generated by the metric learning unit 422 is stored in the storage device 41, for example.

[0046] The transformation model TM is generated by metric learning and is therefore a trainable model For example, the transformation model TM may be a model including a neural network whose parameters (e.g., at least one of weights and biases) can be trained.

[0047] The number of elements of the vector components of the latent vector ZV (i.e., the number of elements of the feature amount indicated by the latent vector ZV, the number of dimensions of the latent space) is preferably typically smaller than the number of elements of the vector components of the feature vector XV (i.e., the number of elements of the feature amount indicated by the feature vector XV, the number of dimensions of the expression space). For this reason, the latent vector ZV may be referred to as a low-dimensional vector, and the feature vector XV may be referred to as a high-dimensional vector. In this way, when the feature vector XV is converted into a latent vector ZV having a dimension lower than that of the feature vector XV, there is an advantage that human senses are relatively strongly reflected in the threat detection operation (i.e., a threat is detected with human senses being relatively strongly taken into consideration) compared to when the feature vector XV is not converted into the latent vector ZV. However, the number of elements of the vector components of the latent vector ZV may be the same as the number of elements of the vector components of the feature vector XV. The number of elements of the vector components of the latent vector ZV may be greater than the number of elements of the vector components of the feature vector XV.

[0048] Metric learning unit 422 may perform metric learning, for example, by using a neural network used for performing metric learning. In the second embodiment, metric learning unit 422 uses a Siamese network as an example of a neural network used for performing metric learning. However, the neural network used for performing metric learning is not limited to a Siamese network. For example, as described in a third embodiment below, metric learning unit 422 may use a triplet network as an example of a neural network used for performing metric learning.

[0049] The data extraction unit 423 extracts at least two feature vectors XV from the feature dataset 412 as at least a part of the teacher data 4130 (see FIG. 9 described later). As a result, the data extraction unit 423 generates teacher data 4130 including the at least two extracted feature vectors XV. The data extraction unit 423 typically generates a plurality of teacher data 4130. The teacher data 4130 (typically a plurality of teacher data 4130) generated by the data extraction unit 423 is stored by the storage device 41 as the teacher dataset 413.

[0050] As described above, in the second embodiment, a Siamese network is used to perform metric learning. In this case, the data extraction unit 423 extracts two feature vectors XV (i.e., a pair of feature vectors XV, hereinafter referred to as "vector pair XVP" as necessary) as at least a part of the teacher data 4130. When the vector pair XVP is extracted as a positive example pair (i.e., a pair of feature vectors XV for which metric learning is performed so that the distance in the latent space becomes closer), the teacher data 4130 including the vector pair XVP is used as positive example data. On the other hand, when the vector pair XVP is extracted as a negative example pair (i.e., a pair of feature vectors XV for which metric learning is performed so that the distance in the latent space becomes larger), the teacher data 4130 including the vector pair XVP is used as negative example data.

[0051] In the second embodiment, the data extraction unit 423 extracts at least two feature vectors XV (vector pairs XVP in the second embodiment) from the feature data set 412 based on the extraction definition information 414 stored in the storage device 41. Details of the operation of extracting at least two feature vectors XV based on the extraction definition information 414 will be described later together with details of the extraction definition information 414.

[0052] The search unit 424 searches the feature data set 412 for at least one feature data DV having a higher similarity to the query data DQ than other feature data DV, based on the query data DQ specifying a threat to be detected by the threat detection operation (hereinafter, referred to as a "detection target threat"). In the second embodiment, an example will be described in which the distance between the query data DQ and the feature data DV in the latent space is used as an index value indicating the similarity between the query data DQ and the feature data DV. Note that the distance between the query data DQ and the feature data DV in the latent space means the distance between a latent vector ZQ obtained by converting a feature vector XQ indicated by the query data DQ (i.e., a feature vector indicating a feature amount of the detection target threat) by the conversion model TM, and a latent vector ZV obtained by converting a feature vector XV indicated by the feature data DV by the conversion model TM. For this reason, in the second embodiment, the search unit 424 searches the feature data set 412 for at least one feature data DV having a shorter distance from the query data DQ in the latent space than other feature data DV.

[0053] The query data DQ may include a feature vector XQ indicating a feature amount of the detected target threat. In this case, the number of dimensions of the feature vector XQ of the query data DQ is preferably the same as the number of dimensions of the feature vector XV of the feature data DV. In other words, when the number of dimensions of the feature vector XV is F (where F is a constant indicating an integer equal to or greater than 1), the number of dimensions of the feature vector XQ is also preferably F. In particular, it is preferable that the types of F feature amounts indicated by the F vector components of the feature vector XV are the same as the types of F feature amounts indicated by the F vector components of the feature vector XQ. For example, when the feature vector XV includes a vector component indicating a feature amount related to the reception size and a vector component indicating a feature amount related to the transmission size, it is preferable that the feature vector XQ also includes a vector component indicating a feature amount related to the reception size and a vector component indicating a feature amount related to the transmission size.

[0054] In the second embodiment, an example will be described in which the search unit 424 searches the feature data set 412 for N (note that N is a constant indicating an integer satisfying 1≦N≦total number R of feature data DV) feature data DV whose distance from the query data DQ in the latent space is shorter than that of the other feature data DV. In this case, the search unit 424 divides the searched N feature data DV into N neighboring data DNs (hereinafter, the N neighboring data DNs will be referred to as "neighboring data DNs"), respectively. 1 From DN N ") is extracted.

[0055] Neighborhood Data DN n (Note that n is a variable indicating an integer satisfying 1≦n≦N) corresponds to data located in the vicinity of the query data DQ in the latent space. In other words, the vicinity data DN n corresponds to the feature data DV indicating the feature amount of the proxy log data 4111 indicating the trace of a threat that is the same as or similar to the detection target threat specified by the query data DQ. n If a threat is detected, it is assumed that a threat identical to or similar to the detected target threat may have already invaded the local system LS. n (Or, nearby data DN n The proxy log data 4111) corresponding to may be further analyzed to determine whether a threat has actually invaded the local system LS.

[0056] The output control unit 425 outputs the N pieces of neighborhood data DN extracted by the search unit 424. 1 From DN N The control unit 42 may control the output device 44 described later to output information relating to at least one of the above.

[0057] The input device 43 is a device that accepts information input to the information processing device 4 from outside the information processing device 4. For example, the input device 43 may include an operation device (for example, at least one of a keyboard, a mouse, and a touch panel) that can be operated by a user of the information processing device 4. For example, the input device 43 may include a receiving device (i.e., a communication device) that can receive information transmitted as data from outside the information processing device 4 to the information processing device 4 via a communication network.

[0058] The output device 44 is a device that outputs information. For example, the output device 44 may output information related to a threat detection operation performed by the information processing device 4 (for example, information related to a detected threat). An example of such an output device 44 is a display (display device) capable of outputting (i.e., displaying) information as an image. An example of the output device 44 is a speaker (audio output device) capable of outputting information as sound. An example of the output device 44 is a printer capable of outputting a document on which information is printed. An example of the output device 44 is a transmission device (i.e., a communication device) capable of transmitting information as data via a communication network or a data bus.

[0059] (2-2) Operations performed by the information processing device 4 Next, the operation performed by the information processing device 4 will be described. As described above, the information processing device 4 performs a threat detection operation to detect a threat that has already invaded the local system LS. Furthermore, the information processing device 4 may perform a model generation operation to generate a conversion model TM to be used in the threat detection operation before performing the threat detection operation. Therefore, the model generation operation and the threat detection operation will be described in this order below.

[0060] (2-2-1) Model generation operation First, the model generating operation performed by the information processing device 4 will be described with reference to Fig. 6. Fig. 6 is a flowchart showing the flow of the model generating operation performed by the information processing device 4.

[0061] 6, the data extraction unit 423 generates teacher data 4130 (step S11). To generate the teacher data 4130, the data extraction unit 423 extracts two feature vectors XV (i.e., vector pair XVP) from the feature data set 412 as at least a part of the teacher data 4130. As described above, in the second embodiment, the data extraction unit 423 extracts the vector pair XVP from the feature data set 412 as at least a part of the teacher data 4130 based on the extraction definition information 414.

[0062] Here, the extraction definition information 414 will be described with reference to FIG. 7 showing the extraction definition information 414. As shown in FIG. 7, the extraction definition information 414 includes a plurality of extraction definition data 4140. In the following description, an example will be described in which the extraction definition information 414 includes Q (where Q is a constant indicating an integer equal to or greater than 2) pieces of extraction definition data 4140. Each extraction definition data 4140 includes a definition identifier 4141 and extraction designation information 4142. Each extraction definition data 4140 also includes loss information 4143, which will be described together with the description of metric learning performed after the teacher data 4130 is generated.

[0063] The definition identifier 4141 is a unique identifier for identifying the extraction definition data 4140. In the example shown in FIG. 7, the extraction definition information 414 includes extraction definition data 4140 to which the definition identifier 4141 "DI1" is assigned, extraction definition data 4140 to which the definition identifier 4141 "DI2" is assigned, extraction definition data 4140 to which the definition identifier 4141 "DI3" is assigned, and extraction definition data 4140 to which the definition identifier 4141 "DI4" is assigned. In the following description, the extraction definition data 4140 to which the definition identifier 4141 "DIq (where q is a variable indicating an integer satisfying 1≦q≦Q)" is assigned is referred to as "extraction definition data 4140#q". In the following description, the extraction designation information 4142 and the loss information 4143 included in the extraction definition data 4140#q are referred to as "extraction designation information 4142#q" and "loss information 4143#q", respectively.

[0064] The extraction designation information 4142 designates (in other words, indicates) extraction conditions for extracting at least two feature vectors XV as at least a part of the teacher data 4130 (in the second embodiment, extracting a vector pair XVP). In other words, the extraction designation information 4142 may be considered to designate the vector pair XVP to be extracted as at least a part of the teacher data 4130 by designating the extraction conditions. The data extraction unit 423 extracts, from the feature dataset 412, the vector pair XVP that satisfies the extraction conditions designated by the extraction designation information 4142 as at least a part of the teacher data 4130.

[0065] In the second embodiment, the extraction specification information 4142 specifies the extraction condition by the relationship between two attribute label groups ALG respectively assigned to the vector pair XVP to be extracted. In this case, the data extraction unit 423 extracts, from the feature data set 412, the vector pair XVP to which the two attribute label groups ALG respectively assigned satisfying the relationship specified by the extraction condition are assigned as at least a part of the teacher data 4130.

[0066] The extraction conditions may include a positive example condition that "a vector pair XVP to be used as a positive example pair is extracted." In the second embodiment, a vector pair XVP to which two attribute label groups ALG with relatively high similarity are respectively assigned may be used as a positive example pair. In the following description, for convenience of explanation, the "two attribute label groups ALG with relatively high similarity" that define a positive example pair is referred to as a "high similarity label group pair ALGp." For this reason, the extraction conditions (particularly, the extraction conditions for extracting a vector pair XVP to be used as a positive example pair) may include a positive example condition that "a vector pair XVP to which a high similarity label group pair ALGp is ​​respectively assigned is extracted."

[0067] The extraction conditions may include a negative example condition that "a vector pair XVP to be used as a negative example pair is extracted." In the second embodiment, a vector pair XVP to which two attribute label groups ALG with relatively low similarity are respectively assigned may be used as a negative example pair. In the following description, for convenience of explanation, the "two attribute label groups ALG with relatively low similarity" that define a negative example pair will be referred to as a "low similarity label group pair ALGn." For this reason, the extraction conditions (particularly, the extraction conditions for extracting a vector pair XVP to be used as a negative example pair) may include a negative example condition that "a vector pair XVP to which a low similarity label group pair ALGn is respectively assigned is extracted."

[0068] The extraction condition may include an intermediate condition that "vector pairs XVPs to which two attribute label groups ALGs, each of which has a lower similarity than the high similarity label group pair ALGp and a higher similarity than the low similarity label group pair ALGn, are respectively assigned are extracted." In the following description, for convenience of explanation, "two attribute label groups ALGs, each of which has a lower similarity than the high similarity label group pair ALGp and a higher similarity than the low similarity label group pair ALGn," are referred to as "intermediate similarity label group pair ALGi." For this reason, the extraction condition may include an intermediate condition that "vector pairs XVPs to which intermediate similarity label group pairs ALGi are respectively assigned are extracted." The vector pairs XVPs extracted based on the intermediate condition may be used as positive example pairs. The vector pairs XVPs extracted based on the intermediate condition may be used as negative example pairs in addition to or instead of being used as positive example pairs.

[0069] The relationship between the similarity of the high similarity label group pair ALGp, the similarity of the low similarity label group pair ALGn, and the similarity of the intermediate similarity label group pair ALGi is merely a relative relationship. In other words, any two attribute label groups ALG having a similarity higher than that of the low similarity label group pair ALGn and higher than that of the intermediate similarity label group pair ALGi may be used as the high similarity label group pair ALGp. Any two attribute label groups ALG having a similarity lower than that of the high similarity label group pair ALGp and lower than that of the intermediate similarity label group pair ALGi may be used as the low similarity label group pair ALGn. Any two attribute label groups ALG having a similarity lower than that of the high similarity label group pair ALGp and higher than that of the low similarity label group pair ALGn may be used as the intermediate similarity label group pair ALGi.

[0070] In the second embodiment, as described above, the attribute label group ALG includes multiple types of attribute labels AL. In this case, the similarity of the attribute label group ALG may depend on the similarity of each of the multiple types of attribute labels AL. For example, the similarity of two attribute label groups ALG in which the similarity of all the multiple types of attribute labels AL is relatively high (for example, all the multiple types of attribute labels AL match) is higher than the similarity of two attribute label groups ALG in which the similarity of at least one of the multiple types of attribute labels AL is relatively low (for example, at least one of the multiple types of attribute labels AL does not match). Similarly, for example, the similarity of two attribute label groups ALG in which the similarity of all the multiple types of attribute labels AL is relatively low is lower than the similarity of two attribute label groups ALG in which the similarity of at least one of the multiple types of attribute labels AL is relatively high. Therefore, the high similarity label group pair ALGp, the low similarity label group pair ALGn, and the intermediate similarity label group pair ALGi may be defined according to the number of types of AL of attribute labels with relatively high similarity and the number of types of AL of attribute labels with relatively low similarity. For example, high similarity label group pairs ALGp, low similarity label group pairs ALGn, and medium similarity label group pairs ALGi may be defined depending on the number of AL types of matching attribute labels and the number of AL types of mismatching attribute labels.

[0071] As an example, in the second embodiment, as described above, the attribute label group ALG includes three types of attribute labels AL, namely, a client label ALc, a server label ALs, and a communication date label ALd. In this case, the similarity between two attribute label groups ALG in which all three types of attribute labels AL match is higher than the similarity between two attribute label groups ALG in which at least one of the three types of attribute labels AL does not match. Similarly, the similarity between two attribute label groups ALG in which any two of the three types of attribute labels AL match is higher than the similarity between two attribute label groups ALG in which at least two of the three types of attribute labels AL do not match. Similarly, the similarity between two attribute label groups ALG in which any one of the three types of attribute labels AL match is higher than the similarity between two attribute label groups ALG in which all of the three types of attribute labels AL do not match. In this case, a high similarity label group pair ALGp, a low similarity label group pair ALGn, and an intermediate similarity label group pair ALGi may be defined according to the number of types of AL of the matching attribute labels. For example, two attribute label groups ALGs in which the client label ALc, the server label ALs, and the communication date label ALd all match may be used as the high similarity label group pair ALGp. For example, two attribute label groups ALGs in which the client label ALc and the server label ALs match may be used as the high similarity label group pair ALGp. For example, two attribute label groups ALGs in which the client label ALc, the server label ALs, and the communication date label ALd all do not match may be used as the low similarity label group pair ALGn. For example, two attribute label groups ALGs in which one of the client label ALc and the server label ALs matches while the other of the client label ALc and the server label ALs does not match may be used as the intermediate similarity label group pair ALGp.

[0072] The extraction condition may include a condition that uses all of the multiple types of attribute labels AL included in the attribute label group ALG. For example, the extraction condition may include a condition that uses all of the client label ALc, server label ALs, and communication date label ALd included in the attribute label group ALG. Alternatively, the extraction condition may include a condition that uses a part of the multiple types of attribute labels AL included in the attribute label group ALG, while not using other parts of the multiple types of attribute labels AL included in the attribute label group ALG. For example, the extraction condition may include a condition that uses a part of the client label ALc, server label ALs, and communication date label ALd included in the attribute label group ALG, while not using other parts of the client label ALc, server label ALs, and communication date label ALd included in the attribute label group ALG. For example, the extraction condition that does not use the communication date label ALd may be a condition that does not care about the similarity of the communication date label ALd between the vector pair XVP to be extracted (for example, it does not care about whether the communication date label ALd is consistent or not between the vector pair XVP to be extracted).

[0073] The extraction designation information 4142 may designate an extraction condition by directly designating the relationship between two attribute label groups ALG. Alternatively, the extraction designation information 4142 may designate any one of a plurality of extraction conditions whose contents are predefined (i.e., a plurality of extraction conditions whose relationship between two attribute label groups ALG is predefined) using a unique condition identifier for identifying the extraction condition. In the example shown in FIG. 7, the extraction designation information 4142 designates any one of a plurality of extraction conditions using a condition identifier. Specifically, in the example shown in FIG. 7, the extraction designation information 4142#1 designates an extraction condition to which a condition identifier "E1" is assigned, the extraction designation information 4142#2 designates an extraction condition to which a condition identifier "E2" is assigned, the extraction designation information 4142#3 designates an extraction condition to which a condition identifier "E2" is assigned, and the extraction designation information 4142#4 designates an extraction condition to which a condition identifier "E3" is assigned.

[0074] The contents of the multiple extraction conditions (i.e., the relationship between two attribute label groups ALG used as the extraction conditions) may be defined in advance by a condition definition table 415. An example of the condition definition table 415 is shown in FIG. 8. As shown in FIG. 8, the condition definition table 415 may include multiple condition definition data 4150 that respectively define the contents of the multiple extraction conditions. Each condition definition data 4150 includes a condition identifier 4151 and attribute relationship information 4152. The condition identifier 4151 is a unique identifier for identifying the condition definition data 4150. The extraction specification information 4142 may specify the extraction condition using this condition identifier 4151. The attribute relationship information 4152 indicates the relationship that should be satisfied by two attribute label groups ALG that are respectively assigned to the vector pairs XVP extracted as part of the teacher data 4130. Specifically, the attribute relationship information 4152 indicates the relationship that should be satisfied by multiple types of attribute labels AL included in the attribute label group ALG between the vector pairs XVP extracted as part of the teacher data 4130.

[0075] 8, the condition definition table 415 includes condition definition data 4150 to which a condition identifier 4151 of "E1" is assigned (hereinafter referred to as "condition definition data 4150#1"), condition definition data 4150 to which a condition identifier 4151 of "E2" is assigned (hereinafter referred to as "condition definition data 4150#2"), and condition definition data 4150 to which a condition identifier 4151 of "E3" is assigned (hereinafter referred to as "condition definition data 4150#3"). The condition definition data 4150#1 includes attribute relationship information 4152 that defines an extraction condition that "a vector pair XVP in which the client label ALc and the server label ALs match and the communication date label ALd may or may not match is extracted." The condition definition data 4150#2 includes attribute relationship information 4152 that defines the extraction condition "vector pairs XVPs are extracted in which the client labels ALc match, the server labels ALs do not match, and the communication date labels ALd may or may not match." The condition definition data 4150#3 includes attribute relationship information 4152 that defines the extraction condition "vector pairs XVPs in which the client labels ALc, server labels ALs, and communication date labels ALd all do not match are extracted."

[0076] 7 again, at least two pieces of extraction designation information 4142 included in at least two pieces of the plurality of extraction definition data 4140 may specify the same extraction condition. In the example shown in FIG. 7, the extraction designation information 4142#2 specifies the same extraction condition as the extraction condition specified by the extraction designation information 4142#3. Also, at least two pieces of extraction designation information 4142 included in at least two pieces of the plurality of extraction definition data 4140 may specify different extraction conditions. In the example shown in FIG. 7, the extraction designation information 4142#1 specifies an extraction condition different from the extraction conditions specified by the extraction designation information 4142#2 to 4142#4. Each of the extraction designation information 4142#2 and 4142#3 specifies an extraction condition different from the extraction condition specified by the extraction designation information 4142#4.

[0077] Based on such extraction designation information 4142, the data extraction unit 423 extracts vector pairs XVP that satisfy the extraction conditions specified by the extraction designation information 4142 from the feature data set 412 as at least a part of the teacher data 4130. If multiple vector pairs XVP that satisfy the extraction conditions exist in the feature data set 412, the data extraction unit 423 may extract all of the multiple vector pairs XVP. Alternatively, the data extraction unit 423 may extract some of the multiple vector pairs XVP while not extracting other parts of the multiple vector pairs XVP.

[0078] The data extraction unit 423 repeats the operation of extracting vector pairs XVP that satisfy the extraction conditions as many times as the number of extraction definition data 4140 (i.e., the number of extraction designation information 4142). In the example shown in Fig. 7, the extraction definition information 414 includes extraction definition data 4140#1 to 4140#4 (i.e., extraction designation information 4142#1 to 4142#4). In this case, the data extraction unit 423 extracts all or part of the vector pairs XVP that satisfy the extraction conditions specified by the extraction designation information 4142#1, extracts all or part of the pairs of feature vectors XV that satisfy the extraction conditions specified by the extraction designation information 4142#2, extracts all or part of the vector pairs XVP that satisfy the extraction conditions specified by the extraction designation information 4142#3, and extracts all or part of the vector pairs XVP that satisfy the extraction conditions specified by the extraction designation information 4142#4. However, as described above, the extraction conditions specified by the extraction designation information 4142#2 are the same as the extraction conditions specified by the extraction designation information 4142#3. In this case, the data extraction unit 423 may extract all or some of the vector pairs XVP that satisfy the extraction conditions specified by either one of the extraction designation information 4142#2 and 4142#3 as vector pairs XVP that satisfy the extraction conditions specified by each of the extraction designation information 4142#2 and 4142#3.

[0079] Basically, a vector pair XVP that satisfies one extraction condition does not satisfy another extraction condition different from the first extraction condition. Therefore, when extracting all or a part of vector pairs XVP that satisfy one extraction condition and then extracting all or a part of vector pairs XVP that satisfy another extraction condition, the data extraction unit 423 may exclude the vector pairs XVP extracted based on one extraction condition from the population of extraction targets (i.e., search targets) of vector pairs XVP that satisfy the other extraction conditions. In this case, since the population of vector pairs XVP that are the extraction targets becomes smaller, the processing load for extracting vector pairs XVP that satisfy the other extraction conditions can be reduced. Furthermore, the data extraction unit 423 may set a plurality of feature vectors XV constituting the vector pair XVP extracted based on one extraction condition to the population of extraction targets, and then extract a pair of feature vectors XV that satisfy the other extraction conditions from among the vector pairs XVP that are different from the vector pairs XVP extracted based on the one extraction condition. In this case, since the population from which the vector pairs XVP are extracted becomes smaller, the processing load for extracting vector pairs XVP based on other extraction conditions can be reduced.

[0080] The data extraction unit 423 registers the teacher data 4130 including the extracted vector pair XVP in the teacher data set 413. In other words, the data extraction unit 423 stores the teacher data 4130 including the extracted vector pair XVP in the storage device 41 as a part of the teacher data set 413.

[0081] An example of the data structure of the teacher data set 413 is shown in FIG. 9. As shown in FIG. 9, the teacher data set 413 includes a plurality of teacher data 4130. Each teacher data 4130 includes vector information 4131 related to the vector pair XVP extracted by the data extraction unit 423. The vector information 4131 may include the vector pair XVP itself. Alternatively, the vector information 4131 may include a pair of data identifiers for identifying the vector pair XVP. FIG. 9 shows an example in which the vector information 4131 includes a pair of data identifiers for identifying the vector pair XVP. In the example shown in FIG. 9, the attribute label group ALG assigned to the feature vector XV is used as a data identifier.

[0082] The teacher data 4130 further includes definition identification information 4132 that identifies the extracted definition data 4140 used to extract the vector pair XVP indicated by the vector information 4131. In other words, the teacher data 4130 is data in which the vector information 4131 is associated with definition identification information 4132 that identifies the extracted definition data 4140 used to extract the vector pair XVP indicated by the vector information 4131. The definition identification information 4132 may identify the extracted definition data 4140 using, for example, a definition identifier 4141 for identifying the extracted definition data 4140. In the example shown in Figure 9, the teacher data set 413 includes three teacher data 4130 each including three vector pairs XVP extracted based on the extraction definition data 4140#1 (i.e., extraction specification information 4142#1), two teacher data 4130 each including two vector pairs XVP extracted based on the extraction definition data 4140#2 (i.e., extraction specification information 4142#2), two teacher data 4130 each including two vector pairs XVP extracted based on the extraction definition data 4140#3 (i.e., extraction specification information 4142#3), and one teacher data 4130 including one vector pair XVP extracted based on the extraction definition data 4140#4 (i.e., extraction specification information 4142#4).

[0083] Returning to FIG. 6, after teacher data 4130 is generated, metric learning unit 422 generates a transformation model TM by performing metric learning using teacher data 4130 generated in step S11 (step S12).

[0084] Here, metric learning (metric learning using a Siamese network in the second embodiment) will be described with reference to FIG. 10. FIG. 10 conceptually illustrates the model structure of a Siamese network SM. As illustrated in FIG. 10, the Siamese network SM includes a conversion model TM1 and a conversion model TM2. The conversion model TM1 and the conversion model TM2 are identical. For example, the conversion models TM1 and TM2 are two neural networks with the same parameters. The conversion models TM1 and TM2 are capable of converting a feature vector XV into a latent vector ZV, similar to the conversion model TM. When metric learning is performed, the metric learning unit 422 inputs the vector pair XVP included in the teacher data 4130 (or indicated by the teacher data 4130) to the conversion models TM1 and TM2, respectively. Specifically, in the following description, the two feature vectors XV constituting the vector pair XVP are respectively referred to as the "feature vector XV i " and "Feature vector XV j Here, "i" is a variable indicating an integer that satisfies 1≦i≦R (i.e., the total number of feature vectors XV), and "j" is a variable indicating an integer that satisfies 1≦j≦R and is different from the variable i. In this case, the metric learning unit 422 calculates the feature vectors XV i is input to the transformation model TM1, and the feature vector XV j is input to the transformation model TM2. As a result, the transformation model TM1 is transformed into the latent vector ZV i The transformation model TM2 outputs the latent vector ZV j Then, the metric learning unit 422 outputs the latent vector ZV i and the potential vector ZV jThe metric learning unit 422 calculates the distance d(i,j) between the positive and negative examples. The metric learning unit 422 repeats the same operation using a plurality of teacher data 4130 included in the teacher data set 413. Thereafter, the metric learning unit 422 calculates the loss L based on a plurality of distances d(i,j) calculated using the plurality of teacher data 4130, and updates the conversion model TM1 (and further, the conversion model TM2) based on the loss L so that the distance d(i,j) calculated using the teacher data 4130 corresponding to the positive example data becomes shorter and the distance d(i,j) calculated using the teacher data 4130 corresponding to the negative example data becomes longer. That is, the metric learning unit 422 updates the conversion model TM1 (and further, the conversion model TM2) so that the vector pair XVP corresponding to the positive example pair becomes closer and the vector pair XVP corresponding to the negative example pair becomes farther apart. The conversion model TM1 (or the conversion model TM2) generated as a result is used as the conversion model TM. For example, the parameters of the conversion model TM1 (or the conversion model TM2) are used as the parameters of the conversion model TM.

[0085] Particularly in the second embodiment, the metric learning unit 422 calculates the loss L using the loss information 4143 included in the extraction definition information 414. The loss information 4143 defines the loss L used in metric learning (i.e., the loss L calculated based on the distance d(i,j)). In particular, the loss information 4143 defines the loss L related to the vector pair XVP extracted based on the extraction designation information 4142 corresponding to the loss information 4143 (i.e., the loss L specific to the vector pair XVP extracted based on the extraction designation information 4142, hereinafter referred to as "loss Lc"). More specifically, the loss information 4143#q defines the loss Lc#q calculated based on the distance d(i,j) between the vector pair XVP that satisfies the extraction condition designated by the extraction designation information 4142#q. That is, as described above, when the extraction definition information 414 includes Q pieces of extraction definition data 4140#1 to 4140#Q (that is, Q pieces of loss information 4143#1 to 4143#Q), the loss information 4143#1 defines the loss Lc#1 calculated based on the distance d(i,j) between the vector pair XVP satisfying the extraction condition specified by the extraction specification information 4142#1, the loss information 4143#2 defines the loss Lc#2 calculated based on the distance d(i,j) between the vector pair XVP satisfying the extraction condition specified by the extraction specification information 4142#2, ..., the loss information 4143#Q defines the loss Lc#Q calculated based on the distance d(i,j) between the vector pair XVP satisfying the extraction condition specified by the extraction specification information 4142#Q. In this case, the loss information 4143#q may be considered to define the loss L calculated using the loss Lc#q by defining the loss Lc#q.

[0086] The extraction specification information 4142 used to extract the vector pair XVP included in each teacher data 4130 can be identified from the definition specification information 4132 included in each teacher data 4130. Therefore, the metric learning unit 422 can identify the loss information 4143 that defines the loss Lc for the vector pair XVP included in each teacher data 4130, based on the definition specification information 4132 included in each teacher data 4130.

[0087] The loss information 4143#q may define the loss Lc#q by defining (in other words, specifying) the parameters of the loss Lc#q. For example, in the second embodiment, a loss conforming to the Contrastive Loss may be used as the loss Lc#q. An example of the loss Lc#q conforming to the Contrastive Loss is shown in Equation 1. c " indicates a weight, which is an example of a parameter of the loss Lc#q. c " indicates a teacher label, which is an example of a parameter of the loss Lc#q. "m c " indicates a margin, which is an example of a parameter of the loss Lc#q. "Pc#q" in the formula 1 indicates a set of vector pairs XVP extracted based on the extraction designation information 4142#q. "[v]" in the formula 1 indicates a set of vector pairs XVP extracted based on the extraction designation information 4142#q. + The operator " denotes the greater of the real number v and zero.

[0088]

number

[0089] In this case, the loss information 4143#q is a weight w for defining the loss Lc#q as shown in FIG. c , teacher label y c and margin m c In other words, the loss information 4143#q may specify the loss weight w c , teacher label y c and margin m c In the example shown in FIG. 7, the loss information 4143#1 may include the teacher label y c becomes "1 (= positive example)" and the weight w c becomes "1.0" and the margin m c The loss Lc#1 is defined so that the training label y c becomes "1 (= positive example)" and the weight w c becomes "0.1" and the margin m cThe loss Lc#2 is defined so that the training label y c becomes "0 (= negative example)" and the weight w c becomes "0.1" and the margin m c The loss Lc#3 is defined so that the training label y c becomes "0 (= negative example)" and the weight w c becomes "1.0" and the margin m c The loss Lc#4 is defined so that it is “1.0”.

[0090] The teacher label yc may be regarded as a label indicating whether the vector pair XVP extracted based on the extraction specification information 4142 is a positive example pair or a negative example pair. In the example shown in FIG. 7, each of the loss information 4143#1 and 4143#2 indicates the teacher label y c The loss Lc is defined so that the vector pair XVP extracted based on each of the extraction specification information 4142#1 and 4142#2 is used as a positive example pair. On the other hand, when each of the loss information 4143#3 and 4143#4 is a training label y c The loss Lc is defined so that the loss Lc becomes "0 (=negative example)." In this case, the vector pairs XVP extracted based on the extraction designation information 4142#3 and 4142#4 are used as negative example pairs.

[0091] Here, as shown in Fig. 7, the loss information 4143#1 indicates that the vector pair XVP extracted based on the extraction condition E1 specified by the extraction specification information 4142#1 is used as a positive example pair. On the other hand, according to the extraction definition information 414 shown in Fig. 7, the vector pair XVP extracted based on the extraction condition E1 is not used as a negative example pair. In this case, the extraction condition E1 is used as a positive example condition that "vector pairs XVP each assigned with a high similarity label group pair ALGp are extracted as a positive example pair." In other words, as shown in Fig. 8, two attribute label groups ALG in which the client label ALc and the server label ALs match and the communication date label ALd may or may not match are used as the high similarity label group pair ALGp.

[0092] On the other hand, the loss information 4143#4 indicates that the vector pair XVP extracted based on the extraction condition E3 specified by the extraction specification information 4142#4 is used as a negative example pair. On the other hand, according to the extraction definition information 414 shown in Fig. 7, the vector pair XVP extracted based on the extraction condition E3 is not used as a positive example pair. In this case, the extraction condition E3 is used as a negative example condition that "vector pairs XVP each assigned with a low similarity label group pair ALGn are extracted as negative example pairs." In other words, as shown in Fig. 8, two attribute label groups ALG in which the client label ALc, the server label ALs, and the communication date label ALd all do not match are used as the low similarity label group pair ALGn.

[0093] On the other hand, the extraction designation information 4142#2 and 4142#3 designate the same extraction condition E2. On the other hand, the loss information 4143#2 indicates that the vector pair XVP extracted based on the extraction designation information 4142#2 is used as a positive example pair, while the loss information 4143#3 indicates that the vector pair XVP extracted based on the extraction designation information 4142#3 (i.e., the same vector pair XVP as the vector pair XVP extracted based on the extraction designation information 4142#2) is used as a negative example pair. In this case, the extraction condition E2 is used as an intermediate condition that "vector pairs XVP to which intermediate similar label group pairs ALGi are respectively assigned are extracted as at least one of a positive example pair and a negative example pair." That is, as shown in FIG. 8, two attribute label groups ALG in which the client labels ALc match, the server labels ALs do not match, and the communication date labels ALd may or may not match are used as the intermediate similar label group pair ALGi. In this way, a certain vector pair XVP may be used as both a positive example pair and a negative example pair. In other words, when one training data 4130 including a vector pair XVP that satisfies a certain extraction condition is used as positive example data, another training data 4130 including the same vector pair XVP that satisfies the same extraction condition may be used as negative example data.

[0094] Weight w c is typically set to a value between 0 and 1. However, the weight w c may be set to a value equal to or greater than 1. As can be seen from Equation 1, the weight w c is the weight w c The larger the weight w, the greater the contribution of the loss Lc to the overall loss L. For this reason, the loss information 4143#q is weighted by a weight w so that the contribution of the loss Lc#q calculated from the vector pair XVP extracted based on the extraction specification information 4142#q becomes an appropriate contribution. c may be specified.

[0095] As an example, it is preferable that the higher the similarity between the two attribute label groups ALG respectively assigned to the vector pair XVP extracted as a positive example pair, the shorter the distance d(i,j) between the vector pair XVP. In other words, it is preferable that the higher the similarity between the two attribute label groups ALG respectively assigned to the vector pair XVP extracted as a positive example pair, the greater the contribution of the loss Lc#q calculated from the vector pair XVP. For this reason, the loss information 4143#q is weighted by 1 as the similarity between the two attribute label groups ALG respectively assigned to the vector pair XVP extracted as a positive example pair based on the extraction specification information 4142#q increases. c The weight w c may be specified.

[0096] Here, as described above, the extraction specification information 4142 specifies the extraction conditions based on the relationship between the two attribute label groups ALG (i.e., the relationship between multiple types of attribute labels AL) assigned to the vector pairs XVP to be extracted. In this case, it is assumed that the greater the number of types of attribute labels AL that match between the vector pairs XVP (or that have relatively high similarity as described above, the same applies below), the higher the similarity between the two attribute label groups ALG assigned to the extracted vector pairs XVp. For this reason, the loss information 4143#q is weighted by 1 as the number of types of attribute labels AL that match between the vector pairs XVP extracted as positive example pairs based on the extraction specification information 4142#q increases. c The weight w c may be specified.

[0097] In the example shown in FIG. 7, each of the loss information 4143#1 and 4143#2 is a teacher label y cThe loss Lc is defined so that the weight w specified by the loss information 4143#1 is "1 (=positive example)". In this case, the client label ALc and the server label ALs match between the vector pairs XVP extracted based on the extraction specification information 4142#1. On the other hand, the client label ALc matches between the vector pairs XVP extracted based on the extraction specification information 4142#2, but the server label ALs does not match. Therefore, the number of types of attribute labels AL that match between the vector pairs XVP extracted based on the extraction specification information 4142#1 is greater than the number of types of attribute labels AL that match between the vector pairs XVP extracted based on the extraction specification information 4142#2. In this case, the weight w specified by the loss information 4143#1 is "1 (=positive example)". c is the weight w specified by the loss information 4143#2. c It may be larger than.

[0098] As another example, the lower the similarity between the two attribute label groups ALG respectively assigned to the vector pair XVP extracted as a negative example pair, the longer the distance d(i,j) between the vector pair XVP is preferable. In other words, the lower the similarity between the two attribute label groups ALG respectively assigned to the vector pair XVP extracted as a negative example pair, the greater the contribution of the loss Lc#q calculated from the vector pair XVP is preferable. For this reason, the weight w c The weight w c may be specified.

[0099] Specifically, it is assumed that the greater the number of types of attribute labels AL that do not match between the vector pairs XVP (or that have relatively low similarity as described above, the same applies below), the lower the similarity between the two attribute label groups ALG assigned to the extracted vector pairs XVP. For this reason, the loss information 4143#q is set to a weight w c The weight w c may be specified.

[0100] In the example shown in FIG. 7, each of the loss information 4143#3 and 4143#4 is the teacher label y c The loss Lc is defined so that the weight w specified by the loss information 4143#4 is "0 (=negative example)". In this case, the client label ALc and the server label ALs do not match between the vector pairs XVP extracted based on the extraction specification information 4142#4. On the other hand, the client label ALc matches between the vector pairs XVP extracted based on the extraction specification information 4142#3, but the server label ALs does not match. Therefore, the number of types of attribute labels AL that do not match between the vector pairs XVP extracted based on the extraction specification information 4142#4 is greater than the number of types of attribute labels AL that do not match between the vector pairs XVP extracted based on the extraction specification information 4142#3. In this case, the weight w specified by the loss information 4143#4 is c is the weight w specified by the loss information 4143#3. c It may be larger than.

[0101] Next, margin m c is typically set to a value equal to or greater than 0. As can be seen from Equation 1, when a vector pair XVP corresponding to a positive example pair is used, the teacher label y c Since the first term on the right side of Equation 1 is 1, the first term on the right side of Equation 1 is used as the loss term. Therefore, the distance d(i,j) between the vector pair XVP corresponding to the positive example pair is the margin m c For this reason, a loss occurs when the margin m cThe distance d(i,j) between the vector pair XVP corresponding to the positive example pair is the margin m c The vector pair XVP is moved closer together until it is equal to or smaller than the margin m c The smaller the margin m, the shorter the distance d(i,j) between the vector pair XVP extracted as a positive example pair. As described above, it is preferable that the higher the similarity between the two attribute label groups ALG assigned to the vector pair XVP extracted as a positive example pair, the shorter the distance d(i,j) between the vector pair XVP. For this reason, the loss information 4143#q is set to be smaller as the similarity between the two attribute label groups ALG assigned to the vector pair XVP extracted as a positive example pair based on the extraction specification information 4142#q increases. c The margin m c The loss information 4143#q increases the margin m as the number of types of matching attribute labels AL between vector pairs XVP extracted as positive example pairs based on the extraction specification information 4142#q increases. c The margin m c In the example shown in FIG. 7, the margin m c is the margin m specified by the loss information 4143#2. c It may be smaller than.

[0102] On the other hand, as can be seen from Equation 1, when a vector pair XVP corresponding to a negative example pair is used, the teacher label y c Since is 0, the second term on the right side of Equation 1 is used as the loss term. Therefore, the distance d(i,j) between the vector pair XVP corresponding to the negative example pair is the margin m c Therefore, a loss occurs when the margin m c The distance d(i,j) between the vector pair XVP corresponding to the negative example pair is the margin m c The vector pair XVP is moved away from each other until the margin m cThe larger the margin m, the longer the distance d(i,j) between the vector pairs XVP extracted as negative example pairs. As described above, it is preferable that the lower the similarity between the two attribute label groups ALG respectively assigned to the vector pairs XVP extracted as negative example pairs, the longer the distance d(i,j) between the vector pairs XVP. For this reason, the loss information 4143#q is set to be larger as the margin m becomes larger as the similarity between the two attribute label groups ALG respectively assigned to the vector pairs XVP extracted as negative example pairs based on the extraction specification information 4142#q becomes lower. c The margin m c The loss information 4143#q is set to a margin m as the number of types of attribute labels AL that do not match between vector pairs XVP extracted as negative example pairs based on the extraction specification information 4142#q increases. c The margin m c In the example shown in FIG. 7, the margin m c is the margin m specified by the loss information 4143#3. c It may be larger than.

[0103] Furthermore, as described above, at least two pieces of extraction specification information 4142 may specify the same extraction condition, and a vector pair XVP that satisfies the same extraction condition may be used as both a positive example pair and a negative example pair. In this case, the loss information 4143 corresponding to the positive example pair (i.e., the teacher label y c The margin m specified by loss information 4143) c is the loss information 4143 corresponding to the negative example pair (i.e., the training label y c The margin m specified by loss information 4143) c In the example shown in FIG. 7, the margin m c is the margin m specified by the loss information 4143#3. cIn this case, metric learning is appropriately performed so that the distance d(i, j) between vector pairs XVP that satisfy the same extraction condition and are used as a positive example pair and a negative example pair, respectively, converges to a certain distance.

[0104] The metric learning unit 422 calculates the loss L based on such loss information 4143. Specifically, the metric learning unit 422 calculates the loss Lc#q based on the vector pair XVP extracted based on the extraction designation information 4142#q and the loss information 4143#q. That is, the metric learning unit 422 calculates the losses Lc#1 to Lc#Q. Then, the metric learning unit 422 calculates the overall loss L based on the losses Lc#1 to Lc#Q. For example, the metric learning unit 422 may add the losses Lc#1 to Lc#Q to calculate the addition result as the loss L. The metric learning unit 422 may use the sum of the losses Lc#1 to Lc#Q as the loss L. Then, the metric learning unit 422 performs metric learning to update the conversion model TM1 (and further, the conversion model TM2) based on the loss L. For example, metric learning unit 422 performs metric learning to update conversion model TM1 (and further conversion model TM2) so that loss L becomes small (preferably to zero).

[0105] Returning to FIG. 6, after metric learning is completed, metric learning unit 422 stores the generated conversion model TM1 (and further conversion model TM2) as a conversion model TM in storage device 41 (step S13).

[0106] (2-2-2) Threat detection operation Next, a threat detection operation performed by the information processing device 4 will be described with reference to Fig. 11. Fig. 11 is a flowchart showing the flow of the threat detection operation performed by the information processing device 4. The threat detection operation shown in Fig. 11 may be started with the input of query data DQ to the information processing device 4 as a trigger. When multiple query data DQ are input to the information processing device 4, the threat detection operation is performed on each query data DQ. For example, when first query data DQ and second query data DQ are input to the information processing device 4, the threat detection operation is performed on the first query data DQ and the threat detection operation is performed on the second query data DQ.

[0107] 11, first, the search unit 424 acquires query data DQ (step S21). For example, the search unit 424 may acquire, as the query data DQ, information that directly or indirectly specifies a detected target threat (or a feature vector XQ) and is input to the information processing device 4 via an input device 43 that can function as an operation device that can be operated by a user. For example, the search unit 424 may acquire, as the query data DQ, information for directly or indirectly specifying a detected target threat (or a feature vector XQ) and is transmitted to the information processing device 4 via an input device 43 that can function as a communication device.

[0108] Thereafter, the search unit 424 searches the feature data set 412 for N pieces of neighborhood data DN based on the query data DQ acquired in step S21. 1 From DN N (Steps S22 to S26).

[0109] Specifically, the search unit 424 uses the conversion model TM stored in the storage device 41 to convert the feature vector XQ of the query data DQ acquired in step S21 into a latent vector ZQ indicating the feature amount of the detected target threat in the latent space (step S22).

[0110] In parallel with or before or after the operation of step S221, the search unit 424 searches for one of the plurality of feature data DV included in the feature data set 412. r (Step S23). After that, the search unit 424 uses the conversion model TM to extract the extracted feature data DV r Feature vector XV r Let ZV r (step S23). After that, the search unit 424 converts the latent vector ZQ generated in step S23 and the latent vector ZV r The distance d(i,j) between (i,j) (i.e., the distance in the latent space) is calculated (step S24).

[0111] The search unit 424 repeats the operations from step S23 to step S24 for the multiple feature data DV included in the feature data set 412 (step S25). As described above, the feature data set 412 includes R feature data DV 1 From DVD R Therefore, the search unit 424 searches for R pieces of feature data DV 1 From DVD R R latent vectors ZV 1 From ZV R Until the calculation of R distances d(i, j) between the latent vector ZQ and the feature data set 412 is completed, one feature data DV that has not yet been extracted in step S23 is selected from among the multiple feature data DV included in the feature data set 412. r After newly extracting the feature data DV, the operation from step S23 to step S24 is repeated. 1 The corresponding latent vector ZV 1 The distance d(i,j) between the latent vector ZQ and the feature data DV 2 The corresponding latent vector ZV 2 and the latent vector ZQ, and the feature data DV R The corresponding latent vector ZV RThe operations from step S23 to step S24 are repeated until the calculation of the distance d(i,j) between the latent vector ZQ and the vector i is completed.

[0112] Thereafter, the search unit 424 searches N pieces of feature data DV among the plurality of feature data DV included in the feature data set 412 based on the distance d(i, j) calculated in step S24, and converts the N pieces of feature data DV into N pieces of neighboring data DN 1 From DN N Specifically, the search unit 424 extracts, from among the R pieces of feature data DV, N pieces of feature data DV that are closer to the query data DQ in the latent space than the other RN pieces of feature data DV, as N pieces of neighborhood data DN 1 From DN N That is, the search unit 424 extracts N pieces of feature data DV from the R pieces of feature data DV in ascending order of the calculated distance, and converts the extracted N pieces of feature data DV into N pieces of neighboring data DN 1 From DN N Set to.

[0113] After that, the output control unit 425 outputs the N pieces of neighborhood data DN extracted by the search unit 424 in step S26. 1 From DN N The output device 44 may be controlled to output information relating to at least one of the neighborhood data DN n The information about the neighborhood data DN n Feature vector XV n In other words, the output control unit 425 may include information about the proxy log data 4111 on which the calculation of N neighboring data DN 1 From DN N The output device 44 may be controlled to output information relating to the proxy log data 4111 corresponding to at least one of the above.

[0114] (2-3) Technical Effects of Information Processing Device 4 As described above, the information processing device 4 extracts a vector pair XVP based on the extraction designation information 4142 included in the extraction definition information 414, and performs metric learning based on the extracted vector pair XVP and the loss information 4143 included in the extraction definition information 414. Therefore, compared to the information processing device of the comparative example that extracts a vector pair XVP and performs metric learning without using the extraction definition information 414 including the extraction designation information 4142 and the loss information 4143, the information processing device 4 can perform metric learning that reflects the sense of similarity that a typical user has between two pieces of data.

[0115] For example, as described above, the vector pair XVP is extracted based on a plurality of extraction designation information 4142 including different extraction conditions. In particular, the extraction definition information 414 includes at least three extraction designation information 4142 that respectively specify three different extraction conditions. Therefore, in addition to the most similar first vector pair XVP and the least similar second vector pair XVP, the information processing device 4 can also extract an intermediate third vector pair XVP that is not as similar as the first vector pair XVP but is more similar than the second vector pair XVP as at least a part of the teacher data 4130. Therefore, the information processing device 4 can perform metric learning that reflects the sense of similarity that a general user has for the third vector pair XVP that is not as similar as the first vector pair XVP but is more similar than the second vector pair XVP.

[0116] In addition, for example, as described above, the information processing device 4 sets a weight w c The information processing device 4 can calculate the loss L by using the loss information 4143 that specifies the weight w cThe loss L can be calculated using the loss information 4143 that specifies the number of types of attribute labels AL that match and therefore the distance d(i,j) between vector pairs XVP that are assumed to be more similar is preferentially shortened. Similarly, the information processing device 4 can perform metric learning so that the distance d(i,j) between vector pairs XVP that are assumed to be more dissimilar because the number of types of attribute labels AL that do not match is greater is preferentially lengthened. In other words, the information processing device 4 can perform metric learning that reflects the sense of similarity that a general user has for two pieces of data.

[0117] In addition, when the most similar first vector pair XVP, the least similar second vector pair XVP, and an intermediate third vector pair XVP are extracted as the teacher data 4130, typically, the number of the first vector pairs XVP and the number of the second vector pairs XVP are each less than the number of the third vector pair XVP. In this case, if the weight w c Assuming that the weight w is fixed, the contribution of the loss Lc for the third vector pair XVP may be greater than the contribution of the loss Lc for the first vector pair XVP due to the number of extracted vector pairs XVP. As a result, metric learning may be performed so that the distance d(i,j) between the third vector pair XVP, which has a relatively small number of types of matching attribute labels AL, is preferentially shorter than the distance d(i,j) between the first vector pair XVP, which has a relatively large number of types of matching attribute labels AL. Similarly, if the weight w cAssuming that is fixed, depending on the number of extracted vector pairs XVP, the contribution of the loss Lc for the third vector pair XV may be greater than the contribution of the loss Lc for the second vector pair XV. As a result, metric learning may be performed so that the distance d(i,j) between the third vector pair XVP, in which the number of types of mismatched attribute labels AL is relatively small, is preferentially longer than the distance d(i,j) between the second vector pair XVP, in which the number of types of mismatched attribute labels AL is relatively large. However, in the second embodiment, the weight w c The larger the weight w becomes, and the more types of attribute labels AL that do not match between vector pairs XVP extracted as negative example pairs become, c Therefore, the possibility that the contribution of the loss Lc related to the third vector pair XVP becomes larger than the contribution of the loss Lc related to the first vector pair XVP and the contribution of the loss Lc related to the second vector pair XVP is reduced. In other words, the influence of the number of vector pairs XVP on the metric learning is reduced.

[0118] Also, for example, as described above, the information processing device 4 may set a margin m c The information processing device 4 can calculate the loss L by using the loss information 4143 that specifies the loss L. Furthermore, the information processing device 4 calculates a margin m cThe loss L can be calculated using the loss information 4143 that specifies the number of types of attribute labels AL that match, and therefore the distance d(i,j) between vector pairs XVP that are assumed to be more similar becomes even shorter. Similarly, the information processing device 4 can perform metric learning so that the distance d(i,j) between vector pairs XVP that are assumed to be more dissimilar because the number of types of attribute labels AL that do not match becomes even longer. In other words, the information processing device 4 can perform metric learning that reflects the sense of similarity that a general user has for two pieces of data.

[0119] (2-4) Modifications In the second embodiment, the communication system SYS2 includes a proxy server 1. However, the communication system SYS2 does not have to include the proxy server 1. That is, the client 2 may communicate with the server 3 without going through the proxy server 1. The server 3 may communicate with the client 2 without going through the proxy server 1. Even in this case, the information processing device 4 may perform the above-mentioned threat detection operation using log data indicating the history of communication between the client 2 and the server 3.

[0120] In the above description, the embodiments of the information processing device, the information processing method, and the recording medium are applied to a communication system SYS2 that performs a threat detection operation. However, the embodiments of the information processing device, the information processing method, and the recording medium may be applied to any data processing device that handles any data. Even in this case, as long as the distance between multiple data handled by the data processing device can be defined in a vector space, the data processing device may perform the above-mentioned model generation operation. Similarly, as long as the distance between multiple data handled by the data processing device can be defined in a vector space, the data processing device may perform a data detection operation similar to the above-mentioned threat detection operation. Note that the data detection operation is performed by detecting neighborhood data DN corresponding to data located in the vicinity of the query data DQ in the latent space. nAn example of data that can be handled by such a data processing device is at least one of data that can be organized into a list, data that can be organized into a database, and data that can be organized into a table.

[0121] (3) Third embodiment Next, a third embodiment of the information processing device, the information processing method, and the recording medium will be described. In the following, the third embodiment of the information processing device, the information processing method, and the recording medium will be described using a communication system SYS3 to which the third embodiment of the information processing device, the information processing method, and the recording medium is applied.

[0122] The communication system SYS3 of the third embodiment differs from the communication system SYS2 of the second embodiment described above in which a Siamese network is used, in that a triplet network is used as the neural network used to perform metric learning. Other features of the communication system SYS3 may be the same as other features of the communication system SYS2. For this reason, the following description of the communication system SYS3 will focus on components and operations that are different from those of the communication system SYS2. Components and operations that are not described below may be the same as those of the communication system SYS2.

[0123] First, metric learning using a triplet network will be described with reference to FIG. 12. FIG. 12 conceptually illustrates the model structure of the triplet network PM. As illustrated in FIG. 12, the triplet network PM includes conversion models TM3 to TM5. The conversion models TM3 to TM5 are identical. For example, the conversion models TM3 to TM5 are two neural networks with the same parameters. The conversion models TM3 to TM5 can convert the feature vector XV into a latent vector ZV, similar to the conversion model TM. When metric learning is performed, the metric learning unit 422 inputs three feature vectors XV (that is, a trio of feature vectors XV, hereinafter referred to as "vector triple XVT") to the conversion models TM3 to TM5, respectively. For this reason, in the third embodiment, the teacher data 4130 includes vector information 4131 related to the vector triple XVT instead of the vector information 4131 related to the vector pair XVP. In the following explanation, the three feature vectors XV constituting the vector triple XVT are referred to as “feature vector XV i ", "Feature vector XV j " and "Feature vector XV k Here, “k” is a variable that satisfies 1≦k≦R (i.e., the total number of feature vectors XV) and indicates an integer different from variables i and j. i corresponds to the anchor vector. j is the feature vector XV i Together, they form a positive example pair. k is the feature vector XV i In this case, the metric learning unit 422 forms a negative example pair with the feature vector XV j is input to the transformation model TM3, and the feature vector XV i is input to the transformation model TM4, and the feature vector XV k is input to the transformation model TM5. As a result, the transformation model TM3 converts the latent vector ZV j The conversion model TM4 outputs the latent vector ZV i The conversion model TM5 outputs the latent vector ZV kThen, the metric learning unit 422 outputs the latent vector ZV i and the potential vector ZV j The distance d(i,j) between i and j (i.e., the distance between the positive pair) and the latent vector ZV i and the potential vector ZV k The metric learning unit 422 calculates a distance d(i, k) between the positive and negative example pairs (i.e., the distance between the negative and negative example pairs). The metric learning unit 422 repeats a similar operation using a plurality of teacher data 4130 included in the teacher data set 413. Thereafter, the metric learning unit 422 calculates a loss L based on a plurality of distances d(i, j) and a plurality of distances d(i, k) calculated using the plurality of teacher data 4130, and updates the conversion models TM3 to TM5 based on the loss L so that the distance d(i, j) calculated using the teacher data 4130 corresponding to the positive example data becomes relatively short and the distance d(i, k) calculated using the teacher data 4130 corresponding to the negative example data becomes relatively long. The conversion model TM3 (or the conversion model TM4 or TM5) generated as a result is used as the conversion model TM.

[0124] In the third embodiment, the data extraction unit 423 extracts the vector triple XVT from the feature data set 412 as at least a part of the teacher data 4130 based on the extraction definition information 414' shown in Fig. 13 instead of the extraction definition information 414 shown in Fig. 7. Furthermore, the metric learning unit 422 calculates the loss L based on the extraction definition information 414' shown in Fig. 13 instead of the extraction definition information 414 shown in Fig. 7.

[0125] 13, the extraction definition information 414' includes a plurality of extraction definition data 4140'. Each extraction definition data 4140' includes a definition identifier 4141, extraction designation information 4142', and loss information 4143'.

[0126] The extraction designation information 4142' differs from the above-mentioned extraction designation information 4142 that designates the extraction conditions for extracting the vector pair XVP in that it designates the extraction conditions for extracting the vector triple XVT. As shown in FIG. 13, the extraction designation information 4142' designates the two feature vectors XV (i.e., the feature vectors XV i and feature vector XV j ) and the two feature vectors XV (i.e., feature vectors XV i and feature vector XV k The other features of the extraction designation information 4142' may be the same as the other features of the extraction designation information 4142. The data extraction unit 423 extracts the vector triple XVT (i.e., the feature vector XV i , feature vector XV i and feature vector XV k ) to extract the

[0127] The loss information 4143' is the teacher label y c The loss information 4143′ differs from the above-described extraction designation information 4142 in that it may not include a label indicating whether the vector triple XVT includes a positive example pair or a negative example pair, since in the third embodiment, a vector triple XVT including a positive example pair and a negative example pair is extracted based on the extraction designation information 4142′, and therefore a label indicating whether the vector triple XVT includes a positive example pair or a negative example pair or a negative example pair is not required. Other features of the loss information 4143′ may be the same as other features of the loss information 4143.

[0128] In the third embodiment, a loss conforming to Triplet Loss may be used as the loss Lc#q. An example of the loss Lc#q conforming to Triplet Loss is shown in Equation 2. "Tc#q" in Equation 2 indicates a set of vector triples XVT extracted based on the extraction designation information 4142'#q. "(i,j,k)" in Equation 2 indicates the set of vector triples XVT (specifically, feature vectors XV i , feature vector XV j and feature vector XV k As mentioned above, the feature vector XV i and feature vector XV j corresponds to a positive example pair, and the feature vector XV i and feature vector XV k corresponds to a negative example pair.

[0129]

number

[0130] When the loss Lc#q conforming to the Triplet Loss is used, the distance d(i,k) is smaller than the distance d(i,j) by a margin m c If the distance d(i, k) is not greater than d(i, j), a loss occurs. Therefore, if a loss occurs, the transformation models TM3 to TM5 are updated so that the distance d(i, k) becomes longer and the distance d(i, j) becomes shorter.

[0131] The communication system SYS3 of the third embodiment can also enjoy the same effects as those that the communication system SYS2 of the second embodiment can enjoy. That is, the information processing device 4 of the third embodiment can also enjoy the same effects as those that the information processing device 4 of the second embodiment can enjoy.

[0132] In particular, in the third embodiment, the margin m is calculated based on the similarity between the two attribute label groups ALG assigned to the positive example pairs included in the vector triple XVT and the similarity between the two attribute label groups ALG assigned to the negative example pairs included in the vector triple XVT. c For example, as shown in FIG. 13, a margin m c is the margin m corresponding to the vector triple XVT containing at least one positive example pair and one negative example pair to which the intermediate similar label group pair ALGi is assigned. c The margin m c is specified. In this case, the information processing device 4 can perform metric learning so that the distance between the positive example pairs to which the high similarity label group pair ALGp is ​​respectively assigned is preferentially shorter than the distance between the positive example pairs to which the intermediate similarity label group pair ALGi is respectively assigned. Similarly, the information processing device 4 can perform metric learning so that the distance between the negative example pairs to which the low similarity label group pair ALGn is respectively assigned is preferentially longer than the distance between the negative example pairs to which the intermediate similarity label group pair ALGi is respectively assigned.

[0133] (4) Additional Notes The following supplementary notes are further disclosed regarding the above-described embodiment. [Appendix 1] An extraction means for extracting at least two feature vectors as at least a part of training data from a feature data set including a plurality of feature vectors to which an attribute label group including a plurality of types of attribute labels is assigned; a learning means for performing metric learning using the training data to generate a transformation model capable of transforming the feature vector; a storage means for storing a plurality of definition data including extraction specification information that specifies an extraction condition for the extraction means to extract the at least two feature vectors by a relationship between at least two of the attribute label groups that are respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the training data extracted based on the extraction specification information; Equipped with The extraction means extracts the at least two feature vectors as at least a part of the training data based on the extraction designation information, The learning means calculates the loss based on the loss information, and performs the metric learning based on the calculated loss. Information processing device. [Appendix 2] The storage means includes: First definition data including first extraction specification information that specifies a first extraction condition for extracting at least two first feature vectors as at least a part of first training data corresponding to positive example data, and first loss information that defines a first loss related to the first training data; second definition data including second extraction specification information that specifies a second extraction condition for extracting at least two second feature vectors as at least a part of second teacher data corresponding to negative example data, and second loss information that defines a second loss related to the second teacher data; third definition data including third extraction specification information that specifies a third extraction condition for extracting at least two third feature vectors as at least a part of third training data corresponding to positive example data or negative example data, and third loss information that defines a third loss related to the third training data; is stored, a similarity between the at least two first attribute labels assigned to the at least two first feature vectors is higher than a similarity between the at least two second attribute labels assigned to the at least two second feature vectors and a similarity between the at least two third attribute labels assigned to the at least two third feature vectors; a similarity between the at least two second attribute labels is lower than a similarity between the at least two first attribute labels and a similarity between the at least two third attribute labels; The similarity of the at least two third attribute labels is lower than the similarity of the at least two first attribute labels and higher than the similarity of the at least two second attribute labels. 2. An information processing device according to claim 1. [Appendix 3] The extraction means (i) extracts the at least two first feature vectors as at least a part of the first teacher data based on the first extraction designation information, (ii) extracts the at least two first feature vectors as at least a part of the second teacher data based on the second extraction designation information, and (iii) extracts the at least two third feature vectors as at least a part of the third teacher data based on the third extraction designation information, The learning means (i) calculates the first loss based on the first teacher data and the first loss information, (ii) calculates the second loss based on the second teacher data and the second loss information, (iii) calculates the third loss based on the third teacher data and the third loss information, and (iv) performs the metric learning based on the calculated first to third losses. 3. An information processing device according to claim 2. [Appendix 4] the first to third loss information define margins of the first to third losses, respectively; When the third extraction specification information specifies the third extraction condition of extracting the at least two third feature vectors as at least a part of the third training data corresponding to positive example data, the third loss margin is larger than the first loss margin, When the third extraction specification information specifies the third extraction condition of extracting the at least two third feature vectors as the third training data corresponding to negative example data, the third loss margin is smaller than the second loss margin. 4. The information processing device according to claim 2 or 3. [Appendix 5] The loss information defines a margin of the loss. 5. An information processing device according to any one of claims 1 to 4. [Appendix 6] The loss information defines the margin such that the higher the similarity between the at least two attribute label groups assigned to the at least two feature vectors included in the training data corresponding to positive example data, the closer the distance between the at least two feature vectors becomes by the metric learning, and the loss information defines the margin such that the lower the similarity between the at least two attribute label groups assigned to the at least two feature vectors included in the training data corresponding to negative example data, the farther the distance between the at least two feature vectors becomes by the metric learning. 6. The information processing device according to claim 5. [Appendix 7] The loss information defines the weight of the loss. 7. An information processing device according to any one of claims 1 to 6. [Appendix 8] The loss information defines the weights such that the higher the similarity between the at least two attribute label groups assigned to the at least two feature vectors included in the training data corresponding to positive example data, the closer the distance between the at least two feature vectors becomes by the metric learning, and the loss information defines the weights such that the lower the similarity between the at least two attribute label groups assigned to the at least two feature vectors included in the training data corresponding to negative example data, the farther the distance between the at least two feature vectors becomes by the metric learning. 8. The information processing device according to claim 7. [Appendix 9] an extraction step of extracting at least two feature vectors as at least a part of training data from a feature data set including a plurality of feature vectors to which an attribute label group including a plurality of types of attribute labels is assigned; a learning process in which metric learning is performed using the training data to generate a transformation model capable of transforming the feature vector; Including, a storage means stores a plurality of definition data including extraction designation information that designates an extraction condition for extracting the at least two feature vectors in the extraction step by a relationship between the at least two attribute label groups respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the teacher data extracted based on the extraction designation information; In the extracting step, the at least two feature vectors are extracted as at least a part of the training data based on the extraction designation information, In the learning step, the loss is calculated based on the loss information, and the metric learning is performed based on the calculated loss. Information processing methods. [Appendix 10] On the computer, an extraction step of extracting at least two feature vectors as at least a part of training data from a feature data set including a plurality of feature vectors to which an attribute label group including a plurality of types of attribute labels is assigned; a learning process in which metric learning is performed using the training data to generate a transformation model capable of transforming the feature vector; Including, a storage means stores a plurality of definition data including extraction designation information that designates an extraction condition for extracting the at least two feature vectors in the extraction step by a relationship between the at least two attribute label groups respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the teacher data extracted based on the extraction designation information; In the extracting step, the at least two feature vectors are extracted as at least a part of the training data based on the extraction designation information, In the learning step, the loss is calculated based on the loss information, and the metric learning is performed based on the calculated loss. A recording medium on which a computer program for executing an information processing method is recorded.

[0134] The present invention can be modified as appropriate within the scope that does not contradict the gist or idea of ​​the invention that can be read from the claims and the entire specification, and information processing devices, information processing methods, and recording media that involve such modifications are also included in the technical idea of ​​the present invention. [Explanation of symbols]

[0135] SYS2, SYS3 communication systems 1. Proxy Server 2 Client 3 Server 4. Information processing equipment 41 Storage device 411 Proxy Log DB 4111 Proxy Log Data 412 feature dataset 413 Training Dataset 4130 Teacher Data 414 Extraction definition information 4140 Extraction definition data 4141 Definition Identifier 4142 Extraction specification information 4143 Loss information 415 Condition definition table 4150 Condition definition data 4151 Condition Identifier 4152 Attribute-related information 42 Arithmetic unit 421 Feature Extraction Unit 422 Metrics Learning Department 423 Data Extraction Department 424 Search Department TM conversion model DQ Query Data DV feature data DN Neighborhood Data XQ, XV feature vectors ZQ, ZV Latent Vector AL Attribute Label ALc Client Label ALs Server Label ALd Communication Day Label ALG Attribute Labels

Claims

1. An extraction means for extracting at least two feature vectors as at least a part of training data from a feature data set including a plurality of feature vectors to which an attribute label group including a plurality of types of attribute labels is assigned; a learning means for performing metric learning using the training data to generate a transformation model capable of transforming the feature vector; a storage means for storing a plurality of definition data including extraction specification information that specifies an extraction condition for the extraction means to extract the at least two feature vectors by a relationship between at least two of the attribute label groups that are respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the training data extracted based on the extraction specification information; Equipped with The extraction means extracts the at least two feature vectors as at least a part of the training data based on the extraction designation information, The learning means calculates the loss based on the loss information, and performs the metric learning based on the calculated loss. Information processing device.

2. The storage means includes: First definition data including first extraction specification information specifying a first extraction condition for extracting at least two first feature vectors as at least a part of first teacher data corresponding to positive example data, and first loss information defining a first loss related to the first teacher data; second definition data including second extraction specification information that specifies a second extraction condition for extracting at least two second feature vectors as at least a part of second teacher data corresponding to negative example data, and second loss information that defines a second loss related to the second teacher data; third definition data including third extraction specification information that specifies a third extraction condition for extracting at least two third feature vectors as at least a part of third teacher data corresponding to positive example data or negative example data, and third loss information that defines a third loss related to the third teacher data; is stored, a similarity between the at least two first attribute labels assigned to the at least two first feature vectors is higher than a similarity between the at least two second attribute labels assigned to the at least two second feature vectors and a similarity between the at least two third attribute labels assigned to the at least two third feature vectors; a similarity between the at least two second attribute labels is lower than a similarity between the at least two first attribute labels and a similarity between the at least two third attribute labels; The similarity of the at least two third attribute labels is lower than the similarity of the at least two first attribute labels and is higher than the similarity of the at least two second attribute labels. The information processing device according to claim 1 .

3. The extraction means (i) extracts the at least two first feature vectors as at least a part of the first teacher data based on the first extraction designation information, (ii) extracts the at least two first feature vectors as at least a part of the second teacher data based on the second extraction designation information, and (iii) extracts the at least two third feature vectors as at least a part of the third teacher data based on the third extraction designation information, The learning means (i) calculates the first loss based on the first teacher data and the first loss information, (ii) calculates the second loss based on the second teacher data and the second loss information, (iii) calculates the third loss based on the third teacher data and the third loss information, and (iv) performs the metric learning based on the calculated first to third losses. The information processing device according to claim 2 .

4. the first to third loss information define margins of the first to third losses, respectively; When the third extraction specification information specifies the third extraction condition of extracting the at least two third feature vectors as at least a part of the third teacher data corresponding to positive example data, the third loss margin is larger than the first loss margin, When the third extraction specification information specifies the third extraction condition of extracting the at least two third feature vectors as the third teacher data corresponding to negative example data, the third loss margin is smaller than the second loss margin.

4. The information processing device according to claim 2 or 3.

5. The loss information defines a margin of the loss. The information processing device according to claim 1 .

6. the loss information defines the margin such that the higher the similarity between the at least two attribute label groups respectively assigned to the at least two feature vectors included in the training data corresponding to positive example data, the closer the distance between the at least two feature vectors becomes by the metric learning; The loss information defines the margin such that the lower the similarity between the at least two attribute label groups respectively assigned to the at least two feature vectors included in the training data corresponding to negative example data, the greater the distance between the at least two feature vectors becomes by the metric learning. The information processing device according to claim 5 .

7. The loss information defines the weight of the loss. The information processing device according to claim 1 .

8. the loss information defines the weights such that the higher the similarity between the at least two attribute label groups respectively assigned to the at least two feature vectors included in the training data corresponding to positive example data, the closer the distance between the at least two feature vectors becomes by the metric learning; The loss information defines the weights such that the lower the similarity between the at least two attribute label groups respectively assigned to the at least two feature vectors included in the training data corresponding to negative example data, the greater the distance between the at least two feature vectors becomes by the metric learning. The information processing device according to claim 7.

9. an extraction step of extracting at least two feature vectors as at least a part of training data from a feature data set including a plurality of feature vectors to which an attribute label group including a plurality of types of attribute labels is assigned; a learning process in which metric learning is performed using the training data to generate a transformation model capable of transforming the feature vector; Including, a storage means stores a plurality of definition data including extraction designation information that designates an extraction condition for extracting the at least two feature vectors in the extraction step by a relationship between the at least two attribute label groups respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the teacher data extracted based on the extraction designation information; In the extracting step, the at least two feature vectors are extracted as at least a part of the training data based on the extraction designation information, In the learning step, the loss is calculated based on the loss information, and the metric learning is performed based on the calculated loss. Information processing methods.

10. On the computer, an extraction step of extracting at least two feature vectors as at least a part of training data from a feature data set including a plurality of feature vectors to which an attribute label group including a plurality of types of attribute labels is assigned; a learning process in which metric learning is performed using the training data to generate a transformation model capable of transforming the feature vector; Including, a storage means stores a plurality of definition data including extraction designation information that designates an extraction condition for extracting the at least two feature vectors in the extraction step by a relationship between the at least two attribute label groups respectively assigned to the at least two feature vectors, and loss information that defines a loss related to the teacher data extracted based on the extraction designation information; In the extracting step, the at least two feature vectors are extracted as at least a part of the training data based on the extraction designation information, In the learning step, the loss is calculated based on the loss information, and the metric learning is performed based on the calculated loss. A computer program for executing an information processing method.

Citation Information

Patent Citations

  • Information filter device and information filtering method

    JP2001337986A

  • Learning device, learning method, and prediction system

    JP2020030698A

  • Image search device and teacher data extraction method

    JP2020135494A

  • Information processing apparatus, and information processing method

    JP2021051589A

  • Scene embedding for visual navigation

    US20200051252A1