Abstract
We propose a new length-controllable abstractive summarization model. Recent state-of-the-art abstractive summarization models based on encoder-decoder models generate only one summary per source text. However, controllable summarization, especially of the length, is an important aspect for practical applications. Previous studies on length-controllable abstractive summarization incorporate length embeddings in the decoder module for controlling the summary length. Although the length embeddings can control where to stop decoding, they do not decide which information should be included in the summary within the length constraint. Unlike the previous models, our length-controllable abstractive summarization model incorporates a word-level extractive module in the encoder-decoder model instead of length embeddings. Our model generates a summary in two steps. First, our word-level extractor extracts a sequence of important words (we call it the "prototype text") from the source text according to the word-level importance scores and the length constraint. Second, the prototype text is used as additional input to the encoder-decoder model, which generates a summary by jointly encoding and copying words from both the prototype text and source text. Since the prototype text is a guide to both the content and length of the summary, our model can generate an informative and length-controlled summary. Experiments with the CNN/Daily Mail dataset and the NEWSROOM dataset show that our model outperformed previous models in length-controlled settings.
1. Introduction
Abstractive summarization has made significant strides, yet controlling output characteristics like length remains a challenge. In practical applications, such as mobile notifications or news snippets, strict length constraints are necessary. Traditional approaches to length control often rely on length embeddings fed into the decoder to signal when to terminate generation. However, this method lacks content awareness; the model may exhaust its word budget on secondary details or produce generic text to meet the target length without prioritizing key information.
2. Methodology: The LPAS Framework
We introduce LPAS (Length-controllable Prototype-guided Abstractive Summarization). The core innovation is treating length control as a content-selection problem rather than just a decoding constraint. The model operates in two distinct stages:
2.1 Prototype Extraction
The model uses a fine-tuned BERT extractor to assign importance scores to every word in the source text. It then selects the top-$K$ most important words (where $K$ is the desired length) and maintains them in their original relative order. This sequence, termed the "prototype text," serves as a content skeleton for the final summary.
2.2 Prototype-guided Generation
The generation phase utilizes a sophisticated encoder-decoder architecture designed to integrate the prototype effectively.
- Joint Encoder: A dual-encoder block processes the source text and the prototype text simultaneously. This alignment ensures the model understands the context of the extracted keywords within the full article.
- Summary Decoder: A Transformer-based decoder equipped with a pointer-generator mechanism allows the model to either generate new vocabulary or "copy" words directly from both the source text and the prototype.
3. Experimental Evaluation
The model was evaluated on two major benchmarks: the CNN/Daily Mail dataset and the NEWSROOM dataset. LPAS demonstrated superior performance over length-embedding baselines (such as LenEmb), achieving an average improvement of approximately 2 ROUGE points on CNN/DM.
Key findings include:
- Stable Quality: Unlike previous models that saw performance drops at extreme length constraints, LPAS maintained high ROUGE scores across target lengths ranging from 10 to 90 words.
- Precise Control: The model showed a very high correlation between the desired length and the actual output length, proving the prototype acts as an effective guide for the generator.
- Competitive Performance: Even in standard, non-length-controlled settings, LPAS achieved results comparable to state-of-the-art abstractive models.
4. Conclusion and Future Directions
By using a prototype as a bridge between extraction and abstraction, LPAS provides a robust mechanism for length-controllable summarization that prioritizes informative content. Future work includes exploring end-to-end training to replace the current two-step pipeline and integrating the LPAS logic into larger pre-trained architectures like BART or T5 to further enhance fluency and accuracy.
Summary updated