# US 2021/0174016 A1 · Methods and systems for generating declarative statements given documents with questions and answers

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

- Number: US 2021/0174016 A1
- Document ID: US20210174016A1
- Status: Published application
- Kind: A1
- Application number: 17/113,880
- Filed: 2020-12-07
- Published: 2021-06-10
- Earliest claimed: 2019-12-08
- Assignees: Virginia Tech Intellectual Properties, Inc.
- Applicants: Virginia Tech Intellectual Properties, Inc.
- Inventors: Edward A. Fox; Saurabh Chakravarty; Raja Venkata Satya Phanindra Chava; Maanav Mehrotra
- Web page: https://patentgrep.com/patent/US20210174016A1

## CPC

- G06F 40/205: Parsing
- G06F 40/30: Semantic analysis
- G06F 40/279: Recognition of textual entities
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G06Q 30/018: Certifying business or products
- G06Q 50/265: {Personal security, identity or safety}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Described herein are systems and methods to enable generation of high-quality summaries of documents that have questions and answers. To help summarize such documents, parsing methods are disclosed that account for different document formats. Methods are disclosed to anonymize personal and identifying information present in the documents. An ontology is defined to categorize dialog acts for the questions and answers present. Classifiers are disclosed based on this ontology. Methods are also disclosed to transform a question-answer pair to a canonical form. Based on the dialog acts for the question and answer combination, transformation methods were developed that build upon each of traditional NLP, and deep learning, techniques.

## Claims

### Claim 1

A method for transforming question-answer groups into declarative segments, comprising:
identifying, by at least one computing device, a question-answer group from a plurality of question-answer groups;
parsing, by the at least one computing device, the question-answer group to identify a question and an answer;
classifying, by the at least one computing device, the question into a question dialog act category;
classifying, by the at least one computing device, the answer into an answer dialog act category; and
obtaining, by the at least one computing device, a declarative segment corresponding to the question-answer group based at least in part on the question dialog act category and the answer dialog act category.

### Claim 2 (depends on 1)

The method of claim 1, further comprising accessing, by at least one computing device, a document comprising the plurality of question-answer groups.

### Claim 3 (depends on 1)

The method of claim 1, further comprising selecting, by the at least one computing device, a transformer for obtaining the declarative segment based at least in part on the question dialog act category and the answer dialog act category.

### Claim 4 (depends on 1)

The method of claim 1, wherein:
classifying the question into the question dialog act category is based at least in part on a dialog act ontology; and
classifying the answer into the answer dialog act category is based at least in part on the dialog act ontology.

### Claim 5 (depends on 4)

The method of claim 4, wherein the dialog act ontology indicates that the question is one of a wh-question, a wh-declarative question, a binary question, a binary-declarative question, an open question, and a choice question.

### Claim 6 (depends on 4)

The method of claim 4, wherein the dialog act ontology indicates that the at least one answer is one of a yes answer, a no answer, a non-opinion answer, an opinion answer, an acknowledgement answer, an unknown answer, and a confrontational answer.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
identifying, by the at least one computing device, at least one information field, from a list of particular types of information fields, in the plurality of question-answer groups;
generating, by the at least one computing device, an anonymized representation of the at least one information field; and
replacing, by the at least one computing device, the at least one information field with the anonymized representation in the plurality of question-answer groups.

### Claim 8

A system for transforming question-answer groups into declarative segments, comprising:
a memory device to store computer-readable instructions thereon; and
at least one computing device configured through execution of the computer-readable instructions to:
identify a question-answer group from a plurality of question-answer groups;
parse the question-answer group to identify a question and an answer;
classify the question into a question dialog act category;
classify the answer into an answer dialog act category; and
apply a transformer to the question-answer group to obtain a declarative segment corresponding to the question-answer group.

### Claim 9 (depends on 8)

The system of claim 8, wherein the at least one computing device is further configured to select a transformer based at least in part on the question dialog act category and the answer dialog act category.

### Claim 10 (depends on 8)

The system of claim 8, wherein the at least one computing device is further configured to:
classify the question into the question dialog act category based at least in part on a dialog act ontology; and
classify the at least one answer into the answer dialog act category based at least in part on the dialog act ontology.

### Claim 11 (depends on 10)

The system of claim 10, wherein the dialog act ontology indicates that the question is one of a wh-question, a wh-declarative question, a binary question, a binary-declarative question, an open question, and a choice question.

### Claim 12 (depends on 10)

The system of claim 10, wherein the dialog act ontology indicates that the at least one answer is one of a yes answer, a no answer, a non-opinion answer, an opinion answer, an acknowledgement answer, an unknown answer, and a confrontational answer.

### Claim 13 (depends on 8)

The system of claim 8, wherein the at least one computing device is further configured to:
identify at least one information field, from a list of particular types of information fields, in the plurality of question-answer groups;
generate an anonymized representation of the at least one information field; and
replace the at least one information field with the anonymized representation in the plurality of question-answer groups.

### Claim 14

A non-transitory computer-readable medium embodying at least one program that, when executed by at least one computing device, directs the at least one computing device to:
identify a question-answer group from a plurality of question-answer groups;
parse the question-answer group to identify a question and an answer;
classify the question into a question dialog act category;
classify the answer into an answer dialog act category; and
apply a transformer to the question-answer group to obtain a declarative segment corresponding to the question-answer group.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein to parse the question-answer group to identify the question and the answer, the at least one computing device is configured to:
segment the plurality of question-answer groups into a plurality of portions of text;
extract the question from the plurality of portions of text based at least in part on identifying question-indicative information within the plurality of portions of text; and
extract the answer from the plurality of portions of text based at least in part on identifying answer-indicative information within the plurality of portions of text.

### Claim 16 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein, to apply the transformer to the question-answer group to obtain the declarative segment corresponding to the question-answer group, the at least one computing device is configured to:
identify a plurality of part-of-speech tags for respective ones of a plurality of words in the question-answer group;
identify a chunk pattern based at least in part on a combination of the question dialog act category and the answer dialog act category;
match the chunk pattern to at least one chunk from the plurality of words based at least in part on the plurality of part-of-speech tags;
identify a transformation rule from a plurality of transformation rules based at least in part on the chunk pattern and the combination of the question dialog act category and the answer dialog act category;
apply the transformation rule to the at least one chunk to obtain at least one transformed chunk; and
generate the declarative segment based at least in part on the at least one transformed chunk.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein, to apply the transformation rule to the at least one chunk to obtain the at least one transformed chunk, the at least one computing device is directed to:
convert the at least one chunk to the at least one transformed chunk based at least in part on the transformation rule yielding a first-person description.

### Claim 18 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein, to apply the transformer to the question-answer group to obtain the declarative segment corresponding to the question-answer group, the at least one computing device is further directed to:
load a deep learning transformer corresponding to a combination of the question dialog act category and the answer dialog act category; and
transform the question-answer group into the declarative segment using the deep learning transformer.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the at least one computing device is further directed to at least:
instantiate the deep learning transformer, wherein the deep learning transformer comprises a sequence-to-sequence based machine translation model; and
train the deep learning transformer based at least in part on a training dataset, the training dataset comprising a plurality of tuples, respective ones of the plurality of tuples comprising a training question, a training answer, and a training declarative segment.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the training declarative segment is a grammatically-correct and semantically-equivalent rewriting of a pair comprising the training question and the training answer.
