AI Dictionary › Fondamenti AI
Decodifica greedy
Greedy decoding is the simplest strategy for generating text: at each step the model always picks the highest-probability token, with no hesitation or alternatives. It is like a hiker who at every fork always takes the path that looks most downhill right now, never weighing the bigger picture. The result is deterministic: the same request always yields the same identical answer. This makes it fast and predictable but short-sighted: a locally optimal choice can lead to a worse overall sentence, because it never explores paths that start badly and end better.
Greedy decoding matters as the most basic baseline, used when reproducible answers are needed, as in tests or factual tasks. The downside is a tendency toward flat, repetitive, uncreative text.
La decodifica greedy (avida) è la strategia più semplice per generare testo: a ogni passo il modello sceglie sempre il token con la probabilità più alta, senza esitazioni né alternative. È come un escursionista che a ogni bivio prende sempre il sentiero che in quel momento sembra il più in discesa, senza mai considerare il quadro complessivo. Il risultato è deterministico: la stessa richiesta produce sempre la stessa risposta identica. Questo la rende veloce e prevedibile, ma miope: una scelta ottima nell'immediato può condurre a una frase complessivamente peggiore, perché non esplora percorsi alternativi che partono male ma finiscono meglio.
La decodifica greedy conta perché è il punto di riferimento più basilare e viene usata quando servono risposte riproducibili, come nei test o in compiti fattuali. Il rovescio è la tendenza a generare testo piatto, ripetitivo e privo di creatività.
From our network
Kaimaki Web — Websites That Win Customers
Custom websites, web apps and digital marketing for growing businesses.
Visit kaimakiweb.com →From the Agora Intelligence blog
📱 Download the Android app (beta) iOS coming soon
Say what you mean. Get what you need.
Grace Certified — the AI coach that trains and certifies your prompt engineering — by Agora Intelligence.