# US 2024/0193973 A1 · Salience-aware cross-attention for abstractive summarization

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

- Number: US 2024/0193973 A1
- Document ID: US20240193973A1
- Status: Published application
- Kind: A1
- Application number: 18/078,155
- Filed: 2022-12-09
- Published: 2024-06-13
- Earliest claimed: 2022-12-09
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Kaiqiang SONG; Fei WANG; Xiaoyang WANG; Sangwoo CHO; Dong YU
- Web page: https://patentgrep.com/patent/US20240193973A1

## CPC

- G06V 30/18152: {Extracting features based on a plurality of salient regional features, e.g. "bag of words"}
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06V 30/164: Noise filtering
- G06V 30/19093: {Proximity measures, i.e. similarity or distance measures}
- G06V 30/274: {Syntactic or semantic context, e.g. balancing}
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method including: receiving an input comprising natural language texts at an encoder; adding a token to the input; obtaining a last-layer hidden state as a natural language text representation; feeding the natural language text representation into a single-layer classification head; predicting a salience allocation based on the single-layer classification head; developing a salience-aware cross-attention (SACA) decoder to determine salience in the natural language text representation; mapping a plurality of salience degrees to a plurality of trainable salience embeddings; estimating an amount of signal to accept from the plurality of trainable salience embeddings; incorporating the salience allocation and the signal in a cross-attention layer model; and generating a summarization based on the SACA decoder and the cross-attention layer model.

## Claims

### Claim 1

A method executed by at least one processor, the method comprising:
receiving an input comprising natural language texts at an encoder;
adding a token to the input;
obtaining a last-layer hidden state as a natural language text representation;
feeding the natural language text representation into a single-layer classification head;
predicting a salience allocation based on the single-layer classification head;
developing a salience-aware cross-attention (SACA) decoder to determine salience in the natural language text representation;
mapping a plurality of salience degrees to a plurality of trainable salience embeddings;
estimating an amount of signal to accept from the plurality of trainable salience embeddings;
incorporating the salience allocation and the signal in a cross-attention layer model; and
generating a summarization based on the SACA decoder and the cross-attention layer model.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the natural language text representation comprises a contextualized embedding of the natural language texts and a modified input sequence of the natural language texts.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising assigning a ground-truth salience label to the natural language texts based on a similarity between the natural language texts and a ground-truth summary.

### Claim 4 (depends on 1)

The method according to claim 1, wherein estimating the amount of the signal to accept from the plurality of trainable salience embeddings comprises identifying a salience embedding of a salience degree that maximizes a probability.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the plurality of salience degrees have a corresponding plurality of cut-off thresholds that are based on a corpus to balance informativeness and prediction accuracy.

### Claim 6 (depends on 1)

The method according to claim 1, wherein predicting the salience allocation and generating the summarization occurs simultaneously.

### Claim 7 (depends on 1)

The method according to claim 1, wherein predicting the salience allocation further comprises:
averaging a cross-entropy loss in each natural language text of the natural language texts;
applying label smoothing to the plurality of salience degrees for denoising; and
assigning a probability to the plurality of salience degrees adjacent to a ground-truth.

### Claim 8

An apparatus comprising:
at least one memory configured to store program code; and
at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising:
receiving code configured to cause the at least one processor to receive an input comprising natural language texts at an encoder;
adding code configured to cause the at least one processor to add a token to the input;
obtaining code configured to cause the at least one processor to obtain a last-layer hidden state as a natural language text representation;
feeding code configured to cause the at least one processor to feed the natural language text representation into a single-layer classification head;
predicting code configured to cause the at least one processor to predict a salience allocation based on the single-layer classification head;
developing code configured to cause the at least one processor to develop a salience-aware cross-attention (SACA) decoder to determine salience in the natural language text representation;
mapping code configured to cause the at least one processor to map a plurality of salience degrees to a plurality of trainable salience embeddings;
estimating code configured to cause the at least one processor to estimate an amount of signal to accept from the plurality of trainable salience embeddings;
incorporating code configured to cause the at least one processor to incorporate the salience allocation and the signal in a cross-attention layer model; and
generating code configured to cause the at least one processor to generate a summarization based on the SACA decoder and the cross-attention layer model.

### Claim 9 (depends on 8)

The apparatus according to claim 8, wherein the natural language text representation comprises a contextualized embedding of the natural language texts and a modified input sequence of the natural language texts.

### Claim 10 (depends on 8)

The apparatus according to claim 8, wherein the program code further comprises assigning code configured to cause the at least one processor to assign a ground-truth salience label to the natural language texts based on a similarity between the natural language texts and a ground-truth summary.

### Claim 11 (depends on 8)

The apparatus according to claim 8, wherein the estimating code further causes the at least one processor to identify a salience embedding of a salience degree that maximizes a probability.

### Claim 12 (depends on 8)

The apparatus according to claim 8, wherein the plurality of salience degrees have a corresponding plurality of cut-off thresholds that are based on a corpus to balance informativeness and prediction accuracy.

### Claim 13 (depends on 8)

The apparatus according to claim 8, wherein predicting the salience allocation and generating the summarization occurs simultaneously.

### Claim 14 (depends on 8)

The apparatus according to claim 8, wherein the predicting code further causes the at least one processor to:
average a cross-entropy loss in each natural language text of the natural language texts;
apply label smoothing to the plurality of salience degrees for denoising; and
assign a probability to the plurality of salience degrees adjacent to a ground-truth.

### Claim 15

A non-transitory computer-readable storage medium, storing instructions, which, when executed by at least one processor, cause the at least one processor to:
receive an input comprising natural language texts at an encoder;
add a token to the input;
obtain a last-layer hidden state as a natural language text representation;
feed the natural language text representation into a single-layer classification head;
predict a salience allocation based on the single-layer classification head;
develop a salience-aware cross-attention (SACA) decoder to determine salience in the natural language text representation;
map a plurality of salience degrees to a plurality of trainable salience embeddings;
estimate an amount of signal to accept from the plurality of trainable salience embeddings;
incorporate the salience allocation and the signal in a cross-attention layer model; and
generate a summarization based on the SACA decoder and the cross-attention layer model.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the natural language text representation comprises a contextualized embedding of the natural language texts and a modified input sequence of the natural language texts.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the instructions further cause the at least one processor to assign a ground-truth salience label to the natural language texts based on a similarity between the natural language texts and a ground-truth summary.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the instructions that cause the at least one processor to estimate the amount of the signal to accept from the plurality of trainable salience embeddings further causes the at least one processor to identify a salience embedding of a salience degree that maximizes a probability.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein the plurality of salience degrees have a corresponding plurality of cut-off thresholds that are based on a corpus to balance informativeness and prediction accuracy.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium according to claim 15, wherein predicting the salience allocation and generating the summarization occurs simultaneously.
