Tutorials › Response-Adaptive Randomization › Forced Exploration and Minimum Sampling Rates

Bandit Formulations · Tutorial 298 of 501

Forced Exploration and Minimum Sampling Rates

Define forced-exploration rules, calculate their minimum allocation guarantees, and assess the trade-offs between reliable sampling and cumulative regret.

Advanced 12 min read

What You'll Learn

  • Define a forced-exploration quota and distinguish it from ordinary greedy allocation.
  • Derive per-treatment sample guarantees from a cyclic forced schedule.
  • Compare logarithmic sampling requirements with fixed minimum allocation rates.
  • Calculate the regret directly attributable to forced assignments.
  • Identify feasibility, estimation, and implementation limits of minimum-sampling rules.

Why Force Exploration?

A greedy allocation rule assigns the next participant to the treatment with the highest current estimated mean reward. As the earlier material on greedy allocation and irreversible lock-in emphasizes, an initially favorable estimate can attract assignments before there is enough information to distinguish treatments. If other treatments then receive few or no assignments, their estimates may remain unreliable. Forced exploration addresses this specific failure mode by requiring some assignments to treatments even when their current estimates are not the largest.

The requirement can be expressed as a minimum number of assignments, possibly increasing with the trial horizon, or as a minimum share of the total enrollment. These guarantees describe how many times a treatment is assigned. They do not, by themselves, guarantee that the treatment effect is estimated precisely, that the best treatment is identified, or that the trial has low regret.

Definition: Consider \(K\) treatments and a horizon of \(T\) assignments. Let \(A_t\) denote the treatment assigned at time \(t\), and let \(N_i(t)=\sum_{s=1}^{t} I(A_s=i)\) be the number of assignments to treatment \(i\) by time \(t\). A forced-exploration rule specifies assignments, or assignment quotas, that require some treatments to be sampled regardless of which treatment currently has the highest estimated mean reward. A pathwise minimum-sampling guarantee states that the required count is met in every assignment sequence generated by the rule, not merely on average.

For concreteness, suppose each treatment has a stationary mean reward \(\mu_i\), and rewards are independent across participants and treatments, with rewards bounded between 0 and 1. These assumptions make the mean-reward and regret calculations below well-defined; they are not needed just to define a quota. Write \(\mu_*=\max_i \mu_i\) for the largest mean, and \(\Delta_i=\mu_*-\mu_i\) for treatment \(i\)'s gap from that mean. The pseudo-regret through time \(T\) is \(R_T=\sum_{t=1}^{T}\Delta_{A_t}\). Under these assumptions, \(0\leq \Delta_i\leq 1\), and each forced assignment has regret equal to the gap of the treatment assigned.

Building a Schedule With a Count Guarantee

One transparent construction starts with a nondecreasing integer-valued quota \(Q(t)\): the number of forced assignments that have occurred by time \(t\). Require \(Q(0)=0\), \(Q(t)\leq t\), and \(Q(t)-Q(t-1)\) to be either 0 or 1. On each forced round, assign the next treatment in a fixed cycle \(1,2,\ldots,K,1,2,\ldots\). On other rounds, use a chosen allocation rule, such as assigning to the treatment with the largest empirical mean. The forced schedule is separate from that rule: even when the empirical leader changes, the forced assignments remain due when the quota says they are due.

The cycle makes the per-treatment guarantee immediate. If \(Q(t)=q\), then \(q\) forced assignments have been distributed as evenly as possible over the \(K\) treatments. Each treatment therefore receives at least \(\lfloor q/K\rfloor\) forced assignments. Any additional assignments made by the non-forced part of the rule can only increase its total count.

$$ N_i(t)\ \geq\ \left\lfloor\frac{Q(t)}{K}\right\rfloor \qquad\text{for each }i=1,\ldots,K. $$

A common slowly increasing quota is \(Q(t)=\lfloor c\log(t+1)\rfloor\), with a positive constant \(c\) chosen so that the quota increases by at most one per round. For example, using natural logarithms, \(c=1\) meets this condition: \(\log(t+1)-\log(t)\leq\log 2<1\) for integer \(t\geq1\). The quota grows without bound, so every treatment receives an increasing number of forced assignments, while the proportion of rounds spent on forced assignments tends to zero.

Worked Example: A Logarithmic Quota at 100 Assignments

Suppose there are \(K=3\) treatments, the forced assignments cycle through the treatments, and \(Q(t)=\lfloor\log(t+1)\rfloor\), with the natural logarithm. Find the number of forced assignments by \(T=100\) and the minimum number of forced assignments per treatment.

First calculate the total quota: \(Q(100)=\lfloor\log(101)\rfloor=\lfloor4.615\rfloor=4\). The four forced assignments go to treatments 1, 2, 3, and 1. Thus the forced counts are 2, 1, and 1, and every treatment has at least \(\lfloor4/3\rfloor=1\) forced assignment.

The forced fraction of the 100 assignments is \(4/100=0.04\), or 4%. The minimum per-treatment rate guaranteed by the quota is only \(1/100=1\%\) at this horizon. The total forced fraction and the individual minimum rate are different quantities: cycling distributes the four assignments nearly evenly, but a non-integer average of \(4/3\) cannot be guaranteed as a count for every treatment.

On the remaining 96 rounds, the policy can use its specified non-forced rule. The quota guarantees that every treatment is sampled at least once; it does not guarantee that the empirical means are accurate enough to rank the treatments correctly.

Minimum Rates and Their Allocation Cost

A minimum rate is often stated for the end of a fixed horizon. If each of \(K\) treatments must receive at least a fraction \(\rho\) of the \(T\) assignments, an integer quota is \(m=\lceil\rho T\rceil\) assignments per treatment. This requirement is feasible only if \(K\lceil\rho T\rceil\leq T\). A simple way to guarantee it is to assign each treatment \(m\) times in a forced exploration phase, then use the remaining assignments according to the chosen allocation rule. This construction gives a pathwise endpoint guarantee but does not require the same minimum share at every intermediate time.

Worked Example: A 10% Minimum Share for Three Treatments

Suppose a trial plans \(T=100\) assignments across \(K=3\) treatments, with a requirement that each treatment receive at least 10% of enrollment. The minimum count is \(m=\lceil0.10(100)\rceil=10\) for each treatment. Feasibility holds because \(3(10)=30\leq100\). A forced phase can assign each treatment 10 times, leaving \(100-30=70\) assignments for the rest of the policy.

Suppose the hypothetical mean rewards are \(\mu_1=0.55\), \(\mu_2=0.45\), and \(\mu_3=0.35\). Treatment 1 is best, with gaps \(\Delta_1=0\), \(\Delta_2=0.10\), and \(\Delta_3=0.20\). The pseudo-regret from the 30 forced assignments is \(10(0)+10(0.10)+10(0.20)=3.00\) reward units.

This calculation is the cost attributable to the forced phase alone under the stated means. It does not determine the regret on the remaining 70 assignments, which depends on the allocation rule and the data observed. Compared with a logarithmic quota, a fixed 10% endpoint requirement uses a much larger number of assignments for exploration as the horizon grows: its required count per treatment increases proportionally to \(T\), rather than proportionally to \(\log(T)\).

Regret From Forced Assignments

The allocation cost can be written directly in terms of treatment counts. Let \(F_i(T)\) be the number of forced assignments to treatment \(i\) by time \(T\), and let \(F(T)=\sum_{i=1}^{K}F_i(T)\) be the total number of forced assignments. Their pseudo-regret contribution is \(\sum_i F_i(T)\Delta_i\). Since each gap is at most \(\Delta_{\max}=\max_i\Delta_i\), this contribution is bounded above by \(F(T)\Delta_{\max}\). With rewards in \([0,1]\), \(\Delta_{\max}\leq1\), so it is also bounded above by \(F(T)\).

Result: Under stationary mean rewards and the pseudo-regret definition above, the forced-assignment contribution satisfies $$ R_T^{\mathrm{forced}} =\sum_{i=1}^{K}F_i(T)\Delta_i \ \leq\ F(T)\Delta_{\max} \ \leq\ F(T). $$ The bound can be loose: it treats every forced assignment as though it were given to a treatment with the largest gap.

For a cyclic schedule, each treatment's forced count is either \(\lfloor F(T)/K\rfloor\) or \(\lceil F(T)/K\rceil\). This fact allows the actual forced contribution to be calculated from the individual counts and gaps, and compared with the bound without confusing the two. The following example makes the distinction explicit.

Worked Example: Actual Forced Regret and an Upper Bound

Consider three treatments with gaps \(\Delta_1=0.20\), \(\Delta_2=0.10\), and \(\Delta_3=0\). Suppose 31 forced assignments are distributed as 8 to treatment 1, 12 to treatment 2, and 11 to treatment 3. These counts sum to \(8+12+11=31\), as required.

The actual forced-round pseudo-regret is \(8(0.20)+12(0.10)+11(0)=1.60+1.20+0=2.80\) reward units.

The largest gap is \(\Delta_{\max}=0.20\). The general upper bound is \(31(0.20)=6.20\) reward units, which exceeds the actual forced-round contribution of 2.80. The upper bound is valid but conservative; it is not equal to the actual contribution, because some assignments were to the treatment with the smaller gap and some to the best treatment.

When \(F(T)\) grows logarithmically, the forced part of regret is at most logarithmic in \(T\). When the rule forces a fixed positive share for each treatment, the number of forced rounds grows proportionally to \(T\), and their regret can also grow proportionally to \(T\) if suboptimal treatments have positive gaps. That linear cost may be acceptable when the minimum sampling requirement has an independent purpose, but it should not be described as a negligible exploration cost.

What the Guarantee Does—and Does Not—Provide

A forced count guarantee prevents complete neglect of a treatment, but a count alone is not a precision guarantee. For instance, one observation per treatment satisfies a positive minimum count yet is generally not enough to estimate a mean precisely. Precision depends on the outcome variability as well as the sample size. Similarly, a quota that grows like \(\log(T)\) ensures each treatment's count grows without bound, but the quota itself does not establish that the allocation rule will identify the best treatment or achieve a particular regret bound. Such conclusions require additional analysis of the estimation and decision rule.

The schedule also needs to match the actual enrollment horizon and operational constraints. A fixed endpoint quota can be infeasible if \(K\lceil\rho T\rceil>T\). If enrollment stops early, the planned endpoint count may not be reached. A treatment that is unavailable or suspended cannot be assigned merely because its quota is unmet. These are feasibility issues, not arithmetic details to be repaired after allocation.

Forced exploration is distinct from several common alternatives. Epsilon-greedy allocation randomizes away from the current leader with a specified probability; unless it is specially designed otherwise, this gives an expected number of exploratory assignments rather than a pathwise minimum count for every treatment. Upper confidence bound allocation uses an index that rewards uncertainty; it encourages sampling but is not, simply by being an index policy, a stated minimum-count guarantee. Explore-then-commit guarantees a planned initial sampling phase, after which it stops forcing exploration. A continuing forced schedule instead reserves assignments for exploration throughout the horizon. Each approach makes a different commitment about when exploration happens and what is guaranteed.

A minimum share per treatment should also not be mistaken for a rule that all treatments must receive equal allocation on every round. A quota controls cumulative counts at its specified time or times. It can coexist with unequal allocation on other rounds, and its value depends on the horizon and the schedule. In a clinical trial, the operational value of collecting more information about a treatment must be weighed against assigning participants to treatments with lower estimated mean reward. The quota makes that trade-off explicit; it does not decide its scientific or clinical acceptability.

Diagnostics and Common Pitfalls

1
Check feasibility.
For an endpoint count \(m\) per treatment, verify \(Km\leq T\). For a time-varying forced schedule, verify that its total quota never exceeds the number of assignments available.
2
Audit realized counts.
Compare each treatment's observed count \(N_i(t)\) with the rule's promised minimum. A discrepancy may indicate an implementation error, a misapplied schedule, or an early stopping event.
3
Separate forced and non-forced assignments.
Record which assignments were made to meet a quota. This makes it possible to check the guarantee and to calculate the forced component of regret using the actual treatment counts.
4
Check what the rule promises.
An expected assignment count is not a pathwise minimum. State whether the guarantee concerns every realized trial, an expectation, or only the planned endpoint.

A frequent mistake is to claim that a minimum share guarantees a precise comparison between treatments. The quota guarantees assignments, not a particular standard error or the correctness of a ranking. Another mistake is to equate the worst-case regret bound with the realized forced regret. The bound \(F(T)\Delta_{\max}\) is obtained by charging every forced assignment the largest gap; the actual contribution must instead use the counts and gaps of the treatments actually assigned.

Key takeaway: A forced-exploration rule turns “keep sampling the other treatments” into a verifiable count requirement. Choose the quota and schedule deliberately: a slowly growing quota limits the forced allocation share, while a fixed positive minimum rate can impose a linear allocation and regret cost. Neither guarantee alone establishes estimation accuracy or best-treatment identification.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. With \(K=4\) treatments and 19 forced assignments distributed cyclically, what minimum number of forced assignments is guaranteed for each treatment?
  2. A trial has \(T=80\) assignments and requires at least 15% of assignments to each of \(K=3\) treatments. Find the integer quota per treatment and check feasibility.
  3. Suppose 20 forced assignments have largest gap \(\Delta_{\max}=0.12\). What is the general upper bound on their pseudo-regret contribution? Does that determine the actual contribution?
  4. Why does an epsilon-greedy rule not automatically guarantee a minimum number of assignments to every treatment in every realized trial?

Solutions. (1) The guarantee is \(\lfloor19/4\rfloor=4\) per treatment; the cyclic counts are 5, 5, 5, and 4 in some order. (2) The quota is \(\lceil0.15(80)\rceil=\lceil12\rceil=12\) per treatment. The total required is \(3(12)=36\leq80\), so it is feasible. (3) The upper bound is \(20(0.12)=2.40\) reward units. The actual contribution may be smaller and requires the forced count for each treatment and its gap. (4) Random exploration can select a treatment fewer times than its expected count in a particular trial, including zero times; an expected count is not a pathwise minimum guarantee.

Clinical Biostats