Exploring Starts and Epsilon-Soft Policies

Imagine an agent learning to play blackjack purely by trial and error. It uses Monte Carlo Control to estimate action values from sampled episodes. If the agent always sticks on a hand of 14, it will never learn what happens when it hits. That action's value stays forever unknown, frozen at an arbitrary initial guess. Monte Carlo control improves a policy only for the state-action pairs it actually visits. So an unvisited pair is a blind spot the agent cannot reason its way out of. This is the exploration problem. It sits at the heart of every control algorithm that learns from its own experience. The fix has to guarantee, in some precise sense, that every state-action pair keeps getting sampled forever. This must hold no matter how greedy the policy becomes. Two classical solutions solve this: exploring starts, which forces every episode to begin at a random state-action pair, and epsilon-soft policies, which bake a small amount of randomness into the policy itself at every single step. Both techniques appear throughout the reinforcement learning literature. They show up in tabular Monte Carlo control, in Sarsa, and in Q-learning's behavior policy. They also appear conceptually inside the epsilon-greedy exploration used in deep RL systems like DQN. This distinction matters far beyond toy problems. Real systems — recommendation engines, robotic controllers, trading agents — face the exact same tension. They must balance exploiting what looks best right now against exploring to discover something better. An agent that never explores converges to a policy that is only locally consistent with its own biased experience. It is not one that is actually optimal. Getting exploration right is a prerequisite for any convergence guarantee in model-free control. This article gives a precise account of both techniques. It covers how exploring starts and epsilon-soft policies are defined. It explains why each guarantees infinite visitation of every state-action pair. It describes the algorithms that use them: Monte Carlo with Exploring Starts, and on-policy first-visit Monte Carlo control with an epsilon-soft policy. It also covers their complexity, and the subtle correctness arguments. This includes why the epsilon-soft approach converges to the best policy within its own soft policy class. It does not converge to the true optimal deterministic policy. This nuance sets up the on-policy/off-policy split covered next.

Key takeaways
  • Monte Carlo control needs every state-action pair visited infinitely often to guarantee convergence to an optimal policy.
  • Exploring starts (ES) force each episode to begin at a uniformly random state-action pair, guaranteeing coverage.
  • Exploring starts is often impractical: many real environments don't let you "start" wherever you like.
  • Epsilon-soft policies fix this by making every policy, at every state, choose each action with probability at least ε/|A|.
  • On-policy first-visit MC control with an epsilon-soft policy converges to the best policy among epsilon-soft policies, not the unconstrained optimum.
  • These two exploration mechanisms foreshadow the deeper split between On-Policy vs Off-Policy Learning.
The core insight

Without a mechanism that keeps every state-action pair reachable forever, greedy policy improvement can lock the agent out of the very experience it would need to correct its own mistakes.

The idea

Monte Carlo control estimates the action-value function qπ(s,a)q_\pi(s,a) from returns observed after visiting (s,a)(s,a) in sampled episodes, then improves the policy by acting greedily with respect to these estimates: π(s)=arg⁡max⁡aq(s,a)\pi(s) = \arg\max_a q(s,a). The generalized policy iteration (GPI) framework alternates evaluation and improvement and is known to converge to q∗q_* and π∗\pi_* provided every (s,a)(s,a) pair is evaluated infinitely often. This is not a minor technical footnote — it is the linchpin of the convergence proof. If a pair (s,a)(s,a) is visited only finitely many times (or not at all), its value estimate can remain arbitrarily wrong, and greedy improvement built on a wrong estimate can permanently avoid the action that was actually best.

Exploring starts (ES) is the assumption that every episode begins in a state-action pair (s0,a0)(s_0, a_0) drawn so that all pairs have nonzero probability of being the start — typically sampled uniformly over S×A\mathcal{S} \times \mathcal{A}. After that random first step, the agent follows its current policy π\pi for the rest of the episode. Because the start distribution has full support and episodes repeat forever, every pair is visited infinitely often in the limit, which is exactly the condition GPI requires. Exploring starts is elegant in theory but demands a simulator (or environment) that lets you reset into any state-action pair on command — true in board games like blackjack or in Monte Carlo tree search, but false in most real interactive systems, where the agent cannot simply teleport into an arbitrary state.

Epsilon-soft policies solve the same problem without needing special resets. A policy π\pi is called ε\varepsilon-soft if

π(a∣s)  ≥  ε∣A(s)∣for all s∈S, a∈A(s),\pi(a \mid s) \;\ge\; \frac{\varepsilon}{|\mathcal{A}(s)|} \qquad \text{for all } s \in \mathcal{S},\ a \in \mathcal{A}(s),

for some small ε>0\varepsilon > 0. The most common instance is the epsilon-greedy policy: with probability 1−ε1-\varepsilon it takes the greedy (currently best-estimated) action, and with probability ε\varepsilon it picks uniformly at random among all actions (including possibly the greedy one again). Because every action retains probability at least ε/∣A(s)∣\varepsilon/|\mathcal{A}(s)| at every visited state, and every state is visited with positive probability under a reasonable environment, every (s,a)(s,a) pair is sampled infinitely often over an infinite stream of episodes — satisfying the same visitation requirement, but through the policy's own randomness rather than through artificial episode starts.

How it works

Monte Carlo Exploring Starts (MC-ES) modifies ordinary first-visit Monte Carlo control by randomizing the initial state-action pair of every episode, then following the current greedy policy thereafter, updating QQ and improving π\pi after each episode. ``` Algorithm: Monte Carlo Control with Exploring Starts (first-visit) Initialize: Q(s, a) <- arbitrary, for all s in S, a in A(s) Returns(s, a) <- empty list, for all s, a pi(s) <- arbitrary action in A(s), for all s Repeat forever (for each episode): Choose S0 in S and A0 in A(S0) uniformly at random # exploring start Generate episode: S0, A0, R1, S1, A1, R2, ..., S_{T-1}, A_{T-1}, R_T following policy pi from step 1 onward (A_t = pi(S_t) for t >= 1) G <- 0 For t = T-1, T-2, ..., 0: G <- gamma * G + R_{t+1} Unless the pair (S_t, A_t) appears in S0,A0,...,S_{t-1},A_{t-1}: Append G to Returns(S_t, A_t) Q(S_t, A_t) <- average(Returns(S_t, A_t)) pi(S_t) <- argmax_a Q(S_t, a) # greedy improvement ```

On-policy first-visit Monte Carlo control with an epsilon-soft policy replaces the artificial random start with an epsilon-greedy policy followed from a (fixed or randomly chosen, but not necessarily exhaustive) initial state. ``` Algorithm: On-policy first-visit MC control (epsilon-soft) Input: small epsilon > 0 Initialize: Q(s, a) <- arbitrary, for all s, a Returns(s, a) <- empty list, for all s, a pi <- an arbitrary epsilon-soft policy (e.g., uniform random) Repeat forever (for each episode): Generate episode using pi: S0, A0, R1, S1, A1, ..., S_{T-1}, A_{T-1}, R_T G <- 0 For t = T-1, T-2, ..., 0: G <- gamma G + R_{t+1} Unless (S_t, A_t) appears earlier in the episode: Append G to Returns(S_t, A_t) Q(S_t, A_t) <- average(Returns(S_t, A_t)) A <- argmax_a Q(S_t, a) # break ties consistently For all a in A(S_t): if a == A: pi(a | S_t) <- 1 - epsilon + epsilon / |A(S_t)| else: pi(a | S_t) <- epsilon / |A(S_t)| ``` The only structural difference from ordinary MC control is the final block: instead of collapsing to a deterministic greedy action, the policy is updated to the epsilon-greedy distribution* around the current best action. This single change is what removes the need for exploring starts, since the policy itself keeps every action alive with probability at least ε/∣A(s)∣\varepsilon/|\mathcal{A}(s)| at every state it visits, for as long as the algorithm runs.

Figure
Two exploration mechanisms feeding the same GPI loop
Exploring Starts 1. Sample (S0, A0) ~ Uniform(S × A) 2. Follow π (deterministic, greedy) 3. Every (s,a) reachable as a start ⇒ visited infinitely often over episodes requires arbitrary environment resets ε-Soft Policy 1. Start from any single state S0 2. Follow π(a|s) ≥ ε/|A(s)| for all a 3. Every action stays reachable at every visited state, forever works with normal environment resets GPI Loop Evaluate: Q(s,a) ← avg return Improve: π ← greedy / ε-greedy(Q) Guarantee used: every (s,a) visited infinitely often Both branches feed the same convergence requirement, by different means

Complexity & correctness

Time and space complexity. For a tabular MDP with ∣S∣|\mathcal{S}| states and ∣A∣|\mathcal{A}| actions per state, both algorithms store QQ and `Returns` as tables of size O(∣S∣⋅∣A∣)O(|\mathcal{S}|\cdot|\mathcal{A}|); maintaining running averages instead of full return lists keeps the space at O(∣S∣⋅∣A∣)O(|\mathcal{S}|\cdot|\mathcal{A}|) rather than growing without bound. Per episode of length TT, generating the trajectory costs O(T)O(T) environment steps, and the backward return/update pass costs O(T)O(T) time (with a first-visit check implementable in O(1)O(1) amortized time per step using a `seen` hash set, or O(T)O(T) worst case with a naive scan), plus O(∣A(s)∣)O(|\mathcal{A}(s)|) per visited state to redo the epsilon-greedy distribution update. So one episode costs O(T⋅∣A∣)O(T \cdot |\mathcal{A}|) time in the epsilon-soft variant and O(T)O(T) in the ES variant (policy update is O(1)O(1), just overwrite the greedy action). Neither algorithm has a fixed iteration bound — convergence is asymptotic, driven by the law of large numbers on sample returns, so total time to reach a given accuracy scales with the number of episodes needed for the averages to concentrate, which is problem-dependent and not expressible as a closed-form function of ∣S∣|\mathcal{S}|, ∣A∣|\mathcal{A}| alone.

Correctness of Monte Carlo Exploring Starts. The proof sketch runs by analogy to classical policy iteration. Fix the current policy πk\pi_k. Each episode's first-visit return is an unbiased sample of qπk(s,a)q_{\pi_k}(s,a) for the pair (s,a)(s,a) visited first in that episode (standard Monte Carlo estimation argument: the return is a sample path realization of the random variable whose expectation defines qπq_\pi). Because exploring starts guarantees every (s,a)(s,a) pair is the initial pair with positive probability at every episode, the strong law of large numbers implies

Qk(s,a)→n→∞qπk(s,a)almost surely, for every (s,a).Q_k(s,a) \xrightarrow{n\to\infty} q_{\pi_k}(s,a) \quad \text{almost surely, for every } (s,a).

Once QkQ_k is (in the idealized limit) exactly qπkq_{\pi_k}, the greedy update πk+1(s)=arg⁡max⁡aQk(s,a)\pi_{k+1}(s) = \arg\max_a Q_k(s,a) is precisely the policy improvement step of policy iteration, and the policy improvement theorem guarantees qπk+1(s,a)≥qπk(s,a)q_{\pi_{k+1}}(s,a) \ge q_{\pi_k}(s,a) for all (s,a)(s,a), with strict improvement somewhere unless πk\pi_k is already optimal. Iterating this argument, and noting the sequence of value functions is bounded above by q∗q_*, gives convergence to q∗q_* and an optimal π∗\pi_* — this is the argument given (with the appropriate technical care about interleaving evaluation and improvement per episode rather than waiting for full convergence at each step) in the classical treatment of MC-ES.

Correctness of on-policy epsilon-soft control. Here the target changes. Define Πε\Pi_\varepsilon as the set of all epsilon-soft policies. The claim is not that the algorithm converges to π∗\pi_* (which is deterministic and hence not epsilon-soft for ε>0\varepsilon>0), but that it converges to the best policy within Πε\Pi_\varepsilon. The key step is a modified policy improvement lemma: for any epsilon-soft π\pi, define π′\pi' as the epsilon-greedy policy with respect to qπq_\pi. Then

qπ(s,π′(⋅∣s))  =  ∑aπ′(a∣s) qπ(s,a)q_\pi(s, \pi'(\cdot|s)) \;=\; \sum_a \pi'(a|s)\, q_\pi(s,a)

can be shown to be ≥vπ(s)\ge v_\pi(s) for every state ss, by writing π′\pi''s expectation as a convex combination — ε\varepsilon worth of uniform exploration plus (1−ε)(1-\varepsilon) worth of the greedy action — and using the fact that a weighted average of qπ(s,a)q_\pi(s,a) values, when the weights match π(a∣s)\pi(a|s) scaled appropriately, cannot exceed the maximum term. Concretely,

∑aπ′(a∣s)qπ(s,a)=ε∣A(s)∣∑aqπ(s,a)+(1−ε)max⁡aqπ(s,a),\sum_a \pi'(a|s) q_\pi(s,a) = \frac{\varepsilon}{|\mathcal{A}(s)|}\sum_a q_\pi(s,a) + (1-\varepsilon)\max_a q_\pi(s,a),

and since max⁡aqπ(s,a)≥∑aπ(a∣s)−ε/∣A(s)∣1−εqπ(s,a)\max_a q_\pi(s,a) \ge \sum_a \frac{\pi(a|s) - \varepsilon/|\mathcal{A}(s)|}{1-\varepsilon} q_\pi(s,a) (a weighted average bounded by the max, using that these adjusted weights sum to 1 and are non-negative because π\pi is ε\varepsilon-soft), substituting back shows the right side collapses exactly to vπ(s)v_\pi(s). Hence vπ′(s)≥vπ(s)v_{\pi'}(s) \ge v_\pi(s) for all ss, by the standard policy improvement theorem applied within the constrained class. Iterating produces a monotonically improving sequence of epsilon-soft policies bounded above by the best epsilon-soft policy, which (by the same GPI convergence argument, now restricted to Πε\Pi_\varepsilon) converges to that constrained optimum. The visitation guarantee is immediate: since π(a∣s)≥ε/∣A(s)∣>0\pi(a|s) \ge \varepsilon/|\mathcal{A}(s)| > 0 for every reachable (s,a)(s,a) at every iteration, and episodes repeat forever, every pair is sampled infinitely often with probability 1, satisfying GPI's requirement without ever needing a special reset.

Honest tradeoffs. Exploring starts gives a cleaner asymptotic target (π∗\pi_* itself) but an assumption that is often physically impossible to satisfy — you cannot reset a real robot or a live user session into an arbitrary state-action pair. Epsilon-soft control works with an ordinary environment interface but pays a permanent price: even the final, converged policy still acts randomly an ε\varepsilon fraction of the time, so the actual behavior is never truly optimal, only optimal-within-the-soft-class. Shrinking ε\varepsilon toward 0 over time (a GLIE — greedy in the limit with infinite exploration — schedule) can recover convergence to π∗\pi_* itself, but this reintroduces a scheduling hyperparameter and a slower, less clean convergence guarantee.

Worked example

Consider a tiny two-state MDP used to make the exploration argument concrete. States {s1,s2}\{s_1, s_2\}, two actions per state {a1,a2}\{a_1, a_2\}, deterministic transitions and rewards chosen so that the truly best action at s1s_1 is a2a_2, but a poorly initialized greedy policy would never discover this without exploration:

StateActionNext stateRewardTrue q∗(s,a)q_*(s,a)
s1s_1a1a_1s2s_204.0
s1s_1a2a_2terminal1010.0
s2s_2a1a_1terminal44.0
s2s_2a2a_2terminal-2-2.0

Suppose QQ is initialized to zero everywhere, and the initial (arbitrary) policy happens to pick π(s1)=a1\pi(s_1) = a_1. Under plain greedy Monte Carlo control with no exploration mechanism, every episode starts at s1s_1, takes a1a_1 (the only action the policy ever tries at s1s_1), transitions to s2s_2, takes π(s2)\pi(s_2), and terminates. The pair (s1,a2)(s_1, a_2) is never sampled, so Q(s1,a2)Q(s_1,a_2) stays at its initial value of 0 forever, and the policy never switches to the truly optimal action, even though its value (10.0) is obviously better than a1a_1's (4.0) — the agent simply never gets the evidence. Now trace exploring starts. Over many episodes, the start pair is drawn uniformly from all four (s,a)(s,a) combinations. On episodes that start at (s1,a2)(s_1, a_2):

Episode startTrajectoryReturn GG (from t=0t=0, γ=1\gamma=1)Update
(s1,a2)(s_1,a_2)s1→s_1 \to terminal, R=10R=101010Q(s1,a2)←10Q(s_1,a_2) \leftarrow 10
(s1,a1)(s_1,a_1)s1→s2→s_1 \to s_2 \to terminal via π(s2)\pi(s_2)e.g. 0+4=40+4=4Q(s1,a1)←4Q(s_1,a_1)\leftarrow 4
(s2,a1)(s_2,a_1)s2→s_2\to terminal, R=4R=444Q(s2,a1)←4Q(s_2,a_1)\leftarrow 4
(s2,a2)(s_2,a_2)s2→s_2\to terminal, R=−2R=-2−2-2Q(s2,a2)←−2Q(s_2,a_2)\leftarrow -2

After just one sweep touching all four pairs, Q(s1,a2)=10>Q(s1,a1)=4Q(s_1,a_2)=10 > Q(s_1,a_1)=4, so the greedy improvement step immediately sets π(s1)←a2\pi(s_1) \leftarrow a_2 — the optimal action — something plain greedy MC could never have discovered. Now trace epsilon-soft control with ε=0.2\varepsilon = 0.2, ∣A∣=2|\mathcal{A}|=2, starting from the same bad policy bias. Every episode starts at s1s_1 (no artificial reset), but at s1s_1 the epsilon-greedy policy still assigns probability ε/2=0.1\varepsilon/2 = 0.1 to a2a_2 even while a1a_1 looks greedy. So roughly 1 in 10 episodes samples (s1,a2)(s_1, a_2) purely from the policy's own randomness:

Episode (schematic)Action taken at s1s_1ProbabilityOutcome
~90% of episodesa1a_1 (greedy, prob 1−ε+ε/2=0.91-\varepsilon+\varepsilon/2=0.9)0.9reinforces Q(s1,a1)≈4Q(s_1,a_1)\approx4
~10% of episodesa2a_2 (exploratory, prob ε/2=0.1\varepsilon/2=0.1)0.1reveals Q(s1,a2)→10Q(s_1,a_2)\to10

After enough episodes, Q(s1,a2)Q(s_1,a_2) converges to 10, overtakes Q(s1,a1)=4Q(s_1,a_1)=4, and the epsilon-greedy policy flips to assigning probability 0.90.9 to a2a_2 and 0.10.1 to a1a_1 — no reset to (s1,a2)(s_1,a_2) was ever needed, because the policy's own 10% exploration rate did the job. The final behavior is still not fully deterministic (it retains a 10% chance of the suboptimal action forever, unless ε\varepsilon is annealed), which is exactly the tradeoff discussed above.

Common pitfalls & traps

PitfallWhy it happensFix
Using pure greedy MC control with no exploration mechanismForgetting that Monte Carlo control's convergence proof requires infinite visitation; greedy-only policies can permanently starve some (s,a)(s,a) pairsAdd exploring starts or make the policy epsilon-soft
Assuming ES works in any environmentExploring starts needs the ability to reset into an arbitrary state-action pair, which most real or even simulated environments don't exposeUse epsilon-soft policies (or off-policy methods) when resets are restricted to a fixed start distribution
Treating epsilon-soft convergence as convergence to π∗\pi_*The modified policy improvement theorem proves improvement within Πε\Pi_\varepsilon, not against the unconstrained optimumState the target correctly: best policy among ε\varepsilon-soft policies; anneal ε→0\varepsilon\to0 (GLIE) if true optimality is required
Keeping ε\varepsilon fixed forever in a deployed systemA permanently nonzero exploration rate means avoidable regret even after learning has convergedDecay ε\varepsilon on a schedule, or switch to a purely greedy policy for deployment after training
Confusing first-visit vs every-visit updates when checking "already appears in the episode"Off-by-one/duplicate bugs when scanning trajectory history inside the backward loopTrack visited (s,a)(s,a) pairs with a set built incrementally, or use every-visit MC consistently and document which is used
Forgetting that ties in arg⁡max⁡aQ(s,a)\arg\max_a Q(s,a) need a consistent ruleRandom or inconsistent tie-breaking can destabilize policy improvement or violate the monotonic improvement argumentBreak ties deterministically (e.g., lowest action index) or uniformly at random but fixed within an update step

Pioneers & history

The exploration/exploitation tension long predates reinforcement learning as a field, tracing back to the multi-armed bandit problem studied in sequential statistics. Its formalization inside Monte Carlo control, and the epsilon-soft/epsilon-greedy machinery specifically, was consolidated in the modern reinforcement learning framework built by Richard Sutton and Andrew Barto, whose textbook treatment of Monte Carlo methods made exploring starts and epsilon-soft policies standard vocabulary for the field.

Origins · 1 minRichard S. Sutton and how this was discovered
RS
Richard S. Sutton
1957– · Reinforcement learning pioneer, University of Alberta and DeepMind

Sutton co-developed the modern formalization of reinforcement learning, including temporal-difference learning, policy gradient methods, and the generalized policy iteration framework that underlies Monte Carlo control, Sarsa, and Q-learning.

History
1951
Robbins formalizes sequential decision problems related to bandit exploration.
1988
Sutton introduces temporal-difference learning, reshaping model-free prediction.
1989
Watkins develops Q-learning, an off-policy control method building on similar exploration ideas.
1998
Sutton and Barto's "Reinforcement Learning: An Introduction" systematizes exploring starts and epsilon-soft policies as standard tools for Monte Carlo control.
2015
DeepMind's DQN uses epsilon-greedy exploration at scale, showing the same mechanism operating inside deep neural network control.

Where this matters

Epsilon-greedy exploration, the direct descendant of epsilon-soft policies, is the default exploration mechanism in most practical value-based reinforcement learning systems, including DQN and its successors used for game-playing agents, resource allocation, and simulated robotic control. Exploring starts, while rarely usable in production systems, remains the cleanest theoretical device for teaching why Monte Carlo control converges, and it appears in practice inside self-play training pipelines and Monte Carlo tree search variants (such as in game engines), where random rollout starts or random opening moves are used deliberately to guarantee coverage of the game tree. Both mechanisms are direct ancestors of the exploration bonuses, optimistic initialization, and upper-confidence-bound strategies used in modern bandit algorithms and in exploration-heavy deep RL research. Understanding the ES-versus-epsilon-soft distinction is also the natural on-ramp to the broader question of On-Policy vs Off-Policy Learning: on-policy methods like Sarsa must keep the acting policy epsilon-soft to keep exploring, while off-policy methods like Q-learning can behave epsilon-greedily during data collection while learning about a separate, fully greedy target policy — decoupling exploration from the policy being optimized. This connects directly back to core ideas in Temporal-Difference Learning and to the general convergence theory of Generalized Policy Iteration.

Ask the tutor: How does the modified policy improvement theorem change if the epsilon-soft policy is replaced by a softmax (Boltzmann) exploration policy instead?

Why can't we just use a very small ε and call it "essentially optimal"?

A small ε\varepsilon reduces the frequency of suboptimal actions but never eliminates the gap: the converged policy still takes a wrong action with probability at least ε/∣A(s)∣\varepsilon/|\mathcal{A}(s)| at every state, forever. In terms of expected return, this contributes a persistent, nonzero loss relative to π∗\pi_*, even after the value estimates have fully converged. For applications where behavior must eventually be as good as possible, the standard fix is annealing ε\varepsilon toward zero over time (a GLIE schedule — "greedy in the limit with infinite exploration") so that early episodes explore heavily while late episodes approach the deterministic optimum.

Does Q-learning need exploring starts or epsilon-soft policies?

Q-learning is off-policy: it learns the value of the greedy (target) policy while the actual actions can come from a different, more exploratory behavior policy — commonly epsilon-greedy. It does not need exploring starts because its convergence proof only requires that the behavior policy visits every state-action pair infinitely often, which epsilon-greedy behavior already guarantees, without constraining the target policy to be epsilon-soft. This decoupling is precisely what separates Q-learning's off-policy convergence guarantee from Sarsa's on-policy one, foreshadowing the broader on-policy/off-policy distinction.

Is exploring starts ever used in practice, given its unrealistic assumption?

Yes, in settings where the "environment" is actually a simulator the practitioner fully controls, such as self-play game engines or planning algorithms like Monte Carlo tree search variants, where resetting to an arbitrary board position or random opening move is trivial. It is far less usable in physical robotics, live recommendation systems, or any setting where the agent only experiences one continuous stream of interaction it cannot rewind or reposition arbitrarily. In those cases, epsilon-soft (or more sophisticated) exploration strategies are the practical default.

How does epsilon-soft interact with first-visit versus every-visit Monte Carlo?

The exploration mechanism and the visit-counting convention are independent design choices. Either first-visit (only the first occurrence of (s,a)(s,a) in an episode contributes a return sample) or every-visit (every occurrence contributes) can be paired with either exploring starts or epsilon-soft policies. First-visit is more common because its returns are more straightforwardly unbiased and independent across episodes, but every-visit is also consistent and is sometimes preferred for problems with revisitable states, since it uses more of the available data per episode.

What happens if ε is set too large?

An excessively large ε\varepsilon (close to 1) makes the policy behave close to uniformly random at every state, which does guarantee exhaustive exploration but severely dilutes the signal used for policy improvement — most episodes are dominated by exploratory noise rather than exploitation of what has been learned, slowing convergence and increasing the variance of the value estimates. There's a genuine bias-variance-style tradeoff: too small an ε\varepsilon risks insufficient exploration (slow or failed discovery of better actions), while too large an ε\varepsilon risks excessive exploration (slow exploitation of what is already known), and tuning it well is often problem-dependent.

Are exploring starts and epsilon-soft policies the only ways to guarantee exploration?

No — they are the two classical mechanisms presented alongside standard Monte Carlo control, but the broader RL literature has developed many alternatives: optimistic initialization of QQ-values (encouraging early exploration of everything by making unvisited actions look artificially attractive), upper-confidence-bound (UCB) exploration bonuses that explicitly reward uncertainty, Boltzmann/softmax exploration, and modern intrinsic-motivation or curiosity-driven exploration bonuses used in deep reinforcement learning. Exploring starts and epsilon-soft policies remain the canonical starting point because their correctness arguments are the simplest to state and prove rigorously.

Before this

Where this leads