Concepts / Evolution of Reinforcement Learning

Evolution of Reinforcement Learning

The historical sequence is best understood as convergence, not as a single invention: trial-and-error learning, optimal control, and temporal-difference methods eventually came together in the late 1980s.

  • Programming

Two Paths to One Field

Reinforcement learning did not begin as one unified subject. It grew from two largely independent historical directions. One direction emphasized learning through trial and error. The other focused on optimal control, using value functions and dynamic programming to address control problems, largely without learning. Their later connection helped form the modern field of reinforcement learning.

Trial-and-errorlearningAnimal-learning psychologyOptimal controlValue functionsEarly artificialintelligenceLearning threadDynamic programmingControl solution methodEarly 1980sReinforcement-learningrevivalTemporal-differencemethodsHistorical connectionModern reinforcementlearningLate 1980sinfluencedhelped reviveusedmetmethelped connect
How did trial-and-error learning and optimal control develop separately before becoming part of modern reinforcement learning?
Key point

The historical sequence is best understood as convergence, not as a single invention: trial-and-error learning, optimal control, and temporal-difference methods eventually came together in the late 1980s.

Trial and Error

The trial-and-error thread emphasizes learning through interaction. A system tries behaviors and learns from the results of those trials. The system is therefore understood through the process of trying and learning, rather than through a purely analytical solution to a control problem.

ViewpointCentral emphasisHow behavior is understood
Trial-and-error learningLearning from trialsThe system improves through interaction and the results of experience
Optimal controlSolving a control problemThe problem is addressed through value functions and dynamic programming

The two historical threads differ mainly in whether learning from interaction or analytical control methods are central.

Trial-and-errorlearningInteraction and learningOptimal controlControl problemExperienceResults of trialsValue functionsValue-oriented solutionDynamic programmingControl procedurelearns throughusesuses
What changes between choosing actions from direct interaction and computing actions from a model, value function, or dynamic-programming procedure?

Value Functions and Backups

The optimal-control thread centered on value functions and dynamic programming. A value function represents the value associated with a state or action. Dynamic programming uses these value-oriented ideas to work through a control problem. Together, they provide a route toward selecting control behavior without making learning from trial and error the central mechanism.

StateSituation in theenvironmentValue functionState or action valueDynamic-programmingbackupValue-oriented procedureOptimal policyControl behaviorActionAvailable control choiceRewardOutcome signalis evaluated asis evaluated asinformsis processed bysupports selection of
How do states, actions, rewards, value functions, and dynamic-programming backups connect to produce an optimal policy?

The Temporal-Difference Bridge

The two main threads were not completely separate. Temporal-difference methods formed a less sharply defined third thread and helped connect trial-and-error learning with value-oriented ideas from optimal control. Their historical importance is therefore not that they replace either thread, but that they provide a bridge between learning from experience and improving value estimates.

Trial-and-errorinteractionExperienceExperience outcomeObserved resultTemporal-differencemethodsConnecting threadValue estimateImproved estimateOptimal-control ideasValue-oriented controlproducesinformsimprovesconnects to
How does a temporal-difference method use experience from trial and error to improve value estimates associated with optimal control?
Worked example

Reading the Historical Bridge

Suppose a learner encounters a method that uses experience from interaction while also improving estimates associated with states or actions. Which historical threads does this method connect?

  1. 1
    Identify the learning source

    Because the method uses experience from interaction, it reflects the trial-and-error thread.

  2. 2
    Identify the estimated object

    Because the method improves value estimates, it also relates to the value-oriented optimal-control thread.

  3. 3
    Name the bridge

    Temporal-difference methods are the historical connection between these two emphases.

Result

The method belongs to the connecting thread: it links learning from experience with value-oriented ideas.

Evolutionary Policy Search

Evolutionary methods take a different route from methods that estimate how valuable individual states or actions are. They search over complete policies. Each candidate agent follows its policy while interacting with the environment, receives reward for its lifetime of behavior, and is judged by the result. Candidates associated with better reward are selected as the basis for further search.

Candidate policiesA group of agentsEnvironmentinteractionEach policy actsLifetime behaviorComplete interaction periodRewardBehavior resultReward comparisonHigher reward favoredFurther policy searchStronger candidates asbasisusesproducesreceivesis compared infavors
How are complete policies evaluated by lifetime behavior, compared by fitness, and selected to produce the next group of agents?
Worked example

Comparing Three Complete Policies

Imagine three non-learning agents, each using a different policy. After the same interaction period, one obtains more reward than the other two.

  1. 1
    Run the policies

    Each agent follows its own policy while interacting with the environment. The agents do not improve through learning during their individual lifetimes.

  2. 2
    Evaluate complete behavior

    The method evaluates the reward produced by each agent's complete behavior over its interaction period.

  3. 3
    Compare candidates

    The candidate associated with more reward is favored over weaker candidates.

  4. 4
    Continue the search

    The stronger candidate becomes part of the basis for further policy search.

Result

The method selects according to lifetime reward, not according to a separate value estimate for every state or action.

Two Kinds of Evaluation

A value function estimates the value of a state or an action. Evolutionary evaluation asks a different question: how well did an entire policy perform over its interaction period? The unit being evaluated is therefore different. One approach attaches an estimate to a particular state or action; the other scores the complete behavior produced by a policy.

Lifetime behaviorComplete policy performanceState valueValue of a stateReward scoreCandidate comparisonAction valueValue of an actionValue estimateState or action assessmentproducescontributes tocontributes to
What is the difference between scoring an agent's entire lifetime behavior and estimating the value of a particular state or state-action pair?
  • Common mistake

    Assuming every reinforcement learning method must construct a value function.

    What it looks like

    Treating evolutionary policy search as if it must estimate the value of each state before comparing agents.

    Why it fails

    Evolutionary methods can compare complete policies by the reward produced during their lifetimes without constructing a value function.

    Do this instead

    First identify the unit of evaluation: a state or action for value estimation, or an entire policy for evolutionary evaluation.

  • Common mistake

    Calling lifetime reward an estimate of one state or action.

    What it looks like

    Describing an agent's total interaction result as the value of the particular state where it began.

    Why it fails

    The evolutionary method evaluates the complete behavior produced by the policy over its interaction period.

    Do this instead

    Describe the result as a policy-level or lifetime-behavior evaluation.

  • Common mistake

    Treating evolutionary candidates as learning during their own lifetimes.

    What it looks like

    Assuming a candidate that receives a low reward automatically improves its policy while interacting.

    Why it fails

    The source describes the agents as non-learning during their individual lifetimes; selection occurs across candidates after behavior is evaluated.

    Do this instead

    Separate individual behavior from the broader search: an agent follows its policy, then candidates are compared and stronger ones are favored.

When Evolutionary Methods Fit

Evolutionary methods may be effective when the policy space is small, when good policies are common or easy to find within that space, or when substantial time is available for searching. These conditions make it more plausible that comparison and selection will encounter useful policies.

They can also be useful when the learning agent cannot accurately sense the state of its environment. Methods that depend on accurate environmental sensing may face difficulty in that situation, while evolutionary evaluation can still compare the behavior produced by different policies according to the reward they obtain.

MEDIUM

A problem has a small policy space, limited environmental sensing, and enough time to compare many candidate policies. Explain why evolutionary methods could be considered, and state what they would evaluate.

Hints
  • Look for the conditions that make comparison and search more plausible.
  • Distinguish a complete policy from a value estimate attached to one state or action.

Historical Convergence

  1. 1
    Reinforcement learning grew from two largely independent threads: trial-and-error learning and optimal control.
  2. 2
    Trial-and-error learning emphasizes interaction and learning from the results of trials.
  3. 3
    Optimal control developed around value functions and dynamic programming, largely without learning.
  4. 4
    Temporal-difference methods helped connect experience-based learning with value-oriented ideas.
  5. 5
    Evolutionary methods evaluate complete policies by lifetime reward and select stronger candidates without requiring state-value or action-value estimation.

Key Takeaways

  • Modern reinforcement learning emerged from the convergence of trial-and-error learning, optimal control, and temporal-difference methods.
  • Trial-and-error learning focuses on learning through interaction, whereas optimal control focuses on value functions and dynamic programming.
  • Temporal-difference methods provided a historical bridge between experience-based learning and value-oriented control.
  • Evolutionary methods compare complete policies by the reward produced over their lifetimes instead of estimating the value of individual states or actions.
  • Evolutionary approaches may fit small or searchable policy spaces, long search periods, and situations with limited environmental sensing.

Related concepts

More concepts starting with E