Bird
0
0

What is the typical effect of increasing the beam width in beam search decoding?

easy📝 Conceptual Q2 of 15
NLP - Text Generation
What is the typical effect of increasing the beam width in beam search decoding?
AIt speeds up the decoding process by pruning more aggressively
BIt reduces the vocabulary size used during decoding
CIt decreases the length of generated sequences
DIt increases the number of candidate sequences considered, potentially improving output quality
Step-by-Step Solution
Solution:
  1. Step 1: Define beam width

    Beam width is the number of candidate sequences kept at each decoding step.
  2. Step 2: Effect of increasing beam width

    Increasing beam width means more candidates are explored, which can improve quality but slow decoding.
  3. Final Answer:

    It increases the number of candidate sequences considered, potentially improving output quality -> Option D
  4. Quick Check:

    More candidates means better exploration but slower decoding [OK]
Quick Trick: Larger beam width means more candidates, better quality, slower decoding [OK]
Common Mistakes:
MISTAKES
  • Assuming beam width affects vocabulary size
  • Believing beam width controls sequence length directly
  • Thinking larger beam width speeds up decoding

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes