# US 2022/0294751 A1 · System and method for clustering emails identified as spam

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0294751 A1
- Document ID: US20220294751A1
- Status: Published application
- Kind: A1
- Application number: 17/552,445
- Filed: 2021-12-16
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: AO Kaspersky Lab
- Applicants: AO Kaspersky Lab.
- Inventors: Yury G Slobodyanuk; Roman A. Dedenok; Dmitry S. Golubev; Nikita D. Benkovich; Alan S. Savushkin
- Web page: https://patentgrep.com/patent/US20220294751A1

## CPC

- H04L 51/212: using filtering or selective blocking
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- G06F 18/2321: using statistics or function optimisation, e.g. modelling of probability density functions
- G06F 18/24133: {Distances to prototypes}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- H04L 63/00: {Network architectures or network communication protocols for network security (cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00; network architectures or network communication protocols for wireless network security H04W12/00; security arrangements for protecting computers or computer systems against unauthorised activity G06F21/00)}
- G06N 3/048: Activation functions
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/084: Backpropagation, e.g. using gradient descent
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Disclosed herein are systems and methods for clustering email messages identified as spam using a trained classifier. In one aspect, an exemplary method comprises, selecting at least two characteristics from each received email message, for each received email message, using a classifier containing a neural network, determining whether or not the email message is a spam based on the at least two characteristics of the email message, for each email message determined as being a spam email, calculating a feature vector, the feature vector being calculated at a final hidden layer of the neural network, and generating one or more clusters of the email messages identified as spam based on similarities of the feature vectors calculated at the final hidden layer of the neural network.

## Claims

### Claim 1

A method for clustering email messages identified as spam using a trained classifier, the method comprising:
selecting at least two characteristics from each received email message;
for each received email message, using a classifier containing a neural network, determining whether or not the email message is a spam based on the at least two characteristics of the email message;
for each email message determined as being a spam email, calculating a feature vector, the feature vector being calculated at a final hidden layer of the neural network; and
generating one or more clusters of the email messages identified as spam based on similarities of the feature vectors calculated at the final hidden layer of the neural network.

### Claim 2 (depends on 1)

The method of claim 1, wherein a characteristic of the email message comprises at least one of: a value of a header of the email message, and a sequence of parts of the header of the email message.

### Claim 3 (depends on 1)

The method of claim 1, wherein the classifier is trained such that orthogonality of matrices of the neural network is preserved.

### Claim 4 (depends on 1)

The method of claim 1, wherein the orthogonality of the matrices of the neural network is preserved using a modified batch-normalization layer.

### Claim 5 (depends on 1)

The method of claim 1, wherein the orthogonality of the matrices of the neural network is preserved using a dropout layer.

### Claim 6 (depends on 1)

The method of claim 1, wherein the orthogonality of the matrices of the neural network is preserved by multiplying a dense layer by a hyper-parameter.

### Claim 7 (depends on 1)

The method of claim 1, wherein the orthogonality of the matrices of the neural network is preserved by using a hyperbolic tangent as an activation function.

### Claim 8 (depends on 1)

The method of claim 1, the orthogonality of the matrices of the neural network is preserved by having the loss function implement a constant dispersion of neurons of the neural network.

### Claim 9

A system for clustering email messages identified as spam using a trained classifier, comprising:
at least one processor configured to:
select at least two characteristics from each received email message;
for each received email message, using a classifier containing a neural network, determine whether or not the email message is a spam based on the at least two characteristics of the email message;
for each email message determined as being a spam email, calculate a feature vector, the feature vector being calculated at a final hidden layer of the neural network; and
generate one or more clusters of the email messages identified as spam based on similarities of the feature vectors calculated at the final hidden layer of the neural network.

### Claim 10 (depends on 9)

The system of claim 9, wherein a characteristic of the email message comprises at least one of: a value of a header of the email message, and a sequence of parts of the header of the email message.

### Claim 11 (depends on 9)

The system of claim 9, wherein the classifier is trained such that orthogonality of matrices of the neural network is preserved.

### Claim 12 (depends on 9)

The system of claim 9, wherein the orthogonality of the matrices of the neural network is preserved using a modified batch-normalization layer.

### Claim 13 (depends on 9)

The system of claim 9, wherein the orthogonality of the matrices of the neural network is preserved using a dropout layer.

### Claim 14 (depends on 9)

The system of claim 9, wherein the orthogonality of the matrices of the neural network is preserved by multiplying a dense layer by a hyper-parameter.

### Claim 15 (depends on 9)

The system of claim 9, wherein the orthogonality of the matrices of the neural network is preserved by using a hyperbolic tangent as an activation function.

### Claim 16 (depends on 9)

The system of claim 9, wherein the orthogonality of the matrices of the neural network is preserved by having the loss function implement a constant dispersion of neurons of the neural network.

### Claim 17

A non-transitory computer readable medium storing thereon computer executable instructions for clustering email messages identified as spam using a trained classifier, including instructions for:
selecting at least two characteristics from each received email message;
for each received email message, using a classifier containing a neural network, determining whether or not the email message is a spam based on the at least two characteristics of the email message;
for each email message determined as being a spam email, calculating a feature vector, the feature vector being calculated at a final hidden layer of the neural network; and
generating one or more clusters of the email messages identified as spam based on similarities of the feature vectors calculated at the final hidden layer of the neural network.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein a characteristic of the email message comprises at least one of: a value of a header of the email message, and a sequence of parts of the header of the email message.

### Claim 19 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the classifier is trained such that orthogonality of matrices of the neural network is preserved.

### Claim 20 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the orthogonality of the matrices of the neural network is preserved using a modified batch-normalization layer.

### Claim 21 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the orthogonality of the matrices of the neural network is preserved using a dropout layer.

### Claim 22 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the orthogonality of the matrices of the neural network is preserved by multiplying a dense layer by a hyper-parameter.

### Claim 23 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the orthogonality of the matrices of the neural network is preserved by using a hyperbolic tangent as an activation function.

### Claim 24 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the orthogonality of the matrices of the neural network is preserved by having the loss function implement a constant dispersion of neurons of the neural network.
