pith. machine review for the scientific record. sign in

arxiv: 1904.07418 · v1 · submitted 2019-04-16 · 💻 cs.CL

Recognition: unknown

Positional Encoding to Control Output Sequence Length

Authors on Pith no claims yet
classification 💻 cs.CL
keywords lengthconstraintcontrolencoder-decoderencodinggenerationmethodneural
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Progress Ratio Embeddings: An Impatience Signal for Robust Length Control in Neural Text Generation

    cs.CL 2025-12 unverdicted novelty 6.0

    Progress Ratio Embeddings use a trigonometric progress-ratio signal to deliver stable length control in transformers that generalizes to unseen target lengths.