Controllable Summarization with Constrained Markov Decision Process

Hou Pong Chan, Lu Wang, Irwin King

Abstract

We study controllable text summarization which allows users to gain control on a particular attribute (e.g., length limit) of the generated summaries. In this work, we propose a novel training framework based on Constrained Markov Decision Process (CMDP), which conveniently includes a reward function along with a set of constraints, to facilitate better summarization control. The reward function encourages the generation to resemble the human-written reference, while the constraints are used to explicitly prevent the generated summaries from violating user-imposed requirements. Our framework can be applied to control important attributes of summarization, including length, covered entities, and abstractiveness, as we devise specific constraints for each of these aspects. Extensive experiments on popular benchmarks show that our CMDP framework helps generate informative summaries while complying with a given attribute's requirement.

Introduction

While modern neural summarization models generate highly fluent text, users often require specific control over the output. For example, a marketer might need a summary to fit a strict word count, or a user might want a news summary that focuses exclusively on a specific person mentioned in the article.

Current controllable summarization models usually handle this by feeding "control tokens" (e.g., <length_short>) into the model alongside the source text. However, because these models are trained using standard maximum likelihood estimation, there is no explicit penalty if the model ignores the control token. While standard Reinforcement Learning (Markov Decision Processes, or MDP) can add penalty terms to the reward function, balancing the weights between summary quality and rule-following is notoriously difficult and requires extensive hyperparameter tuning. This paper introduces a mathematically principled way to enforce these rules using Constrained Markov Decision Processes (CMDP).

Methodology

The authors frame controllable summarization as a CMDP. Instead of manually weighting penalties, the framework maximizes a reward (overall summary quality, measured via BERTScore) subject to strict cost constraints. To optimize this, they use Lagrange relaxation: learnable parameters (Lagrange multipliers) automatically scale the penalty during training based on how often the model violates a constraint.

The framework was applied to three specific control tasks:

  1. Length Control: Summary lengths are divided into bins, and the model is penalized if the output's length bin doesn't match the requested one.
  2. Entity Control: A QA-based constraint ensures the summary focuses on requested entities. A separate Question-Answering model checks if the generated summary can answer cloze-style questions about the requested entities.
  3. Abstractiveness Control: Abstractiveness is measured via extractive fragment density. The constraint forces the output to match a requested low, medium, or high abstractiveness bin.

Datasets and Abstractiveness Bias

Experiments were conducted on CNN/DailyMail, Newsroom, and DUC-2002. A key observation was that standard datasets like CNN/DM are heavily biased towards extractive summaries, making it difficult to train for high abstractiveness.

Distribution of abstractiveness bins across datasets. Newsroom-b was created to provide a more balanced distribution for training abstractive models.

To address this, the authors created Newsroom-b, a subset of the Newsroom dataset with a more balanced distribution of extractive and abstractive reference summaries, as shown in the table above.

Key Results

The CMDP framework significantly improved constraint satisfaction across all tasks without requiring manual weight tuning.

Length Control

On the CNN/DM dataset, the CMDP-trained models showed a dramatic increase in their ability to hit the target length bin. For instance, the Pointer-Generator (PG) model with CMDP reached the target bin 94.37% of the time, compared to just 74.09% for the standard PG model.

Performance of various models on length control tasks using the CNN/DM dataset. The Bin % column highlights the success rate of hitting the target length.

Entity and Abstractiveness Control

For entity control, the CMDP-trained DistilGPT2 model successfully included requested entities 93.37% of the time (up from 82.31% in the base model). In abstractiveness tasks on the Newsroom-b dataset, the CMDP framework allowed DistilGPT2 to hit the "high abstractiveness" bin 87.09% of the time, a massive improvement over the baseline's 0.37%.

Discussion and Conclusion

The authors noted that while CMDP improves control, there is an inherent trade-off between strict constraint satisfaction and standard quality metrics like ROUGE. Additionally, they observed a "but" hack where models would insert the word "but" to artificially lower extractive density scores; this was mitigated by adding specific contextual constraints. Overall, the CMDP framework provides a robust, automated method for controllable summarization that adapts dynamically to different tasks and datasets.

Summary updated

BibTeX
@article{chan2021controllable,
  author = {Hou Pong Chan and Lu Wang and Irwin King},
  title = {{Controllable Summarization with Constrained Markov Decision Process}},
  journal = {Trans. Assoc. Comput. Linguistics},
  year = {2021},
  url = {https://openreview.net/forum?id=JmyVJxPtJ9},
}
Figure