# US 2024/0202461 A1 · Systems and methods for question-driven pretraining for controllable summarization

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

- Number: US 2024/0202461 A1
- Document ID: US20240202461A1
- Status: Published application
- Kind: A1
- Application number: 18/299,503
- Filed: 2023-04-12
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Salesforce, Inc.
- Applicants: Salesforce, Inc.
- Inventors: Artidoro Pagnoni; Alexander Fabbri; Wojciech Kryscinski
- Web page: https://patentgrep.com/patent/US20240202461A1

## CPC

- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F 16/345: {Summarisation for human users}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments described herein provide a task-targeted training paradigm which involves reformulating the pretraining objective to match the downstream task, e.g., query-focused summarization with or without guidance, without additional supervision. Specifically, query-focused summarization is foremost a task in which information is selected and compressed. A training objective is computed based on asking questions about sentences considered to be informative about the text that naturally incorporates a form of guidance of the generation process.

## Claims

### Claim 1

A method of question-driven summarization, the method comprising:
receiving, via a data interface, a training dataset containing at least one unlabeled document;
selecting, by a selection model implemented on one or more processors, a plurality of sentences from the unlabeled document depending on an information overlap metric with a rest of the unlabeled document;
generating, by a question generation model implemented on the one or more processors, a plurality of questions in response to an input of the plurality of sentences and the unlabeled document as context;
generating a masked document by masking the plurality of sentences from the unlabeled document with mask tokens;
generating, by a summarization model implemented on the one or more processors, predicted questions in response to an input of the masked document;
computing a first loss comparing the predicted questions and the plurality of questions; and
training the summarization model by updating parameters of the summarization model based on the computed first loss via backpropagation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of sentences are selected by a metric that measure information overlap of each of the plurality of sentences with a rest of the input document.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
generating, by the summarization model, a predicted summary containing one or more sentences in response to an input of the masked document prepended with the plurality of questions;
computing a second loss comparing the predicted one or more sentences and the plurality of sentences; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating, by a summarization model implemented on the one or more processors, predicted questions in response to an input of the masked document;
generating, by the summarization model, a predicted summary containing one or more sentences conditioned on the predicted questions and the masked document;
computing a second loss comparing the predicted questions and the plurality of questions and comparing the one or more predicted sentences and the plurality of sentences; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
generating, by the summarization model, reconstructed sentences in response to an input of the masked document;
computing a second loss comparing the reconstructed sentences and the plurality of sentences; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
prepending a dedicated token to the masked document before inputting the masked document to the summarization model; and
determining a type of training output depending on the dedicated token.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving a testing document and a user query relating to a content of the testing document; and
generating, by the trained summarization model, a question-driven summary of the testing document according to the user query.

### Claim 8

A system of question-driven summarization, the system comprising:
a communication interface that receives a training dataset containing at least one unlabeled document;
a memory storing a selection model, a question generation model, a summarization model and a plurality of processor-executable instructions; and
one or more processors executing the plurality of processor-executable instructions to perform operations comprising:
selecting, by the selection model, a plurality of sentences from the unlabeled document depending on an information overlap metric with a rest of the unlabeled document;
generating, by the question generation model, a plurality of questions in response to an input of the plurality of sentences and the unlabeled document as context;
generating the masked document by masking the plurality of sentences from the unlabeled document with mask tokens;
generating, by the summarization model, a predicted summary containing one or more sentences in response to an input of the masked document prepended with the plurality of questions;
computing a first loss comparing the predicted one or more sentences and the plurality of sentences; and
training the summarization model by updating parameters of the summarization model based on the computed first loss via backpropagation.

### Claim 9 (depends on 8)

The system of claim 8, wherein the plurality of sentences are selected by a metric that measure information overlap of each of the plurality of sentences with a rest of the input document.

### Claim 10 (depends on 8)

The system of claim 8, wherein the operations further comprise:
generating, by the summarization model implemented on the one or more processors, predicted questions in response to an input of the masked document;
computing a second loss comparing the predicted questions and the plurality of questions; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 11 (depends on 8)

The system of claim 8, wherein the operations further comprise:
generating, by a summarization model implemented on the one or more processors, predicted questions in response to an input of the masked document;
generating, by the summarization model, a predicted summary containing one or more sentences conditioned on the predicted questions and the masked document;
computing a second loss comparing the predicted questions and the plurality of questions and comparing the one or more predicted sentences and the plurality of sentences; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 12 (depends on 8)

The system of claim 8, wherein the operations further comprise:
generating, by the summarization model, reconstructed sentences in response to an input of the masked document;
computing a second loss comparing the reconstructed sentences and the plurality of sentences; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 13 (depends on 8)

The system of claim 8, wherein the operations further comprise:
prepending a dedicated token to the masked document before inputting the masked document to the summarization model; and
determining a type of training output depending on the dedicated token.

### Claim 14 (depends on 8)

The system of claim 8, wherein the operations further comprise:
receiving a testing document and a user query relating to a content of the testing document; and
generating, by the trained summarization model, a question-driven summary of the testing document according to the user query.

### Claim 15

A non-transitory processor-readable storage medium storing a plurality of processor-executable instructions for question-driven summarization, the instructions being executed by one or more processors to perform operations comprising:
receiving, via a data interface, a training dataset containing at least one unlabeled document;
selecting, by a selection model implemented on one or more processors, a plurality of sentences from the unlabeled document depending on an information overlap metric with a rest of the unlabeled document;
generating, by a question generation model implemented on the one or more processors, a plurality of questions in response to an input of the plurality of sentences and the unlabeled document as context;
generating a masked document by masking the plurality of sentences from the unlabeled document with mask tokens;
generating, by a summarization model implemented on the one or more processors, predicted questions in response to an input of the masked document;
generating, by the summarization model, a predicted summary containing one or more sentences conditioned on the predicted questions and the masked document;
computing a first loss comparing the predicted questions and the plurality of questions and comparing the one or more predicted sentences and the plurality of sentences; and
training the summarization model by updating parameters of the summarization model based on the computed first loss via backpropagation.

### Claim 16 (depends on 15)

The non-transitory processor-readable storage medium of claim 15, wherein the plurality of sentences are selected by a metric that measure information overlap of each of the plurality of sentences with a rest of the input document.

### Claim 17 (depends on 15)

The non-transitory processor-readable storage medium of claim 15, wherein the operations further comprise:
generating, by the summarization model implemented on the one or more processors, predicted questions in response to an input of the masked document;
computing a second loss comparing the predicted questions and the plurality of questions; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 18 (depends on 15)

The non-transitory processor-readable storage medium of claim 15, wherein the operations further comprise:
generating, by a summarization model implemented on the one or more processors, predicted questions in response to an input of the masked document;
computing a second loss comparing the predicted questions and the plurality of questions; and
training the summarization model by updating parameters of the summarization model based on the computed second loss via backpropagation.

### Claim 19 (depends on 15)

The non-transitory processor-readable storage medium of claim 15, wherein the operations further comprise:
prepending a dedicated token to the masked document before inputting the masked document to the summarization model; and
determining a type of training output depending on the dedicated token.

### Claim 20 (depends on 15)

The non-transitory processor-readable storage medium of claim 15, wherein the operations further comprise:
receiving a testing document and a user query relating to a content of the testing document; and
generating, by the trained summarization model, a question-driven summary of the testing document according to the user query.
