Positional Encoding to Control Output Sequence Length

04/16/2019
by   Sho Takase, et al.
0

Neural encoder-decoder models have been successful in natural language generation tasks. However, real applications of abstractive summarization must consider additional constraint that a generated summary should not exceed a desired length. In this paper, we propose a simple but effective extension of a sinusoidal positional encoding (Vaswani et al., 2017) to enable neural encoder-decoder model to preserves the length constraint. Unlike in previous studies where that learn embeddings representing each length, the proposed method can generate a text of any length even if the target length is not present in training data. The experimental results show that the proposed method can not only control the generation length but also improve the ROUGE scores.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/21/2020

Length-controllable Abstractive Summarization by Guiding with Summary Prototype

We propose a new length-controllable abstractive summarization model. Re...
research
09/17/2019

Controllable Length Control Neural Encoder-Decoder via Reinforcement Learning

Controlling output length in neural language generation is valuable in m...
research
04/22/2019

BePT: A Process Translator for Sharing Process Models

Sharing process models on the web has emerged as a widely used concept. ...
research
02/08/2023

Leveraging Summary Guidance on Medical Report Summarization

This study presents three deidentified large medical text datasets, name...
research
06/01/2021

LenAtten: An Effective Length Controlling Unit For Text Summarization

Fixed length summarization aims at generating summaries with a preset nu...
research
06/11/2021

Zero-Shot Controlled Generation with Encoder-Decoder Transformers

Controlling neural network-based models for natural language generation ...
research
09/09/2017

Steering Output Style and Topic in Neural Response Generation

We propose simple and flexible training and decoding methods for influen...

Please sign up or login with your details

Forgot password? Click here to reset