Learn Before
Analyzing a Step-by-Step Text Generation Strategy
A large language model is tasked with completing a sentence. It employs a strategy where, at each step, it selects the single most probable word to add next, without considering the impact of this choice on future word selections. Analyze the primary advantage and the main potential disadvantage of this strategy for generating high-quality, coherent text. Illustrate the disadvantage with a brief, hypothetical example.
0
1
Tags
Ch.5 Inference - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Evaluating an Inference Strategy for a Creative Writing Assistant
A language model is generating a response, starting with the phrase 'The best way to learn is...'. The model must decide on the next three words. At each step, it uses a strategy where it always chooses the single word with the highest probability. Given the probabilities below, which sequence of three words will the model generate?
Step 1 (after '...is'):
by: 0.5through: 0.3with: 0.2
Step 2 (if 'by' is chosen):
doing: 0.6reading: 0.3listening: 0.1
Step 3 (if 'by doing' is chosen):
it: 0.4the: 0.5a: 0.1
Analyzing a Step-by-Step Text Generation Strategy