A Decoding Algorithm for Length-Control Summarization Based on Directed Acyclic Transformers

Chenyang Huang, Hao Zhou, Cameron Jen, Kangjie Zheng, Osmar R. Zaïane +1 more
2/6/2025
cs.CL

No official code found. Best implementation: MANGA-UOFA/DAT-LenC (1 star, last commit 2024-11-12).

Abstract

Length-control summarization aims to condense long texts into a short one within a certain length limit. Previous approaches often use autoregressive (AR) models and treat the length requirement as a soft constraint, which may not always be satisfied. In this study, we propose a novel length-control decoding algorithm based on the Directed Acyclic Transformer (DAT). Our approach allows for multiple plausible sequence fragments and predicts a \emph{path} to connect them. In addition, we propose a Sequence Maximum a Posteriori (SeqMAP) decoding algorithm that marginalizes different possible paths and finds the most probable summary satisfying the length budget. Our algorithm is based on beam search, which further facilitates a reranker for performance improvement. Experimental results on the Gigaword and DUC2004 datasets demonstrate our state-of-the-art performance for length-control summarization.

View on arXivView PDF

Code Implementations(1)

MANGA-UOFA/DAT-LenCCommunity100%
10C, C++Nov 12, 20241 years ago

Similar Papers

Cite this paper

@article{huang2025decoding,
  title  = {A Decoding Algorithm for Length-Control Summarization Based on Directed Acyclic Transformers},
  author = {Chenyang Huang and Hao Zhou and Cameron Jen and Kangjie Zheng and Osmar R. Zaïane and Lili Mou},
  year   = {2025},
  eprint = {2502.04535},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.04535v1}
}

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/2502.04535.svg)](https://codeofpaper.com/paper/2502.04535)

Discussion