# US 2019/0163817 A1 · Approaches for large-scale classification and semantic text summarization

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

- Number: US 2019/0163817 A1
- Document ID: US20190163817A1
- Status: Published application
- Kind: A1
- Application number: 15/825,930
- Filed: 2017-11-29
- Published: 2019-05-30
- Earliest claimed: 2017-11-29
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Boriana Milenova; Alexander Sakharov
- Web page: https://patentgrep.com/patent/US20190163817A1

## CPC

- G06F 16/345: {Summarisation for human users}
- G06F 16/313: {Selection or weighting of terms for indexing}
- G06F 16/35: Clustering; Classification
- G06F 16/353: into predefined classes
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 5/04: Inference or reasoning models
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Approaches for large-scale classification and text summarization. In one embodiment, for example, the approach for large-scale classification includes predicting relevant classes of a new unseen case based on a classification model that is learned from a given knowledge base comprising labeled training data items. In another embodiment, for example, the approach for text summarization includes repurposing explicit semantic analysis (ESA) techniques for computing a text summary of a given text document.

## Claims

### Claim 1

A method for classification performed by a computing system comprising one or more processors and storage media, the storage media storing one or more programs executed by the one or more processors to perform the method, the method comprising:
storing a sparse matrix in storage media, the sparse matrix representing a plurality of class vectors;
obtaining a case vector representing an input case to be classified;
computing a plurality of weighted similarity measures based on the case vector and the plurality of class vectors;
predicting a particular class to which the input case belongs, based on a particular weighted similarity measure of the plurality of weighted similarity measures; and
wherein each weighted similarity measure of the plurality of weighted similarity measures is computed based on (a) a similarity measure computed between the case vector and a class vector of the plurality of class vectors, and (b) a weight applied to the similarity measure, the weight computed based on a number of attributes that are weighted by a non-zero weight value in both the case vector and the class vector.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
aggregating a plurality of training data item vectors by class;
wherein the aggregating the plurality of training data item vectors by class is based on performing the following for each class in a set of classes:
(a) identifying training data item vectors, of a plurality of training data item vectors, that belong to the each class, and
(b) aggregating weight values by attribute from the training data item vectors identified as belonging to the each class; and
storing the sparse matrix representing the plurality of class vectors based on results of the aggregating the plurality of training data item vectors by class.

### Claim 3 (depends on 2)

The method of claim 2, wherein the training set comprises the plurality of training data items; and wherein the training set labels each training data item of the plurality of training data items by one or more classes to which the each training data item belong(s).

### Claim 4 (depends on 1)

The method of claim 1, wherein each class vector of the plurality of class vectors is normalized.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
filtering an unfiltered sparse matrix to produce the sparse matrix;
wherein the filtering the unfiltered sparse matrix is based on:
(a) sorting sets of weight values of the unfiltered sparse matrix to produce sets of sorted weight values; and
(b) for each set of sorted weight values of the sets of sorted weight values, selecting weight values in the set of sorted weight values to include in the sparse matrix and selecting weight values in the set of sorted weight values to not include in the sparse matrix.

### Claim 6 (depends on 5)

The method of claim 5, wherein the selecting weight values in the set of sorted weight values to include in the sparse matrix is based on a predetermined number of weight values to retain.

### Claim 7 (depends on 5)

The method of claim 5, wherein the selecting weight values in the set of sorted weight values to not include in the sparse matrix is based on a magnitude difference between (a) a particular fall-off weight value in the set of sorted weight values and (b) a maximum weight value among a predetermined number of weight values in the set of sorted weight values, wherein the predetermined number of weight values are prior in sorted order to the particular fall-off weight value in the set of sorted weight values.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
predicting a plurality of particular classes to which the input case belongs, based on a plurality of particular weighted similarity measures of the plurality of weighted similarity measures.

### Claim 9

One or more non-transitory computer-readable media storing one or more programs for execution by one or more processors, the one or more programs comprising instructions configured for:
storing a sparse matrix in storage media, the sparse matrix representing a plurality of class vectors;
obtaining a case vector representing an input case to be classified;
computing a plurality of weighted similarity measures based on the case vector and the plurality of class vectors;
predicting a particular class to which the input case belongs, based on a particular weighted similarity measure of the plurality of weighted similarity measures; and
wherein each weighted similarity measure of the plurality of weighted similarity measures is computed based on (a) a similarity measure computed between the case vector and a class vector of the plurality of class vectors, and (b) a weight applied to the similarity measure, the weight computed based on a number of attributes that are weighted by a non-zero weight value in both the case vector and the class vector.

### Claim 10 (depends on 9)

The one or more non-transitory computer-readable media of claim 9, the instructions further configured for:
aggregating a plurality of training data item vectors by class;
wherein the aggregating the plurality of training data item vectors by class is based on performing the following for each class in a set of classes:
(a) identifying training data item vectors, of a plurality of training data item vectors, that belong to the each class, and
(b) aggregating weight values by attribute from the training data item vectors identified as belonging to the each class; and
storing the sparse matrix representing the plurality of class vectors based on results of the aggregating the plurality of training data item vectors by class.

### Claim 11 (depends on 10)

The one or more non-transitory computer-readable media of claim 10, wherein the training set comprises the plurality of training data items; and wherein the training set labels each training data item of the plurality of training data items by one or more classes to which the each training data item belong(s).

### Claim 12 (depends on 9)

The one or more non-transitory computer-readable media of claim 9, wherein each class vector of the plurality of class vectors is normalized.

### Claim 13 (depends on 9)

The one or more non-transitory computer-readable media of claim 9, the instructions further configured for:
filtering an unfiltered sparse matrix to produce the sparse matrix;
wherein the filtering the unfiltered sparse matrix is based on:
(a) sorting sets of weight values of the unfiltered sparse matrix to produce sets of sorted weight values; and
(b) for each set of sorted weight values of the sets of sorted weight values, selecting weight values in the set of sorted weight values to include in the sparse matrix and selecting weight values in the set of sorted weight values to not include in the sparse matrix.

### Claim 14 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein the selecting weight values in the set of sorted weight values to include in the sparse matrix is based on a predetermined number of weight values to retain.

### Claim 15 (depends on 13)

The one or more non-transitory computer-readable media of claim 13, wherein the selecting weight values in the set of sorted weight values to not include in the sparse matrix is based on a magnitude difference between (a) a particular fall-off weight value in the set of sorted weight values and (b) a maximum weight value among a predetermined number of weight values in the set of sorted weight values, wherein the predetermined number of weight values are prior in sorted order to the particular fall-off weight value in the set of sorted weight values.

### Claim 16 (depends on 9)

The one or more non-transitory computer-readable media of claim 9, the instructions further configured for:
predicting a plurality of particular classes to which the input case belongs, based on a plurality of particular weighted similarity measures of the plurality of weighted similarity measures.

### Claim 17

A method for text summarization or keyword generation using a knowledge base, the method performed by a computing system comprising one or more processors and storage media, the storage media storing one or more programs executed by the one or more processors to perform the method, the method comprising:
extracting a plurality of candidate grammatical units from a document;
for each candidate grammatical unit of the plurality of candidate grammatical units, obtaining an input vector for the each candidate grammatical unit, the input vector comprising non-zero weights for attributes of the each candidate grammatical unit, each non-zero weight representing a strength of association between one of the attributes and the each candidate grammatical unit;
obtaining an input vector for the document, wherein the input vector for the document comprises non-zero weights for attributes of the document, each non-zero weight representing a strength of association between one of the attributes and the document;
for each candidate grammatical unit of the plurality of candidate grammatical units, forming a concept vector for the each candidate grammatical unit based on:
(a) the input vector obtained for the each candidate grammatical unit, and
(b) attribute vectors corresponding to attributes of the each grammatical unit, each of the attribute vectors representing one of the attributes of the each candidate grammatical unit, each of the attribute vectors comprising non-zero weights for concepts of the knowledge base, each non-zero weight representing a strength of association between the attribute represented by attribute vector and one of the concepts;
forming a concept vector for the document based on:
(a) the input vector obtained for the document, and
(b) attribute vectors corresponding to the attributes of the document, each of the attribute vectors representing one of the attributes of the document, each of the attribute vectors comprising non-zero weights for concepts of the knowledge base, each non-zero weight representing a strength of association between the attribute represented by attribute vector and one of the concepts;
for each candidate grammatical unit of the plurality of candidate grammatical units, computing a similarity measure based on:
(a) the concept vector formed for the each candidate grammatical unit, and
(b) the concept vector formed for the document; and
selecting a plurality of selected grammatical units, from the plurality of candidate grammatical units, for inclusion in a text summary of the document based on the one or more similarity measures computed for the plurality of selected grammatical units.

### Claim 18 (depends on 17)

The method of claim 17, wherein one or more of the plurality of candidate grammatical units are each a sentence, a word, or an n-gram extracted from the document.

### Claim 19 (depends on 17)

The method of claim 17, wherein the similarity measure is a cosine similarity measure.

### Claim 20 (depends on 17)

The method of claim 17, further comprising:
selecting one or more selected grammatical units, of the plurality of selected grammatical units, for inclusion in the text summary of the document based on one or more dissimilarity measures computed for the one or more selected grammatical units; and
wherein each of the one or more dissimilarity measures represents dissimilarity between a grammatical unit, of the one or more selected grammatical units, and one or more selected grammatical units already selected for inclusion in the text summary.
