The reviewed record of science sign in
Pith

arxiv: 2210.00660 · v3 · pith:M2Y6GZYO · submitted 2022-10-03 · cs.LG · cs.AI· cs.CL

A Non-monotonic Self-terminating Language Model

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:M2Y6GZYOrecord.jsonopen to challenge →

classification cs.LG cs.AIcs.CL
keywords decodingincompletemodellanguagesamplingsearchsequencesalgorithm
0
0 comments X
read the original abstract

Recent large-scale neural autoregressive sequence models have shown impressive performances on a variety of natural language generation tasks. However, their generated sequences often exhibit degenerate properties such as non-termination, undesirable repetition, and premature termination, when generated with decoding algorithms such as greedy search, beam search, top-$k$ sampling, and nucleus sampling. In this paper, we focus on the problem of non-terminating sequences resulting from an incomplete decoding algorithm. We first define an incomplete probable decoding algorithm which includes greedy search, top-$k$ sampling, and nucleus sampling, beyond the incomplete decoding algorithm originally put forward by Welleck et al. (2020). We then propose a non-monotonic self-terminating language model, which significantly relaxes the constraint of monotonically increasing termination probability in the originally proposed self-terminating language model by Welleck et al. (2020), to address the issue of non-terminating sequences when using incomplete probable decoding algorithms. We prove that our proposed model prevents non-terminating sequences when using not only incomplete probable decoding algorithms but also beam search. We empirically validate our model on sequence completion tasks with various architectures.

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.