Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Term

beam search

Meaning

A decoding procedure that keeps a limited set of the highest-scoring partial transcriptions and extends them one output step at a time, scoring candidates with the network outputs and a language model.

Source Deep Speech 2: End-to-End Speech Recognition in English and Mandarin

How papers use it 30 papers

  1. Deep Speech 2: End-to-End Speech Recognition in English and Mandarin

    Use Used in decoding for both English and Mandarin, with a language model integrated into the search. For deployment, the authors prune the expansion step: each time step considers only the smallest set of characters whose cumulative probability reaches a threshold of 0.99, and at most 40 characters. The paper reports that this speeds Mandarin language-model lookups by a factor of 150 with a negligible CER effect of 0.1-0.3% relative.

  2. Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation

    Use The decoder used by GNMT to find the target sequence that maximizes the score function. The paper modifies the pure probability-based version by adding length normalization and a coverage penalty. Pruning removes tokens whose local scores fall too far below the best token and completed hypotheses whose normalized scores fall too far below the best normalized score. The paper notes that keeping fewer hypotheses, such as 4 or 2, has only a slight negative effect on BLEU compared with 8 to 12.

    Meaning A decoding procedure that keeps a limited number of partial hypotheses at each step, extends them one symbol at a time, and selects the output sequence with the highest-ranked score among the completed hypotheses.

  3. Long-term Recurrent Convolutional Networks for Visual Recognition and Description

    Use Serves as one of the caption generation strategies for the LRCN image description model. Greedy generation (beam width 1) is the simplest option and was used in the authors' earlier work. Results show that beam widths of 3 to 5 gave the best generation numbers, that performance saturates quickly, and that it degrades at larger widths such as 10.

    Meaning A decoding strategy for generating sequences from a model that keeps the N most probable partial sequences at each step, extends each of them, and retains the best N again. A beam width of 1 reduces it to greedy decoding, which picks the single most probable token at each step.

  4. Oscar: Object-Semantics Aligned Pre-training for Vision-Language Tasks

    Use Used at inference for the image captioning generation process, with beam size set to 5 and results reported on the COCO captioning dataset. For NoCaps, the captioning variant of the decoder is constrained beam search rather than plain beam search.

    Meaning Beam search is a decoding procedure that generates a sequence token by token while keeping a fixed number of the highest-scoring partial sequences, the beam, at each step. It approximates the most likely output sequence without exhaustively scoring all candidates.

  5. The Curious Case of Neural Text Degeneration

    Use Used as the main example of a maximization-based decoder that the paper argues produces degenerate text. With beam sizes such as 16 and 32, the generations fall into repetition loops (Figure 1 uses beam size 32). In the comparison table, beam search with b=16 has a perplexity far below that of human text and a high repetition rate. The authors note that its repetition measure decreases as beam width grows mainly because the generations get shorter.

    Meaning A maximization-based decoding method that keeps a set of b partial candidate sequences at each step and extends them, aiming to find the continuation with high overall probability. The beam width b controls how many partial sequences are kept.

  6. Generating Sentences from a Continuous Space

    Use Used to generate imputations from the RNNLM with a beam size of 15 and, in constrained form, to fill unknown words inside the VAE's approximate iterated conditional modes with a beam size of 5 over 3 steps. In the adversarial evaluation, the RNNLM's beam of 15 limits the choice of its final token to the top 15 tokens of its initial unconditional distribution.

    Meaning An approximate decoding procedure that keeps a fixed number of the best partial sequences at each step instead of only the single best one. It returns a high-scoring full sequence without exhaustive search.

  7. Robust Speech Recognition via Large-Scale Weak Supervision

    Use Used in long-form decoding with 5 beams, scored by log probability, to reduce repetition loops that occur more often under greedy decoding. It is one of the heuristics applied in the long-form results.

    Meaning A decoding strategy that keeps several highest-scoring partial output sequences at each step instead of committing to the single most probable token, and then selects the best complete hypothesis.

  8. Self-Attention with Relative Position Representations

    Use Used for evaluation of the translation models with a beam size of 4 and a length penalty of 0.6. The length penalty adjusts the final ranking of candidate outputs by their length.

    Meaning A decoding procedure that keeps a fixed number of the highest-scoring partial output sequences at each step, instead of committing to a single best choice.

  9. Convolutional Sequence to Sequence Learning

    Use Used to generate translations with a beam width of 5. Finished hypotheses are ranked by their log-likelihood divided by output length \(|y|\). For WMT’14 English-German, a length normalization exponent \(\alpha\) is tuned on the newstest2015 development set and applied as \(|y|^\alpha\). On other datasets the authors found no benefit from length normalization.

    Meaning A decoding procedure that keeps a fixed number of the highest-scoring partial output sequences at each step, rather than only the single best one, and returns the best finished hypothesis.

  10. A Neural Conversational Model

    Use Mentioned as a less greedy alternative to the decoding the model uses. The model's inference feeds back the single predicted token at each step, which the paper calls greedy inference, and beam search is only described as a possible option to that approach.

    Meaning A decoding procedure that keeps several high-scoring partial output candidates at each step and extends them, rather than committing to a single best token at each step.

  11. Text Summarization with Pretrained Encoders

    Use Used to decode the abstractive models with beam size five. The length penalty alpha is tuned between 0.6 and 1 on the validation set.

    Meaning A decoding procedure that keeps a fixed number of the highest-scoring partial output sequences at each step, extends them, and returns the best complete sequence. The beam size sets how many candidates are kept.

  12. Measuring Mathematical Problem Solving With the MATH Dataset

    Use Used as the generation strategy for GPT-2 models in the default HuggingFace setup. A beam size of 20 is used when a model outputs only the final answer, and a beam size of 10 when it generates full step-by-step solutions.

    Meaning Beam search is a decoding procedure for autoregressive language models that keeps a fixed number of the highest-scoring partial output sequences at each step and extends them, rather than choosing only the single best token at each step. The final output is the best complete sequence among the surviving candidates.

  13. Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyond

    Use Used at test time in the Gigaword experiments with a beam of size 5 and an output limit of 30 words, both fixed for these models. The paper notes that the average output length from these models is close to the ground-truth length on the validation set. For DUC, the only decoder change is suppressing the end-of-summary tag and forcing exactly 30 words.

    Meaning A decoding procedure that keeps a fixed number of the highest-scoring partial output sequences at each step, extends them, and returns the best complete output. It is a common alternative to greedy decoding during test-time generation.

  14. Deep Speech: Scaling up end-to-end speech recognition

    Use Used to find the character sequence that maximizes a combined score: the log probability from the RNN, plus a weighted log probability from the language model, plus a weighted word count. The two weights are set by cross-validation, and the beam width is typically in the range of 1000 to 8000.

    Meaning A heuristic decoding procedure that keeps only a fixed number of the best-scoring partial hypotheses at each step rather than exploring every possible output. It trades exactness for a much smaller search cost.

  15. A Diversity-Promoting Objective Function for Neural Conversation Models

    Use Used with a beam size of 200 for the baseline SEQ2SEQ model and for generating the N-best lists of the MMI models. Completed hypotheses are collected into the N-best list as they finish, while the beam keeps a set number of unfinished hypotheses.

    Meaning A decoding procedure that keeps a fixed number of the highest-scoring partial hypotheses at each step, instead of only one, and extends them in parallel until output sequences are complete.

  16. A Neural Attention Model for Abstractive Sentence Summarization

    Use The decoder keeps K hypotheses per position while searching over the full output vocabulary.

    Meaning A decoding procedure that keeps a fixed number of partial hypotheses at each step.

  17. Self-Consistency Improves Chain of Thought Reasoning in Language Models

    Use Compared with self-consistency on the UL2-20B model under the same number of beams and reasoning paths, with self-consistency outperforming it on both tasks. Self-consistency can also use beam search to decode each reasoning path, but this performs worse than sampling because beam search yields less diverse outputs.

    Meaning A deterministic decoding procedure that keeps a fixed number of highest-scoring partial sequences, called beams, at each generation step and returns the best complete sequence. It favors high-probability outputs and tends to produce less varied outputs.

  18. Neural Machine Translation by Jointly Learning to Align and Translate

    Use Used after training to search for a translation that approximately maximizes the conditional probability of the target sentence given the input sentence. The same decoding approach is noted as having been used by Sutskever et al. (2014) for their neural machine translation model.

    Meaning Beam search is a heuristic decoding procedure that generates a sequence step by step while keeping only a fixed number of the highest-scoring partial hypotheses at each step. It gives an approximate solution to finding the most probable output sequence.

  19. Sequence Transduction with Recurrent Neural Networks

    Use Used at test time to approximate the most probable output sequence of the transducer, because finding the mode of the output distribution is much harder than scoring one sequence. The search runs as a fixed-width beam over the tree of output sequences, and the final choice is the candidate with the highest length-normalised probability. The paper notes that the search can be extended to return an N-best list and that it accelerates prediction by reusing stored hidden vectors.

    Meaning A search procedure that keeps a fixed number of the most promising partial candidates at each step, rather than expanding every candidate. It trades search accuracy against computation by changing the beam width.

  20. Recurrent Neural Network Regularization

    Use Used to generate translations from the trained LSTM, approximating the most probable word sequence with a beam of size 12 in the English to French experiment.

    Meaning An approximate decoding procedure that keeps a fixed number of the highest-probability partial sequences at each generation step and returns the best complete output.

  21. OpenNMT: Open-Source Toolkit for Neural Machine Translation

    Use The decoding method used for translation in OpenNMT. The speed measurements in the performance table compare beam sizes of 1 and 5, and the translation benchmark on English-to-German uses beam size 5.

    Meaning A test-time decoding procedure that keeps several hypothesis target sequences active at each time step rather than committing to a single best prediction.

  22. Attention Is All You Need

    Use Used to decode the translation models with a beam size of 4 and a length penalty of α = 0.6, with hyperparameters chosen on the development set. The maximum output length is set to the input length plus 50, and decoding stops early when possible. In the development-set ablations, beam search is used without checkpoint averaging.

    Meaning A decoding procedure that keeps several of the highest-scoring partial output sequences at each step, instead of committing to a single best token, and returns the best completed candidate.

  23. Chain-of-Thought Reasoning Without Prompting

    Use Serves as one of the alternative decoding baselines on the Mistral-7B pre-trained model for GSM8K, with a beam width of 10 reaching 6.7% accuracy, below the 9.9% of greedy decoding.

    Meaning A decoding method that keeps a fixed number of the highest-scoring partial output sequences at each generation step, extends each of them, and returns the best complete sequence found.

  24. Self-critical Sequence Training for Image Captioning

    Use Used as an alternative to greedy decoding when reporting results. The figures compare SCST and REINFORCE-based models under beam search on the validation split, and the cross-entropy beam result is one of the comparison rows. The paper reports that beam search gives little gain for models trained with SCST.

    Meaning A decoding procedure that keeps several highest-scoring partial sequences at each step, with the number kept (the beam width) as a tunable setting, and returns the best complete sequence.

  25. Attention-Based Models for Speech Recognition

    Use Used to decode phoneme sequences from the trained models. Decoding starts with a beam width of 10 and widens to 40 when the network fails to produce the end-of-sequence token. The authors report that wider beams gave little benefit, and that the attention models work well with small beams.

    Meaning A decoding procedure that keeps a limited set of the best partial output sequences at each step, extends them from left to right, and stops when a designated end symbol is produced.

  26. Efficient Memory Management for Large Language Model Serving with PagedAttention

    Use Treated as a decoding scenario with complex memory sharing. Candidates in a beam share not only the prompt blocks but also other blocks, and the sharing pattern changes as decoding advances, which resembles a process tree built from compound forks. The paper's example uses beam width k = 4. When candidates drop out of the top k, their logical blocks are freed and physical blocks whose reference counts reach zero are reclaimed. Copy-on-write is applied only when new tokens land in an old shared block.

    Meaning A decoding algorithm that keeps a fixed number k of the most probable candidate output sequences at each step. Every candidate is extended with all tokens in the vocabulary, and the k most probable sequences among the resulting k times |V| candidates are retained, where |V| is the vocabulary size.

  27. Deep Visual-Semantic Alignments for Generating Image Descriptions

    Use Used at test time to generate sentences from the multimodal recurrent network, which otherwise samples or takes the argmax word at each step. The authors use a beam size of 7 and report that it improves results.

    Meaning A decoding procedure that keeps a fixed number of the highest-scoring partial sequences at each step, instead of committing to a single choice, and returns the best complete sequence found.

  28. BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation

    Use A baseline decoding strategy for synthetic captions, compared against nucleus sampling in a table on models pre-trained with 14M images. Beam-search captions give a 19% noise ratio and a NoCaps CIDEr of 103.5.

    Meaning A deterministic decoding procedure that searches for the output sequence with the highest probability, so repeated runs on the same input return the same caption.

  29. Prompting Is Programming: A Query Language for Large Language Models

    Use Discussed in the background section as one of the decoding methods, next to argmax and sampling. In LMQL it appears as the decoder option beam(n=...). The paper's beam variant, scripted beam search, extends this procedure across holes and control flow.

    Meaning A decoding procedure that keeps a fixed number n of partial sequences, called beams, at each step. Each beam is extended with candidate next tokens, and the n highest-scoring resulting sequences are kept, so the search lies between greedy decoding and exhaustive enumeration.

  30. Language Models are Few-Shot Learners

    Use Generated outputs are then scored with F1, BLEU, or exact match, depending on the standard metric for each dataset.

    Meaning A decoding procedure that keeps several of the highest-scoring partial output sequences at each generation step, instead of only the single best one, and returns the best complete sequence. The number of kept candidates is the beam width, and a length penalty adjusts scores so that candidates of different lengths can be compared.

Related terms

Open in the term mapTerm list

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up