Privacy-preserving tagging and classification of emails
By creating a labeled training dataset without the use of confidential information in enterprise email systems, leveraging supervised machine learning models and extended graph technology, we solve the challenge of distinguishing unwanted emails, enabling effective message classification and resource savings.
Patent Information
- Application Number
- CN201980050036.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-07-30
- Filing Date
- 2019-06-21
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-06-21
AI Technical Summary
Existing technologies make it difficult to effectively differentiate and control unwanted email, especially the challenge of differentiating spam, phishing, and malware emails while protecting confidentiality and personally identifiable information in corporate email systems.
Leverage a supervised machine learning model to classify emails into different categories, including good, spam, phishing, bulk, and malware emails, by creating a labeled training dataset that does not use confidential or personally identifiable information, using metadata and Transfer data features for labeling, and apply expansion graphs and voting systems to handle conflicting signals.
It can effectively mark emails without accessing the email content, save resources, improve system security, reduce false positive rate and storage consumption, and improve the ability to identify and manage unwanted communications.
Smart Images

Figure CN112567407B_ABST
Abstract
Description
Background Art
[0001] Unwanted email and other electronic communications are an ongoing problem for users of electronic communications systems. The problems caused by unwanted email can range from annoyance caused by spam and bulk email to serious harm caused by phishing attacks and malware. One step in addressing the problems caused by unwanted communications is to distinguish unwanted communications from desired communications. Many techniques have been used to identify spam, bulk email, phishing emails, emails containing malware, etc. However, due to the relentless adaptation of bad actors to create unwanted communications, most techniques are only useful for limited times and in limited scenarios.
[0002] As an example, on enterprise email systems, it is challenging to effectively identify and control unwanted communications while maintaining the confidentiality of email content and protecting personally identifiable information ("PII"). Blocking spam is difficult without being able to "go in and see" the email. It is challenging to create a system that effectively distinguishes between desired and unwanted communications without access to the content of the messages.
[0003] It is with respect to these and other considerations that the present disclosure made herein is presented. Summary of the invention
[0004] This article describes a technique for creating a labeled training data set from emails without using confidential information or PII. The training data set is used with supervised machine learning to create a machine learning model ("MLM") that classifies emails into categories such as good emails, junk emails, phishing emails, bulk emails, and malware emails. By using the relationship between email features that do not include PII to determine appropriate tags for previously unlabeled emails, the technique is able to label individual emails without accessing the content of the message. Some features of email messages that may be used include metadata and transmission data, such as a hash of the sender email address, the sender email host server, a timestamp, the type of character encoding, a hash of the universal resource locator ("URL") included in the email, and a portion of the email body.
[0005] Initial tags can come from whitelists or blacklists of: email addresses, host server names, URLs, etc., and also from manually tagged emails. Users can provide manual tags by evaluating their own emails to protect privacy. Each email characteristic and the email itself can be grouped into clusters with other similar or identical characteristics / emails. The term "entity" refers to specific email characteristics as well as the emails themselves, as either can be the basis for forming a cluster and tags applied to either can potentially be mapped to the other. For example, a particular sender's email address can be in its own cluster, and any tags applied to that email address will be represented in the cluster. Similarly, a cluster can be formed to contain multiple email messages associated with a particular tag, such as unsolicited bulk email ("UBE" or "junk").
[0006] The technology uses an "extension graph" that represents the reasoning logic based on the relationships between the different types of entities that are clustered. The extension graph is a logical / abstract layer that captures the clustering and tag extension logic. The tag extension logic indicates when a tag applied to one entity can be extended to also apply to another entity. For example, if a given sender email address has been marked as "good", it can be inferred that the email from the sender is a "good" email. However, if the email is marked as "junk", it does not necessarily mean that the host server that sent the email is used only for junk. Tags derived from the extension graph can be associated with a confidence level. The confidence level can be based on the source of the initial tag, the number of data points, the age of the tag, etc. For example, the confidence of a tag manually applied by a user may be much higher than the confidence of a tag from a set of conflicting indications (e.g., some instances indicate bulk emails, and some instances indicate good emails).
[0007] In a cluster, there may be different tags applied to the same entity. For example, in some examples, an email address may be marked as a good email address, in some other examples as a source of spam, and in some other examples as an address associated with bulk email. A single email may come from a host email server associated with spam, include a sender email address marked as "good", and include a URL marked as "phishing". Resolving these conflicting signals for a cluster can be performed by a voting system that applies a set of voting rules to resolve conflicts and determine which tag to attach. The voting rules may include rules such as eliminating conflicting tags, keeping tags with higher confidence levels above tags with lower confidence levels, applying multiple tags if the tags do not conflict (e.g., both spam tags and malware tags), replacing older tags with newer tags, ignoring a minority of tags, and other rules.
[0008] Clustering can also be adjusted to minimize the grouping of emails with different markings in the same cluster. One way to adjust the clusters is to change the "key" or feature on which the clusters are based to a composite of multiple features. For example, a hash of a specific URL combined with the identity of the email host server can be used together as a basis for forming clusters. Using a combination of multiple features to form clusters can reduce false positives, especially in examples where good emails are incorrectly marked as spam, bulk email, etc.
[0009] The tagging process is performed iteratively, so after a given email has been tagged, features from that email can be used to adjust the clusters, and the tag applied to other emails in turn. Thus, results from past tagging can be used as the basis for future tagging. Tags can also be set to expire after a period of time. For example, if a particular URL is tagged as malware, that tag can eventually be removed if no new instances of the "malware" tag are associated with the URL for a period of time.
[0010] Once the tag is applied to a sufficient number of emails, the set of emails can be used as a training data set for the MLM. The tagging can be implemented without using any PII, and is therefore suitable for corporate email systems or other environments where the confidentiality of email content must be maintained. The process of supervised learning can be used to teach the MLM how to distinguish between different categories of emails, such as good emails, junk emails, malware emails, bulk emails, phishing emails, etc. Thus, the MLM acts as a classifier that can classify incoming emails into good emails, junk, or other categories. Once tagged, the email can be processed according to its tag, such as blocking the delivery of the email, placing the email in a trash bin, placing the email in a designated folder, etc.
[0011] Correctly identifying undesirable communications can save resources in the email system, such as bandwidth, memory, and processor cycles. Undesirable communications such as junk can be deleted, or never placed in a long-term storage device, thereby reducing memory consumption. Preventing some types of emails from circulating within the email system or between different email systems can reduce the use of communication bandwidth. Additionally, emails identified as containing undesirable communications can be kept on the server without being downloaded to the local computer, stored without being automatically displayed, or processed at a lower priority level only when system resources are available, all of which can reduce the demand for processor cycles. In addition, blocking access to certain types of undesirable communications (such as emails that may contain malware) improves system security, thereby reducing the chance of accidentally installing malware.
[0012] This Summary is provided to introduce in a simplified form a selection of concepts that are further described in the Detailed Description below. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Furthermore, the claimed subject matter is not limited to implementations that address any or all of the disadvantages noted in any part of this disclosure. For example, the term "technology" may refer to system(s) and / or method(s) as allowed by the context above and throughout the document. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The detailed description is set forth with reference to the accompanying drawings. In the drawings, the left-most digit(s) of a reference number identifies the drawing in which the reference number first appears. The use of the same reference numbers in different drawings indicates similar or identical items.
[0014] Figures 1A to 1E is a diagram illustrating a general network architecture of a system for classifying emails using an MLM trained using a training data set.
[0015] Figure 2 is a flow chart showing an illustrative process for categorizing email using MLM.
[0016] Figure 3 is a flow chart showing an illustrative process for creating a training data set of labeled emails.
[0017] Figure 4 Characteristics of an email message are shown.
[0018] Figure 5 An illustrative cluster of features from an email message is shown.
[0019] Figure 6 An illustrative cluster of email features is shown.
[0020] Figure 7 Labels for unlabeled emails derived from multiple clusters of email features are shown.
[0021] Figure 8 An example of voting for a tag to apply to an email message is shown.
[0022] Fig. 9 is an illustrative expansion of the labeling for the “good” category.
[0023] Fig.10 is an illustrative expansion diagram for the Bulk category labeling.
[0024] Fig.11 An illustrative expansion of the "junk or phishing" category tag.
[0025] Fig.12 is an illustrative expansion of the Malware category tag.
[0026] Fig.13 A computer architecture for an illustrative computing device capable of tagging emails to create a training data set.
[0027] Fig.14 is a flow chart of an illustrative process for labeling emails for inclusion in a training data set to train an MLM.
[0028] Fig.15 is a flow chart of an illustrative process for creating a training data set to generate an MLM. DETAILED DESCRIPTION
[0029] The training data set provides multiple examples of items that are each associated with one or more labels. These examples are used to adapt the parameters of a model (such as an MLM) (e.g., the weights of the connections between neurons in an artificial neural network). This can also be referred to as "training" the MLM using the training data set. MLM is a model created through a training process. The training data contains the correct answer (called the target or target attribute), so a properly labeled training data set is important for creating an MLM. The learning algorithm will find patterns in the training data set that map the input data attributes to the target (prediction goal, such as junk or non-junk), and then output an MLM that captures these patterns.
[0030] Marking emails as junk, bulk emails, malware, etc. can be easily performed by manual markers. Manual markers can be people who are hired to review other people's emails and assign markers, or they can be recipients of emails that choose to block senders to mark their own emails by selecting a "junk" button, and so on. However, for marking large amounts of emails, it is more effective to use automated marking techniques. With full access to emails, the subject and body of the message can be used to derive the markers. However, due to confidentiality or privacy issues, the content of email messages is generally not available for developing training data sets. Therefore, the technology in the present disclosure provides a way to assign markers using metadata and other features of email messages without accessing any private information or PII. PII includes information that can be used alone or in conjunction with other information to identify, contact, or locate a single individual, or to identify an individual in context.
[0031] One way to obtain labels for emails without a third party evaluating the content of the message is to receive the labels from the email recipients themselves. While this protects confidentiality, the number of labeled emails is relatively small relative to the total volume of email, the labels are not clear (e.g., sometimes people mislabel their emails), and the granularity of the labels may be less than that desired for building robust models. Specifically, many self-labeling systems such as those provided by email software only include "junk / trash" and "good" labels. This binary labeling does not allow for the construction of multi-class models that can distinguish, for example, junk, bulk email, phishing, and malware.
[0032] Using machine learning to identify different types of emails can provide scalability that is not practical with manual labeling. However, it is challenging to conduct effective MLM without a comprehensive training dataset that is clearly labeled. And it is challenging to create a training dataset if the content of the emails cannot be examined due to privacy concerns.
[0033] The following disclosure and accompanying drawings describe novel systems and techniques for creating training data sets by applying tags to emails without exposing PII or confidential information. The training data sets can then be used to train MLMs for classifying emails and preventing junk and other unwanted communications from reaching users' inboxes. Although emails are specifically referenced through this disclosure, the techniques and systems provided herein are equally applicable to other types of electronic messages or electronic communications, such as instant messages, text messages, website posts or comments, chat groups, message boards, blog posts, social network posts, etc. Additionally, the techniques and systems of the present disclosure are equally applicable to all formats of messages, such as text, audio, images, video, or other formats.
[0034] Figures 1A to 1E An illustrative network architecture 100 is shown that includes a sender computing device 102, which is the source of an email 104. The sender computing device 102 may be any type of computing device, such as a personal computer, a server, etc. The sender computing device 102 may include a "zombie" computer that is maliciously controlled by software that directs the computer to send emails without the computer's real owner / user knowing.
[0035] Email 104 (or other type of communication) may be a "good" email of the type sent between two individuals with an existing relationship. It may be a "junk" email, which is unsolicited electronic waste and often contains advertisements for certain products. Email 104 may be a "phishing" email, which is a fraudulent email that falsely claims to be an established, legitimate business in an attempt to trick users into compromising private information that will be used for identity theft or other crimes. "Bulk" email is another possibility for email 104. Bulk email is email sent to a large group at once. It usually consists of advertising or marketing messages that are sent as a large number of emails.
[0036] In some cases, bulk emails may be treated differently than other types of "problem" emails because the recipient may potentially desire to use it. Email 104 may also be a "malware" email that contains malware or has a link to malware. Malware is any software that is intentionally designed to cause damage to a computer, server, or computer network. Malware causes damage after it is implanted or introduced into a target computer in some way, and can take the form of executable code, scripts, active content, and other software.
[0037] Unwanted email, such as the types described above, is a problem not only because it is not expected by the recipient, but also because it can impact enterprise system management by consuming bandwidth, storage space, and other network resources. Therefore, effectively identifying and managing unwanted email can improve network functionality by making more bandwidth and storage space available for legitimate uses.
[0038] The sender computing device 102 may use the email hosting server 106 to transmit outgoing emails. The email hosting server 106 may operate a mail transfer agent that routes and delivers emails from the sender computing device 102. Examples of software that may run on the email hosting server 106 include MICROSOFTEXCHANGE SERVER and POSTFIX. The email hosting server 106 routes the emails 104 over one or more networks 108, such as the Internet.
[0039] In some implementations, the email gateway 110 can process emails that are transmitted across one or more networks 108. The email gateway 110 is the first point at which the email 104 contacts the recipient's computer system. The email server 112 can be implemented alone or in conjunction with the email gateway 110. The email server 112 can process incoming and outgoing emails for the email recipient's organization or email service.
[0040] An email classifier 114 may be implemented on one or both of the email gateway 110 and the email server 112. The email classifier 114 classifies the email 104 and other incoming emails into one of a plurality of categories. For example, the categories may be binary, such as "good" or "bad" email, or there may be more than two email categories, such as good, junk, phishing, bulk, and malware.
[0041] In machine learning, classification is the problem of identifying which of a set of classes (or subpopulations) a new observation belongs to based on a training data set containing observations (or instances) whose class membership is known. Thus, the email classifier 114 includes an MLM 116 created from a training data set 118. Classification is considered an example of supervised learning, i.e., learning in which a training data set 118 of correctly identified observations is available. The email classifier 114 does the work of identifying the type of email so that the email 104 can be processed accordingly.
[0042] The recipient computing device 120 may ultimately receive the email 104. The recipient computing device 120 may be any type of computing device that can receive email, such as a personal computer, a smart phone, a smart watch, a tablet computer, a gaming console, etc. The recipient computing device 120 may include an organizational structure (such as a plurality of folders) for email messages. Illustrative folders may include an inbox 122, a bulk email folder 124, a junk folder 126, a phishing email folder 128, a malware folder 130, and the like.
[0043] Figure 1A An email 104 is shown being sent from a sender computing device 102 and an email hosting server 106 to a network(s) 108 .
[0044] Figure 1B An email 104 is shown arriving at an email gateway 110 , perhaps at a first opportunity for evaluation by an email classifier 114 .
[0045] Figure 1C The rejection of email 104 by email gateway 110 and the delivery of email 104 to trash 132 are shown. Delivery to trash 132 may represent that email gateway 110 rejects the email and declines delivery and / or places email 104 in a storage location for deletion. Email gateway 110 may send email 104 to trash 132 based on a determination by email classifier 114. For example, if email classifier 114 classifies email 104 as a malware email, email gateway 110 may partially send email 104 to trash 132 to prevent users from accidentally installing malware. Directly sending email 104 to trash 132 may be based on a confidence level in the classification provided by email classifier 114. For example, if the confidence level for malware classification is above a threshold confidence level, email 104 will be moved to trash 132.
[0046] Blocking spam and other unwanted emails at the email gateway 110 can save network resources, such as bandwidth, storage, and processor cycles, because devices downstream from the email gateway 110 do not interact with the unwanted emails. This can improve the operation of the email server 112, recipient computing devices 120, and other computer systems.
[0047] Figure 1DAn email 104 is shown after it has been moved to a recipient computing device 120 via an email gateway 110 and an email server 112. This is typical processing of a "good" email. If the email 104 is a good email, but is incorrectly identified as junk, phishing email, etc. by the email classifier 114, this is a false positive. Any classifier, especially one that evaluates a large volume of email, is likely to generate some false positive results. Moving those emails to the trash bin 132 without giving the recipient a chance to view the email can cause the recipient to miss emails that he or she may want to receive. Therefore, some or all of the emails that are classified as junk, bulk, phishing, or malware by the email classifier 114 may be passed to the recipient computing device 120.
[0048] Figure 1E The email 104 is shown to be placed in a junk folder 126 on the recipient computing device 120. Placement in a particular folder, such as the junk folder 126, may be performed by an email client or other software on the recipient computing device 120 and / or the email server 112 without direct input from the user. The folder may be selected based on a classification provided to the email 104 by the email classifier 114. Bulk, junk, phishing, and malware emails may be placed in separate folders.
[0049] Alternatively, some or all of the bulk email folder 124, junk folder 126, phishing email folder 128, and malware folder 130 may be combined. For example, all emails classified as junk, phishing, or bulk emails may be placed in the same folder. For example, emails classified as good emails or, alternatively, emails that are not classified as any of bulk, junk, phishing, or malware may be placed in the inbox 122. If an email can be classified into two or more different categories of email, it may be placed in the folder corresponding to the category with the highest confidence level.
[0050] Placing the email 104 in a folder on the recipient computing device 120 or in a folder accessible to the recipient computing device 120 provides the recipient with an opportunity to review the email 104. This allows the recipient to catch false positive classifications through the email classifier 114. Even if the email 104 is correctly classified as, for example, bulk email, the recipient may wish to review the email 104. The recipient may also manually mark the email, and by doing so may provide feedback and additional information for improving the training data set 118.
[0051] Figure 2An illustrative process 200 for classifying email using MLM is shown. Process 200 may be performed by email classifier 114 shown in FIG.
[0052] In 202, a training data set of labeled emails is created. Each example in the training data set contains a target and one or more features. The target is the purpose of the prediction, which in this illustration is a label for the email, such as good, junk, malware, etc. The features or attributes of the email are such as the sender email address, IP address, timestamp, the existence of previous communications between the sender and the recipient, etc. These attributes are used to identify patterns that predict the target answer. In the present disclosure, the features are selected to avoid the use of confidential information or PII.
[0053] In 204, an MLM is generated from a training data set. The MLM may be the MLM 116 introduced in FIG. 1 . Once the training data set is created, the MLM may be trained using supervised learning. Supervised learning is a machine learning task that learns a function that maps input to output based on example input-output pairs. It infers a function from labeled training data containing a set of training examples. In supervised learning, each example is a pair consisting of an input object (usually a vector) and a desired output value (also referred to as a supervisory signal). A supervised learning algorithm analyzes the training data and generates an inference function that can be used to map new examples. The best scenario will allow the algorithm to correctly determine the classification label for unseen instances. This requires the learning algorithm to generalize from the training data to unseen situations in a "reasonable" manner. Any supervised learning algorithm may be used to train the MLM.
[0054] At 206, the email is classified using the MLM. By training the MLM using the training data set created at 202, the MLM can be configured to classify new emails according to the targets identified in the training data set. For example, the email being classified can be the email 104 shown in FIG. 1. Of course, the MLM can be used to classify more than a single email, and can be applied to automatically and quickly classify all or most emails received by the email system.
[0055] Figure 3 An illustrative process 300 for creating a training data set is shown. Process 300 may represent a sub-process within step 202 of process 200.
[0056] In 302, a marked email feature is received. The marked email feature can be such a thing as identifying a given email address as something associated with junk, or a mark as follows: identifying a specific IP address as a mark associated with a computer known to send good emails (such as a friend's computer or another computer on the same local network). The marked features can be received from many sources (such as white lists or black lists), and can also be received from manual marking of emails by users. For example, features of emails marked as junk by users of an email system can be used to create lists of sender email addresses, IP addresses, host servers, etc. that are used to send junk. These marks may come from metadata or transmission data associated with emails, and may be designed to avoid using confidential information or PII. Past user behavior captured by a communication graph (i.e., a mapping of communications back and forth between multiple email accounts and a history of committee communication activities) can also be used to provide markings. Having a relationship in a communication graph with more than a threshold number of connections can be interpreted as indicating that emails from all parties in the relationship are good senders of each other. Search engine results and junk classification results of another system can also be used as sources for marking email features.
[0057] These initial labels may be referred to as "seeds" because they provide a starting point for creating clusters of emails or clusters of similar email characteristics that are therefore considered to be associated with the same label (e.g., good, junk, bulk email, etc.). Each initial label or seed may be associated with a confidence level indicating the likelihood that the label is correct.
[0058] In 304, unmarked emails are received. These unmarked emails may be emails that already exist in the email system. Unmarked emails may include, but are not limited to, newly received emails that have entered the email system from an external network.
[0059] In 306, individual features of the unmarked email are marked. Individual features (such as sender email address) can be marked based on grouping using one of the marked seed features. Grouping can be implemented in the form of clustering, where similar features are placed together in the same cluster. Each unmarked email may have multiple features, which can be placed in corresponding clusters. Each cluster can inherit tags from the seed that started the cluster. Therefore, these tags can be applied to the features of the unmarked email. These tags on the features can also be added to existing clusters, as indicated by the path from 306 back to 302.
[0060] At 308, the unmarked emails are marked. The marking of the unmarked emails is based on the marking of various features in those emails. For example, if all of the features of the unmarked emails are features found in a cluster marked as associated with malware, then the unmarked email itself is likely associated with malware, and it may be marked as a "malware" email. For some unmarked emails, the features may indicate more than one label. One feature may indicate that it is a good email, while another feature indicates that it is junk, and a third feature indicates that it should be marked as bulk email. In this case, conflicts between multiple possible labels may need to be resolved. Conflicts may be resolved by a voting mechanism described below.
[0061] Tagging an email provides a tag that can be attached to any or all features of the email. For example, if a given IP address was previously unknown and not tagged but is associated with emails that are junk, then a "junk" tag can be applied to the IP address. This new tag on the email feature can be provided to step 306 to increase the number of tagged features, which in turn can provide more features for the cluster at 302 to inform subsequent tagging. In one embodiment, the additional tag features received from 308 can be added to the cluster formed with the initial seed features. Thus, as the process 300 iterates, the number of examples in each cluster can increase.
[0062] At 310, the labeled emails generated at 308 are used to create a training dataset. The training dataset includes many email messages with features (these features do not disclose confidential information or PII) and tags associated with the emails. This provides labeled training data for use in supervised machine learning.
[0063] Figure 4 An illustrative marked email 400 and illustrative email features 402 are shown. The marked email 400 includes email content 404, which may include a URL 406. To protect privacy and avoid access to PII, the email content 404 is not used to mark the marked email 400. This presents a challenge because the portion of the marked email 400 that may most clearly indicate whether the email is a good email, junk, or another type of email is not available for analysis. However, the email features 402, which may include metadata and transmission data associated with the marked email 400, can be analyzed without exposing the recipient's confidential information or PII.
[0064] Any number of email features 402 may be used that do not expose PII. Figure 4The features discussed are intended to be illustrative only and not limiting. The sender email address 408 is one feature that can be extracted from the marked email 400. The IP address 410 of the computing device that sent the marked email 400 is an additional feature. A timestamp 412 can be included with the marked email 400 and can indicate the type of email (e.g., an email sent during typical sleep times in the recipient's time zone may be more likely to be spam or bulk email).
[0065] Character encoding 414 is another feature that can be used to analyze emails. Character encoding 414 can indicate the language of the software installed on the sending computing device and / or the location of the sending computing device. Machine learning can identify patterns based on the character encoding for 414. The host server 416 responsible for sending out the marked email 400 is also a potentially useful feature.
[0066] If the email recipient or the party responsible for managing the recipient's email system affirmatively opts in, the email content 404, including any URL 406 within the email, can be used in a manner that does not disclose confidential information or PII. For example, a hash (also called a "fingerprint") of the email content 418 can be used to represent the email content 404, and to identify whether the same or similar email content 404 appears in other emails by comparing the hash value. Similarly, a hash 420 of a URL included in a tagged email can be generated and used to see if the same URL appears in other emails.
[0067] The hash of the email content 418 and the URL hash 420 can be generated by applying a hash algorithm to the email content 404 or the URL 406, respectively. A hash value (or simply a hash) is a value generated from a string of text. The hash is substantially smaller than the text itself and is generated by a formula in such a way that it is extremely unlikely that some other text will produce the same hash value. One hash function that can be used is the MD5 algorithm. Additionally, distance sensitive hashing (DSH) can be used to generate the hash of the email content 418 or the URL hash 420. DSH is a generalization of locality sensitive hashing (LSH), which seeks a family of hash functions such that the probability of two points having the same hash value is a given function of the distance between them.
[0068] Figure 5How features from tagged emails 400 contribute to cluster formation is shown. In this example, illustrative clusters are sender cluster 500, host cluster 502, URL cluster 504, and fingerprint cluster 506. A greater or lesser number of clusters may be used. Each cluster contains instances of features from emails that are clustered together. Any suitable clustering technique may be used to form clusters discussed throughout this disclosure. Clustering (which may also be referred to as "grouping" or "classification") refers to the process of grouping similar items together and separating different items based on the attributes of the items. According to the embodiments disclosed herein, various types of algorithms may be used to cluster emails or features of emails. For example, in different embodiments, a k-means algorithm, a k-nearest neighbor ("KNN") algorithm, a minimum hash (MinHash) algorithm may be used to form clusters. In some other embodiments, a latent factor clustering algorithm (such as latent semantic indexing ("LSI"), a latent Dirichlet allocation ("LDA"), or a probabilistic LSI ("PLSI")) may be used to cluster emails and email features.
[0069] Each cluster contains other emails that have the same characteristics as the marked email 400 or at least similar characteristics enough to be clustered together. For example, sender cluster 500 may include emails sent from the same sender email address 408 as the marked email 400. Host cluster 502 may include emails sent through the same host server 416 as the marked email 400. In this example, fingerprint cluster 506 includes only the marked email 400 because there are no other emails with the same fingerprint 418. In one embodiment, fingerprint cluster 506 may not be formed because a minimum number of emails may be required to form a cluster, and there may be fewer than the minimum number of individual emails.
[0070] Figure 6 The application of labels to illustrative clusters is shown, here in Figure 5 4. In the embodiment of the present invention, a host cluster 502 is introduced. The host cluster 502 includes multiple emails 600A to 600I sent from the same host server 416 or host servers that are similar enough to cluster them together. Email 600F represents a marked email 400. Each of the emails 600A to 600I can be associated with a tag 602 (such as junk, good, or bulk). In general, these tags for the host cluster 502 as a whole can be derived from the tags 602 of the emails 600 within the cluster.
[0071] Any of a number of various voting techniques may be used to select a single label for a cluster from labels 602 of included emails 600. For example, the most common one of labels 602 may be applied as cluster label 604. Alternatively, the confidence level of each label of emails 600 may be used to weigh the votes and identify which label 602 is used for the cluster. In this example, since more emails 600 in host cluster 502 are labeled "good" than any other label, the majority vote results in cluster label 604 being "good."
[0072] Figure 7 Different uses of clustering are shown, where various features of an unmarked email 700 are used to provide potential tags for the unmarked email 700. Tags can be associated with the unmarked email 700 based on the clusters to which the features of the unmarked email 700 belong. In this example, the clusters are email address 702, marked host servers 704, marked URLs 706, and marked fingerprints 708.
[0073] If the email address of the sender of the unmarked email 700 is found in the cluster of marked email addresses 702, the tag of the sender's email address, which in this case is "junk", can be applied to the unmarked email 700. Similarly, if the tag of the email host server that sent the unmarked email 700 and the tag of the hash of the URL included in the unmarked email 700 can also be compared with the cluster to identify the tags of those characteristics of the unmarked email 700.
[0074] If a feature of the unmarked email 700 is not found in any existing clusters, then the feature may not be a source of potential marking for the unmarked email 700. In this example, the hash of the content of the unmarked email 700 does not match any hash in the cluster of marked fingerprints 708. Therefore, the fingerprint of the unmarked email 700 does not provide a potential marking.
[0075] Figure 8 The use of marked features 800 of an unmarked email 700 to identify an email tag 802 for the unmarked email 700 is shown. Figure 7The marked email features 800 may include a hash of a sender email address 804, a host server 806, and a URL 808. In this example, the cluster of the sender email address 804 associates the address with the category "junk". The cluster of the host server 806 associates the server identity with the category "good". The hash of the URL 808 is associated with the category "junk" based on its clustering. Therefore, the feature mark 810 indicates that one feature of the unmarked email 700 indicates a "good" mark, and two features indicate a "junk" mark. Voting techniques may be used to determine which conflicting marks are applied to the unmarked email 700. Some voting techniques allow multiple marks to be applied to an email. However, good and junk are conflicting categories that cannot all be applied to the same email. One voting technique that may be used is to remove the minority voting category. In this example, the category "good" receives the fewest votes, and it is a minority category. Removing this category leaves only votes for the junk category, and therefore, the email mark 802 applied to the unmarked email 700 may be junk.
[0076] Fig. 9 An illustrative expansion diagram 900 is shown with a "good" category label 902. This expansion diagram 900 and other expansion diagrams are representations of the reasoning logic for different entities in the system. The entities include a principle type entity, which is an email 904, and a cluster type entity, which is an email feature, such as a fingerprint 906, a sender email address 908, a URL 910, and a host server 912. The cluster type entity may include, but is not limited to Figure 4 The cluster type entities are selected to avoid including confidential information or PII. The expansion graph 900 includes two types of expansion edges: "derived edges" 914, 916 indicated by solid lines and "clustered edges" 918 to 932 indicated by dashed lines. The edges are directed, and the derived edges indicate that the labeling for the principle entity can be derived from the labeling of the cluster type entity. Figure 7 and Figure 8 An example of this is shown in , where an untagged email receives tags from tags applied to its features. In contrast, cluster edges indicate relationships in which a cluster entity can receive tags from a principle entity. This is shown in Figure 5 and Figure 6 4, where a tagged email 400 has its tags provided to multiple clusters of email features.
[0077] The edges represent the inference logic for the category label 902 ("good") specific to the extended graph 900. Thus, for the label "good", if the fingerprint 906 of the email 904 is known to be good, then the email itself can be inferred to be a good email based on the edge 914. Similarly, if the sender email address 908 is known to be good, then the email 904 can also be marked as good because the edge 916 connects these two nodes in the graph. However, just because an email includes a good URL 910 does not necessarily indicate that the email itself is good. For example, junk and bulk emails may include URLs that are identified as good. Therefore, there is no derived edge connecting the URL 910 to the email 904.
[0078] With respect to email 904 having category label 902 “good,” there are a plurality of clustering edges 918 through 924 from email 904 to fingerprint 906, sender email address 908, URL 910, and host server 912. These clustering edges 918 through 924 indicate that if email 904 is known to be good, then it can be inferred that the email’s fingerprint 906, sender email address 908, any URLs 910 included in the email, and host server 912 that sent email 904 are also good.
[0079] There may also be cluster edges between cluster type entities. In this expanded graph 900, there is a cluster edge 926 from fingerprint 906 to URL 910, a cluster edge 928 from fingerprint 906 to host server 912, a cluster edge 930 from sender email address 908 to host server 912, and a cluster edge 932 from sender email address 908 to URL 910. These cluster edges indicate the inferred relationship, i.e., if one of these features of an email is "good," then another feature may also be "good." For example, an email sent from a sender email address 908 that is known to be good (such as an email address of a friend or colleague) indicates that the host server 912 from which the email was sent and any URL 910 included in the email are also good.
[0080] In one embodiment, any or all edges in the extended graph 900 or any other extended graph can be associated with a confidence reduction ratio. The confidence reduction ratio indicates the degree of loss of confidence when the mark is extended along one of the edges of the extended graph 900. For ease of discussion and not limitation, the confidence reduction ratio can be expressed as a value between 0 and 1, wherein 0 indicates no confidence, and 1 indicates maintaining the original confidence level without reduction. In fact, a confidence level of 0 will be represented by a lack of edge. In one embodiment, the confidence reduction ratio of the derived edge (solid line) can be 1, indicating no reduction. Therefore, if 0.9 or 90% of the confidence fingerprint 906 is marked as good, the derived edge 914 does not change the confidence level and the application of the 0.9 confidence level email 904 is also good. In one embodiment, by applying a confidence reduction ratio of 0.5, the confidence reduction ratio of the cluster edge (dashed line) can reduce the confidence by half. Thus, if email 904 is marked with 100% confidence that it is a "good" email, cluster edge 924 reduces that confidence level by half and applies a confidence level of 50% to the marking of "good" on host server 912. Other confidence reduction ratios may be applied to edges other than those described above, and each edge within the extended graph may have a different confidence reduction ratio.
[0081] Thus, an expansion graph for the class label 902 of "good" such as expansion graph 900 allows the label to expand from emails to features of emails, and from features to emails and other features. The relationships that can be inferred are represented by the edges, and the confidence in that inference is represented by the confidence reduction ratio applied to the edges.
[0082] Fig.10An illustrative expanded graph 1000 for a "bulk" category tag 1002 is shown. For bulk email (email 1004), the expanded graph 1000 includes an edge between a fingerprint 1006 node and a URL 1008 node. Therefore, other cluster type entities do not affect the application of the "bulk" category tag 1002 to the email. Derived edge 1010 and derived edge 1012 allow email 1004 to receive tags from fingerprint 1006 or URL 1008. This indicates that if the hash of the email content is the same as the hash of other emails marked as bulk emails, then the unmarked email is likely to be a bulk email. Similarly, if the inclusion of a URL in an email indicates that the email is a bulk email, then the presence of the URL in the unmarked email indicates that the unmarked email is a bulk email. Cluster edge 1014 and cluster edge 1016 represent the opposite relationship. If email 1004 is identified as a bulk email, other emails with the same fingerprint 1006 or including the same URL 1008 are likely to be bulk emails as well.
[0083] Fig.11 An expanded graph 1100 is shown applied to junk and phishing category markings 1002. Although junk and phishing are different types of unwanted emails, the same reasoning relationship between the principle entity type and the cluster entity type applies to both. The expanded graph 1100 shows the relationship between the principle entity type of email 1104 and the cluster entity types of fingerprint 1106, sender email address 1108, URL 1110, and host server 1112. Each of the fingerprint 1106, sender email address 1108, URL 1110, and host server 1112 can be a source of the "junk" or "phishing" category marking 1102 for the email 1104, as shown by the derived edges 1114 to 1120. For example, if the URL 1110 is known to be a phishing URL, then the email containing the URL may be marked as a phishing email. This expanded logic is represented as the derived edge 1118 from the URL 1110 to the email 1104.
[0084] There are also a plurality of clustering edges 1122 to 1132 in the expanded graph 1100, which indicate how the spam or phishing category marking 1102 applied to the email 1104 can affect the marking of email features and how some markings of email features can affect other features of the email features. There is no clustering edge to the host server 1112 cluster entity, because spam or phishing emails from a particular email host server do not necessarily indicate that the host server 1112 only sends spam and / or phishing emails. There are a plurality of bi-directional clustering edges 1128 to 1132, which indicate that if either of a pair of email features is identified as being associated with spam or phishing, then the other feature can share the same marking. For example, if the URL 1110 is identified as being found in spam emails, then the sender email address 1108 that sent the URL 1110 can have the "spam" marking extended to them along the edge 1132.
[0085] Fig.12 An expanded graph 1200 for a "malware" category label 1202 is shown. The expanded graph 1200 includes a fingerprint 1206 of an email 1204 principle entity and a cluster type entity, a sender email address 1208, a URL 1210, and a host server 1212, as in Fig. 9 and Fig.11 1204. However, the relationships indicated by the edges are different. For one, the fingerprint 1206 clustering entity is not connected to any other entity by an edge. This indicates that the hash of the email content does not in any way indicate that the email contains malware. However, if any of the sender email address 1208, URL 1210, or host server 1212 were marked as malware, then the export edges 1214 to 1218 would carry the malware tag to email 1204. The mutual relationships between email 1204 and these three cluster type entities also exist as shown by cluster edges 1220 to 1224. The bidirectional cluster edge 1226 between the category of sender email address 1208 and URL 1210 indicates that if any of the sender email address or URL included in the email is marked as malware, then the other may also receive the tag. Of course, for these and all other relationships indicated by edges in expansion graph 1200 and other expansion graphs discussed herein, the confidence level in the applied labeling can be modified based on the original confidence level for the cluster and the confidence reduction ratio of any edges traversed to expand the labeling to the new entity.
[0086] Fig.13Computer architecture 1300 is shown for an illustrative computing device 1302. Computing device 1302 may represent one or more physical or logical computing devices located in a single location or distributed across multiple physical locations. For example, computing device 1302 may represent Figures 1A to 1E An email server 112 and / or email gateway 110 are shown. However, some or all of the components of computing device 1302 may be located on a separate device, such as a personal computer, desktop computer, notebook computer, etc. Computer architecture 1300 is capable of implementing any of the techniques or methods discussed in this disclosure.
[0087] The computing device 1302 includes one or more processing units 1304, one or more memory units 1306, and input / output devices 1308. Fig.13 Connections are not shown between the various components illustrated, but the components may be electrically connected to interact and perform device functions. In some configurations, the components are arranged to communicate via one or more buses, which may include one or more of the following: a system bus, a data bus, an address bus, a PCI bus, a mini-PCI bus, and any kind of local, peripheral and / or independent bus.
[0088] Processing unit(s) 1304 may represent, for example, a central processing unit (CPU) type processing unit, a graphics processing unit (GPU) type processing unit, a field programmable gate array (FPGA), another type of digital signal processor (DSP), or other hardware logic components that may be driven by a CPU in some cases. For example, but not limited to, illustrative types of hardware logic components that may be used include: application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.
[0089] The memory unit(s) 1306 may include internal storage, removable storage, local storage, and / or remote storage to provide storage for computer-readable instructions, data structures, program modules, and other data. The memory unit(s) 1306 may be implemented as a computer-readable medium. Computer-readable media include at least two types of media: computer-readable storage media and communication media. Computer-readable storage media include volatile and non-volatile media and removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer-readable storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other storage technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information for access by a computing device.
[0090] In contrast, communication media may embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism. As defined herein, computer readable storage media and communication media are mutually exclusive.
[0091] The computer-readable medium may also store instructions executable by an external processing unit (such as an external CPU, an external GPU) and / or executable by an external accelerator (such as an FPGA-type accelerator, a DSP-type accelerator, or any other internal or external accelerator). In various examples, at least one CPU, GPU, and / or accelerator is incorporated into the computing device, while in some examples, one or more of the CPU, GPU, and / or accelerator is external to the computing device.
[0092] In one embodiment, the memory unit(s) 1306 may include one or more data repositories. In some examples, the data repository includes a data storage device, such as a database, a data warehouse, or other type of structured or unstructured data repository. In some examples, for example, the data repository includes a corpus and / or a relational database having one or more tables, indexes, stored procedures, to enable data access including one or more of the following: Hypertext Markup Language (HTML) tables, Resource Description Framework (RDF) tables, Web Ontology Language (OWL) tables, and / or Extensible Markup Language (XML) tables.
[0093] Input / output devices 1308 may include devices such as a keyboard, pointing device, touch screen, microphone, camera, display, speaker, printer, and one or more interface components such as a data I / O interface component ("data I / O").
[0094] The computing device 1302 includes a plurality of modules, which may be implemented as instructions stored in (multiple) memory units 1306 for execution by (multiple) processing units 1304 and / or implemented in whole or in part by one or more hardware logic components or firmware. The number of modules illustrated is merely an example, and in any particular implementation, the number may be higher or lower. That is, the functionality described herein and associated with the illustrated modules may be performed by a smaller number of modules or a larger number of modules on one device or spread across multiple devices.
[0095] The marking module 1310 assigns communication category tags to unmarked entities, such as principle entities that can be emails or clustered entities that can be email features. The communication category tag can be one of good, junk, phishing, bulk, malware, or another tag. External information sources (such as one or more white lists 1312, one or more black lists 1314, and manual tags 1316) can be used by the marking module 1310 to mark unmarked entities. These information sources provide "seed" tags, which are used to form clusters, which are in turn used to assign communication category tags to previously unmarked entities. (Multiple) white lists 1312 may include a list of email features that are known or considered to be associated with good emails. For example, (multiple) white lists 1312 may include a list of email addresses or IP addresses that are considered to be non-junk. White lists can be created by users as lists of senders from whom they wish to receive emails, such as by affirmatively opting in. In one embodiment, the inclusion of an email feature on a whitelist overrides any blacklist or other filter and allows emails from senders on the whitelist(s) 1312 to be delivered to an email inbox rather than being blocked or placed in a junk folder. For example, email addresses of other users in the same company as the recipient may be included in the whitelist(s) 1312.
[0096] Blacklist(s) 1314 include lists of email characteristics that are known or believed to be associated with unwanted communications, such as spam or phishing communications. A Domain Name System (DNS)-based blacklist, or DNSBL, is one type of blacklist 1314 that can be used for heuristic filtering and blocking. A third-party website can publish lists (usually lists of IP addresses) via DNS in such a way that email servers can be easily set to reject emails from those sources. There are multiple DNSBLs, each reflecting a different policy: some list sites that are known to send out spam, others list open mail relays or proxies, and others list ISPs that are known to support spam.
[0097] Manual marking 1316 may be provided by the recipient of the email. Receiving manual markings from the recipient maintains the privacy and confidentiality of the email content, since only the recipient himself can evaluate the email. The information obtained from manual marking 1316 may be no more detailed than the classification scheme implemented by the marking module 1310. For example, manual marking 1316 may simply indicate whether a given email is a good email. If it is indicated as a good email, then this would be interpreted as a strong indication that the email is not junk or another type of unwanted communication. If the email is marked as a bad email, then this can be used along with other information to identify that one or more features of the email are associated with a specific type of unwanted communication, such as junk, bulk email, phishing, or malware.
[0098] The marking module 1310 may also use one or more expansion graphs 1318 to assign communication category labels to unmarked communications based on characteristics of the unmarked communications. The expansion graph(s) 1318 may be Figures 9 to 12 One or more expanded graphs as shown. Each expanded graph is associated with a communication category label and contains several entities connected to each other by directed edges. These entities may include principle entities (such as emails or other messages) and one or more cluster type entities (such as sender's email address, IP address of email host server, timestamp, etc.). The characteristic entities in (multiple) expanded graphs 1318 can be selected so that they do not include PII.
[0099] The marking module 1310 can use information about a feature entity in the feature entities and the relationship represented by (multiple) extension graphs 1318 to assign a communication category label to an unmarked communication, the feature entity being provided from one or more whitelists 1312, one or more blacklists 1314, manual labeling 1316, or another source.
[0100] The expansion module 1320 can function to "expand" the communication category tag to a second feature of the untagged communication based on the (multiple) expansion graphs 1318. To review, the communication itself (such as an email) can have a category tag and individual features of the communication (such as a hash of the email content) or the identity of an embedded URL can also have a category tag. These category tags are not necessarily the same. However, if the marking module 1310 has already applied the communication category tag to the communication, then in some embodiments, the expansion module 1320 can apply the same communication category tag to other features of the communication, as indicated by the directed edges and nodes in the (multiple) expansion graphs 1318.
[0101] Confidence module 1322 assigns probability to communication category mark based on (multiple) expansion graph 1318. As discussed above, one or more edges in (multiple) expansion graph 1318 can be associated with confidence reduction ratio. Therefore, the confidence in the initial source of the communication category mark and the confidence reduction ratio of any edge traversed in order to assign the confidence category mark to the second feature of (multiple) expansion graph 1318 can be used to identify the probability that the communication category mark assigned to the feature of unmarked communication is correct. Different marking sources may have different starting confidence levels. For example, the confidence level of the mark derived from manual marking 1316 can be assigned a high confidence level of, for example, 0.9. However, the mark derived from a single blacklist 1314 can be assigned a lower confidence level such as, for example, 0.4. Therefore, the combination of the confidence reduction ratio of the initial confidence level of the marking source and the confidence reduction ratio of the edge traversed in order to apply the mark to the second feature of the communication, i.e., different features, of (multiple) expansion graph 1318 can be considered by confidence module 1322.
[0102] The voting module 1324 can be used to apply a set of voting rules to resolve conflicts between multiple communication category tags that may potentially be assigned to unmarked communications. Different information sources can provide different communication category tags that can be applied to communications (such as emails). Ultimately, it may be desirable to identify a single communication category tag, such as junk, malware, or good, to apply to unmarked communications. However, since different features of unmarked communications may each have a separate and different communication category tag, there may be different conflicting signals about which tag is correct for the unmarked communication. For example, a sender email address may have the tag "good", but a hash of a URL included in the email may be associated with the tag bulk email. Therefore, two different features of unmarked communications indicate two different communication category tags that can be assigned.
[0103] Voting can reduce instances of false positives because the impact of a single communication category tag (such as spam) can be reduced by other communication category tags. Voting module 1324 can identify a single communication category tag with the highest confidence that it is correct for untagged communications. The confidence level can be provided in part by confidence module 1322. Voting can include increasing the confidence of a communication category tag based on the number of different sources supporting the same tag. Conversely, if a given entity (such as a host server) is associated with conflicting information, this will reduce the confidence of any communication category tag applied to that entity.
[0104] One voting rule may be to remove both communication category tags if there is a conflict. In this embodiment, conflicting communication category tags will cancel each other out. A variation of this rule may be to keep the communication category tag associated with the highest confidence level and discard one or more other communication category tags associated with lower confidence levels. The voting module 1324 may also implement the following rule: allow multiple communication category tags to be applied to the same communication. For example, some communication category tags may be identified as not conflicting with each other, such as malware and phishing. Therefore, there may be communications (such as emails) or feature entities (such as IP addresses) that are assigned to two or more different tags at the same time.
[0105] Some other aspects of the voting rules may include not considering a potential communication category tag if the confidence of the tag is below a threshold level and / or if the number of sources pointing to a given tag is less than a threshold number. The above-mentioned disregard may include ignoring those communication category tags or giving them a smaller weight to determine the communication category tag that will eventually be assigned. The voting rules may also allow tags from some sources to overwrite tags from other sources. For example, the communication category tag provided by the manual tag 1316 may be allowed to overwrite and replace the communication category tag provided by other sources (such as (multiple) whitelists 1312 or (multiple) blacklists 1314). Additionally, newer sources may be allowed to overwrite older sources.
[0106] The various sources of communication classification markings provide information at different times. As circumstances change, older information may not be as reliable as newer information. For example, a host server previously used to send spam may have improved control over its users and eliminated accounts of spammers. As a result, older markings indicating that the host server was the source of spam are no longer accurate. The dates on which the communication classification markings were provided may be recorded and compared by voting module 1324.
[0107] Another voting technique that can be implemented by voting module 1324 is to remove minority votes. If there are two or more different communication category labels that could potentially be applied to an entity, the label with the least number of votes can be removed from consideration. If there are only two communication category labels identified for an entity, then minority voting will simply remove the communication category label with the least number of votes. However, if there are many signals indicating that three or more different communication category labels may be correct for the entity, then voting module 1324 can remove the one label with the least votes and continue to apply other voting rules to the remaining communication category labels.
[0108] Synthetic key module 1326 can combine two or more entity types to create a single key for clustering. The "key" for clustering is an entity type, which can be assigned a communication category tag, such as good, junk, bulk, phishing, malware, etc. As mentioned above, entity types can be principle entities and cluster entities, and the principle entity is the communication itself, such as email, and the cluster entity represents the characteristics of the principle entity (such as the sender email address, the URL included in the email, etc.). Therefore, usually the characteristics of the email (such as the hash of the email content) can be used as the key for forming a cluster. All emails associated with the same hash of the content (meaning that the content is the same or very similar) can be placed in the same cluster. Finally, the cluster can be assigned a communication category tag, and the tag can be applied to all entities in the cluster.
[0109] However, some types of keys may cause false positives and return incorrect tags. One way to reduce false positives is to make the key more specific by combining multiple features into a single key - a synthetic key. For example, the sender's IP address and the AuthInfo code for the sending domain can be combined to form a synthetic key. The AuthInfo code is an alphanumeric security code that exists for most top-level domains and is only known to the domain owner or administrative contact. Therefore, instead of clustering based only on the sender's IP address, the IP address and a single AuthInfo code are used as keys for the cluster. This may be appropriate if some emails from an IP address are good and other emails are junk, and additionally creating more detailed clusters based on the AuthInfo code effectively divides good emails and junk emails into different clusters. Synthetic keys can be used in this way to avoid grouping emails with different communication category tags in the same cluster.
[0110] The synthetic key module 1326 can create synthetic keys and new clusters in response to evaluations of existing clusters performed by other modules, such as the confidence module 1322 or the voting module 1324. For example, if the confidence module 1322 identifies a cluster or a specific entity in a cluster with a confidence level below a threshold level, this can trigger the synthetic key module 1326 to identify a synthetic key that can be used to create a cluster with a higher confidence level. Similarly, if the voting module 1324 identifies a cluster or entity with a label that remains ambiguous even after applying the voting rules, this can indicate that two or more keys should be combined to create a synthetic key and generate a new cluster.
[0111] The email classifier 114 introduced in FIG. 1 uses an MLM 116 developed from a training data set 118. The training data set 118 can be developed on a computing device 1302 that is separate from the computing devices in the email system (such as the email gateway 110 and the email server 112). The training data set 118 is created by applying tags to untagged communications by a tagging module 1310 without access to confidential information or PII. The email classifier 114 can be implemented as any type of classifier, such as a linear classifier, a support vector machine, a k-nearest neighbor, a decision tree, a neural network, etc. The email classifier 114 classifies emails (such as the email 104 shown in FIG. 1) into one or more of several predetermined categories, such as good, junk, bulk, phishing, or malware.
[0112] The email classifier 114 uses the MLM 116 to identify the classification. The MLM 116 (e.g., a neural network or a naive Bayes classifier) is trained on the training data set 118 using a supervised learning method (e.g., boosted decision tree, gradient descent, stochastic gradient descent). In some embodiments, the training data set 118 includes pairs of input vectors and corresponding answer vectors or scalars, which are typically represented as targets (e.g., one of the communication classification labels). The current model is run with the training data set 118 and produces results for each input vector in the training data set 118, which are then compared to the targets. Based on the results of the comparison and the specific learning technique used, the parameters of the MLM are adjusted. MLM adaptation may include variable selection and parameter estimation.
[0113] The email classifier 114 can automatically extract features from incoming email messages and input those feature values into the MLM 116. The MLM 116 then outputs a classification that can be used by the email system to process or route the email according to its tag. For example, the email can be rejected based on the assigned tag, or the email can be routed to a specific email folder. Each email classified by the email classifier 114 can provide additional information for the tagging module 1310 to add to the training data set 118. This creates feedback, where each email classified by the email classifier 114 can contribute to improving the training data set 118. Incorporating this type of feedback into the training data set 118 provides an opportunity to react to the evolving behaviors and techniques of malicious entities that send spam and other types of unwanted communications.
[0114] As the training data set 118 is improved by additional labeled examples, it can be used to train a new MLM 116, which can form a new model based on the additional examples in the training data set 118. Additionally, other labeled examples of emails can be obtained, such as from manual labeling 1316 and updated whitelists 1312 or blacklists 1314. The labeled examples included in the training data set 118 can be retained so that the capacity of the training data set 118 continues to increase. In some embodiments, some labeled examples can be removed from the training data set 118 after a period of time. For example, if a particular URL has not been associated with a phishing email within 30 days, then the labeled examples that associate the email with phishing can be removed from the training data set 118. The time period during which a particular cluster is "forgotten" or omitted from the current version of the training data set 118 may vary based on the entities represented by the cluster. Therefore, the MLM 116 can be replaced with a new MLM 116 periodically. In some implementations, the training data set 118 may be finalized periodically at intervals, such as every day or every four days. Once finalized, a new MLM 116 is trained and used by the email classifier 114.
[0115] Fig.14 An illustrative process 1400 for marking unmarked emails for inclusion in a training data set is shown. In one embodiment, the process 1400 may be performed by Fig.13 Computing device 1302 is shown implemented.
[0116] At 1402, an unlabeled email is received. An unlabeled email may be an email included in an enterprise email system where confidentiality of the email content must be maintained and analysis of the email must be performed without the use of PII.
[0117] At 1404, a first feature of the unmarked email that does not include personally identifiable information is identified. The first feature can be any of the email features discussed above, such as a sender email address, a sender email host server, a timestamp, a character encoding, a URL included in the email, a hash of at least a portion of the email body, and the like.
[0118] At 1406, a second feature of the unmarked email that also does not include PII is identified. The second feature of the unmarked email is different from the first feature of the unmarked email. Thus, at least two features of the unmarked email are identified.
[0119] At 1408, a first labeled cluster including an email category label and seed data is received. For example, the first labeled cluster may be Figure 7 One of clusters 702 to 708 shown. The email category label applied to the first labeled cluster can be any of the labels discussed above, such as good, junk, phishing, bulk, or malware. As discussed above, seed data is a feature with a label that is used to start cluster formation. The seed data can come from previously labeled emails, blacklists, whitelists, communication graphs, or other sources. A communication graph is a record of interactions between different email addresses, which indicates the number and nature of back and forth communications. A strong connection, which can be represented by multiple edges in a communication graph, can indicate that the two email addresses are good senders to each other and that emails from one address to the other should be marked as good emails.
[0120] At 1410, a second marked cluster including a second email category tag and second seed data is received. The second marked cluster can be similar to the first marked cluster, but is associated with a different email category tag.
[0121] At 1412, it is determined which email category tag has the highest probability of being correct for the unmarked email. The probability can be based on the confidence level of the initial seed data and any confidence reduction ratio of the edges in the expansion graph, which is used to expand the email category tags from the cluster to the unmarked email. The determination can also be made by applying a set of voting rules. As mentioned above, the voting rules can include removing both conflicting email category tags, retaining the email category tag associated with the highest confidence level, determining that two different email category tags do not conflict and retaining both email category tags, or retaining the email category tag associated with the most recent seed data.
[0122] If it is determined that the first email category tag has the highest probability of being correct, process 1400 proceeds along the "first" path to 1414. If it is determined that the second email category tag has the highest probability of being correct, process 1400 proceeds along the "second" path to 1416. In some embodiments, the first email category tag may be selected by Fig.13 The confidence module 1322 and / or voting module 1324 are shown to make the determination made in 1412.
[0123] At 1414, a first email category tag is assigned to the unmarked email based on the first feature and the first marked cluster. For example, the first email category tag can be assigned to the unmarked email because the first marked feature belongs to the first marked cluster. The assignment can include a confidence level indicating the likelihood that the first email category tag is an accurate tag for the first marked cluster.
[0124] Once the first email category tag is applied to the unmarked email, the email category tag may also be applied to the features of the unmarked email, and those features may be added to the marked clusters, as represented by process 1400 proceeding from 1414 back to 1408. Thus, marking the unmarked email provides additional information that may be applied to the features of the unmarked email and added to the clusters to provide more data in the clusters. The marking module 1310 may assign the email category tag to the unmarked email.
[0125] At 1416, if this is the path to follow from the decision point at 1412, a second email category tag is assigned to the unmarked email based on the second feature in the second marked cluster. As with 1414, assigning email category tags to unmarked emails can provide feedback that may contribute to the clustering at 1410. Thus, marking unmarked emails can additionally provide marked email features that are added to existing clusters. The marking module 1310 can assign email category tags to unmarked emails.
[0126] At 1414 or 1416, marking the unmarked email creates a marked email. The mark can be associated with the email based on characteristics of the email that do not contain PII. Thus, process 1400 provides a technique for marking emails without directly inspecting the email content.
[0127] At 1418, the labeled emails are included in a training dataset. This can be the training dataset 118 introduced in FIG. 1. The training dataset can include a large number of emails and associated email category labels. Thus, process 1400 can be repeated hundreds or thousands of times to generate a training dataset with a large number of labeled examples.
[0128] At 1420, an MLM is trained using the training data set. This may be the MLM 116 introduced in FIG. 1 .
[0129] At 1422, the received email is classified using MLM. The received email is an email that has entered an email system that uses MLM to classify email. For example, the email may be email 104 shown in FIG. 1. Classification may be performed by email classifier 114.
[0130] Fig.15 An illustrative process 1500 for assigning tags to messages using an expansion graph and creating a training data set is shown. In one embodiment, process 1500 may be performed by Fig.13 Computing device 1302 is shown implemented.
[0131] At 1502, a first expanded graph of relationships between a message node and a plurality of feature nodes may be accessed. The expanded graph may be Figures 9 to 12 The expanded diagram shown or Fig.13 Any of the (multiple) expanded graphs 1318 shown. The feature nodes correspond to features of the message that do not include PII. For example, the feature nodes can be a message hash node ("fingerprint"), a message sender (email address) node, a URL node, and a sender host node. In one embodiment, the expanded graph can include at least two feature nodes. The first expanded graph is associated with a category label, such as a good message, a spam message, a phishing message, a bulk message, or a malware message.
[0132] At 1504, a first feature is extracted from the unlabeled message. The first feature may be any feature that does not include PII and is associated with the message, such as Figure 4 One of the email features 402 is shown.
[0133] At 1506, the first feature is associated with a node in the first extended graph. For example, if the first feature is the sender's email address, then the feature is associated with a node in the expression graph for the sender's email address, such as Fig. 9 , Fig.11 and Fig.12 Nodes 908, 1108 and 1208) are shown.
[0134] At 1508, the unlabeled message is assigned a category label associated with the first extended graph based on a directed edge connecting the feature node to the message node. This type of directed edge was previously referred to as a clustering edge and is Figures 9 to 12 . A directed edge may be associated with a probability, such as a confidence reduction ratio, and the assignment of a category label to an unlabeled message may be based on the probability. For example, an unlabeled message may be assigned a 70% probability of being junk. This may be performed in part by the expansion module 1320.
[0135] Steps 1510 to 1516 represent a second path for assigning a second category label to a message based on a second expansion graph different from the first expansion graph and a second feature extracted from the unlabeled message. Thus, different features of the unlabeled message may be associated with different nodes in different expansion graphs and result in the assignment of different category labels to the same unlabeled message. For example, an email sender address may indicate that the unlabeled message is spam, while a hash of the email content indicates that it is a bulk email.
[0136] At 1518, it is determined whether the first category label assigned at 1508 and the second category label assigned at 1516 conflict. Recall that some category labels do not necessarily conflict, such as spam and bulk email. If the two different category labels do not conflict, then process 1500 proceeds to 1520 along the "no" path.
[0137] At 1520 , category tags are both assigned to the untagged message, creating a tagged message. This step may be performed by the tagging module 1310 in the computing device 1302 .
[0138] However, if the category tags are determined to be conflicting, then process 1500 proceeds along the "yes" path to 1522. At 1522, a set of voting rules are applied to resolve the conflict between the first category tag and the second category tag. The set of voting rules specifies the priority between the conflicting category tags. Any number of different voting rules can be used, such as giving priority to the category tags with the highest confidence level, giving priority to category tags based on the latest data, selecting the category tags with the largest number of different sources supporting the tag, rejecting category tags supported by conflicting information, giving priority to category tags based on the source of the tag (e.g., human-verified category tags are given priority over machine-assigned tags), etc. The voting rules can be implemented by voting module 1324. The category tag ultimately selected after applying a set of voting rules can be assigned to the untagged communication by tagging module 1310.
[0139] At 1524, a training data set including the labeled communications is created. This may be the training data set 118. The training data set may include a large number of labeled communications, not just the single communication. Thus, process 1500 may be repeated many times to generate a training data set having many labeled communications therein.
[0140] At 1526, an MLM is generated. This can be any type of MLM generated from a training data set by supervised learning, such as FIG. Fig.13 MLM 116 shown.
[0141] At 1528, the new message is classified using MLM. This is different from marking unmarked messages for inclusion in the training data set. Classification using MLM is an operation performed by the email system that processes the new message differently based on its classification. For example, the new message may be email 104 shown in FIG. 1, and the processing may include routing email 104 to a specific folder (such as one of folders 122 to 130 shown in FIG. 1), or placing email 104 in trash 132.
[0142] Illustrative Embodiments
[0143] The following clauses describe a number of possible embodiments for implementing the features described in this disclosure. The various embodiments described herein are not restrictive, nor are every feature from any given embodiment required to be present in another embodiment. Unless the context clearly indicates otherwise, any two or more embodiments may be combined together. As used herein, in this document, "or" means and / or. For example, "A or B" means A without B, B without A, or A and B. As used herein, "comprising" means including all listed features, and potentially including the addition of other features not listed. "Substantially consisting of..." means including the listed features and those additional features that do not substantially affect the basic and novel characteristics of the listed features. "Consisting of..." means only the listed features, and excludes any features not listed.
[0144] Clause 1. A method of marking an email, the method comprising:
[0145] Receive unmarked emails;
[0146] Identify characteristics of untagged emails that do not include personally identifiable information (PII);
[0147] receiving a labeled cluster including an email category label and seed data;
[0148] assigning email category tags to untagged emails based on the features and the tagged clusters, thereby creating tagged emails;
[0149] Include labeled emails in the training dataset;
[0150] Training a machine learning model using the training dataset to classify emails; and
[0151] Use machine learning models to classify incoming emails.
[0152] Clause 2. The method of clause 1, wherein the feature comprises: a sender email address, a sender email host server, a timestamp, a universal resource locator (URL) included in the email, or a hash of at least a portion of the body of an unsigned email.
[0153] Clause 3. A method according to clause 1, wherein the email category tag is good email, junk email, phishing email, bulk email, or malware email, and the method further comprises: moving the received email to a folder or deleting the received email based on the email category tag.
[0154] Clause 4. A method according to clause 1, 2 or 3, wherein the seed data comprises: previously marked emails, blacklists, whitelists, or communication graphs.
[0155] Clause 5. The method of clause 1, 2, 3 or 4, wherein assigning email category tags is based on features belonging to the labeled clusters.
[0156] Clause 6. The method of clause 5, wherein there is a confidence level representing the likelihood that the email category label is an accurate label for the labeled cluster.
[0157] Clause 7. The method according to any one of clauses 1 to 6, further comprising:
[0158] a second characteristic identifying the untagged email as not including personally identifiable information (PII);
[0159] receiving a second labeled cluster including a second email category label and second seed data;
[0160] assigning a second email category label to the unlabeled email based on the second feature and the second labeled cluster; and
[0161] The email category tag is determined to have a higher probability of being correct than a second email category tag by applying a set of voting rules.
[0162] Clause 8. A method according to clause 7, wherein the set of voting rules includes one or more rules for: removing both conflicting email category tags, retaining the email category tag associated with the highest confidence level, determining that two different email category tags are not conflicting and retaining both email category tags, or retaining the email category tag associated with the most recent seed data.
[0163] Clause 9. A computer-readable medium comprising instructions that, when executed, cause a computing device to perform the method of any of clauses 1 to 8.
[0164] Clause 10. A system comprising one or more processing units and one or more memory units, the one or more memory units comprising instructions that, when executed by the one or more processing units, implement the method of any of clauses 1 to 8.
[0165] Clause 11. A system comprising:
[0166] one or more processing units;
[0167] one or more memory units coupled to the one or more processing units;
[0168] an expansion graph stored in one or more memory units, the expansion graph being associated with the communication category label and comprising feature entities connected to the cluster entities by directed edges, the feature entities representing features of the communication other than personally identifiable information (PII); and
[0169] A marking module, stored in one or more memory units, assigns a communication category label to the unmarked communication based on the first characteristic of the unmarked communication and the expansion graph, thereby creating a marked communication.
[0170] Clause 12. The system of clause 11, wherein the communication category tag is good, junk, phishing, bulk, or malware, and further comprising: processing the marked communication by storing the marked communication or deleting the marked communication based on the communication category tag.
[0171] Clause 13. The system of clause 11 or 12, further comprising an expansion module stored in one or more memory units, the expansion module configured to assign a communication class label to a second feature of the unlabeled communication based on the expansion graph.
[0172] Clause 14. The system of clause 11, 12 or 13, further comprising a confidence module stored in one or more memory units, the confidence module configured to assign probabilities to communication class labels based on the expansion graph.
[0173] Clause 15. A system according to clauses 11, 12, 13 or 14, further comprising a voting module stored in one or more memory units, the voting module being configured to apply a set of voting rules to resolve conflicts between a communication category label assigned to unmarked communications based on a first feature and a second communication category label also assigned to unmarked communications based on a second feature.
[0174] Clause 16. The system of any of clauses 11 to 15, further comprising a composite key module stored in one or more memory units, the composite key module configured to generate a cluster based on two or more characteristics.
[0175] Clause 17. A system according to any one of clauses 11 to 16, wherein the system comprises an email gateway.
[0176] Clause 18. The system of any one of clauses 11 to 16, wherein the system comprises an email server.
[0177] Clause 19. A method comprising:
[0178] accessing an expanded graph of relationships between a message node and a plurality of feature nodes, the plurality of feature nodes corresponding to features that do not include personally identifiable information (PII), the expanded graph being associated with a first category tag;
[0179] Extract features from unlabeled messages;
[0180] Associating the feature with a feature node among a plurality of feature nodes in the extended graph;
[0181] assigning a first category label to the unlabeled message based on a directed edge from the feature node to the message node in the expanded graph, thereby creating a labeled message;
[0182] Creating a training dataset including labeled messages;
[0183] Generate machine learning models through supervised learning using training datasets; and
[0184] Use machine learning models to classify new messages.
[0185] Clause 20. A method according to Clause 19, wherein the category tags include one or more of the following: good messages, spam messages, phishing messages, bulk messages, or malware messages, and the method further includes: processing new messages according to the first category tag, the processing including storage, isolation, or deletion.
[0186] Clause 21. The method of clause 19 or 20, wherein the plurality of feature nodes comprises at least two of: a message hash node, a message sender node, a URL node, or a sender host node.
[0187] Clause 22. The method of clause 19, 20 or 21, wherein the directed edges are associated with probabilities and the assignment of class labels is based on the probabilities.
[0188] Clause 23. The method of any of Clauses 19 to 22, further comprising: assigning a second category label to the unlabeled message based on the second expansion graph and a second characteristic of the unlabeled message.
[0189] Clause 24. The method of clause 23, further comprising resolving conflicts between first category tags and second category tags based on a set of voting rules that specify priorities between conflicting category tags.
[0190] Clause 25. A computer-readable medium comprising instructions that, when executed, cause a computing device to perform the method of any of clauses 19 to 24.
[0191] Clause 26. A system comprising one or more processing units and one or more memory units, the one or more memory units comprising instructions that, when executed by the one or more processing units, implement the method of any of clauses 19 to 24.
[0192] in conclusion
[0193] For ease of understanding, the processes discussed in the present disclosure are delineated into separate operations represented as independent boxes. However, these separately delineated operations should not be interpreted as necessarily being order-dependent in their performance. The order in which the processes are described is not intended to be understood as limiting, and any number of the described process boxes may be combined in any order to implement the process or an alternative process. Moreover, one or more of the operations provided may also be modified or omitted.
[0194] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts are disclosed as example forms of implementing the claims.
[0195] The terms "a," "an," "the," and similar referents used in the context of describing the invention (especially in the context of the following claims) should be construed to cover both the singular and the plural, unless otherwise indicated herein or clearly contradicted by context. The terms "based on," "based upon," and similar referents should be construed to mean "based at least in part on," including "based in part on," and "based entirely on," unless otherwise indicated herein or clearly contradicted by context.
[0196] Certain embodiments are described herein, including the best mode known to the inventor for carrying out the invention. Of course, upon reading the foregoing description, variations of these described embodiments will become apparent to those of ordinary skill in the art. The skilled person will know how to appropriately adopt such variations, and the embodiments disclosed herein may be practiced in a manner different from that specifically described. Therefore, all modifications and equivalents of the subject matter recited in the appended claims are included within the scope of this disclosure. Moreover, unless otherwise indicated herein or clearly contradictory to the context, the present invention encompasses any combination of the above elements in all possible variations thereof.
Claims
1. A system for marking communications, comprising: one or more processing units; one or more memory units coupled to the one or more processing units; as well as An extended map, stored in the one or more memory units, comprising: a principle type entity, wherein the principle type entity is an unlabeled communication; a first cluster type entity, the first cluster type entity representing a first characteristic other than personally identifiable information (PII) in the untagged communication, and wherein the first cluster type entity is marked with a first communication category mark; a second cluster type entity, the second cluster type entity representing a second feature other than PII in the untagged communication, wherein the second cluster type entity is PII, wherein the second cluster type entity is marked with a second communication category mark; A third cluster type entity, wherein the third cluster type entity represents a third feature other than PII in the unlabeled communication: a first directed derived edge, the first directed derived edge being from the first clustering entity to the principle type entity; a second directed derived edge, the second directed derived edge being from the second clustering entity to the principle type entity; a directed cluster edge from the principle type entity to the third cluster type entity; and A marking module is stored in the one or more memory units, and the marking module is configured to: assigning the first communication category label from the first clustering type entity to the unlabeled communication based on the first directed derived edge from the first clustering entity to the principle type entity, and assigning the second communication category label from the second clustering type entity to the unlabeled communication based on the second directed derived edge from the second clustering entity to the principle type entity, thereby creating a labeled communication; and At least one of the first communication classification label or the second communication classification label is assigned from the principle type entity to the third cluster type entity based on the directed cluster edge from the principle type entity to the third cluster type entity.
2. The system according to claim 1, further comprising: The marked communication is processed by storing the marked communication or deleting the marked communication based on the first communication category marking.
3. The system according to claim 1 further includes an expansion module stored in the one or more memory units, and the expansion module is configured to: assign the first communication category label to the third cluster type entity based on one or more of the directed cluster edges in the expansion graph. 4 . The system of claim 1 , further comprising a confidence module stored in the one or more memory units, the confidence module configured to assign a probability to the first communication category label based on the expansion graph.
5. The system according to claim 1 further includes a voting module stored in the one or more memory units, and the voting module is configured to: apply a set of voting rules to resolve the conflict between the first communication category mark of the first feature and the second communication category mark of the third feature.
6. The system according to claim 1 further includes a synthetic key module stored in the one or more memory units, and the synthetic key module is configured to generate a cluster based on two or more features of the first feature, the second feature or the third feature.
7. The system of claim 1, wherein the second cluster type entity comprises other unlabeled communications clustered together based on the second feature.
8. The system according to claim 1 further includes a voting module, which is stored in the one or more memory units and is configured to select a single label for the second cluster type entity based on voting, wherein the voting includes the first communication category label assigned from the principle type entity and at least two other communication category labels assigned from different principle type entities.
9. The system of claim 1, wherein the extended graph further comprises: a fourth cluster type entity, wherein the fourth cluster type entity represents a fourth feature other than PII in the unlabeled communication; a directed cluster edge from the principle type entity to the fourth cluster type entity; a directed cluster edge from the first cluster type entity to the fourth cluster type entity; and A directed cluster edge from the second cluster type entity to the fourth cluster type entity.
10. The system of claim 1, wherein the extended graph further comprises: a directed cluster edge from the principle type entity to the first cluster type entity; a directed cluster edge from the principle type entity to the second cluster type entity; as well as A directed cluster edge from the first cluster type entity to the third cluster type entity.
11. A method for marking a message, comprising: accessing an expanded graph representing a relationship between a message node of an untagged message and a plurality of characteristic nodes, wherein the expanded graph is specific to communication category tagging, and wherein the plurality of characteristic nodes include at least two of: a message hash node, a message sender node, a URL node, or a sender host node; extracting features from the unlabeled message; Associating the feature with one of the plurality of feature nodes in the extended graph, wherein one of the plurality of feature nodes has a first category label; assigning the first category label to the unlabeled message based on a directed derived edge in the expanded graph from the feature node to the message node, thereby creating a labeled message, wherein the directed derived edge is associated with a probability and assigning the first category label is based on the probability; assigning a second category label to the unlabeled message based on a second expanded graph and a second characteristic of the unlabeled message; applying a set of voting rules to resolve conflicts between the first category labels and the second category labels; creating a training data set including the labeled messages; generating a machine learning model through supervised learning using the training dataset; as well as New messages are classified using the machine learning model.
12. The method of claim 11, wherein the expansion graph is a logic / abstraction layer that captures clustering and tag expansion logic between multiple different types of entities being clustered.
13. The method of claim 11, wherein the first category label comprises one or more of: good messages, spam messages, phishing messages, bulk messages, or malware messages, and the method further comprises: The new message is processed according to the first category label, and the processing includes storage, isolation, or deletion.
14. The method of claim 11, wherein the expanded graph comprises directed clustering edges from the message node to a second feature node, wherein the second feature node receives the first category label from the message node.
15. A computer-readable storage medium comprising instructions that, when executed, cause a computing device to: accessing an expanded graph representing relationships between a message node of an untagged message and a plurality of characteristic nodes, wherein the expanded graph is specific to a communication category tag, and wherein the plurality of characteristic nodes include at least two of: a message hash node, a message sender node, a URL node, or a sender host node; extracting features from the unlabeled message; Associating the feature with one of the plurality of feature nodes in the extended graph, wherein the one of the plurality of feature nodes has a first category label; assigning the first category label to the unlabeled message based on a directed derived edge in the expanded graph from the feature node to the message node, thereby creating a labeled message, wherein the directed derived edge is associated with a probability and assigning the first category label is based on the probability; assigning a second category label to the unlabeled message based on a second characteristic of the unlabeled message; as well as A set of voting rules is applied to resolve conflicts between the first category label and the second category label.
16. A computer-readable storage medium according to claim 15, wherein the first category tag includes one or more of the following: good messages, spam messages, phishing messages, bulk messages, or malware messages, and the instructions also cause the computing device to: process the marked messages according to the first category tag, and the processing includes storage, isolation, or deletion.
17. The computer-readable storage medium of claim 15, wherein the expanded graph includes a directed clustering edge from the message node to a second feature node, wherein the second feature node receives the first category label from the message node.
18. The computer-readable storage medium of claim 15, wherein the second feature of the unlabeled message is extracted from a second extended graph.
19. A computer-readable storage medium according to claim 15, wherein the set of voting rules includes one or more rules for: removing both the first category label and the second category label, retaining the category label associated with the highest probability, or determining that the first category label does not conflict with the second category label and retaining both.
20. The computer-readable storage medium of claim 15, wherein the instructions further cause the computing device to: creating a training data set including the labeled messages; generating a machine learning model by supervised learning using the training dataset; and New messages are classified using the machine learning model.
Citation Information
Patent Citations
Machine-learning based classification of user accounts based on email addresses and other account information
CN104054103A
Feedback loop for spam prevention
US20040177110A1
Clustering communications based on classification
US20160314182A1
System and method for in-situ classifier retraining for malware identification and model heterogeneity
US20170032279A1
Fuzzy logic voting method and system for classifying e-mail using inputs from multiple spam classifiers
US7051077B2
