# US 2021/0286830 A1 · Data loss prevention system for cloud security based on document discourse analysis

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

- Number: US 2021/0286830 A1
- Document ID: US20210286830A1
- Status: Published application
- Kind: A1
- Application number: 17/338,295
- Filed: 2021-06-03
- Published: 2021-09-16
- Earliest claimed: 2017-06-15
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Boris Galitsky
- Web page: https://patentgrep.com/patent/US20210286830A1

## CPC

- G06F 16/322: {Trees}
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/36: Creation of semantic tools, e.g. ontology or thesauri
- G06F 16/93: Document management systems
- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 40/14: Tree-structured documents (parsing G06F40/205; validation G06F40/226)
- G06F 40/205: Parsing
- G06F 40/279: Recognition of textual entities
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06F 2221/2145: Inheriting rights or properties, e.g., propagation of permissions or restrictions within a hierarchy
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/046: Forward inferencing; Production systems
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems, devices, and methods of the present invention are related to determining a document classification. For example, a document classification application generates a set of discourse trees, each discourse tree corresponding to a sentence of a document and including a rhetorical relationship that relates two elementary discourse units. The document classification application creates one or more communicative discourse trees from the discourse trees by matching each elementary discourse unit in a discourse tree that has a verb to a verb signature. The document classification application combines the first communicative discourse tree and the second communicative discourse tree into a parse thicket and applies a classification model to the parse thicket in order to determine whether the document is public or private.

## Claims

### Claim 1

A method for classifying documents, the method comprising:
generating a discourse tree from a sentence of a document, wherein the discourse tree comprises elementary discourse units, comprises a rhetorical relationship that relates two of the elementary discourse units, and comprises a plurality of nodes, each nonterminal node of the nodes of the discourse tree representing one of the rhetorical relationships and each terminal node of the nodes of the discourse tree associated with one of the elementary discourse units;
creating a communicative discourse tree from the discourse tree by matching, in the discourse tree, each elementary discourse unit that has a verb to a verb signature, wherein each verb signature comprises a verb of the respective elementary discourse unit and a sequence of thematic roles, and wherein each thematic role describes a relationship between the verb and related words;
combining the communicative discourse tree into a parse thicket that comprises discourse relationships between the sentences represented by the communicative discourse tree;
applying a machine learning model to the parse thicket to determine a classification, wherein the machine learning model is trained to classify text as public or private based on discourse relationships; and
providing the classification to a user interface.

### Claim 2 (depends on 1)

The method of claim 1, wherein applying the machine learning model comprises generating a feature vector from the parse thicket and providing the feature vector to the machine learning model.

### Claim 3 (depends on 1)

The method of claim 1, wherein the machine learning model is a support vector machine (SVM) and uses tree kernel learning.

### Claim 4 (depends on 1)

The method of claim 1, wherein the document is trained using one or more rules that specify individuals with access to the document and wherein the machine learning model determines the classification based on the one or more rules.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining a set of keywords from the document;
executing a query for the document, wherein the query comprises the set of keywords; and
responsive to receiving a result of the query that indicates that the document is public, updating the classification to public.

### Claim 6 (depends on 1)

The method of claim 1, further comprising one or more of: (i) responsive to determining that the document is classified as public, permitting a transmission of the document over a data network or (ii) responsive to determining that the document is classified as private, preventing the transmission of the document over the data network.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
accessing a set of training data comprising a set of training data pairs, wherein each training data pair comprises a training parse thicket corresponding to training sentences from a training document and an expected classification and wherein the set of training data includes (i) a first training data pair that has an expected classification of private and (ii) a second training data pair that has an expected classification of public; and
training the machine learning model by iteratively:
providing one of the training data pairs to the machine learning model;
receiving, from the machine learning model, a determined classification;
calculating a loss function by calculating a difference between the determined classification and the expected classification; and
adjusting internal parameters of the machine learning model to minimize the loss function.

### Claim 8

A system comprising:
a non-transitory computer-readable medium storing computer-executable program instructions; and
a processing device communicatively coupled to the non-transitory computer-readable medium for executing the computer-executable program instructions, wherein executing the computer-executable program instructions configures the processing device to perform operations comprising:
generating a discourse tree from a sentence of a document, wherein the discourse tree comprises elementary discourse units, comprises a rhetorical relationship that relates two of the elementary discourse units, and comprises a plurality of nodes, each nonterminal node of the nodes of the discourse tree representing one of the rhetorical relationships and each terminal node of the nodes of the discourse tree associated with one of the elementary discourse units;
creating a communicative discourse tree from the discourse tree by matching, in the discourse tree, each elementary discourse unit that has a verb to a verb signature, wherein each verb signature comprises a verb of the respective elementary discourse unit and a sequence of thematic roles, and wherein each thematic role describes a relationship between the verb and related words;
combining the communicative discourse tree into a parse thicket that comprises discourse relationships between the sentences represented by the communicative discourse tree;
applying a machine learning model to the parse thicket to determine a classification, wherein the machine learning model is trained to classify text as public or private based on discourse relationships; and
providing the classification to an external device.

### Claim 9 (depends on 8)

The system of claim 8, wherein applying the machine learning model comprises generating a feature vector from the parse thicket and providing the feature vector to the machine learning model.

### Claim 10 (depends on 8)

The system of claim 8, wherein the machine learning model is a support vector machine (SVM) and uses tree kernel learning.

### Claim 11 (depends on 8)

The system of claim 8, wherein the document is trained using one or more rules that specify individuals with access to the document and wherein the machine learning model determines the classification based on the one or more rules.

### Claim 12 (depends on 8)

The system of claim 8, wherein executing the computer-executable program instructions further configures the processing device to perform operations comprising:
determining a set of keywords from the document;
executing a query for the document, wherein the query comprises the set of keywords; and
responsive to receiving a result of the query that indicates that the document is public, updating the classification to public.

### Claim 13 (depends on 8)

The system of claim 8, wherein executing the computer-executable program instructions further configures the processing device to perform operations comprising one or more of: (i) responsive to determining that the document is classified as public, permitting a transmission of the document over a data network or (ii) responsive to determining that the document is classified as private, preventing the transmission of the document over the data network.

### Claim 14 (depends on 8)

The system of claim 8, wherein executing the computer-executable program instructions further configures the processing device to perform operations comprising:
accessing a set of training data comprising a set of training data pairs, wherein each training data pair comprises a training parse thicket corresponding to training sentences from a training document and an expected classification and wherein the set of training data includes (i) a first training data pair that has an expected classification of private and (ii) a second training data pair that has an expected classification of public; and
training the machine learning model by iteratively:
providing one of the training data pairs to the machine learning model;
receiving, from the machine learning model, a determined classification;
calculating a loss function by calculating a difference between the determined classification and the expected classification; and
adjusting internal parameters of the machine learning model to minimize the loss function.

### Claim 15

A non-transitory computer-readable medium storing computer-executable program instructions that when executed by a processor, perform operations comprising:
generating a discourse tree from a sentence of a document, wherein the discourse tree comprises elementary discourse units, comprises a rhetorical relationship that relates two of the elementary discourse units, and comprises a plurality of nodes, each nonterminal node of the nodes of the discourse tree representing one of the rhetorical relationships and each terminal node of the nodes of the discourse tree associated with one of the elementary discourse units;
creating a communicative discourse tree from the discourse tree by matching, in the discourse tree, each elementary discourse unit that has a verb to a verb signature, wherein each verb signature comprises a verb of the respective elementary discourse unit and a sequence of thematic roles, and wherein each thematic role describes a relationship between the verb and related words;
combining the communicative discourse tree into a parse thicket that comprises discourse relationships between the sentences represented by the communicative discourse tree;
applying a machine learning model to the parse thicket to determine a classification, wherein the machine learning model is trained to classify text as public or private based on discourse relationships; and
providing the classification to a user interface.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the machine learning model is a support vector machine (SVM) and uses tree kernel learning.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the document is trained using one or more rules that specify individuals with access to the document and wherein the machine learning model determines the classification based on the one or more rules.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
determining a set of keywords from the document;
executing a query for the document, wherein the query comprises the set of keywords; and
responsive to receiving a result of the query that indicates that the document is public, updating the classification to public.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise one or more of: (i) responsive to determining that the document is classified as public, permitting a transmission of the document over a data network or (ii) responsive to determining that the document is classified as private, preventing the transmission of the document over the data network.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
accessing a set of training data comprising a set of training data pairs, wherein each training data pair comprises a training parse thicket corresponding to a plurality of training sentences from a training document and an expected classification and wherein the set of training data includes (i) a first training data pair that has an expected classification of private and (ii) a second training data pair that has an expected classification of public; and
training the machine learning model by iteratively:
providing one of the training data pairs to the machine learning model;
receiving, from the machine learning model, a determined classification;
calculating a loss function by calculating a difference between the determined classification and the expected classification; and
adjusting internal parameters of the machine learning model to minimize the loss function.
