Reinforcement Learning

An agent learns by taking actions and receiving rewards or penalties from its environment.

Reinforcement learning (RL) is a paradigm where an agent observes its environment, takes actions, and receives scalar feedback — rewards for desirable outcomes, penalties for undesirable ones — iterating until it learns a policy that maximizes cumulative reward. Unlike supervised learning, it needs no labeled input-output pairs; the agent explores to discover which actions yield the best long-term returns. On AIF-C01, the key application is reinforcement learning from human feedback (RLHF), used to align large language models with human preferences after pre-training. Expect conceptual questions about RLHF rather than service-specific implementation details.

PlayPrepHQ study notes are written and reviewed against primary exam sources. How we create & review content →

Related terms

Back to Fundamentals of AI and ML