Group mining method, device and equipment
Through the combination of community mining algorithm and attribute graph model, outlier nodes in the group are identified and purified, which solves the problem of insufficient group mining accuracy in the existing technology and significantly improves the accuracy of group mining in high-risk industries. sex and purity.
Patent Information
- Application Number
- CN202410714249.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-27
AI Technical Summary
Existing single-stage group mining algorithms cannot meet the high accuracy requirements, especially in high-risk industries, it is easy to misjudge normal users as members of risk groups, resulting in unnecessary restrictions and trust damage.
The preset-based community mining algorithm is used to mine the pre-built association graph, and the node representation is determined through the pre-trained attribute graph model, outlier nodes are identified and purified, and the accuracy of group mining is improved.
It significantly improves the accuracy of group mining, reduces misjudgments, provides a more comprehensive perspective to capture complex interactions between groups, and generates information-rich node representations through deep learning, improving group purity.
Smart Images

Figure CN118708630A
Abstract
Description
Technical Field
[0001] This document relates to the field of computer technology, and more particularly to a group mining method, device and equipment. Background Art
[0002] As people pay more and more attention to their private data, in order to protect user privacy and ensure data security, it is often necessary to mine groups with specified risks. In many application scenarios, especially in high-risk industries (such as special project processing of risk prevention and control in payment business), the accuracy requirements for group mining are very strict. This is because in these industries, discovering and understanding the associations and behavior patterns between groups is crucial to preventing fraud, identifying abnormal transactions, and ensuring network security. The accuracy of group mining is required to exceed 99% to ensure that misjudgment is minimized.
[0003] Therefore, in scenarios where the accuracy of group mining is very high, it is very important to minimize the disturbance to normal users caused by misjudgment. This requires algorithms and models to be more accurate and reliable in judging members of risky groups to reduce the risk of misjudging normal users as group members. However, the usual single-stage group mining algorithms often cannot meet this high accuracy requirement. To this end, a comprehensive group mining solution is needed that can significantly improve the accuracy of group mining. Summary of the invention
[0004] The purpose of the embodiments of this specification is to provide a comprehensive group mining solution that can significantly improve the accuracy of group mining.
[0005] In order to implement the above technical solution, the embodiments of this specification are implemented as follows:
[0006] The present specification provides a method for mining a group, the method comprising: obtaining one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, the association graph being a graph constructed for a target user with a preset risk, the association graph including nodes and edges, the nodes being constructed by user information, and the edges being constructed by information of media used by different users and / or transaction information between different users. Obtaining attribute information of each node in each mining group, and based on the attribute information of each node in each mining group, determining the node representation corresponding to each node through a pre-trained attribute graph model. Based on the node representation corresponding to each node and the attribute information of each node in each mining group, determining the outlier nodes in each mining group, and purifying the corresponding mining group based on the outlier nodes in each mining group to obtain a purified group. Obtaining the attribute information of the purified group, and based on the attribute information of the purified group, obtaining a target group with a preset risk from the purified group.
[0007] The embodiment of the present specification provides a group mining device, the device comprising: a mining group acquisition module, which acquires one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, the association graph is a graph constructed for a target user with a preset risk, the association graph includes nodes and edges, the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users. A node representation determination module, which acquires attribute information of each node in each mining group, and determines the node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model. A purification module, which determines the outlier nodes in each mining group based on the node representation corresponding to each node and the attribute information of each node in each mining group, and purifies the corresponding mining group based on the outlier nodes in each mining group to obtain a purified group. A group determination module, which acquires the attribute information of the purified group, and acquires the target group with a preset risk from the purified group based on the attribute information of the purified group.
[0008] The present specification provides a group mining device, the group mining device includes: a processor; and a memory arranged to store computer executable instructions, the executable instructions when being executed, make the processor: obtain one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, the association graph is a graph constructed for a target user with a preset risk, the association graph includes nodes and edges, the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users. Obtain the attribute information of each node in each mining group, and determine the node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model. Based on the node representation corresponding to each node and the attribute information of each node in each mining group, determine the outlier node in each mining group, and purify the corresponding mining group based on the outlier node in each mining group to obtain the purified group. Obtain the attribute information of the purified group, and based on the attribute information of the purified group, obtain the target group with a preset risk from the purified group.
[0009] The embodiment of the present specification also provides a storage medium, the storage medium is used to store computer executable instructions, and the executable instructions implement the following process when executed by the processor: obtain one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, the association graph is a graph constructed for a target user with a preset risk, and the association graph includes nodes and edges, the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users. Obtain the attribute information of each node in each mining group, and based on the attribute information of each node in each mining group, determine the node representation corresponding to each node through a pre-trained attribute graph model. Based on the node representation corresponding to each node and the attribute information of each node in each mining group, determine the outlier node in each mining group, and purify the corresponding mining group based on the outlier node in each mining group to obtain a purified group. Obtain the attribute information of the purified group, and based on the attribute information of the purified group, obtain the target group with a preset risk from the purified group.
[0010] The embodiment of the present specification also provides a computer program product, including a computer program, which implements the following process when executed by a processor: obtaining one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for a target user with a preset risk, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users. Obtaining the attribute information of each node in each mining group, and based on the attribute information of each node in each mining group, determining the node representation corresponding to each node through a pre-trained attribute graph model. Based on the node representation corresponding to each node and the attribute information of each node in each mining group, determining the outlier nodes in each mining group, and purifying the corresponding mining group based on the outlier nodes in each mining group to obtain a purified group. Obtaining the attribute information of the purified group, and based on the attribute information of the purified group, obtaining a target group with a preset risk from the purified group. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the drawings required for use in the embodiments or the prior art description will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
[0012] Figure 1 This is an embodiment of a group mining method of the present specification;
[0013] Figure 2 Another group mining method embodiment of the present specification;
[0014] Figure 3 This is another group mining method embodiment of the present specification;
[0015] Figure 4 This is another group mining method embodiment of the present specification;
[0016] Figure 5 This is another group mining method embodiment of the present specification;
[0017] Figure 6 Another group of excavation device embodiments of the present specification;
[0018] Figure 7 This is a group of mining equipment embodiments of the present specification. DETAILED DESCRIPTION
[0019] The embodiments of this specification provide a group mining method, device and equipment.
[0020] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0021] The embodiments of this specification provide a group mining mechanism. In many application scenarios, especially in high-risk industries (such as the special case handling link of risk prevention and control in payment services, etc.), the accuracy requirements of group mining are very strict. This is because in these industries, discovering and understanding the associations and behavior patterns between groups is crucial for preventing fraud, identifying abnormal transactions, and ensuring network security. The accuracy of group mining requires an accuracy rate of more than 99% to ensure that misjudgment is minimized. Misjudgment is a disturbance to users, and the disturbance to normal users should be as low as possible, because misjudgment may cause normal users to be subject to unnecessary restrictions or obstacles. In high-risk industries (such as payment services, etc.), the accuracy requirements of group mining are very strict, and it is necessary to minimize the misjudgment of normal users as members of risk groups. When the group mining algorithm misjudgments, normal users may be subject to unnecessary restrictions or risk elimination measures, which may include rejection of transactions, restriction of account use, increase of verification steps, etc. This misjudgment not only brings inconvenience to normal users, but may even have a negative impact on normal business activities, leading to lack of trust, user loss and reputation damage.
[0022] Therefore, in scenarios where the accuracy of group mining is very high, it is very important to minimize the disturbance of misjudgment to normal users. This requires algorithms and models to be more accurate and reliable in judging members of risky groups to reduce the risk of misjudging normal users as group members. At the same time, in addition to accuracy, explainability is also crucial to reducing misjudgments. By providing explanatory reports and clear interpretation of results, decision makers can better understand the basis and details of group mining, so as to take corresponding measures more cautiously to reduce the possibility of misjudgment. However, the usual single-stage group mining algorithms often cannot meet this high accuracy requirement. Commonly used group mining methods include group mining methods based on community detection algorithms, group mining methods based on density clustering, group mining methods based on association rule mining, group mining methods based on graph theory, group mining methods based on pattern recognition, etc. Among them, group mining methods based on community detection algorithms, including community detection algorithms such as Louvain algorithm and spectral clustering algorithm, can identify densely connected node groups in the network and cluster similar nodes into the same group; group mining methods based on density clustering, including density clustering algorithms such as DBSCAN algorithm and OPTICS algorithm, can discover groups through high-density areas. This algorithm identifies groups by clustering nodes with sufficiently close neighbors together; group mining methods based on association rule mining Mining methods, including association rule mining algorithms such as Apriori algorithm and FP-Growth algorithm, can be used to discover frequent item sets and association rules in groups. The algorithm can find the correlation and dependency between different elements in a group; group mining methods based on graph theory, including graph theory algorithms such as shortest path algorithm and maximum flow minimum cut algorithm, can discover groups by analyzing the nodes and edge relationships in the network. The algorithm can identify the close connections and critical paths between nodes in the graph; group mining methods based on pattern recognition, including pattern recognition algorithms such as K-means clustering and support vector machine (SVM), can discover groups by learning the patterns and features of data, and can classify similar nodes into the same group.
[0023] The above commonly used methods mainly rely on the local features of nodes. This local feature reliance may not fully utilize the attribute information and global association relationship of the nodes, resulting in the accuracy of the mining results being limited. Moreover, some algorithms in the above commonly used methods require manual setting of parameters (such as the number of clusters and thresholds in clustering algorithms). The selection of these parameters has a great impact on the accuracy and interpretability of the results, but often requires experience or trial and error to determine, which may be challenging for different data sets and application scenarios. In addition, the above commonly used methods may only use limited features to describe nodes or groups, while ignoring richer feature information, thereby limiting the ability of the algorithm to capture complex relationships within and between groups, resulting in low accuracy. In addition, there may be limitations in dealing with diverse and complex group relationships. For example, for nonlinear and dynamic group relationships, the above commonly used methods often cannot fully capture and understand them, resulting in reduced accuracy and interpretability of the mining results. Therefore, the above commonly used methods usually only consider the local structural characteristics of the group, ignoring the attribute information of the nodes and the complex interactions between groups, which makes the above commonly used methods susceptible to interference from noise and outliers, thereby reducing the accuracy of the mining results. In addition, the above commonly used methods also have certain shortcomings in the interpretability of the results. It is difficult to provide clear, intuitive and credible interpretation of the results, which limits decision makers' comprehensive understanding of group behavior and decision-making support.
[0024] In order to improve the accuracy of group mining, this solution proposes an innovative solution that aims to improve the limitations of commonly used methods, especially in application scenarios with strict requirements for high accuracy. This solution can generate information-rich embedded representations for each node, comprehensively consider various attribute information of the node, and provide a more comprehensive perspective to capture the complex interactions between groups. In summary, this solution aims to provide a comprehensive solution that can significantly improve the accuracy of group mining. For specific processing, please refer to the specific content in the following embodiments.
[0025] like Figure 1As shown, an embodiment of this specification provides a group mining method, and the execution subject of the method can be a terminal device or a server, etc., wherein the terminal device can be a mobile terminal device such as a mobile phone, a tablet computer, or a computer device such as a laptop or a desktop computer, or an IoT device (specifically such as a smart watch, a car device, etc.), etc., wherein the server can be an independent server, or a server cluster composed of multiple servers, etc., and the server can be a background server for a financial service or an online shopping service, or a background server for an application, etc. In this embodiment, the execution subject is taken as an example for detailed description. For the case where the execution subject is a terminal device, please refer to the following server case processing, which will not be repeated here. The method can specifically include the following steps:
[0026] In step S102, one or more different mining groups are obtained by mining a pre-constructed association graph based on a preset community mining algorithm. The association graph is a graph constructed for target users with preset risks. The association graph includes nodes and edges. The nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users.
[0027] Among them, the community mining algorithm may include multiple types, for example, density clustering algorithms (such as DBSCAN algorithm and OPTICS algorithm), association rule mining algorithms (such as Apriori algorithm, FP-Growth algorithm, etc.), graph theory algorithms (such as shortest path algorithm, maximum flow minimum cut algorithm, etc.), pattern recognition algorithms (such as K-means clustering algorithm and support vector machine SVM, etc.), etc. In addition, it may also include Louvain algorithm, spectral clustering algorithm, etc., which can be set according to actual conditions, and the embodiments of this specification do not limit this. The association graph can be a directed graph or an undirected graph. The association graph can be composed of nodes and edges, wherein the nodes can be constructed by the relevant information of the user, for example, the node can be composed of the user's account identification, user identification, or other information that can represent the user, etc., which can be set according to the actual situation, wherein the edge can be constructed by the information of the medium used by different users and / or the transaction information between different users, wherein the medium can be the thing on which the establishment of the association relationship between different users depends, the medium can be the medium used to transmit information (specifically such as the MAC address, IP address, wireless network, etc. of the terminal device), or it can be the certificate used by the user (specifically such as the certificate that can prove the user's identity, bank card, social security card, etc.), or it can be the communication account used by the user, etc., which can be set according to the actual situation, and the embodiment of this specification does not limit this. Transaction information can be the relevant information generated by transactions between different users, and transaction information can include multiple, for example, transaction information can include transaction type (such as transfer, payment, etc.), transaction amount, transaction time, transaction location, etc., which can be set according to the actual situation, and the embodiment of this specification does not limit this. The nodes and edges in the association graph can have certain attribute information, such as transaction amount, transaction time, etc. The preset risk can be a single risk, such as fraud risk or privacy leakage risk, or it can be a variety of different risks, such as fraud risk, privacy leakage risk and theft risk, etc., and can be set specifically based on actual conditions.
[0028] In implementation, one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm can be obtained in a variety of different ways. For example, one or more different mining groups can be obtained from a specified database, and the database can store a plurality of different graphs and mining groups corresponding to the graphs. The graph can be a graph obtained by expanding from multiple different dimensions for users with preset risks (such as fraud risk, privacy leakage risk, etc.). For example, there are currently 10 user accounts with preset risks (which can be one preset risk or multiple different preset risks). These user accounts can be determined through historical cases, risk events or other specified identification methods. For any user account A, the user account A can be expanded from one dimension or from multiple different dimensions. Specifically, It is possible to obtain accounts that have been in contact with user account A for more than a first preset threshold (such as contacting each other for more than 10 days per month, etc.), or accounts that have been transacted with user account A for more than a second preset threshold, or accounts that have the same certificate information as that used by user account A, or accounts that use the same terminal device as that used by user account A, etc. In the above manner, accounts directly associated with user account A can be obtained. Then, for the above-obtained accounts, accounts directly associated with each acquired account can be obtained using the same or similar manner as described above, and so on, until an association relationship that meets the requirements is obtained, thereby obtaining a graph for user account A, wherein the obtained graph can include one or more different graphs of a single dimension constructed using a specified medium or transaction information, or a larger graph of multiple dimensions constructed using a plurality of different media or transaction information. Similarly, corresponding graphs can be constructed for the remaining 9 user accounts in the above manner, thereby obtaining corresponding graphs, and the obtained graphs can be stored in the above database.
[0029] In addition, for each graph, a pre-set community mining algorithm can be used to perform group mining processing to obtain one or more different mining groups corresponding to each graph, wherein the specific processing process of performing group mining processing by the community mining algorithm as described above can be performed according to a specific algorithm and will not be repeated here. After obtaining one or more different mining groups corresponding to each graph in the above manner, the one or more different mining groups can be stored in the above database, and the one or more different mining groups can be corresponded to the corresponding graph in the database.
[0030] When it is necessary to perform group mining on one or more users with preset risks or to further mine a specified mining group, one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm can be obtained from the above database.
[0031] The above method of obtaining mining groups through a database is only an optional processing method. In practical applications, one or more different mining groups can be obtained by mining a pre-built association graph based on a preset community mining algorithm in a variety of different ways. For example, one or more user accounts with preset risks can be obtained. For each user account, the above method can be used to expand the user account to obtain the corresponding graph, and then the graph corresponding to one or more user accounts with preset risks (which can be an association graph) can be obtained. Then, the community mining algorithm described above can be used to perform group mining on the association graph to obtain one or more different mining groups. The specific setting can also be based on the actual situation, and the embodiments of this specification do not limit this.
[0032] In step S104, the attribute information of each node in each mining group is obtained, and based on the attribute information of each node in each mining group, the node representation corresponding to each node is determined through a pre-trained attribute graph model.
[0033] Among them, the attribute information of the node may include multiple types, for example, the attribute information of the node may include inherent attribute information, text information (which may include transaction information, complaint information, etc.), image data, audio data and other multi-source information, which can be set according to the actual situation, and the embodiments of this specification do not limit this. The attribute graph model can be used to determine the corresponding representation based on the attribute information, so as to be able to more comprehensively understand the characteristics and behaviors of the node. The attribute graph model can be constructed in a variety of ways. For example, the attribute graph model can be constructed through a graph neural network, or through a specified large model (such as a generative large model, such as a large language model, etc.), which can be set according to the actual situation, and the embodiments of this specification do not limit this.
[0034] In implementation, the commonly used group mining algorithm measures the importance of a single node in a group through indicators such as degree, betweenness centrality, and closeness centrality, but the above method lacks the recognition of other information besides the graph structure. In addition to the medium and capital link relationship, the group also contains inherent attribute information, text information, image data, audio data and other multi-source information, which can assist in the recognition and judgment of the nature of the nodes in the group. For this reason, additional information can be introduced in group mining. In terms of improving the accuracy of group mining, there can be two directions, namely, quantitative indicators of group dimensions and quantitative indicators of node dimensions. Based on this, for each mining group obtained above, the attribute information of each node in each mining group can be obtained. Specifically, for each node, one or more of the amount of transactions with preset risks, the time of transactions with preset risks, the corresponding store logo, and the number of associated nodes with preset risks can be obtained. The above information can be directly used as the attribute information of the node, or further calculations can be performed based on the above information to obtain corresponding indicator data, and the obtained indicator data can be used as the attribute information of the node. The above-mentioned attribute information helps to form a comprehensive representation of the nodes in the graph, including characteristics such as the role, behavior and overall threat level in group activities, thereby improving the ability to recognize and judge the nature of the nodes. By comprehensively considering the graph structure and other multi-source information, it is possible to more accurately characterize and understand the relationships and behaviors within the group, thereby improving the accuracy of the group mining algorithm.
[0035] An algorithm or network for constructing an attribute graph model can be obtained, an initial attribute graph model can be constructed based on the algorithm or network, sample data for training the attribute graph model can be obtained, and the initial attribute graph model can be trained using the sample data in a supervised learning manner to obtain a trained attribute graph model, or a pre-trained model of other tasks similar to the current task domain or distribution can be obtained, and the model can be transferred or fine-tuned, and the obtained model can be used as an attribute graph model, or the trained attribute graph model can be directly obtained from a specified database, etc., which can be set specifically according to actual conditions. After obtaining the attribute graph model in the above manner, the attribute information of each node obtained above can be input into the attribute graph model, and the deep features (including nonlinear features) of each node can be extracted through the attribute graph model, so as to obtain the node representation corresponding to each node. Since the attribute information of the node contains a lot of multi-source data, the comprehensive representation of the node in the graph can be obtained through the attribute graph model, which has a high improvement in the ability to recognize and judge the nature of the node, and can more accurately portray and understand the relationship and behavior within the group, and improve the accuracy of the group mining algorithm.
[0036] In step S106, outlier nodes in each mining group are determined based on the node representation corresponding to each node and the attribute information of each node in each mining group, and the corresponding mining group is purified based on the outlier nodes in each mining group to obtain a purified group.
[0037] In implementation, clustering calculation can be performed on the nodes contained in each mining group based on the node representation corresponding to each node and the attribute information of each node in each mining group. The closeness between each node in the mining group and other nodes in the mining group can be judged by the result of clustering calculation. Specifically, quantitative judgment can be performed by setting a threshold. If a node does not reach the threshold, it indicates that the closeness between the node and other nodes is weak. It can be determined that the node is an outlier node in the mining group, that is, the node should not be regarded as a node in the mining group. In the above manner, the outlier nodes contained in each mining group can be obtained. The determined outlier nodes can be removed from the corresponding mining group, so as to achieve the purpose of purifying the mining group, and finally, the purified group can be obtained. Through the above-mentioned node purification process, the accuracy of group mining can be made higher.
[0038] In step S108, the attribute information of the purified group is obtained, and based on the attribute information of the purified group, a target group with a preset risk is obtained from the purified group.
[0039] Among them, the attribute information of the group may include multiple types. For example, the attribute information of the group may include inherent attribute information of the group dimension, text information (which may include transaction information of the group as a whole, average transaction information, overall complaint volume, etc.), and other multi-source information. The specific information can be set according to actual conditions, and the embodiments of this specification do not limit this.
[0040] In implementation, in order to improve the accuracy of group mining, in addition to starting from the quantitative indicators of the node dimension, the quantitative indicators of the group dimension can also be considered. To this end, the attribute information of the purified group can be obtained. Specifically, for each purified group, one or more of the total amount of transactions with preset risks in the purified group, the time when the transaction with the preset risk first occurred, the time when the transaction with the preset risk most recently occurred, the number of nodes included, the number of nodes with preset risks, etc. can be obtained. The above information can be directly used as the attribute information of the purified group, or further calculations can be performed based on the above information to obtain corresponding indicator data, and the obtained indicator data can be used as the attribute information of the purified group.
[0041] After obtaining the attribute information of each purified group in the above manner, for any attribute information of the purified group, a weighted average value can be calculated for the attribute information of the purified group to obtain the weighted average value corresponding to the purified group. The weighted average value corresponding to each purified group can be obtained in the above manner. The larger the weighted average value, the greater the harmfulness of the purified group. By calculating the weighted average value and the preset threshold, the purified group whose weighted average value is less than the threshold value can be determined as a group with less harmfulness. The determined group can be deleted from multiple purified groups to obtain a further purified group. The further purified group can be used as a target group with preset risks. Alternatively, after obtaining the weighted average value corresponding to each purified group in the above manner, the obtained weighted average value can be normalized to normalize the obtained weighted average value to between 0 and 1. Then, a threshold can be set. By using the normalized weighted average value and the threshold value, the target group with preset risks can be obtained from the purified group. For example, if the threshold value is 0.3, the purified group whose normalized weighted average value is lower than 0.3 will be excluded. Finally, the target group with preset risks can be obtained. For details, please refer to the above-mentioned related content, which will not be repeated here. The attribute information of the above-mentioned group helps to recognize the group in the group dimension to determine whether the group exists and whether the harmfulness of the group is established, thereby further improving the accuracy of group mining.
[0042] The embodiment of the present specification provides a group mining method, which obtains one or more different mining groups by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information about media used by different users and / or transaction information between different users. Then, the attribute information of each node in each mining group is obtained, and based on the attribute information of each node in each mining group, the node representation corresponding to each node is determined through a pre-trained attribute graph model. After that, the outlier nodes in each mining group can be determined based on the node representation corresponding to each node and the attribute information of each node in each mining group, and based on each The outlier nodes in the mining groups are used to purify the corresponding mining groups to obtain the purified groups. Finally, the attribute information of the purified groups can be obtained, and based on the attribute information of the purified groups, the target groups with preset risks can be obtained from the purified groups. In this way, the attribute graph model is adopted to generate an information-rich node representation for each node through deep learning. The node representation can integrate multiple attribute information of the nodes, thereby providing a more comprehensive perspective to capture the complex interactions between groups. In addition, the processing mechanism of outlier nodes is introduced, and the statistical significance of the attribute correlation between nodes is used to identify and exclude possible outlier nodes, thereby effectively improving the purity of the group, that is, the accuracy, reducing the situation where non-group nodes are misjudged as group nodes, and significantly improving the accuracy of group mining.
[0043] The above commonly used group mining methods not only have problems with mining accuracy, but also have certain deficiencies in the interpretability of the results. Although some of the above methods can provide some basic clustering or association information, it is often difficult to provide in-depth understanding and intuitive interpretation of the results, thus limiting the decision makers' comprehensive understanding of group behavior and decision support. For this reason, the target group can also be interpreted, such as Figure 2 As shown, please refer to the processing of the following steps S110 to S114 for details.
[0044] In step S110 , the risk type existing in the target group is obtained.
[0045] Among them, the risk types may include multiple types, for example, risk of violation of regulations and prohibitions, risk of fraud, risk of theft, etc., which can be set according to actual conditions, and the embodiments of this specification do not limit this.
[0046] During implementation, more risk types existing within the target group can be counted. For example, three risk types that are more common in a specified business field for a certain target group within a specified historical time period can be counted. Specifically, three risk types that are more common in the payment field for a certain target group within the past 30 days can be counted, which are violation and prohibited risk, fraud risk, theft risk, etc. The specific risk types can also be set according to actual conditions, and the embodiments of this specification do not limit this.
[0047] In step S112, based on each acquired risk type, complaint information of the target group corresponding to the risk type is acquired.
[0048] In implementation, for each risk type, a series of corresponding complaint information is traced back (in actual applications, in order to reduce processing pressure and resource loss, an upper limit can be set for each type of complaint information, such as 10 or 20, which can be set according to actual conditions). The complaint information can be as follows:
[0049] (1) Purchasing 30 sets of latex paint by pretending to be a school, specifying a supplier and adding instant messaging friends to purchase on his behalf, and was defrauded of a deposit of RMB 5,000.
[0050] (2) A risky user gave me an instant messaging account and asked me to help him buy food A. He urged me to pay a deposit, but I did not receive the goods and had no logistics information.
[0051] (3) The teacher called the store to order fast food and negotiated the price. The next day, when the food was about to be delivered, he called and asked for help to bring 100 boxes of 6 cans of food A gift box.
[0052] In step S114, prompt information of a pre-trained large language model is constructed based on the complaint information, and the constructed prompt information is input into the large language model to obtain group characterization information for the target group.
[0053] In implementation, the construction rules of the prompt information can be pre-set according to the content structure of the prompt information of the large language model. The above complaint information can be processed by word segmentation, selection of effective word segmentation, semantic recognition, generation of prompt information, etc. based on the construction rules, and finally the prompt information of the pre-trained large language model can be obtained; or, a prompt information template can be pre-constructed, and the prompt information of the pre-trained large language model can be constructed based on the prompt information template and the above complaint information. For example, the above complaint information can be refined and summarized by the following prompt information template: (1) Impersonating a school to purchase... (content of the complaint information) + "\n#####\nAssume that you are a fraud analysis specialist. The above are a batch of similar fraud cases. Analyze whether there are similar fraud experiences based on key information such as the identity of the user, the identity of the fraudster, and the reason for the transaction. Summarize the fraud process of the batch of cases in one or two sentences." In actual applications, in addition to constructing the prompt information in the above manner, the prompt information can also be constructed in a variety of different ways, which can be set according to actual conditions. The embodiments of this specification do not limit this.
[0054] The prompt information constructed above can be input into a pre-trained large language model. The large language model can obtain the corresponding output results, namely, the group characterization information for the target group, through in-depth analysis and processing of the complaint information and prompt information. This group characterization information not only helps to understand the potential mechanism of the formation of the target group, but also provides practical reference for decision makers, thereby enhancing the interpretability of the results.
[0055] It should be noted that the above-mentioned large language model can be a large model obtained by fine-tuning a pre-trained large language model, or a large model obtained by training the large language model using a large amount of sample data, or a trained large language model directly obtained from a specified database that can be used to generate a group interpretability report. The specific setting can be based on actual conditions, and the embodiments of this specification do not limit this.
[0056] In practical applications, the specific processing methods of the above step S102 can be varied. An optional processing method is provided below, such as Figure 3 As shown, the process may specifically include the following steps S1022 to S1028.
[0057] In step S1022, information of target users with preset risks is obtained.
[0058] Among them, the target user's information may include multiple types, such as the target user's account information (such as account identification, account location, account activation status, etc.), user identification, user image, etc., which can be set according to actual conditions, and this specification embodiment does not limit this.
[0059] In step S1024, based on the historical data related to the target user, a pre-selected association map between the target user and other users is constructed, and the pre-selected association map includes association relationships established through preset media information and / or association relationships established through transaction information.
[0060] Among them, the medium information may include one or more of information of preset certificate number type, mobile phone number type, device identification type, geographic information type, and transaction type. The preset certificate number type information may include the number of the certificate that can prove the user's identity, the bank card number, etc., the mobile phone number type information may include the mobile phone number, the device identification type information may include the MAC address, product serial number SN code, etc., the geographic information type information may include WiFi information, IP address, etc., and the transaction type information may include transfer relationship, transaction time, transaction amount, etc.
[0061] In implementation, historical data related to the target user is obtained, and the association relationship between the target user and other users can be extracted from the historical data. The association relationship can be constructed through preset medium information and / or transaction information. A corresponding graph can be constructed based on the extracted association relationship, and the graph can be a pre-selected association graph.
[0062] In step S1026, the weights of the association relationships between different nodes in the pre-selected association graph are obtained, and the association relationships between different nodes in the pre-selected association graph are filtered based on the obtained weights to obtain an association graph.
[0063] In implementation, in order to improve the accuracy, the following formula can be used to calculate the weight of the association relationship between different nodes in the pre-selected association graph:
[0064]
[0065] Among them, w i Indicates the weight of different media, interact_days i represents the number of days of interaction on different media, 2^{-Δm / 12} represents the attenuation factor, Δm represents the number of months from the last interaction to the current time, and i represents the media information.
[0066] According to the actual situation, the percentile transformation can be used to filter the edges whose weights are after a preset threshold, such as 25% or 30%. Taking the preset threshold of 25% as an example, the edges whose weights are after 25% can be filtered. If the edge weight of the 25% percentile is 3.20, the edges whose weights are less than the threshold (i.e., 3.20) can be regarded as noise edges and excluded, thereby obtaining an association graph.
[0067] In step S1028, the association graph is mined based on a preset community mining algorithm to obtain one or more different mining groups.
[0068] The community mining algorithm may include a Louvain algorithm or a spectral clustering algorithm.
[0069] In the implementation, taking the community mining algorithm as Louvain algorithm as an example, the Louvain algorithm is used for group discovery under the consideration of strong medium and capital association logic. The main goal of the Louvain algorithm is to classify similar nodes into the same community and isolate different communities, so that the nodes within the community are closely connected, and the connections between communities are as sparse as possible. The Louvain algorithm is optimized based on the modular characteristics of the graph and divides the community by maximizing the modularity of the network.
[0070] The definition of modularity is as follows:
[0071]
[0072] Among them, Q represents modularity, m represents the total number of edges in the graph, and k i represents the sum of the weights of the edges pointing to node i, k j represents the sum of the weights of the edges pointing to node j, A ij represents the weight of the edge between node i and node j, c i represents the community divided by node i, c j represents the community divided by node j, δ represents the step function, and determines whether nodes i and j belong to the same community.
[0073] The calculation formula for the change in modularity is:
[0074]
[0075] Among them, ∑ in represents the sum of the weights of the edges in community c, ∑ tot represents the sum of the weights of the edges connecting any node in the community to nodes in other communities, k i,in represents the sum of the weights of connections from node i to nodes in community c.
[0076] The process of Louvain algorithm can include the following steps: each node in the association graph is regarded as an independent community, and the number of communities is the same as the number of nodes at the beginning; for each node i, try to assign node i to the community where each of its neighbor nodes is located, calculate the modularity change before and after the assignment, and record the neighbor node with the largest change. If the modularity change is greater than 0, node i is assigned to the community where the neighbor node with the largest change is located; otherwise, it remains unchanged; repeat the above steps until the communities to which all nodes belong no longer change; compress the association graph, compress all nodes in the same community into a new node, and at the same time convert the weights of the edges between nodes in the community into the weights of the rings of the new nodes, and convert the weights of the edges between communities into the weights of the edges between new nodes; repeat the above steps until the modularity of the entire association graph no longer changes. Through the above processing, one or more different mining groups can be obtained.
[0077] In actual applications, the attribute information of each node may include hazard index information, activity index information, transaction pattern information, static information, and graph structure information. The hazard index information includes information related to transactions with preset risks, the activity index information includes information related to the length of time from being determined to have preset risks to the current moment, the transaction pattern information includes information related to transactions, and the graph structure information includes relevant information of associated nodes with preset risks.
[0078] Among them, the information related to the transaction with preset risk may include one or more of the magnitude of the transaction with preset risk, the amount of the transaction with preset risk, etc. The information related to the length of time from being determined to have preset risk to the current moment may include one or more of the length of time from the first time being determined to have preset risk to the current moment, the length of time from being determined to have preset risk for a preset number of times (such as the most recent time, etc.) to the current moment, etc. The information related to the transaction may include one or more of the average amount of each transaction, the buyer's repurchase, the dispersion of the buyer's area (such as a city, etc.), etc. The static information may include one or more of the similarity of the time of signing the preset contract, the similarity of the name of the constructed organization, the registration time, and the identification information. The graph structure information may include one or more of the number of associated nodes with preset risk and the score value based on the PageRank algorithm.
[0079] The attribute information of the purified group includes group hazard index information, group activity index information and group descriptive index information. The group hazard index information includes information related to transactions with preset risks of the purified group, and the group activity index information includes information related to the duration from when the nodes in the purified group are determined to have preset risks to the current moment. Among them, the information related to transactions with preset risks of the purified group may include one or more of the transaction volume with preset risks in the purified group, the transaction amount with preset risks in the purified group, the per capita transaction volume with preset risks in the purified group, and the per capita transaction amount with preset risks in the purified group. The information related to the duration from when the nodes in the purified group are determined to have preset risks to the current moment may include one or more of the duration from when the nodes in the purified group are determined to have preset risks for the first time to the current moment, the duration from when the nodes in the purified group are determined to have preset risks for a preset number of times (such as the most recent time, etc.) to the current moment, and the duration from when the nodes in the purified group are determined to have preset risks on average to the current moment. The group descriptive indicator information may include one or more of the scale of nodes in the purified group and the concentration of users corresponding to the nodes in the purified group who are punished.
[0080] In practical applications, in the above step S104, based on the attribute information of each node in each mining group, before determining the node representation corresponding to each node through the pre-trained attribute graph model, the data can also be pre-processed in the following ways, such as Figure 4 As shown, please refer to the processing of the following steps S116 and S118 for details.
[0081] In step S116, if the attribute information of each node includes text class information, the text class information of each node in each mining group is input into the first model built based on TinyBERT to obtain the text representation corresponding to the text class information.
[0082] In implementation, under the framework of the attribute graph model, the attribute information of each node in the mining group can be characterized, and self-supervision and comparative learning methods can be designed for pre-training. Corresponding to the attribute information of the nodes obtained above, the following methods can be used for encoding and message propagation.
[0083] It should be noted that in the process of pre-training based on the attribute graph model, the group classification results produced by the community mining algorithm are temporarily ignored (except for adding to the attention coefficient), and pre-training is performed based on all the mining groups constructed.
[0084] When processing text-like information, it can be preprocessed into a text representation using the TinyBert method. Specifically, a first model can be constructed based on TinyBERT, and the text-like information of each node in each mining group can be input into the first model constructed based on TinyBERT to obtain the text representation corresponding to the text-like information. TinyBert is a streamlined model based on BERT (Bidirectional Encoder Representations from Transformers) and is suitable for environments with limited computing resources. By using TinyBert, text-like information can be converted into a vector representation with semantic information, so that the text representation can be uniformly represented with other features in the mining group, thereby better integrating multi-source information.
[0085] In step S118, if the attribute information of each node includes numerical information, the numerical information of each node in each mining group is input into the second model constructed based on MLP to obtain the numerical representation corresponding to the numerical information.
[0086] Based on the processing of the above-mentioned steps S116 and S118, in step S104, based on the attribute information of each node in each mining group, the specific processing method of determining the node representation corresponding to each node through a pre-trained attribute graph model can be varied. An optional processing method is provided below. For details, please refer to the processing of the following steps S1042 and S1044.
[0087] In step S1042, the text representation corresponding to the textual information in the attribute information of each node in each mining group and / or the numerical representation corresponding to the numerical information in the attribute information of each node are input into the attribute graph model constructed based on the attention module to obtain the attention coefficient of each node in each mining group and its neighboring nodes.
[0088] Among them, the attribute graph model can be a graph model constructed based on a graph neural network GNN including an attention module, or the attribute graph model can be a graph model constructed based on a graph neural network including an attention module.
[0089] In the implementation, the attribute graph model constructed by the GNN framework based on the Attention mechanism is used to calculate the attention coefficient of each node and its neighboring nodes. Usually, when calculating the neighborhood attention coefficient, the influence of whether the points and edges belong to the same group is not taken into account. For this reason, whether the points and edges belong to the same group can be added to the calculation process of the attention coefficient. The formula is as follows:
[0090]
[0091] Among them, α ij represents the attention coefficient, LeakyReLU represents the activation function, W and a represent parameters, and h i represents the characteristics of node i, h j represents the characteristics of node j, W r 、h k and r are parameters.
[0092] In practical applications, the above-mentioned attribute graph model can be obtained after model training based on self-supervised training and contrastive learning. Specifically, the self-supervised training is designed as a reconstruction loss, which measures the effect of the attribute graph model in reconstructing the mask graph in terms of edge reconstruction. In the sampling process, the path is used as the basic processing unit. Compared with simple edge masking, path-level masking breaks the short-term connections between nodes, and the attribute graph model must look for evidence elsewhere to adapt to the masked structure. Therefore, it can better exploit structural dependency patterns and capture high-order proximity for more meaningful MGM tasks. For path masking, a set of masked edges can be sampled as follows:
[0093]
[0094] Among them, ε mask represents the masking edge, represents a set of root nodes sampled from the graph, n walk Indicates the number of walks for each node, l walk Indicates the walking length of each node.
[0095] Through path masking, the calculated loss function is the reconstruction loss function, which measures the effect of the model in reconstructing the mask map in edge reconstruction.
[0096] Contrastive learning aims to learn the representation of nodes by comparing the differences between similar node pairs and dissimilar node pairs; specifically, training can be performed by constructing positive sample pairs and negative sample pairs. Positive sample pairs are sample pairs with similar distances in text information vectors such as names, risk tactics, and reporting texts, while negative sample pairs are sample pairs in the same group but with far distances in text information vectors such as names, risk tactics, and reporting texts. The following loss function InfoNCELoss can be used:
[0097]
[0098] Among them, q represents the encoding information of the current sample, k represents the number of categories, and k + represents a positive sample pair, k i represents the number of negative sample pairs, and τ represents a hyperparameter.
[0099] Based on the above two loss functions, the pre-training of the attribute graph model can be completed.
[0100] In step S1044, based on the attention coefficient of each node and the neighboring nodes in each mining group, the node representation corresponding to each node is determined.
[0101] In practical applications, the specific processing methods for determining the outlier nodes in each mining group based on the node representation corresponding to each node and the attribute information of each node in each mining group in the above step S106 can be varied. An optional processing method is provided below, such as Figure 5 As shown, please refer to the processing of steps S1062 to S1066 below for details.
[0102] In step S1062 , the distance between each node in each mining group and one or more neighboring nodes is obtained.
[0103] In implementation, the LOF (Local Outlier Factor) method can be used to purify the group. The LOF method can be a density-based outlier detection method. Its basic idea is to identify outlier nodes by comparing the local density of each node with its neighboring samples. Specifically, the LOF method calculates the local density ratio of each node to its k nearest neighbor samples. The local density can be calculated using a distance metric (such as Euclidean distance, cosine distance, etc.). Specifically, the distance between each node and one or more neighboring nodes of each mining group can be obtained, and the average distance of the k nearest neighbor samples is used as the local density.
[0104] In step S1064 , the local outlier factor of each node in each mining group is determined based on the distance between each node in each mining group and one or more neighboring nodes.
[0105] In implementation, the ratio of the node to each neighboring sample can be calculated, and the local outlier factor of the node is as follows:
[0106]
[0107] Among them, N k (p) represents the k-th distance neighborhood of node p, lrd(o) represents the local reachability density of neighborhood node o, and lrd(p) represents the local reachability density of node p.
[0108] The local outlier factor indicates the degree of abnormality of the node relative to its neighboring samples. A smaller local outlier factor means that the density of the node is lower than that of the neighboring samples and it may be an outlier node. On the contrary, a larger local outlier factor means that the density of the node is similar to that of the neighboring samples and is closer to a normal node. By calculating the local outlier factor of each sample set, outlier nodes can be determined according to thresholds or other rules. Generally, nodes with larger local outlier factors are considered normal nodes, while nodes with smaller local outlier factors may be outlier nodes.
[0109] In step S1066 , outlier nodes in each mining group are determined based on the local outlier factor of each node in each mining group.
[0110] In implementation, the proportion of outlier nodes can be controlled, such as 30%, which means that 30% of the nodes in the group are far away from the representation space of other nodes and should not be regarded as nodes within the group. Through the local outlier factor, the mining group can be purified, the group formed by the connection relationship can be purified, and the attribute information can be injected.
[0111] The embodiment of the present specification provides a group mining method, which obtains one or more different mining groups by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users, and then, the attribute information of each node in each mining group is obtained, and based on the attribute information of each node in each mining group, the node representation corresponding to each node is determined through a pre-trained attribute graph model, and then, based on the node representation corresponding to each node and the attribute information of each node in each mining group, the outlier nodes in each mining group can be determined, and based on each The outlier nodes in the mining groups are used to purify the corresponding mining groups to obtain the purified groups. Finally, the attribute information of the purified groups can be obtained, and based on the attribute information of the purified groups, the target groups with preset risks can be obtained from the purified groups. In this way, the attribute graph model is adopted to generate an information-rich node representation for each node through deep learning. The node representation can integrate multiple attribute information of the nodes, thereby providing a more comprehensive perspective to capture the complex interactions between groups. In addition, the processing mechanism of outlier nodes is introduced, and the statistical significance of the attribute correlation between nodes is used to identify and exclude possible outlier nodes, thereby effectively improving the purity of the group, that is, the accuracy, reducing the situation where non-group nodes are misjudged as group nodes, and significantly improving the accuracy of group mining.
[0112] In addition, in order to enhance the interpretability of group mining results, a large language model is also used. Through the natural language processing capabilities of the large language model, the characteristics of the group are deeply analyzed to generate an intuitive explanatory report. This explanatory report not only helps to understand the potential mechanism of group formation, but also provides a practical reference for decision makers.
[0113] The above is a group mining method provided by the embodiment of this specification. Based on the same idea, the embodiment of this specification also provides a group mining device, such as Figure 6 shown.
[0114] The group mining device includes: a mining group acquisition module 601, a node representation determination module 602, a purification module 603 and a group determination module 604, wherein:
[0115] A mining group acquisition module 601 is used to acquire one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users;
[0116] The node representation determination module 602 obtains the attribute information of each node in each mining group, and determines the node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model;
[0117] A purification module 603, based on the node representation corresponding to each node and the attribute information of each node in each mining group, determines the outlier nodes in each mining group, and purifies the corresponding mining group based on the outlier nodes in each mining group to obtain a purified group;
[0118] The group determination module 604 obtains the attribute information of the purified group, and based on the attribute information of the purified group, obtains a target group with a preset risk from the purified group.
[0119] In the embodiment of this specification, the device further includes:
[0120] A risk type acquisition module, which acquires the risk type existing in the target group;
[0121] An information acquisition module, based on each acquired risk type, acquires complaint information of a target group corresponding to the risk type;
[0122] The interpretation module constructs prompt information of a pre-trained large language model based on the complaint information, and inputs the constructed prompt information into the large language model to obtain group characterization information for the target group.
[0123] In the embodiment of this specification, the mining group acquisition module 601 includes:
[0124] A user information acquisition unit, which acquires information of target users with preset risks;
[0125] A pre-selected graph construction unit, which constructs a pre-selected association graph between the target user and other users based on historical data related to the target user, wherein the pre-selected association graph includes associations established through preset medium information and / or associations established through transaction information;
[0126] A correlation map determining unit is configured to obtain weights of correlation relationships between different nodes in the pre-selected correlation map, and filter the correlation relationships between different nodes in the pre-selected correlation map based on the obtained weights to obtain the correlation map;
[0127] The mining unit mines the association graph based on a preset community mining algorithm to obtain one or more different mining groups.
[0128] In an embodiment of the present specification, the medium information includes one or more of information of preset certificate number type, mobile phone number type, device identification type, geographic information type, and transaction type, and the community mining algorithm includes Louvain algorithm or spectral clustering algorithm.
[0129] In an embodiment of the present specification, the attribute information of each node includes hazard index information, activity index information, transaction pattern information, static information, and graph structure information; the hazard index information includes information related to transactions with preset risks, the activity index information includes information related to the duration from being determined to have a preset risk to the current moment, the transaction pattern information includes information related to transactions, and the graph structure information includes relevant information of associated nodes with preset risks; the attribute information of the purified group includes group hazard index information, group activity index information, and group descriptive index information; the group hazard index information includes information related to transactions with preset risks of the purified group, and the group activity index information includes information related to the duration from being determined to have a preset risk by nodes in the purified group to the current moment.
[0130] In the embodiment of this specification, the device further includes:
[0131] A text representation determination module, if the attribute information of each node includes text class information, inputs the text class information of each node in each mining group into a first model built based on TinyBERT to obtain a text representation corresponding to the text class information;
[0132] A numerical representation determination module, if the attribute information of each node includes numerical class information, inputs the numerical class information of each node in each mining group into a second model constructed based on MLP to obtain a numerical representation corresponding to the numerical class information;
[0133] The node characterization determination module 602 includes:
[0134] The attention unit inputs the text representation corresponding to the text information in the attribute information of each node in each mining group and / or the numerical representation corresponding to the numerical information in the attribute information of each node into the attribute graph model constructed based on the attention module to obtain the attention coefficient of each node in each mining group and the neighboring nodes;
[0135] The node representation determination unit determines the node representation corresponding to each node based on the attention coefficient of each node and the neighboring nodes in each mining group.
[0136] In an embodiment of the present specification, the attribute graph model is a graph model constructed based on a graph neural network including an attention module, and the attribute graph model is obtained after model training is performed based on self-supervised training and contrastive learning.
[0137] In the embodiment of this specification, the purification module 603 includes:
[0138] a distance determination unit, which obtains the distance between each node in each mining group and one or more neighboring nodes of the neighbor;
[0139] a local outlier factor determination unit, which determines a local outlier factor of each node in each mining group based on a distance between each node in each mining group and one or more neighboring nodes of the neighbor;
[0140] The outlier node determination unit determines the outlier nodes in each mining group based on the local outlier factor of each node in each mining group.
[0141] The embodiment of the present specification provides a group mining device, which obtains one or more different mining groups by mining a pre-constructed association graph based on a preset community mining algorithm. The association graph is a graph constructed for target users with preset risks. The association graph includes nodes and edges. The nodes are constructed by user information, and the edges are constructed by information about media used by different users and / or transaction information between different users. Then, the attribute information of each node in each mining group is obtained, and based on the attribute information of each node in each mining group, the node representation corresponding to each node is determined through a pre-trained attribute graph model. After that, the outlier nodes in each mining group can be determined based on the node representation corresponding to each node and the attribute information of each node in each mining group, and based on each The outlier nodes in the mining groups are used to purify the corresponding mining groups to obtain the purified groups. Finally, the attribute information of the purified groups can be obtained, and based on the attribute information of the purified groups, the target groups with preset risks can be obtained from the purified groups. In this way, the attribute graph model is adopted to generate an information-rich node representation for each node through deep learning. The node representation can integrate multiple attribute information of the nodes, thereby providing a more comprehensive perspective to capture the complex interactions between groups. In addition, the processing mechanism of outlier nodes is introduced, and the statistical significance of the attribute correlation between nodes is used to identify and exclude possible outlier nodes, thereby effectively improving the purity of the group, that is, the accuracy, reducing the situation where non-group nodes are misjudged as group nodes, and significantly improving the accuracy of group mining.
[0142] The above is a group excavation device provided in the embodiment of this specification. Based on the same idea, the embodiment of this specification also provides a group excavation device, such as Figure 7 shown.
[0143] The mining equipment of the group may provide a terminal device or a server, etc. for the above-mentioned embodiment.
[0144] The mining devices of the group may have relatively large differences due to different configurations or performances, and may include one or more processors 701 and memory 702, and the memory 702 may store one or more storage applications or data. Among them, the memory 702 may be a short-term storage or a persistent storage. The application stored in the memory 702 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the mining device of the group. Furthermore, the processor 701 may be configured to communicate with the memory 702 to execute a series of computer executable instructions in the memory 702 on the mining device of the group. The mining device of the group may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input and output interfaces 705, and one or more keyboards 706.
[0145] Specifically in this embodiment, the mining device of the group includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the mining device of the group, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following:
[0146] Obtaining one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users;
[0147] Acquire attribute information of each node in each mining group, and determine a node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model;
[0148] Based on the node representation corresponding to each node and the attribute information of each node in each mining group, outlier nodes in each mining group are determined, and the corresponding mining group is purified based on the outlier nodes in each mining group to obtain a purified group;
[0149] Attribute information of the purified group is obtained, and based on the attribute information of the purified group, a target group with a preset risk is obtained from the purified group.
[0150] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the group mining device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0151] The embodiment of the present specification provides a group mining device, which obtains one or more different mining groups by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information about media used by different users and / or transaction information between different users. Then, the attribute information of each node in each mining group is obtained, and based on the attribute information of each node in each mining group, the node representation corresponding to each node is determined through a pre-trained attribute graph model. After that, the outlier nodes in each mining group can be determined based on the node representation corresponding to each node and the attribute information of each node in each mining group, and based on each node, the outlier nodes in each mining group can be determined. The outlier nodes in the mining groups are used to purify the corresponding mining groups to obtain the purified groups. Finally, the attribute information of the purified groups can be obtained, and based on the attribute information of the purified groups, the target groups with preset risks can be obtained from the purified groups. In this way, the attribute graph model is adopted to generate an information-rich node representation for each node through deep learning. The node representation can integrate multiple attribute information of the nodes, thereby providing a more comprehensive perspective to capture the complex interactions between groups. In addition, the processing mechanism of outlier nodes is introduced, and the statistical significance of the attribute correlation between nodes is used to identify and exclude possible outlier nodes, thereby effectively improving the purity of the group, that is, the accuracy, reducing the situation where non-group nodes are misjudged as group nodes, and significantly improving the accuracy of group mining.
[0152] Furthermore, based on the above Figures 1 to 5 In one embodiment, the present specification further provides a storage medium for storing computer executable instruction information. In a specific embodiment, the storage medium may be a USB flash drive, an optical disk, a hard disk, etc. When the computer executable instruction information stored in the storage medium is executed by the processor, the following process can be implemented:
[0153] Obtaining one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users;
[0154] Acquire attribute information of each node in each mining group, and determine a node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model;
[0155] Based on the node representation corresponding to each node and the attribute information of each node in each mining group, outlier nodes in each mining group are determined, and the corresponding mining group is purified based on the outlier nodes in each mining group to obtain a purified group;
[0156] Attribute information of the purified group is obtained, and based on the attribute information of the purified group, a target group with a preset risk is obtained from the purified group.
[0157] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the above-mentioned storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0158] The embodiment of the present specification provides a storage medium, which obtains one or more different mining groups by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users, and then, the attribute information of each node in each mining group is obtained, and based on the attribute information of each node in each mining group, the node representation corresponding to each node is determined through a pre-trained attribute graph model, and then, the outlier nodes in each mining group can be determined based on the node representation corresponding to each node and the attribute information of each node in each mining group, and based on each mining group, the outlier nodes in each mining group can be determined. The outlier nodes in the mining group are used to purify the corresponding mining group to obtain the purified group. Finally, the attribute information of the purified group can be obtained, and based on the attribute information of the purified group, the target group with preset risks can be obtained from the purified group. In this way, the attribute graph model is adopted to generate an information-rich node representation for each node through deep learning. The node representation can integrate multiple attribute information of the node, thereby providing a more comprehensive perspective to capture the complex interactions between groups. In addition, the processing mechanism of outlier nodes is introduced, and the statistical significance of the attribute correlation between nodes is used to identify and exclude possible outlier nodes, thereby effectively improving the purity of the group, that is, the accuracy, reducing the situation where non-group nodes are misjudged as group nodes, and significantly improving the accuracy of group mining.
[0159] Furthermore, based on the above Figures 1 to 5 In one or more embodiments of the present specification, a computer program product is provided, including a computer program. When the computer program in the computer program product is executed by a processor, the following process can be implemented:
[0160] Obtaining one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users;
[0161] Acquire attribute information of each node in each mining group, and determine a node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model;
[0162] Based on the node representation corresponding to each node and the attribute information of each node in each mining group, outlier nodes in each mining group are determined, and the corresponding mining group is purified based on the outlier nodes in each mining group to obtain a purified group;
[0163] Attribute information of the purified group is obtained, and based on the attribute information of the purified group, a target group with a preset risk is obtained from the purified group.
[0164] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the above-mentioned computer program product embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0165] The embodiment of the present specification provides a computer program product, which obtains one or more different mining groups by mining a pre-constructed association graph based on a preset community mining algorithm, then obtains the attribute information of each node in each mining group, and based on the attribute information of each node in each mining group, determines the node representation corresponding to each node through a pre-trained attribute graph model, and then can determine the outlier nodes in each mining group based on the node representation corresponding to each node and the attribute information of each node in each mining group, and purifies the corresponding mining group based on the outlier nodes in each mining group to obtain the purified group, and finally, can To obtain the attribute information of the purified group, and based on the attribute information of the purified group, obtain the target group with preset risks from the purified group. In this way, the attribute graph model is adopted to generate an information-rich node representation for each node through deep learning. The node representation can integrate multiple attribute information of the node, thereby providing a more comprehensive perspective to capture the complex interactions between groups. In addition, a processing mechanism for outlier nodes is introduced, and the statistical significance of the attribute correlation between nodes is used to identify and exclude possible outlier nodes, thereby effectively improving the purity of the group, that is, the accuracy, reducing the situation where non-group nodes are misjudged as group nodes, and significantly improving the accuracy of group mining.
[0166] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0167] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0168] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.
[0169] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0170] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0171] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0172] The embodiments of this specification are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable fraud case serial and parallel device to produce a machine, so that the instructions executed by the processor of the computer or other programmable fraud case serial and parallel device generate instructions for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0173] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable fraud case serial and parallel device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0174] These computer program instructions may also be loaded onto a computer or other programmable device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0175] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0176] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0177] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0178] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0179] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0180] One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0181] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0182] The above description is only an embodiment of this specification and is not intended to limit this document. For those skilled in the art, this specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification should be included in the scope of the claims of this specification.
Claims
1. A method for mining a group, the method comprising: include: Obtaining one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users; Acquire attribute information of each node in each mining group, and determine a node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model; Based on the node representation corresponding to each node and the attribute information of each node in each mining group, outlier nodes in each mining group are determined, and the corresponding mining group is purified based on the outlier nodes in each mining group to obtain a purified group; Attribute information of the purified group is obtained, and based on the attribute information of the purified group, a target group with a preset risk is obtained from the purified group.
2. The method according to claim 1, further comprising: include: Obtaining the risk type existing in the target group; Based on each acquired risk type, acquiring complaint information of a target group corresponding to the risk type; Prompt information of a pre-trained large language model is constructed based on the complaint information, and the constructed prompt information is input into the large language model to obtain group characterization information for the target group.
3. The method according to claim 1, wherein the obtaining comprises: mining a pre-constructed association graph based on a preset community mining algorithm to obtain one or more different mining groups; include: Obtain information about target users with preset risks; Based on the historical data related to the target user, construct a pre-selected association map between the target user and other users, wherein the pre-selected association map includes associations established through preset medium information and / or associations established through transaction information; Obtaining weights of association relationships between different nodes in the preselected association graph, and filtering the association relationships between different nodes in the preselected association graph based on the obtained weights to obtain the association graph; The association graph is mined based on a preset community mining algorithm to obtain one or more different mining groups.
4. According to the method of claim 3, the medium information includes one or more of information of preset certificate number type, mobile phone number type, device identification type, geographic information type, and transaction type, and the community mining algorithm includes Louvain algorithm or spectral clustering algorithm.
5. According to the method described in claim 1, the attribute information of each node includes hazard index information, activity index information, transaction pattern information, static information, and graph structure information; the hazard index information includes information related to transactions with preset risks; the activity index information includes information related to the duration from when the nodes are determined to have preset risks to the current moment; the transaction pattern information includes information related to transactions; and the graph structure information includes relevant information of associated nodes with preset risks; the attribute information of the purified group includes group hazard index information, group activity index information, and group descriptive index information; the group hazard index information includes information related to transactions with preset risks of the purified group; and the group activity index information includes information related to the duration from when the nodes in the purified group are determined to have preset risks to the current moment.
6. The method according to claim 5, before determining the node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model, the method further include: If the attribute information of each node includes text class information, the text class information of each node in each mining group is input into a first model built based on TinyBERT to obtain a text representation corresponding to the text class information; If the attribute information of each node includes numerical information, the numerical information of each node in each mining group is input into the second model constructed based on MLP to obtain the numerical representation corresponding to the numerical information; The method of determining the node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model includes: Input the text representation corresponding to the text class information in the attribute information of each node in each mining group and / or the numerical representation corresponding to the numerical class information in the attribute information of each node into the attribute graph model constructed based on the attention module to obtain the attention coefficient of each node in each mining group and the neighboring nodes; Based on the attention coefficient of each node and the neighboring nodes in each mining group, the node representation corresponding to each node is determined.
7. According to the method of claim 6, the attribute graph model is a graph model constructed based on a graph neural network including an attention module, and the attribute graph model is obtained after model training based on self-supervised training and contrastive learning.
8. The method according to claim 1, wherein the outlier nodes in each mining group are determined based on the node representation corresponding to each node and the attribute information of each node in each mining group. include: Obtaining the distance between each node in each mining group and one or more neighboring nodes; determining a local outlier factor for each node in each mining group based on the distance between each node in each mining group and one or more neighboring nodes of the neighbor; Based on the local outlier factor of each node in each mining group, outlier nodes in each mining group are determined.
9. A group excavation device, the device include: A mining group acquisition module, which acquires one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users; A node representation determination module obtains attribute information of each node in each mining group, and based on the attribute information of each node in each mining group, determines the node representation corresponding to each node through a pre-trained attribute graph model; A purification module, which determines the outlier nodes in each mining group based on the node representation corresponding to each node and the attribute information of each node in each mining group, and purifies the corresponding mining group based on the outlier nodes in each mining group to obtain a purified group; The group determination module obtains the attribute information of the purified group, and based on the attribute information of the purified group, obtains a target group with a preset risk from the purified group.
10. A group of excavating devices, the group of excavating devices include: processor; as well as a memory arranged to store computer executable instructions which, when executed, cause the processor to: Obtaining one or more different mining groups obtained by mining a pre-constructed association graph based on a preset community mining algorithm, wherein the association graph is a graph constructed for target users with preset risks, and the association graph includes nodes and edges, wherein the nodes are constructed by user information, and the edges are constructed by information of media used by different users and / or transaction information between different users; Acquire attribute information of each node in each mining group, and determine a node representation corresponding to each node based on the attribute information of each node in each mining group through a pre-trained attribute graph model; Based on the node representation corresponding to each node and the attribute information of each node in each mining group, outlier nodes in each mining group are determined, and the corresponding mining group is purified based on the outlier nodes in each mining group to obtain a purified group; Attribute information of the purified group is obtained, and based on the attribute information of the purified group, a target group with a preset risk is obtained from the purified group.
Citation Information
Cited By
Data processing method, device and equipment
CN119991304A
Data processing method, device and equipment
CN119991304B
