Attend to the Right Context: A Plug-and-Play Module for Content-Controllable Summarization

Wen Xiao, Lesly Miculicich, Yang Liu, Pengcheng He, Giuseppe Carenini
12/21/2022
cs.CL

Official code: Wendy-Xiao/relattn_controllable_summ (6 stars, Python, last commit 2023-03-23).

Abstract

Content-Controllable Summarization generates summaries focused on the given controlling signals. Due to the lack of large-scale training corpora for the task, we propose a plug-and-play module RelAttn to adapt any general summarizers to the content-controllable summarization task.

Show full abstract

RelAttn first identifies the relevant content in the source documents, and then makes the model attend to the right context by directly steering the attention weight. We further apply an unsupervised online adaptive parameter searching algorithm to determine the degree of control in the zero-shot setting, while such parameters are learned in the few-shot setting. By applying the module to three backbone summarization models, experiments show that our method effectively improves all the summarizers, and outperforms the prefix-based method and a widely used plug-and-play model in both zero- and few-shot settings. Tellingly, more benefit is observed in the scenarios when more control is needed.

View on arXivView PDF

Code Implementations(1)

The official code for RelAttn, a plug and play module for content-controllable summarization

61PythonDec 20, 20223 years ago

Similar Papers

Cite this paper

@article{xiao2022attend,
  title  = {Attend to the Right Context: A Plug-and-Play Module for Content-Controllable Summarization},
  author = {Wen Xiao and Lesly Miculicich and Yang Liu and Pengcheng He and Giuseppe Carenini},
  year   = {2022},
  eprint = {2212.10819},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.10819}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.10819.svg)](https://codeofpaper.com/paper/2212.10819)

Discussion