# US 2021/0241162 A1 · Message objection identification and handling

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

- Number: US 2021/0241162 A1
- Document ID: US20210241162A1
- Status: Published application
- Kind: A1
- Application number: 16/777,693
- Filed: 2020-01-30
- Published: 2021-08-05
- Earliest claimed: 2020-01-30
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Narek Asadorian; Bradford Powley
- Web page: https://patentgrep.com/patent/US20210241162A1

## CPC

- G06F 16/353: into predefined classes
- G06N 20/00: Machine learning
- G06F 16/285: {Clustering or classification}
- G06N 5/04: Inference or reasoning models
- H04L 51/234: for tracking messages
- H04L 51/216: Handling conversation history, e.g. grouping of messages in sessions or threads
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The system described herein may utilize a data stream connection to detect that a new message is transmitted between users. The system may perform various pre-processing techniques on the new message to identify that the new message is an objection message candidate. The system may retrieve one or parent messages of the new message. The new message and the parent messages may be input into a model trained to classify objection messages. The model may identify that the new message is classified as an objection message based at least in part on processing the new message and the parent messages. An objection classification identifier may be stored in association with the new message based at least in part on the result of the processing by the model.

## Claims

### Claim 1

A method for data processing, comprising:
detecting, using a data stream connection, that a new message is transmitted to a first user associated with a first user identifier and by a second user associated with a second user identifier;
determining that the new message is an objection candidate based at least in part on applying one or more pre-processing rules to the new message;
accessing a parent message of the new message based at least in part on determining that the new message is the objection candidate;
processing the new message and the parent message using a machine learning model that is configured to classify objection messages;
identifying that the new message is classified as an objection message based at least in part on processing the new message and the parent message using the machine learning model; and
storing an objection classification identifier in association with the new message based at least in part on the identifying.

### Claim 2 (depends on 1)

The method of claim 1, wherein applying the one or more pre-processing rules comprises:
identifying that the second user identifier is associated with an external source.

### Claim 3 (depends on 1)

The method of claim 1, wherein applying the one or more pre-processing rules comprises:
determining whether the new message includes a string from a predefined list of strings, wherein the predefined list of strings are associated with objection messages.

### Claim 4 (depends on 1)

The method of claim 1, wherein identifying that the new message is classified as the objection message comprises:
generating, by the machine learning model, a confidence score corresponding to each of a plurality of objection message categories.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
identifying that the new message corresponds to one or more of the plurality of objection message categories based at least in part on the confidence score corresponding to each of the plurality of objection message categories.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
identifying one or more actions based at least in part on identifying that the new message is classified as the objection message.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
transmitting an indication of the one or more actions to a client system associated with the first user identifier based at least in part on identifying the one or more actions.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
performing the one or more actions based at least in part on identifying the one or more actions.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
performing the one or more actions comprises transmitting an email, generating an email for the first user identifier, identifying data, removing the second user identifier from a list of user identifiers, or a combination thereof.

### Claim 10 (depends on 1)

The method of claim 1, wherein processing the new message and the parent message using the machine learning model comprises:
featurizing the new message and the parent message in accordance with the machine learning model, wherein the new message classified as the objection message based at least in part on the featurized new message and parent message.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
generating a set of training data for the machine learning model by;
pre-processing a corpus of message data using the one or more pre-processing rules to identify a set of objection candidate messages;
accessing the parent message for each objection candidate message of the set of objection candidate messages; and
generating the set of training data including a set of objection-parent pairs comprising each objection candidate message and the corresponding parent message.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
identifying a label for each objection-parent pair of the set of objection-parent pairs, wherein the label indicates whether the objection-parent pair indicates that that the objection candidate message of the objection-parent pair corresponds to the objection message classification.

### Claim 13 (depends on 12)

The method of claim 12, wherein the label comprises a probabilistic label identified using a generative model.

### Claim 14 (depends on 1)

The method of claim 1, wherein:
identifying, from a datastore storing a plurality of message threads, a message thread associated with the first user identifier and the second user identifier, the message thread representing a plurality of messages transmitted between the first user and the second user.

### Claim 15

An apparatus for data processing, comprising:
a processor,
memory coupled with the processor; and
instructions stored in the memory and executable by the processor to cause the apparatus to:
detect, using a data stream connection, that a new message is transmitted to a first user associated with a first user identifier and by a second user associated with a second user identifier;
determine that the new message is an objection candidate based at least in part on applying one or more pre-processing rules to the new message;
access a parent message of the new message based at least in part on determining that the new message is the objection candidate;
process the new message and the parent message using a machine learning model that is configured to classify objection messages;
identify that the new message is classified as an objection message based at least in part on processing the new message and the parent message using the machine learning model; and
store an objection classification identifier in association with the new message based at least in part on the identifying.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the instructions to apply the one or more pre-processing rules are executable by the processor to cause the apparatus to:
identify that the second user identifier is associated with an external source.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the instructions to apply the one or more pre-processing rules are executable by the processor to cause the apparatus to:
determine whether the new message includes a string from a predefined list of strings, wherein the predefined list of strings are associated with objection messages.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein the instructions to identify that the new message is classified as the objection message are executable by the processor to cause the apparatus to:
generate, by the machine learning model, a confidence score corresponding to each of a plurality of objection message categories.

### Claim 19

A non-transitory computer-readable medium storing code for data processing, the code comprising instructions executable by a processor to:
detect, using a data stream connection, that a new message is transmitted to a first user associated with a first user identifier and by a second user associated with a second user identifier;
determine that the new message is an objection candidate based at least in part on applying one or more pre-processing rules to the new message;
access a parent message of the new message based at least in part on determining that the new message is the objection candidate;
process the new message and the parent message using a machine learning model that is configured to classify objection messages;
identify that the new message is classified as an objection message based at least in part on processing the new message and the parent message using the machine learning model; and
store an objection classification identifier in association with the new message based at least in part on the identifying.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the instructions to apply the one or more pre-processing rules are executable to:
determine whether the new message includes a string from a predefined list of strings, wherein the predefined list of strings are associated with objection messages.
