AI Terminology
/Intermediate
Reinforcement Learning
Definition
A Machine Learning approach where an 'agent' learns to make decisions by performing actions in an environment to maximize a cumulative reward. It learns through trial and error.
Explain Like I'm New
Training a dog. When the computer does something right, you give it a treat (+1 point). When it does something wrong, you scold it (-1 point). Eventually, the computer figures out how to act to get the maximum number of treats.
Real World Example
Teaching an AI to play Super Mario. The AI starts by pressing random buttons. If it dies, it loses points. If it moves right and collects coins, it gains points. After 10,000 attempts, it learns how to beat the level flawlessly.
Common Use Cases
- •Robotics
- •Video game AI
- •Autonomous driving
- •LLM fine-tuning (RLHF)
Interview Questions
basic
- In Reinforcement Learning, how does the agent know if it made a good decision?
intermediate
- What is the 'Exploration vs Exploitation' trade-off in Reinforcement Learning?