Information processing method, program, and information processing device

The method employs a reinforcement learning model to optimize feature selection in clustering models, enhancing the classification of abnormal data by calculating the minority degree, addressing the issue of inappropriate feature quantities in existing methods.

JP7532300B2Active Publication Date: 2024-08-13THE JAPAN RES INST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021058118
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-30
Publication Date
2024-08-13
Estimated Expiration
2041-03-30

AI Technical Summary

Technical Problem

Existing methods for selecting features in clustering models, such as those using AIC, risk employing inappropriate feature quantities, leading to ineffective classification of input data.

Method used

An information processing method that uses a reinforcement learning model to sequentially select and update feature quantities, optimizing the clustering model by calculating the minority degree of known abnormal data to ensure accurate classification.

Benefits of technology

This approach allows for the suitable selection of features in clustering models, effectively classifying abnormal data and reducing the risk of misclassification, particularly in detecting anomalies like fraudulent accounting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007532300000002
    Figure 0007532300000002
  • Figure 0007532300000003
    Figure 0007532300000003
  • Figure 0007532300000004
    Figure 0007532300000004
Patent Text Reader

Abstract

To provide an information processing method or the like capable of preferably selecting a feature amount to be employed for a clustering model.SOLUTION: An information processing method causes a computer to execute processing which acquires a data group with each data composed of a plurality of feature amounts: the data group with a label attached to a certain number of data, selects the feature amounts to be used for clustering, generates a clustering model obtained by dividing the data group into a plurality of clusters, outputs a combination of the feature amounts to be next selected by inputting a combination of the feature amounts selected at a present time into a reinforcement learning model, successively selects the feature amounts on the basis of outputs from the reinforcement learning model to generate the clustering model, calculates a small number degree expressing a degree at which labeled data is divided into a small number of clusters on the basis of the number of labeled data divided into each cluster, and successively updates the reinforcement learning model according o the small number degree.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing method, a program, and an information processing device. [Background technology]

[0002] Methods for selecting features to be used as input for a machine learning model include the filter method, the wrapper method, etc. For example, Patent Document 1 discloses a data processing device that selects features by combining the filter method with AIC (Akaike Information Criteria) and builds a model by learning the features of the selected sample data. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2020 / 115943 Summary of the Invention [Problem to be solved by the invention]

[0004] However, in the filter method and the like employed in Patent Document 1, there is a risk that inappropriate features will be adopted when constructing a clustering model for classifying input data.

[0005] In one aspect, an object of the present invention is to provide an information processing method and the like that can suitably select features to be adopted in a clustering model. [Means for solving the problem]

[0006] In one aspect, an information processing method includes a computer executing a process of acquiring a data group, each data item being composed of a plurality of features, with a certain number of data items being labeled, selecting the features to be used for clustering, generating a clustering model in which the data group is classified into a plurality of clusters based on the selected features, inputting the currently selected combination of features into a reinforcement learning model that outputs the combination of features to be selected next when the currently selected combination of features is input, thereby outputting the combination of features to be selected next, sequentially selecting the features based on the output from the reinforcement learning model to generate the clustering model, calculating a minority degree that represents the degree to which the labeled data is classified into a small number of clusters based on the number of labeled data items classified into each cluster, and sequentially updating the reinforcement learning model in accordance with the minority degree. Effect of the Invention

[0007] In one aspect, features to be adopted in a clustering model can be suitably selected. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram showing an example of the configuration of an information processing device; [Diagram 2] FIG. 1 is an explanatory diagram showing an overview of an embodiment. [Diagram 3] FIG. 11 is an explanatory diagram showing a feature quantity selection process. [Figure 4] FIG. 13 is an explanatory diagram showing an example of a display screen of a learning result. [Diagram 5] 11 is a flowchart illustrating an example of a processing procedure executed by a server. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] The present invention will now be described in detail with reference to the drawings showing embodiments thereof. (Embodiment 1) 1 is a block diagram showing a configuration example of an information processing device 1. In this embodiment, when a clustering model for classifying input data is constructed (generated), a form will be described in which a feature amount of data to be adopted as an input of the clustering model is searched for using a reinforcement learning model.

[0010] The information processing device 1 is an information processing device capable of various information processing and transmitting and receiving information, such as a server computer, a personal computer, etc. In this embodiment, the information processing device 1 is assumed to be a server computer, and for the sake of brevity, will be referred to as a server 1 below. The server 1 generates a clustering model that detects (classifies) the presence or absence of anomalies in input data by classifying a data group, each data being a training data group consisting of a plurality of feature amounts and including abnormal data, into a plurality of clusters.

[0011] Specifically, the server 1 generates a clustering model that detects (classifies) the presence or absence of accounting fraud from accounting data (e.g., BL (Balance Sheet) and PL (Profit and Loss Statement) data) of each of a plurality of companies. That is, the server 1 generates a model that detects the presence or absence of accounting fraud from accounting data consisting of a plurality of accounting items (features) by learning accounting data without accounting fraud as normal data and accounting data with accounting fraud as abnormal data.

[0012] In this embodiment, a model for detecting accounting fraud is given as an example of a clustering model, but the data to be clustered is not limited to accounting data and may be other data (see Modification 1, etc., described below). In other words, detecting accounting fraud is merely one example of anomaly detection. Furthermore, anomaly detection is merely one example of the use of a clustering model, and the clustering model may be any model that is capable of classifying any data.

[0013] As described above, the server 1 generates a clustering model by classifying a data group including data known to be abnormal (data containing accounting fraud) into multiple clusters. Specifically, as described below, the server 1 selects a combination of features suitable as a clustering criterion from multiple features constituting each data, and generates a clustering model that classifies input data based on the selected combination of features.

[0014] In learning (clustering) large amounts of data in this way, although it is empirically known that there is a certain amount of abnormal data in the entire data group, there is a problem in that the number of data that is found to be abnormal is small compared to the actual number of abnormal data. For example, in the case of accounting fraud, there is a risk that in addition to accounting fraud that has been discovered, accounting fraud that has not been discovered is mixed into the accounting data group.

[0015] Under such circumstances, if data other than data known to be abnormal is considered to be normal data and learned, there is a risk that a model will be created that cannot detect data in which abnormalities are overlooked. Therefore, in this embodiment, a combination of features to be adopted in the clustering model is searched for using a reinforcement learning technique.

[0016] The server 1 includes a control unit 11, a main memory unit 12, a communication unit 13, a display unit 14, an input unit 15, and an auxiliary memory unit 16. The control unit 11 has one or more arithmetic processing devices such as a central processing unit (CPU), a micro-processing unit (MPU), a graphics processing unit (GPU), etc., and performs various information processing, control processing, etc. by reading and executing a program P stored in the auxiliary storage unit 16. The main storage unit 12 is a temporary storage area such as a static random access memory (SRAM), a dynamic random access memory (DRAM), a flash memory, etc., and temporarily stores data required for the control unit 11 to execute arithmetic processing. The communication unit 13 is a communication module for performing processing related to communication, and transmits and receives information to and from the outside. The display unit 14 is a display screen such as a liquid crystal display, and displays images. The input unit 15 is an operation interface such as a keyboard, a mouse, etc., and accepts operation input.

[0017] The auxiliary storage unit 16 is a non-volatile storage area such as a large-capacity memory or a hard disk, and stores a program P and other data necessary for the control unit 11 to execute processing. The auxiliary storage unit 16 also stores a reinforcement learning model 52. The reinforcement learning model 52 is a model that outputs a combination of features to be selected next when a combination of features currently selected is input as a feature to be adopted in a clustering model. The reinforcement learning model 52 is expected to be used as a program module constituting a part of artificial intelligence software.

[0018] The auxiliary storage unit 16 may be an external storage device connected to the server 1. The server 1 may be a multi-computer consisting of a plurality of computers, or may be a virtual machine virtually constructed by software.

[0019] The server 1 may also include a reading unit that reads a non-transitory computer-readable recording medium 1a and reads the program P from the recording medium 1a. The program P may be executed on a single computer or on multiple computers interconnected via a network N.

[0020] Fig. 2 is an explanatory diagram showing an overview of the embodiment. Fig. 2 illustrates how, when a clustering model 51 is generated by classifying a group of training data into a plurality of clusters, features to be adopted as inputs to the clustering model 51 are selected according to the output from a reinforcement learning model 52. The overview of the embodiment will be described with reference to Fig. 2.

[0021] The server 1 classifies a data group, each of which is composed of a plurality of feature amounts, into a plurality of clusters to generate a clustering model 51. The clustering model 51 is a model that performs clustering by unsupervised learning, and is, for example, a Gaussian Mixture Model (GMM). Note that the clustering model 51 may be another clustering model, such as a Support Vector Machine (SVM).

[0022] As described above, the data group to be trained is accounting data of each company. For example, the server 1 handles the data group as matrix data in which each data is represented by a row and each feature in the data is represented by a column (see also FIG. 3). A certain number of data included in the data group are given a label indicating that the data is abnormal (illustrated as "known anomaly" in FIG. 2). The label indicates, for example, the presence of accounting fraud, but the abnormality of the data can be defined arbitrarily depending on the purpose of clustering.

[0023] The server 1 selects features to be used for clustering from N features (N is an integer) constituting each data. The server 1 then classifies the data group into a plurality of clusters using the selected features as explanatory variables. As a result, as shown in FIG. 2, a clustering model 51 is generated in which abnormal data and normal data are preferably classified into separate clusters.

[0024] On the other hand, as shown in the dotted line frame on the left side of Fig. 2, there is a possibility that the original data group may contain data that is not yet known to be anomalous. In this case, if features are selected based on data that is known to be anomalous and clustering is performed, there is a possibility that a clustering model 51 that classifies data that is not yet known to be anomalous as normal data may be created. Therefore, in this embodiment, a reinforcement learning model 52 is used to sequentially search for optimal combinations of features to generate a clustering model 51 (see the right side of Fig. 2) that classifies data that is not yet known to be anomalous as abnormal data.

[0025] For the sake of simplicity, in the following explanation, data that has been given a label indicating that it is abnormal will be referred to as "known abnormal data." Furthermore, data other than known abnormal data that is not known to be abnormal will be referred to as "unknown abnormal data," and normal data other than known abnormal data and unknown abnormal data will be referred to as "normal data."

[0026] Fig. 3 is an explanatory diagram showing the process of selecting features. Fig. 3 conceptually illustrates the process of sequentially selecting (reducing) features to be used in clustering using a reinforcement learning model 52. The process contents executed by the server 1 will be described with reference to Fig. 3.

[0027] The server 1 sequentially selects (changes) a combination of features to be used for clustering from N features constituting each data, and each time a feature is selected, the server 1 sequentially generates a clustering model 51 according to the newly selected combination of features. The combination of features is selected according to the output from the reinforcement learning model 52.

[0028] The reinforcement learning model 52 is a model that outputs a combination of features to be selected next when a currently selected combination of features is input, and is, for example, DQN (Deep Q-Network). Note that the reinforcement learning model 52 may be a model other than DQN. The reinforcement learning model 52 defines the currently selected combination of features as a state (s; state) and the next combination of features to be selected as an action (a; action), and outputs the next combination of features to be selected from the current combination of features.

[0029] In this embodiment, the server 1 introduces a 1 row × N column filter to select (extract) features. The filter is a determinant in which the column values ​​corresponding to each feature are specified as "0" or "1", and stores "1" in the columns of features to be selected and "0" in the columns of features not to be selected. The server 1 applies the filter to a data group (matrix data) in which each data is represented by a row and each feature in the data is represented by a column, thereby extracting the selected feature portion from the original data group. The server 1 sequentially selects (changes) a combination of features by sequentially changing the values ​​of each column in the filter.

[0030] In this embodiment, the server 1 searches for a combination of features to be adopted in the clustering model 51 by eliminating N features one by one. Specifically, the server 1 sequentially changes the value of each column in the filter from "1" to "0." In this way, the server 1 sequentially eliminates one feature from the currently selected features. Each time the server 1 eliminates a feature, it generates a clustering model 51 according to the combination of features after the elimination.

[0031] In this embodiment, the feature amounts are successively reduced to search for the optimal combination, but the feature amounts to be selected may be successively increased.

[0032] Here, in order to search for an optimal combination of features, every time the server 1 generates a clustering model 51, it calculates a minority degree for evaluating the suitability of the generated clustering model 51. The minority degree is a value that indicates the degree to which known abnormal data (data labeled to indicate that it is abnormal) is classified into a small number of clusters, and is a value designed to be higher as the known abnormal data is concentrated in as few clusters as possible.

[0033] Specifically, let S be the entire data set, A be the set of unknown anomaly data, B be the set of known anomaly data, and n be the number of clusters. Let each data set be S={S1, S2, …, S n}, A={a1,a2,…,a n}, B={b1,b2,…,b n}, the minority degree is defined by the following formula (1).

[0034]

number

[0035] n(b k ) represents the number of known anomaly data included in the kth cluster. n(B) represents the total number of known anomaly data. n(S k ) is the total number of data, including data other than known anomaly data, contained in the kth cluster.

[0036] As shown in formula (1), the server 1 calculates the number of known anomaly data classified into each cluster, n(b k ) divided by the total number of known anomalies in the entire data set, n(B), k ) / n(B). Server 1 also calculates the number of known anomaly data classified into each cluster, n(b k ) by the total number of data in each cluster, n(S k ) divided by n(b k ) / n(S k ) is calculated. Server 1 calculates the multiplication value n(b k ) / n(B)×n(b k ) / n(S k) is calculated for each cluster (k=1,2,...,n), and the multiplied value that takes the maximum value is determined as the minority degree.

[0037] n(b k ) / n(B) represents the proportion of known anomaly data concentrated in one cluster, and n(b k ) / n(S k ) represents the proportion of known anomaly data in a cluster. By calculating the minority degree in proportion to both, the minority degree is calculated taking into account not only whether the known anomaly data is simply classified into a small number of clusters, but also whether the known anomaly data is concentrated in a cluster.

[0038] Note that formula (1) is an example of the minority degree, and the minority degree may be any appropriate expression of the degree to which the known anomaly data is classified into a small number of clusters. For example, the server 1 has a number of clusters, n(b k ) / n(S k ) is ignored, and n(b k Alternatively, the server 1 may calculate the maximum value of n(b) / n(B) as the minority degree. k ) / n(B) is ignored, and n(b k ) / n(S k ) may be calculated as the minority degree. Also, the server 1 may determine the minority degree as the minimum value instead of the maximum value.

[0039] That is, the server 1 calculates the number of known anomaly data classified into each cluster, n(b k ), it is sufficient if the minority degree, which indicates the degree to which the known anomaly data is classified into a small number of clusters, can be calculated based on the above. The specific calculation formula is not limited to formula (1).

[0040] In the above, the degree of minority is defined based on the number of each data including known abnormality data, i.e., the number of data samples, but by using the number of clusters into which known abnormality data is classified as the criterion, the problem can be reduced to minimizing the number of clusters into which known abnormality data is classified. However, according to the research of the present inventors, when the number of clusters is used as the criterion, a model that is overly adapted to the known abnormality data is likely to be created, and overlearning is likely to occur. Therefore, in this embodiment, the degree of minority is defined based on the number of samples (number of known abnormality data).

[0041] The server 1 selects (changes) a combination of features according to the output from the reinforcement learning model 52, and calculates the minority degree every time it generates a clustering model 51. Then, the server 1 calculates a reward value (r; reward) to be given to the reinforcement learning model 52 according to the difference in the minority degree before and after the change of the combination. The server 1 sequentially updates the reinforcement learning model 52 according to the calculated reward value, and finally selects an optimal combination of features, i.e., an optimal clustering model 51.

[0042] A specific processing step will be described with reference to FIG. 3. For the sake of simplicity, FIG. 3 will describe a case in which there are three feature amounts. First, the server 1 selects all feature amounts by setting the filter to [1,1,1], and generates a clustering model 51. Then, the server 1 calculates the number of known anomaly data n(b k ), the total number of known anomaly data n(B), and the total number of data in each cluster n(S k ) the minority degree ("0.3" in Figure 3) is calculated.

[0043] The server 1 inputs the currently selected combination of features to the reinforcement learning model 52, thereby outputting the next combination of features to be selected. Specifically, the reinforcement learning model 52 outputs one feature to be reduced from the current combination. The server 1 selects the combination resulting from the reduction of the feature output from the reinforcement learning model 52 as the feature to be used for clustering, and regenerates the clustering model 51. The server 1 then calculates the minority degree of the regenerated clustering model 51.

[0044] FIG. 3 illustrates how "Feature 3" is output from the reinforcement learning model 52 as the change in the filter. The server 1 changes the change in the output filter from "1" to "0" and applies the changed filter to the original data group to extract the "Feature 1" and "Feature 2" portions. The server 1 regenerates the clustering model 51 by classifying the data group based on "Feature 1" and "Feature 2". The server 1 then calculates the minority degree of the regenerated clustering model 51 ("0.6" in FIG. 3).

[0045] Here, the server 1 generates clustering models 51 for other combinations in which the feature quantities to be reduced are changed in addition to the combinations output from the reinforcement learning model 52, and calculates the minority degrees.

[0046] FIG. 3 illustrates the calculation of the minority degree for each case where "Feature 1" and "Feature 2" are reduced in addition to "Feature 3" output from the reinforcement learning model 52 as a feature to be reduced. As shown in FIG. 3, the server 1 selects a column (feature) in the filter other than the change portion output from the reinforcement learning model 52 as the change portion, and changes the filter. That is, the server 1 selects a combination different from the combination output from the reinforcement learning model 52. The server 1 also performs clustering on the combination, and calculates the minority degrees ("0.3" and "0.8" in FIG. 3) from the clustering result. For example, the server 1 performs clustering on all combinations of features that can be selected (reduced), and calculates the minority degrees.

[0047] Although the minority degree is calculated for all combinations in the above, the number of combinations of feature quantities to be selected may be limited to a certain number. For example, the server 1 may configure the reinforcement learning model 52 to output the degree of selection for all features that can be selected (reduced) as a probability value, set a selection order according to the probability value of each feature quantity output from the reinforcement learning model 52, and select a combination in which features of a certain rank or higher are reduced.

[0048] Furthermore, the combination of features (features to be reduced next) output by the reinforcement learning model 52 according to this embodiment is one pattern, and other combinations are selected (specified) by the server 1, but the reinforcement learning model 52 may output a plurality of combinations of features. That is, the reinforcement learning model 52 may output the first most likely combination, the second most likely combination, the third most likely combination, and so on, and the server 1 may select each combination, perform clustering, and calculate the minority degree. In this way, the output of the reinforcement learning model 52 (combination of features to be selected next) is not limited to one pattern.

[0049] As described above, the server 1 calculates the minority degree for each of a plurality of combinations including the combination output from the reinforcement learning model 52. The server 1 calculates a reward value to be given to the reinforcement learning model 52 according to the difference between the minority degree of the combination at the previous time point and the minority degree of each combination at the current time point after the combination change.

[0050] Specifically, when the difference obtained by subtracting the minority degree of the previous combination from the minority degree of the current combination exceeds 0, the server 1 assigns a positive value of "+1" as the reward value. Also, when the difference obtained by subtracting the minority degree of the previous combination from the minority degree of the current combination is less than 0, the server 1 assigns a negative value of "-1" as the reward value. According to the research of the inventor of the present application, learning efficiency can be improved not only by assigning a positive reward value when the minority degree increases, but also by assigning a negative reward value when the minority degree decreases or remains the same.

[0051] For example, the server 1 may vary the absolute value of the reward value in proportion to the absolute value (magnitude) of the difference in the minority degree.

[0052] The server 1 calculates the difference in minority degree from the combination before the change for other combinations in addition to the combination output from the reinforcement learning model 52, and calculates the reward value. In the example of FIG. 3, the minority degree at the previous point in time is "0.3", and the minority degree when "Feature 3" is reduced according to the output from the reinforcement learning model 52 is "0.6", so the reward value is "+1". On the other hand, when "Feature 1" is selected, the minority degree is "0.3", so the reward value is "-1", and when "Feature 2" is selected, the minority degree is "0.8", so the reward value is "+1".

[0053] In this embodiment, the minority degree is learned for all combinations, but the server 1 may select a combination to be learned according to the minority degree. For example, the server 1 may select a combination with the maximum minority degree as the learning object, and provide the reinforcement learning model 52 with a reward value according to the difference from the previous point in time.

[0054] The server 1 repeats the above process, sequentially reducing the feature amounts and sequentially calculating the minority degree. That is, the server 1 outputs the feature amount to be reduced next by inputting the current feature amount combination again to the reinforcement learning model 52. The server 1 reduces the feature amount output from the reinforcement learning model 52 from the current combination, regenerates the clustering model 51, and calculates the minority degree.

[0055] In the example of FIG. 3, when the current combination ("feature 1" and "feature 2") is input to the reinforcement learning model 52, "feature 2" is output as the change location of the filter. In this case, the server 1 performs clustering based on the combination ("feature 1" only) in which "feature 2" has been removed, and calculates the minority degree. The server 1 also performs clustering on the combination ("feature 2" only) in which "feature 1" has been removed in addition to "feature 2", and calculates the minority degree.

[0056] In the example of FIG. 3, the combination selected by the reinforcement learning model 52 ("Feature 1" and "Feature 2") is illustrated as being changed, but the present embodiment is not limited to this, and it is also possible to change another combination with the highest rare degree ("Feature 1" and "Feature 3").

[0057] The server 1 performs the feature reduction, i.e., the change of the combination of the feature, over a predetermined number of steps i max (i max The number of steps is specified by the user, for example. Figure 3 shows the case where the number of steps is two.

[0058] Note that the number of steps is not necessarily specified manually, but may be automatically set based on the total number of feature amounts N. For example, the server 1 may automatically set the number of steps to N-1.

[0059] The server 1 repeats a trial in which the combination of features is changed by the specified number of steps. For example, when a trial is completed, the server 1 clears the currently selected combination of features and selects all features again. Each time a trial is completed, the server 1 repeats the i-th trial (i=0, 1, 2, ...i max The server 1 calculates the difference between the minority degree of the (i+1)th step and the minority degree of the (i-1)th step. The server 1 then calculates a reward value according to the difference in minority degree between each step, and updates the reinforcement learning model 52. In this manner, the server 1 sequentially updates the reinforcement learning model 52 each time a trial is completed.

[0060] In the above description, the reinforcement learning model 52 is updated after changing the combination of feature quantities for a specified number of steps, but for example, a reward value may be calculated each time the minority degree is calculated at each step, and the reinforcement learning model 52 may be updated. In other words, the server 1 only needs to be able to sequentially update the reinforcement learning model 52, and the timing of updating the reinforcement learning model 52 is not particularly limited.

[0061] For example, the server 1 repeats the trial until the learning result of the reinforcement learning model 52 satisfies a predetermined convergence condition. For example, the server 1 determines that the learning result has converged when the Q value becomes equal to or less than a certain value.

[0062] For example, the server 1 may set an upper limit on the number of trials in advance and end the learning when the upper limit is reached. Alternatively, the server 1 may determine whether or not to end the learning based on the degree of minority or the like. In other words, the condition for ending the learning is not limited to the convergence of the learning result of the reinforcement learning model 52.

[0063] Further, in this embodiment, a value function-based reinforcement learning model 52 (DQN) has been described, but the reinforcement learning model 52 is not limited to a value function-based model, and may be a policy-based model that updates (learns) the policy function using a policy gradient method or the like.

[0064] The server 1 selects one of the clustering models 51, 51, 51 ... successively generated as the optimum clustering model 51. For example, the server 1 selects the clustering model 51 with the maximum minority degree as the optimum clustering model 51. Note that the server 1 may select the clustering model 51 of the last selected combination, for example, and the selection criterion is not particularly limited.

[0065] Fig. 4 is an explanatory diagram showing an example of a display screen of the learning result. Fig. 4 shows an example of a screen displayed by the server 1 after the learning is completed. The screen includes a created model display field 41 and a tree diagram display field .

[0066] The created model display field 41 is a display field that displays information related to the finally generated clustering model 51. For example, the server 1 displays in the created model display field 41 the combination of features in the clustering model 51 selected as the optimal model, the number of steps specified during learning, the number of trials, and the like. In addition, the server 1 displays in the created model display field 41 a table 411 that lists, for each cluster constituting the clustering model 51, the number of known abnormal data items included in each cluster and the number of data items other than the number of known abnormal data items (the total number of normal data items and unknown abnormal data items; illustrated as "normal" in FIG. 4).

[0067] The tree diagram display field 42 is a display field that displays a tree diagram (object) showing the search process of features. For example, the server 1 displays the combination of features selected at each step (time point) and the minority degree of each combination as a tree diagram for each trial described above. In the tree diagram shown in FIG. 4, each layer represents each step of feature selection. Also, the combination located at the leftmost position in each layer represents the combination selected according to the output from the reinforcement learning model 52. For example, the server 1 displays a node (line) connecting the combination of the previous step and the combination whose minority degree has increased in a different display mode (for example, color-coded display) from other nodes so that the combination whose minority degree has increased from the previous step (previous time point) can be identified. Note that in FIG. 4, for convenience, the node whose minority degree has increased is shown by a solid line, and the other nodes are shown by a dotted line.

[0068] By referring to the screen, the user can judge the validity of the generated clustering model 51 and can deepen his / her understanding of the original data group. For example, in table 411, a cluster containing known abnormal data is highly likely to contain unknown abnormal data, which contributes to the discovery of new abnormal data. Furthermore, based on the feature quantity selected by the reinforcement learning model 52, it is expected that the factors that determined that the known abnormal data is abnormal can be understood and the abnormal data can be given interpretability.

[0069] As described above, according to this embodiment, the concept of minority degree is introduced to sequentially update the reinforcement learning model 52, and features are selected according to the output of the reinforcement learning model 52, thereby making it possible to suitably generate the clustering model 51.

[0070] 5 is a flowchart showing an example of a processing procedure executed by the server 1. The processing executed by the server 1 will be described with reference to FIG. The control unit 11 of the server 1 acquires a data group, each data being composed of a plurality of feature amounts (step S11). The control unit 11 receives an input designating the number of steps for changing (reducing) the feature amounts (step S12).

[0071] First, the control unit 11 classifies the data group into a plurality of clusters based on all the feature quantities, and generates a clustering model 51 (step S13). Then, the control unit 11 calculates a minority degree that indicates the degree to which the known abnormality data is classified into a small number of clusters, based on the number of known abnormality data (the number of data labeled with an abnormality) classified into each cluster (step S14). Specifically, the control unit 11 calculates the number of known abnormality data n(b k ) divided by the total number of known anomaly data n(B) k ) / n(B), and the number of known anomaly data in each cluster, n(b k ) by the total number of data in each cluster, n(S k ) divided by n(b k ) / n(S k The control unit 11 calculates the multiplication value n(b k ) / n(B)×n(b k ) / n(S k ) is calculated for each cluster, and the multiplied value for the cluster with the maximum value is determined as the minority degree.

[0072] The control unit 11 outputs a combination of feature quantities to be selected next by inputting the currently selected combination of feature quantities to the reinforcement learning model 52 (step S15). Specifically, the control unit 11 outputs one feature quantity to be reduced from the currently selected combination of feature quantities. When moving from step S14 to step S15, the control unit 11 first outputs a combination in which one feature quantity is reduced from all the feature quantities.

[0073] The control unit 11 selects a combination of a plurality of feature amounts including the combination output from the reinforcement learning model 52 in step S15 (step S16). That is, the control unit 11 selects a plurality of combinations in which the feature amounts to be reduced are mutually changed.

[0074] The control unit 11 generates a plurality of clustering models 51, 51, 51 ... by classifying the data group based on the feature amount of each combination for each combination selected in step S16 (step S17). Then, the control unit 11 calculates the minority degree for each generated clustering model 51 (combination of feature amounts) (step S18).

[0075] The control unit 11 determines whether the number of times the processes of steps S15 to S18 have been performed has reached the number of steps specified in step S12 (step S19). If it is determined that the number of steps has not been reached (S19: NO), the control unit 11 returns the process to step S15. In this case, the control unit 11 selects (reduces) the feature amount again, and regenerates the clustering model 51.

[0076] When it is determined that the designated number of steps has been reached (S19: YES), the control unit 11 calculates a reward value to be given to the reinforcement learning model 52 based on the minority degree calculated according to each combination (clustering model 51) (step S20). Specifically, the control unit 11 calculates the difference between the minority degree corresponding to the combination output from the reinforcement learning model 52 at a certain point in time (step number = i) and the minority degree corresponding to each of the multiple combinations selected at the next point in time (step number = i + 1). When the difference obtained by subtracting the minority degree at the previous point in time (step number = i) from the minority degree at the next point in time (step number = i + 1) exceeds 0, the control unit 11 gives a positive reward value (+1). On the other hand, when the difference obtained by subtracting the minority degree at the previous point in time from the minority degree at the next point in time is less than 0, the control unit 11 gives a negative reward value (-1). The control unit 11 updates the reinforcement learning model 52 based on the reward value calculated according to each combination (step S21).

[0077] The control unit 11 determines whether or not the learning result of the reinforcement learning model 52 satisfies a predetermined convergence condition (step S22). If it is determined that the convergence condition is not satisfied (S22: NO), the control unit 11 returns the process to step S15. In this case, the control unit 11 clears the currently selected combination of features, and retries the selection of features, the generation of the clustering model 51, and the update of the reinforcement learning model 52.

[0078] When it is determined that the convergence condition is satisfied (S22: YES), the control unit 11 selects an optimal clustering model 51 from the multiple clustering models 51, 51, 51 ... that have been generated (step S23). For example, the control unit 11 selects the clustering model 51 with the maximum minority degree. The control unit 11 displays the learning result on the display unit 14 (step S24), and ends the series of processes.

[0079] As described above, according to this embodiment, it is possible to suitably select feature amounts to be adopted in a clustering model.

[0080] A modified example of this embodiment will be described below. (Variation 1) Although the above describes a form for generating a clustering model 51 for detecting accounting fraud, the data to be classified is not limited to corporate accounting data, and it is anticipated that this system will be used for other purposes.

[0081] For example, this system can be applied to detecting fraudulent transactions (detecting security anomalies). In this case, for example, the server 1 can treat financial transaction data (remittance history, etc.) of blacklisted users and other users as a data group to be classified, and generate a clustering model 51 by treating the data of blacklisted users as known anomaly data.

[0082] In addition, for example, this system may be applied to detecting failures in a database server. For example, the server 1 may treat communication log data of the database server during failure occurrence and normal times as a data group to be classified, and generate a clustering model 51 by treating the log data during failure occurrence as known abnormal data.

[0083] In this way, the use of this system is not limited to generating a clustering model 51 for detecting accounting fraud, but may be for other purposes.

[0084] (Variation 2) Although the above describes a form in which a new clustering model 51 is generated, this system may also be applied when updating an existing clustering model 51, specifically when adding new features to be used as input to the clustering model 51.

[0085] That is, the server 1 generates a new clustering model 51 from a data group consisting of features adopted in an already generated clustering model 51 and other features. In this case, the server 1 removes a specific feature adopted in the existing clustering model 51 from the features to be reduced in each step and always selects it. The server 1 selects other features according to the output from the reinforcement learning model 52 and combines them with the specific feature to generate the clustering model 51. This makes it possible to apply this system when searching for features to be added to the existing clustering model 51.

[0086] (Variation 3) In the above, we have described how the clustering model 51 is generated to detect anomalies from new data other than the training data group, but this system can also be used as a means for removing unknown abnormal data from the original data group.

[0087] For example, the present system can be applied to remove noise from a data group in which noise rarely appears. The server 1 generates a clustering model 51 using a data group in which data known to be noise is labeled. The server 1 removes clusters including data known to be noise, i.e., clusters including known abnormal data, from the generated clustering model 51. In this way, the server 1 removes known abnormal data and data similar to known abnormal data, i.e., data that is likely to be unknown abnormal data. In this way, the present system can also be applied as a means for removing unknown abnormal data.

[0088] The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims. [Explanation of symbols]

[0089] 1. Server (information processing device) 11 Control section 12 Main memory 13. Communications Department 14 Display section 15 Input section 16 Auxiliary storage P Program 51 Clustering Models 52 Reinforcement Learning Model

Claims

1. A data group is obtained in which each data item is composed of a plurality of feature amounts, and a certain number of data items are labeled; Selecting the features to be used for clustering; generating a clustering model that classifies the data group into a plurality of clusters based on the selected feature amount; a reinforcement learning model that outputs a next combination of the feature quantities to be selected when the currently selected combination of the feature quantities is input, by inputting the currently selected combination of the feature quantities to a reinforcement learning model that outputs a next combination of the feature quantities to be selected when the currently selected combination of the feature quantities is input; generating the clustering model by sequentially selecting the features based on an output from the reinforcement learning model; Calculating a minority degree representing a degree to which the labeled data is classified into a small number of the clusters based on the number of the labeled data classified into each cluster; The reinforcement learning model is successively updated according to the minority degree. An information processing method in which processing is performed by a computer.

2. Calculating a value by dividing the number of labeled data classified into each cluster by the total number of labeled data in the entire data group; Calculate the minority degree proportional to the calculated value The information processing method according to claim 1 .

3. Calculating a value by dividing the number of labeled data classified into each cluster by the total number of data in each cluster; Calculate the minority degree proportional to the calculated value 3. The information processing method according to claim 1 or 2.

4. Calculating a reward value according to a difference between the minority degree corresponding to the combination of the feature amounts selected at a time point and the minority degree corresponding to the combination of the feature amounts selected at a time point subsequent to the time point; The reinforcement learning model is updated according to the calculated reward value. The information processing method according to any one of claims 1 to 3.

5. When selecting the feature quantities, a combination of the feature quantities is selected, including a combination of the feature quantities output from the reinforcement learning model; generating a plurality of said clustering models corresponding to each selected combination; Calculating the minority degree corresponding to each of the combinations based on a classification result of the labeled data in each of the plurality of clustering models; Calculating the reward value corresponding to each of the combinations according to a difference between the minority degree of each of the combinations and the minority degree corresponding to the combination of the feature amounts selected at a previous time point; The reinforcement learning model is updated according to the calculated reward value for each combination. The information processing method according to claim 4.

6. An object showing a combination of the feature quantities selected at each time point, which is capable of identifying a combination of the feature quantities whose minority has increased from the previous time point, is displayed on a display unit. The information processing method according to claim 5.

7. the reinforcement learning model is a model that outputs, when a currently selected combination of the feature quantities is input, the feature quantity to be reduced from the current combination; Sequentially reducing the feature amount based on an output from the reinforcement learning model. The information processing method according to any one of claims 1 to 6.

8. the data set is accounting data of a plurality of companies; The data group, to which a certain number of the accounting data are labeled with a label indicating the presence of accounting fraud, is classified into a plurality of clusters, thereby generating the clustering model for classifying the presence or absence of accounting fraud when the accounting data is input. The information processing method according to any one of claims 1 to 6.

9. A data group is obtained in which each data item is composed of a plurality of feature amounts, and a certain number of data items are labeled; Selecting the features to be used for clustering; generating a clustering model that classifies the data group into a plurality of clusters based on the selected feature amount; a reinforcement learning model that outputs a next combination of the feature quantities to be selected when the currently selected combination of the feature quantities is input, by inputting the currently selected combination of the feature quantities to a reinforcement learning model that outputs a next combination of the feature quantities to be selected when the currently selected combination of the feature quantities is input; generating the clustering model by sequentially selecting the features based on an output from the reinforcement learning model; Calculating a minority degree representing a degree to which the labeled data is classified into a small number of the clusters based on the number of the labeled data classified into each cluster; The reinforcement learning model is successively updated according to the minority degree. A program that causes a computer to carry out processing.

10. An acquisition unit that acquires a data group in which each data item is composed of a plurality of feature amounts and a certain number of data items are labeled; A selection unit that selects the feature amount to be used for clustering; a generation unit that generates a clustering model in which the data group is classified into a plurality of clusters based on the selected feature amount; an output unit that outputs the combination of feature quantities to be selected next by inputting the currently selected combination of feature quantities to a reinforcement learning model that outputs the combination of feature quantities to be selected next when the currently selected combination of feature quantities is input; the selection unit sequentially selects the feature quantities based on an output from the reinforcement learning model, and the generation unit generates the clustering model; a calculation unit that calculates a minority degree that indicates a degree to which the labeled data is classified into a small number of the clusters based on the number of the labeled data classified into each cluster; an update unit that sequentially updates the reinforcement learning model according to the minority degree; An information processing device comprising:

Citation Information

Patent Citations

  • Information processing apparatus, information processing method, and program

    JP2017102906A

  • Financial analysis device, financial analysis method, and financial analysis program

    JP2019067086A

  • Information processing device and information processing system

    JP2019169147A

  • Data processing device, method, and semiconductor manufacturing method

    WO2020115943A1