Abstract
Professional summaries are written with document-level information, such as the theme of the document, in mind. This is in contrast with most seq2seq decoders which simultaneously learn to focus on salient content, while deciding what to generate, at each decoding step. With the motivation to narrow this gap, we introduce Focus Attention Mechanism, a simple yet effective method to encourage decoders to proactively generate tokens that are similar or topical to the input document. Further, we propose a Focus Sampling method to enable generation of diverse summaries, an area currently understudied in summarization. When evaluated on the BBC extreme summarization task, two state-of-the-art models augmented with Focus Attention generate summaries that are closer to the target and more faithful to their input documents, outperforming their vanilla counterparts on ROUGE and multiple faithfulness measures. We also empirically demonstrate that Focus Sampling is more effective in generating diverse and faithful summaries than top-$k$ or nucleus sampling-based decoding methods.
Introduction
Modern sequence-to-sequence (seq2seq) models, such as PEGASUS and BART, have achieved remarkable fluency in natural language generation. However, they continue to struggle with two critical issues: faithfulness and diversity. Faithfulness refers to the accuracy of the summary relative to the source text; models often "hallucinate" facts not present in the input. Diversity refers to the ability to generate multiple distinct, high-quality summaries for the same document. Standard decoding strategies often trade off one for the other, where increasing diversity leads to a significant drop in faithfulness.
The core of the problem lies in the decoding process. While humans typically identify a central theme before writing, current AI models attempt to balance language modeling and content selection simultaneously at every decoding step.
Methodology
Focus Attention Mechanism (FAME)
To address the gap between planning and generation, we introduce the Focus Attention Mechanism (FAME). FAME is a "soft" bias layer integrated into the Transformer architecture. It works by learning a token-level vocabulary distribution for every word in the input document, mapping input tokens to topically related words in the entire dictionary.
During the generation phase, the model calculates a "Focus Bias" ($f_t$) based on its current attention over the source text. This bias is added to the output distribution, proactively encouraging the model to select tokens that are topically grounded in the specific parts of the document being summarized.
Focus Sampling
For tasks requiring diverse outputs, we propose Focus Sampling. Unlike traditional top-$k$ or nucleus sampling—which only consider the most likely next words in a sequence—Focus Sampling restricts the model's choices to a subset of tokens ($V_k$) that are most relevant to the document's overall topic distribution. This "hard" constraint ensures that even diverse variations remain anchored to the source material.
Experimental Results
We evaluated our methods on the XSum (BBC Extreme Summarization) dataset, which is known for being highly abstractive and challenging for faithfulness. We augmented two state-of-the-art models, RoBERTaS2S and PEGASUS, with our mechanism (referred to as ROBFAME and PEGFAME).
As shown in the results, PEGFAME achieved a ROUGE-1 score of 45.31, surpassing the vanilla PEGASUS score of 44.85. More importantly, faithfulness metrics such as BERTFaithful improved significantly (from 0.263 to 0.269), indicating a reduction in hallucinations.
In diversity experiments, Focus Sampling proved superior to standard methods. For ROBFAME, Focus Sampling achieved a ROUGE-L of 31.0 in a diverse generation setting, compared to just 24.7 for nucleus sampling, demonstrating that it better preserves quality while exploring different summary variations.
Conclusion
The Focus Attention Mechanism and Focus Sampling provide a lightweight yet powerful way to ground seq2seq models in the topical context of their input. By bridging the gap between high-level planning and word-level generation, these techniques significantly improve the faithfulness and diversity of AI-generated summaries. Future work will explore controlling the "peakiness" of learned topic distributions to further refine the balance between creativity and accuracy.
Summary updated