Bird
0
0

In a machine translation task, you want to balance output quality and decoding speed. You have a beam search decoder with beam width 5. What happens if you increase the beam width to 20?

hard📝 Application Q15 of 15
NLP - Text Generation
In a machine translation task, you want to balance output quality and decoding speed. You have a beam search decoder with beam width 5. What happens if you increase the beam width to 20?
AOutput quality may improve but decoding will be slower
BOutput quality will decrease and decoding will be faster
COutput quality and decoding speed remain the same
DDecoding speed improves but output quality is unpredictable
Step-by-Step Solution
Solution:
  1. Step 1: Understand beam width effect on quality

    Larger beam width explores more sequences, often improving output quality.
  2. Step 2: Understand beam width effect on speed

    More sequences to track means more computation, slowing decoding speed.
  3. Final Answer:

    Output quality may improve but decoding will be slower -> Option A
  4. Quick Check:

    Higher beam width = better quality, slower speed [OK]
Quick Trick: Bigger beam = better results but slower decoding [OK]
Common Mistakes:
MISTAKES
  • Assuming bigger beam always speeds decoding
  • Thinking quality decreases with bigger beam
  • Believing beam width doesn't affect speed

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More NLP Quizzes