Greedy Decoding
The simplest generation strategy: at each step, the model takes the most probable next token and does not look back.
How It Works
flowchart LR
A[Current text] --> B[Most probable token]
B --> C[Add]
C --> A
The model simply repeats the 'greedy' choice until it hits a stop-token.
Pros and Cons
| Pros | Cons |
|---|---|
| Fast | Gets stuck in repetitions |
| Deterministic | Does not see long-term consequences |
| Simple | Text can be unnatural |
Why It Is Rarely Used in Dialogues
Greedy selection leads to looping and 'robotic' text. Live assistants generate through sampling with temperature and top-p — this makes responses more varied.