Concepts / Monte Carlo Control without Exploring Starts

Monte Carlo Control without Exploring Starts

Exploring starts assumes that all actions can be explored at the beginning, but this assumption is considered unrealistic.

  • Programming

Why the Starting Assumption Fails

Monte Carlo control needs experience containing different actions. Exploring starts handles this by assuming that the process can begin with all actions being explored. That gives the method a convenient starting condition, but the condition may not be available in the setting being modeled. In a real environment, an agent may not be able to choose every possible initial state and first action.

Exploring startsall actions explored at thebeginningModeled settingstarting condition may berestrictedmay not be available
What does exploring starts assume, and why is that assumption difficult to guarantee?

From Initial Exploration to Repeated Choice

Removing exploring starts does not remove the need for experience with different actions. Instead, the general alternative is to continue selecting actions so that all actions are selected infinitely often. The emphasis moves from the beginning of an episode to the repeated decision process across episodes. Rather than requiring every action to appear immediately at the start, the method keeps giving every action opportunities to be selected as experience is collected.

Episode 1action selectionDifferent actionsexperience includesalternativesEpisode 2action selectionRepeated episodesall actions selectedinfinitely oftencontinuerepeatselect repeatedly
How does the action-selection rule continue giving every possible action a chance as episodes repeat?
Worked example

Replacing a Convenient Start

An agent needs experience containing different actions, but the environment cannot be assumed to begin with every action explored.

  1. 1
    Identify the limitation

    The agent cannot rely on the initial condition to explore every action.

  2. 2
    Move exploration into repeated decisions

    The agent continues selecting actions across episodes so that all actions are selected infinitely often.

  3. 3
    Preserve varied experience

    Repeated selection gives the agent experience that includes different actions without requiring exploring starts.

Result

The method replaces an unrealistic initial-condition assumption with continued action selection over repeated episodes.

The Policy Relationship

Definition

An on-policy method evaluates or improves the same policy that is used to make decisions. An off-policy method evaluates or improves a different policy from the one used to generate the data.

MethodPolicy used to make decisionsPolicy evaluated or improved
On-policyThe policy at the center of decision-makingThat same policy
Off-policyThe policy that generates the dataA different policy

The distinction is whether the policy generating decisions is the same policy being evaluated or improved.

On-policy decisionspolicy AOff-policy decisionspolicy AOn-policy evaluationpolicy AOff-policy evaluationpolicy Bsame policydifferent policy
What is the difference between the policy used to generate decisions and the policy being evaluated or improved?

The On-Policy Route

Monte Carlo control without exploring starts uses the on-policy route. The policy that makes decisions remains at the center of the method. The agent does not assume that the initial condition will explore every action. Instead, its decision process continues selecting actions so that all actions are selected infinitely often. This supplies the different-action experience needed by Monte Carlo control while keeping the policy used for decisions as the policy being evaluated or improved.

Episode beginsno exploring-startsassumptionSelect an actionuse the decision policyContinue episodesall actions selectedinfinitely oftenDifferent-actionexperienceused by Monte Carlo controlPolicy improvementsame policy remains centralstartcontinuecollectsupport
How does the agent choose actions during ordinary episodes so that it can improve its policy without requiring every state-action pair to be chosen at the beginning?

Following One Method Through Time

What do you think happens?

An agent cannot guarantee that every action is explored at the beginning of an episode. What general change allows an on-policy Monte Carlo control method to proceed?

  • Stop collecting experience with different actions

  • Continue selecting actions so that all actions are selected infinitely often

  • Evaluate a different policy from the one making decisions

Reveal answer
Answer:

Continue selecting actions so that all actions are selected infinitely often

This is the general alternative to the unrealistic exploring-starts assumption. The on-policy method keeps the decision-making policy at the center while continuing action selection across episodes.

Worked example

A Conceptual Episode Sequence

Trace the design of an on-policy Monte Carlo control method when the initial condition cannot be assumed to explore every action.

  1. 1
    Initial condition

    The episode begins without assuming that all actions have been explored at the beginning.

  2. 2
    Decision making

    The agent selects actions using the policy that is central to the method.

  3. 3
    Repeated selection

    Across repeated episodes, the action-selection design continues giving every action opportunities to be selected, so all actions are selected infinitely often.

  4. 4
    Control

    The resulting experience includes different actions and can support Monte Carlo control while the same policy remains the one being evaluated or improved.

Result

On-policy Monte Carlo control avoids exploring starts by maintaining action opportunities over repeated decisions rather than requiring them all at the initial condition.

Mistakes in Policy Reasoning

  • Common mistake

    Treating exploring starts as an ordinary guarantee of every environment.

    What it looks like

    Assuming that the process can always begin with every action explored.

    Why it fails

    Exploring starts is a convenient assumption, but the source identifies it as unrealistic because the required starting condition may not be available.

    Do this instead

    Use continued action selection so that all actions are selected infinitely often.

  • Common mistake

    Thinking that avoiding exploring starts means avoiding different actions.

    What it looks like

    Allowing the method to select only one action after the initial condition.

    Why it fails

    Monte Carlo control needs experience that includes different actions.

    Do this instead

    Keep selecting actions across episodes so that all actions continue to receive selection opportunities.

  • Common mistake

    Calling a method on-policy merely because it uses episodes.

    What it looks like

    Describing a method without checking whether the policy generating decisions is the policy being evaluated or improved.

    Why it fails

    The on-policy and off-policy distinction concerns the relationship between those policies.

    Do this instead

    Call the method on-policy when it evaluates or improves the same policy used to make decisions; call it off-policy when it evaluates or improves a different policy.

Check Your Understanding

MEDIUM

Explain, in your own words, how an on-policy Monte Carlo control method can obtain experience with different actions without assuming that every action is explored at the beginning.

Hints
  • Start by naming the limitation of exploring starts.
  • Then describe what must happen across repeated action selections.
  • Finally, identify which policy is evaluated or improved in the on-policy approach.

Key Takeaways

  1. 1
    Exploring starts assumes that all actions can be explored at the beginning, but that starting condition may be unrealistic. The general alternative is to continue selecting actions so that all actions are selected infinitely often. An on-policy method evaluates or improves the same policy used to make decisions, while an off-policy method evaluates or improves a different policy. Monte Carlo control without exploring starts follows the on-policy route and maintains action opportunities across repeated episodes instead of relying on an unrealistic initial condition.

At a glance

  • Exploring starts assumes that all actions can be explored at the beginning, an assumption that may not be available in a real setting.
  • The general alternative is to keep selecting actions so that all actions are selected infinitely often.
  • On-policy methods evaluate or improve the same policy that makes decisions.
  • Off-policy methods evaluate or improve a different policy from the one that generates the data.
  • On-policy Monte Carlo control avoids exploring starts by maintaining action selection opportunities across repeated episodes.

Related concepts

More concepts starting with M