Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Beam Decoding with Controlled Patience   Text generation with beam search has proven successful in a wide range of
applications. The commonly-used implementation of beam decoding follows a first
come, first served heuristic: it keeps a set of already completed sequences
over time steps and stops when the size of this set reaches the beam size. We
introduce a patience factor, a simple modification to this decoding algorithm,
that generalizes the stopping criterion and provides flexibility to the depth
of search. Extensive empirical results demonstrate that the patience factor
improves decoding performance of strong pretrained models on news text
summarization and machine translation over diverse language pairs, with a
negligible inference slowdown. Our approach only modifies one line of code and
can be thus readily incorporated in any implementation.

13
The categories of this paper are: quant-ph
7
The categories of this paper are: hep-th
18
The categories of this paper are: econ
35
The categories of this paper are: mtrl-th
2
The categories of this paper are: math
10
The categories of this paper are: q-bio
14
The categories of this paper are: math-ph
8
The categories of this paper are: hep-ex
31
The categories of this paper are: ao-sci
12
The categories of this paper are: nucl-th
22
The categories of this paper are: chao-dyn
37
The categories of this paper are: supr-con
17
The categories of this paper are: q-fin
6
The categories of this paper are: astro-ph
11
The categories of this paper are: hep-lat
32
The categories of this paper are: atom-ph