Introduction
Abstractive summarization models have made significant strides in generating fluent, human-like text. However, a persistent challenge remains: precise length control. Standard models often struggle to adhere to specific word counts, frequently resulting in truncated sentences or the omission of critical information when forced into a tight "budget." This paper addresses these issues by introducing a novel Length-Aware Attention Mechanism (LAAM) and a pretraining strategy utilizing a Length-Balanced Dataset (LBD).
The Challenge of Length Control
Most existing length-controllable models employ an "early-stop" approach, essentially cutting off the generation process once a limit is reached. This reactive method fails to prioritize information effectively, leading to incomplete summaries. Furthermore, training data is often biased toward specific lengths (e.g., standard news lead lengths), creating a "zero-shot" problem where models fail when asked to generate summaries significantly shorter or longer than those seen during training.
Proposed Methodology: LAAM and LBD
The authors propose a two-pronged approach to integrate length awareness into the model's core architecture and training pipeline.
Length-Aware Attention Mechanism (LAAM)
Unlike traditional methods that only modify the decoding phase, LAAM adjusts how the model attends to the source document based on the remaining length budget. At each generation step, the mechanism calculates the remaining capacity and "boosts" attention toward the most salient tokens in the source text. As the budget diminishes, the model increases its focus on the end-of-sequence (eos) token, ensuring a graceful and complete conclusion.
Length-Balanced Dataset (LBD) and Pretraining
To mitigate data imbalance, the researchers developed the Length-Balanced Dataset (LBD). This synthetic dataset features summaries evenly distributed across various length "bins." By pretraining on LBD, the model learns the fundamental task of information selection—identifying which facts are most critical for a given length. This is followed by fine-tuning on standard datasets (like CNNDM or XSUM) to refine abstractive paraphrasing and fluency.
Experimental Results
The proposed model, PtLAAM, was evaluated against state-of-the-art baselines on the CNN/Daily Mail (CNNDM) and XSUM benchmarks.
Superior Length Adherence and Quality
PtLAAM demonstrated significantly lower variance in summary length compared to competitors, indicating much tighter control over the output size. Crucially, this control did not come at the cost of quality. As shown in the performance metrics, PtLAAM maintained high ROUGE scores even in "zero-shot" scenarios (e.g., summaries under 30 tokens in CNNDM), where other models typically falter.
Human Evaluation
In blind human evaluations, PtLAAM's summaries were consistently rated as more informative and grammatical. Judges noted that the model successfully captured the "big picture" within restricted budgets, avoiding the abrupt endings common in early-stop models.
Conclusion
By treating length control as an information selection problem rather than a simple truncation task, LAAM and the LBD pretraining strategy offer a robust solution for flexible summarization. The ability to generate high-quality, length-constrained summaries opens new possibilities for diverse applications, from mobile news snippets to comprehensive executive reports.
Summary updated