Introduction
Abstractive summarization of long documents—such as scientific papers, legal filings, and book chapters—represents a significant challenge in natural language processing. While Transformer-based architectures like the Longformer have improved the ability to process thousands of tokens, they often lack a sophisticated understanding of high-level discourse structure. These models frequently struggle to grasp how individual segments of text relate to one another to form a coherent narrative or argument.
To address this, researchers have introduced RSTformer, a novel framework that integrates Rhetorical Structure Theory (RST) into the Longformer architecture. By utilizing the full probability distribution of discourse relations rather than a single "best guess," RSTformer achieves superior performance in producing abstractive, factively consistent, and structurally sound summaries.
The Challenge of Discourse in Long Documents
Rhetorical Structure Theory (RST) provides a framework for mapping text into a tree-like structure where "Elementary Discourse Units" (EDUs) are linked by specific relationships, such as Contrast, Reason, or Elaboration. Previous attempts to incorporate RST into summarization models suffered from two primary limitations:
- The "1-Best" Trap: Most models relied on a single discourse tree generated by an external parser. If the parser made an error, the summarizer inherited that mistake, leading to poor structural understanding.
- Information Loss: Many models focused solely on "nuclearity" (identifying which segment is more important) while ignoring the specific semantic type of the relationship between segments.
Methodology: The RSTformer
RSTformer builds upon the Longformer’s efficient sliding-window attention mechanism but introduces three core innovations to better leverage discourse information:
Labeled Discourse Distribution (LDD) Tensor
Instead of selecting the single most likely discourse tree, RSTformer extracts the full probability distribution from a DMRST parser. This results in a 3D LDD tensor that captures the likelihood of every possible relationship type between text segments. This "soft" integration allows the model to remain robust even when the parser is uncertain.
RST-Sparse Attention
The model injects discourse information directly into the Transformer’s attention mechanism. By performing an element-wise multiplication of internal attention scores with the LDD tensor, the model prioritizes connections that are rhetorically significant. This ensures that the attention mechanism is guided by the underlying structural logic of the document.
Head Specialization
To handle the complexity of different discourse relations, RSTformer utilizes head specialization. Different attention heads are assigned to focus on specific discourse categories (e.g., one head might specialize in Temporal relations while another focuses on Comparison). This allows the model to learn and represent fine-grained structural patterns across the document.
Experimental Evaluation
The authors evaluated RSTformer across three diverse long-document datasets to test its generalizability:
- BookSum (Chapter level): Narrative texts requiring an understanding of complex plot developments.
- eLife: Scientific articles summarized for a general audience, requiring the synthesis of technical information.
- Multi-LexSum: Large-scale legal summaries of civil rights lawsuits, requiring high factual precision.
Results and Discussion
RSTformer consistently outperformed the baseline Longformer and several state-of-the-art (SOTA) models across both quantitative and qualitative metrics.
Quantitative Performance
On the eLife dataset, RSTformer achieved a Rouge-1 score of 48.696, a significant improvement over the previous SOTA of 46.570. Similar gains were observed in METEOR and BERTscore across all tested datasets, indicating a more accurate and semantically aligned summary generation.
Abstractiveness and Human Alignment
One of the most notable findings was the model's increased abstractiveness. RSTformer showed higher "n-gram novelty," suggesting it is better at synthesizing new sentences rather than simply extracting and reordering chunks of source text. Furthermore, analysis of sentence alignment showed that RSTformer’s attention distribution closely mirrors that of human writers, who tend to draw information from across the entire document rather than over-focusing on the introduction.
Qualitative Feedback
Human evaluators rated RSTformer higher than baseline models in three key areas: faithfulness, informativeness, and readability. The inclusion of discourse types (the "why" of a relationship) proved more beneficial for summary quality than simply knowing which segments were most important (nuclearity).
Conclusion and Future Work
RSTformer demonstrates that treating discourse parser uncertainty as a feature—rather than a bug—allows for a more resilient and effective summarization model. By integrating the full distribution of rhetorical relations, the model moves closer to the nuanced understanding required for human-level summarization of long-form content.
Future research may explore "end-to-end" training, where the model learns to parse discourse and summarize simultaneously. This could potentially reduce the computational overhead currently required to generate LDD tensors and further mitigate the model's dependency on external parsing tools.
Summary updated