Papers
Topics
Authors
Recent
Search
2000 character limit reached

BertSumExtAbs: Unified Summarization Model

Updated 25 June 2026
  • The paper demonstrates a unified approach by combining a pretrained BERT encoder for extractive sentence scoring with an abstractive decoder to enhance summarization performance.
  • It employs document-level representations using alternating segment embeddings and shallow Transformer layers to effectively capture inter-sentence relationships.
  • A two-stage fine-tuning strategy with distinct optimizers and trigram-blocking is used to mitigate redundancy and refine summary generation.

BertSumExtAbs is an encoder–decoder neural text summarization framework that incorporates a pretrained BERT encoder for document representation and leverages both extractive and abstractive objectives for summary generation. It was proposed by Yang and Zhang (2019) to address limitations in prior approaches by unifying document-level semantic representation with flexible fine-tuning schemes, enabling state-of-the-art performance in both extractive and abstractive summarization tasks (Liu et al., 2019).

1. Document-Level BERT Encoder

BertSumExtAbs processes input documents using a document-level BERT encoder, referred to as “BertSum.” The input consists of individual sentences sent1,sent2,â€Ĥ,sentm\text{sent}_1, \text{sent}_2, \ldots, \text{sent}_m concatenated into a single token sequence. Each sentence is preceded by a special [CLS] token and followed by a [SEP] token. “Interval” segment embeddings alternate between EAE_A and EBE_B across sentences—odd sentences are assigned EAE_A, even sentences EBE_B—enabling BERT’s two-segment embedding scheme to distinguish sentences in a single pass.

For sequences that exceed BERT's default 512-token positional embedding capacity, extra positions are randomly initialized and learned during fine-tuning. After passing through LBL_B layers of BERT, a token-level representation tit_i is obtained for every position. Each sentence is represented by the output at its corresponding [CLS] position, si=t[CLS]i∈Rds_i = t_{[CLS]_i} \in \mathbb{R}^d with d=768d=768 for BERT-base.

2. Extractive Summarization Module (BertSumExt)

Extractive summarization is realized by stacking shallow inter-sentence Transformer layers (depth LTL_T, best results at EAE_A0) atop the set of sentence embeddings EAE_A1. Learned sinusoidal positional embeddings are added to each EAE_A2, producing EAE_A3 for EAE_A4. For each layer EAE_A5, a standard Transformer block is applied: EAE_A6

EAE_A7

On the final layer, each EAE_A8 is passed through a sigmoid classifier: EAE_A9 where EBE_B0. The extractive loss is the binary cross-entropy over all sentences: EBE_B1 with EBE_B2 indicating gold inclusion in the summary.

During inference, all sentences are scored and the top–EBE_B3 (e.g., EBE_B4 for CNN/DM) are selected after trigram-blocking for redundancy removal—a sentence is skipped if it shares any trigram with those already selected. The optimizer is Adam with EBE_B5, EBE_B6 and learning rate schedule

EBE_B7

with EBE_B8 steps.

3. Abstractive Summarization and Two-Stage Fine-Tuning

The abstractive summarization setup extends BertSumExt by adding a standard 6-layer Transformer decoder (EBE_B9, EAE_A0) with masked multi-head self-attention, multi-head encoder–decoder attention over all token-level BERT outputs EAE_A1, and positionwise feed-forward sublayers. Dropout of 0.1 is applied before all linear transforms and label smoothing EAE_A2 is used.

The training objective maximizes the log-likelihood of the reference summary tokens EAE_A3 given the source: EAE_A4 No explicit pointer-generator or coverage loss is used. The model instead mitigates repetition via subword vocabulary and trigram-blocking during beam search inference.

BertSumExtAbs introduces a two-stage fine-tuning schedule:

  • Stage 1 (optional): Fine-tune the shared BERT encoder and inter-sentence layers solely on EAE_A5 (extractive objective). The resulting encoder parameters prime the initialization for the abstractive phase.
  • Stage 2: Jointly fine-tune the encoder and decoder on EAE_A6 using separate Adam optimizers: encoder (EAE_A7, warmupEAE_A8 steps) and decoder (EAE_A9, warmupEBE_B0 steps), both with the "noam" learning rate schedule. The rationale is to provide a smaller, slower-decaying learning rate to the pretrained encoder while enabling rapid adaptation of the randomly initialized decoder.

Training details: 4EBE_B11080Ti GPUs, gradient accumulation every 5 steps, 200K total training steps, checkpointing every 2.5K steps. Inference uses beam search size 5, length-penalty EBE_B2 in EBE_B3, and trigram-blocking.

4. Hyper-Parameter Configuration

The table below highlights the primary hyper-parameter decisions for both extractive (“Ext”) and abstractive (“Abs” or “ExtAbs”) modules:

Parameter Extractive (BertSumExt) Abstractive (BertSumAbs/ExtAbs)
Optimizer Adam (EBE_B4=0.9,0.999) Encoder: Adam (EBE_B5=0.9,0.999); Decoder: Adam (EBE_B6=0.9,0.999)
LR, Warmup EBE_B7=2e-3, warmup=10K Encoder: EBE_B8=2e-3, warmup=20K; Decoder: EBE_B9=0.1, warmup=10K
Inter-sentence layers LBL_B0 2 2
Decoder layers – 6
LBL_B1 768 768
LBL_B2 3072 2048
Attention heads 12 12
Dropout, label smoothing – 0.1 (drop), 0.1 (LBL_B3)
Train steps, GPUs 50K, 3 (accumulate=2) 200K, 4 (accumulate=5)
Inference Trigram-blocking, top–K Beam=5, LBL_B4, trigram-blocking

5. Evaluation and Empirical Results

BertSumExtAbs was systematically evaluated on three benchmarks: CNN/DailyMail (FLBL_B5 ROUGE), New York Times (limited-length recall), and XSum. The models were compared to both extractive and abstractive baselines, and demonstrated consistent improvements.

ROUGE FLBL_B6 scores on test sets:

Dataset BertSumExt R1/R2/RL BertSumAbs R1/R2/RL BertSumExtAbs R1/R2/RL
CNN/DailyMail 43.25/20.24/39.63 41.72/19.39/38.76 42.13/19.60/39.18
NYT 46.66/26.35/42.62 48.92/30.84/45.41 49.02/31.02/45.55
XSum – 38.76/16.33/31.15 38.81/16.50/31.27

All BertSum variants substantially outperform prior extractive or abstractive baselines on these news-summarization tasks (Liu et al., 2019).

6. Architectural Features, Rationale, and Redundancy Control

BertSumExtAbs provides an end-to-end framework that exploits BERT’s document-level semantic encoding for both sentence scoring (extractive) and token-level sequence generation (abstractive). The alternating segment embedding scheme ensures BERT can process multi-sentence inputs natively. The use of a shallow Transformer stack above BERT’s sentence embeddings introduces inter-sentence interaction explicitly.

The two-stage fine-tuning strategy addresses the pretrained–randomly-initialized parameter mismatch between encoder and decoder, using separate learning rates and warmup schedules. The application of trigram-blocking in both extractive and abstractive inference stages serves as an efficient control against redundancy and repetition.

A plausible implication is that the architectural separation of extractive pretraining and abstractive fine-tuning enables improved knowledge transfer from large pretrained LLMs to generation modules in summarization.

7. Broader Context and Significance

BertSumExtAbs established a general methodology for integrating pretrained encoders like BERT into summarization architectures, with direct mechanisms for sentence selection and sequence generation. The framework’s empirical success on news-oriented benchmarks drove subsequent research on pretrained models for both extractive and abstractive summarization, particularly in leveraging segment-level embeddings and fine-tuning strategies tailored for document processing. The released codebase (https://github.com/nlpyang/PreSumm) further facilitated reproducibility and extension within the summarization community (Liu et al., 2019).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to BertSumExtAbs.