Il prossimoProssima guida
Apprendimento per rinforzo inverso
Tecnico
GUIDA TECNICA
Reinforcement learning trains an agent to choose actions using feedback about their consequences.
Ascolta questa guidaNarrato dall'IA · ~2 min
The agent interacts with an environment and tries to improve a cumulative reward objective. Reward is a designed signal and may only imperfectly represent the behavior people want.
The agent observes a state or observation, chooses an action according to a policy, and receives feedback. An action can change the situations encountered later, so the task differs from predicting independent labels. A sequence of interactions may form an episode, such as one game or one simulated journey. Exploration tries actions to learn about their consequences. Exploitation uses what the agent has learned to pursue reward. Real deployments must constrain exploration when mistakes can affect people, equipment, or budgets. A simulation is often useful, but success inside it may depend on assumptions that fail outside it. Delayed rewards create a credit-assignment problem: which earlier actions helped or harmed the outcome? Algorithms estimate values or directly improve policies using experience. The choice of observation, action space, reward, and time horizon can matter as much as the algorithm name. Test whether a policy exploits loopholes in the reward. If a support agent earns reward for closing tickets, it might close unresolved requests. Include direct checks of task completion and unacceptable outcomes. Compare performance across varied starting conditions and report the cost of collecting experience.
04Esempio lavorato
In an invented three-step episode, rewards are 2, 0, and 5. With discount factor 0.9, the return from the first step is 2 + 0.9 × 0 + 0.9² × 5.
The result is 6.05. With no discounting, the total would be 7.
Changing the reward definition or horizon could change which policy is preferred even in the same environment.
Cosa mostra
This arithmetic example explains the objective; it is not a measured reinforcement-learning result.
Train a policy in a simulator with clearly defined safe actions.
Compare action policies using recorded outcomes when the evaluation assumptions are defensible.
Newsletter gratuita
Tre storie verificate sull'IA ogni mattina nei giorni feriali, scritte in un inglese semplice. Gratuito per sempre, senza pubblicità.
Un'email ogni giorno feriale. Disiscriviti con un clic. Non vendiamo né condividiamo mai il tuo indirizzo.
Mettiti alla prova
Feedback immediato su ogni risposta e un certificato condivisibile con un ID verificabile una volta superato un corso.
Sostieni l'istruzione gratuita sull'IA. AI Understanding è un'organizzazione non profit 501(c)(3) — nessun annuncio, nessun paywall, mai. Fai una donazione
Not necessarily. Rewards can be numerical measurements, outcomes, or feedback proxies. Their connection to the intended goal must be evaluated.
Continua a imparare
Altre guide selezionate per questo argomento
Il prossimoProssima guida
Apprendimento per rinforzo inverso
Tecnico