Deep Transfer Reinforcement Learning for Text Summarization

Yaser Keneshloo, Naren Ramakrishnan, Chandan K. Reddy

TL;DR

State-of-the-art text summarization models suffer from poor generalization, often failing dramatically when tested on datasets outside their training domain. This paper introduces TransferRL, a transfer reinforcement learning framework that leverages a self-critic policy gradient approach to co-train models on both source and target datasets. The resulting architecture significantly improves generalization to unseen datasets and demonstrates robust performance even when target training data is extremely scarce.

What Problem Does This Paper Address?

Deep learning models for text summarization are notoriously data-hungry and prone to overfitting the stylistic quirks of their training data. For example, a model trained to perfection on the CNN/Daily Mail dataset experiences a massive performance drop (nearly 20% in ROUGE-1 score) when evaluated on the Newsroom dataset.

Traditional transfer learning attempts to solve this by fine-tuning a pre-trained model on a target dataset. However, this often leads to "catastrophic forgetting," where the model completely overwrites its previously learned parameter distribution. This issue is compounded by exposure bias—a flaw inherent in standard cross-entropy training where a model learns to predict the next token based on ground-truth history rather than its own previous (and potentially imperfect) outputs. When the data distribution shifts during transfer learning, this exposure bias causes errors to cascade rapidly.

Standard Transfer Learning vs. TransferRL

Methods

The authors tackle these challenges by combining a flexible base architecture with a novel reinforcement learning objective:

  1. Pointer-Generator Base: The framework uses a pointer-generator network, which features a switching mechanism that can either generate a word from a vocabulary or copy a word directly from the source text. This is critical for transfer learning, as it elegantly handles Out-of-Vocabulary (OOV) words when shifting between datasets.
  2. Shared Architecture Co-training: Instead of sequentially fine-tuning, TransferRL shares encoder and decoder units between the source ($D_S$) and target ($D_G$) datasets during the transfer phase.
  3. Self-Critic Policy Gradient: To eliminate exposure bias, the model is trained using reinforcement learning. It minimizes a loss function based on a ROUGE reward metric. It utilizes a "self-critic" approach where the baseline reward is determined by a greedy selection from the model's own current output distribution, penalizing sampled sequences that underperform compared to this baseline.
  4. Dynamic Trade-off ($\zeta$): A hyperparameter $\zeta$ dynamically balances the self-critic loss between the source and target datasets, acting as a regularizer that prevents the model from forgetting general language features while it adapts to the target domain.
The Proposed TransferRL Framework

Datasets

The framework was evaluated using four widely known news-related summarization datasets:

  • Newsroom: A massive dataset containing 1.3 million articles and summaries, primarily used as the source dataset ($D_S$) due to its size.
  • CNN/Daily Mail (CNN/DM): Approximately 300,000 summaries, used interchangeably as target or source data.
  • DUC 2003 & DUC 2004: Small, expert-annotated datasets (624 and 500 samples respectively) used strictly to evaluate how well the models generalize to completely unseen data.

Key Insights and Ideas

  • RL as a Generalizer: By forcing the model to rely on its own generated tokens during training rather than ground-truth history, reinforcement learning naturally makes the model more robust to the distribution shifts encountered during transfer learning.
  • Vocabulary Flexibility is Mandatory: Rigid, fixed vocabularies are a major bottleneck in NLP transfer learning. The copying mechanism of the pointer-generator network acts as a safety net for domain-specific jargon and unseen words.
  • Preservation Over Replacement: Keeping the source dataset in the loop during fine-tuning (via the $\zeta$ parameter) yields better target performance than completely abandoning the source data. It prevents the model from overfitting to the target dataset's specific sentence lengths or formatting constraints.

Key Results

TransferRL consistently outperformed naive layer-transfer methods and generalized multi-task learning frameworks:

  • When pre-trained on Newsroom and transferred to CNN/DM, TransferRL achieved a superior average ROUGE-1 score of 32.66%, beating standard layer transfer (31.98%) and a combined-vocabulary baseline (30.79%).
Normalized and Weighted ROUGE Scores
  • On the entirely unseen DUC'04 dataset, TransferRL achieved a ROUGE-1 score of 30.45%, demonstrating its strong out-of-domain generalization capabilities without ever seeing DUC data during training.
  • Compared to prominent multi-task frameworks like DecaNLP (25.7%) and Tensor2Tensor (27.4%), TransferRL achieved a significantly higher average ROUGE score of 31.12% on the CNN/DM benchmark.

Limitations and Future Work

While TransferRL mitigates catastrophic forgetting, its performance remains heavily dependent on the scale of the initial source dataset; models pre-trained on the smaller CNN/DM dataset did not perform as well as those pre-trained on the massive Newsroom dataset. Additionally, because all datasets evaluated in this study were news-focused, exploring how well this framework transfers across entirely distinct domains (e.g., from news to medical literature or legal documents) remains an open question for future research.

Summary updated

BibTeX
@inproceedings{keneshloo2019deep,
  author = {Yaser Keneshloo and Naren Ramakrishnan and Chandan K. Reddy},
  title = {{Deep Transfer Reinforcement Learning for Text Summarization}},
  booktitle = {SDM},
  year = {2019},
  doi = {10.1137/1.9781611975673.76},
}
Figure