---
title: Prior-Scaled Boltzmann Exploration
url: https://www.emergentmind.com/topics/prior-scaled-boltzmann-exploration
type: topic
---

# Prior-Scaled Boltzmann Exploration

Prior-scaled Boltzmann exploration refers to Boltzmann or softmax action-selection schemes in which the exponential weighting is modified by an explicit scale: a global temperature or learning-rate schedule, problem-parameter-dependent tuning, per-arm uncertainty scaling, pull counts, or initialization through pseudo-counts. In the stochastic multi-armed bandit setting, the topic is motivated by a central negative result: classical Boltzmann exploration with any monotone learning-rate sequence induces suboptimal behavior, whereas more structured scaling can recover near-optimal or optimal regret [1705.10257; 2111.03290]. Related uses appear in parameterized reinforcement learning, where the inverse temperature is meta-learned online, and in batch Bayesian optimization, where sampling is performed from a Boltzmann distribution over an acquisition function with temperature-controlled diversity [1610.01986; 2606.30228].

## 1. Classical softmax and the motivation for scaling

Standard Boltzmann Exploration (BE), also called softmax, selects arms with probability proportional to $\exp(\hat{\mu}_{t,i}/\sigma^2)$, where $\hat{\mu}_{t,i}$ is the empirical mean reward for arm $i$ and $\sigma^2$ is a temperature parameter [2111.03290]. An equivalent parameterization writes the policy as $p_{t,i} \propto e^{\eta_t \widehat{\mu}_{t,i}}$, with $\eta_t$ as a learning rate [1705.10257]. The attraction of this rule is its simplicity: larger estimated values receive exponentially larger mass.

The principal difficulty is that this classical form ignores uncertainty heterogeneity across arms. In particular, it uses the same learning rate for all arms, not accounting for uncertainty that decreases with more samples [1705.10257]. The theoretical consequences are severe. If $\eta_t$ increases too slowly, specifically $o(\log t / \Delta)$, the algorithm over-explores and regret is $\omega(\log T/\Delta)$; if $\eta_t > 2\log t$, the algorithm may commit to a suboptimal arm prematurely and suffer linear regret, $R_T = \Omega(T)$ [1705.10257]. The same work states that any monotonic $\eta_t$ schedule leads to problematic asymptotic behavior.

These results explain why prior scaling became necessary within the Boltzmann family. The problem is not merely that temperature must be “tuned well,” but that the naive global schedule is structurally misaligned with the information geometry of bandit learning. This suggests that successful Boltzmann methods require scales that reflect either prior knowledge of the instance or arm-specific evidence accumulated online.

## 2. What “prior scaling” denotes across the literature

One form of prior scaling uses external knowledge of key problem parameters. A non-monotone schedule proposed as a remedy sets
$$
\eta_t =
\begin{cases}
1 & t < \tau \\
\frac{\log(t\Delta^2)}{\Delta} & t \ge \tau
\end{cases}
\qquad\text{with}\qquad
\tau = \frac{16eK\log T}{\Delta^2},
$$
and achieves
$$
R_T \le \frac{16eK\log T}{\Delta^2} + \frac{9K}{\Delta^2}.
$$
Its limitation is explicit: it requires foreknowledge of the gap $\Delta$ and horizon $T$ [1705.10257]. The same source describes this as an approach dependent on prior knowledge, or “prior-scales” in the sense of tuning to problem parameters.

A second form replaces global scaling by arm-specific scaling. Boltzmann–Gumbel Exploration (BGE) uses different learning rates for different arms, with
$$
\beta_{t,i} = \frac{C}{\sqrt{N_{t,i}}},
$$
where $N_{t,i}$ is the number of times arm $i$ has been pulled and $C>0$ is a constant [1705.10257]. The scale of the perturbation is therefore inversely proportional to the square root of the number of samples. The paper states that this scaling plays the role of a prior-scale for each arm, controlled only by actual data.

A third form appears in count-based Gibbs distributions. In Maillard Sampling, the exponent is scaled by $N_{t,i}\hat{\mu}_{t,i}$ rather than by the empirical mean alone, and priors can be incorporated by initializing $N_{t,i}$ and the reward counts accordingly, which shifts the initial bias and impacts early exploration [2111.03290]. Here prior scaling is tied to pseudo-counts and initial sufficient statistics.

A fourth form uses temperature over utilities rather than value estimates. In B3O, prior-scaling in Boltzmann or Gibbs-style exploration typically refers to rescales within the utility or via the temperature, and the inverse temperature $\lambda_t$ is the key parameter for prior scaling [2606.30228]. The paper also states that there is no explicit incorporation of a “prior scaling” factor beyond this temperature.

Taken together, these uses show that “prior scaling” is not limited to one mathematical device. This suggests that the term is best understood as a family resemblance: external schedules based on known instance parameters, per-arm scales derived from uncertainty, pseudo-count initialization, and utility-level annealing all instantiate the same effort to correct the failure modes of classical softmax.

## 3. Count-scaled Boltzmann exploration: Maillard Sampling and MS$^+$

Maillard Sampling (MS) revisits an algorithm from the PhD thesis of Maillard (2013) for the $K$-armed bandit problem and computes the probability of choosing each arm in a closed form [2111.03290]. The sampling probability is
$$
p_{t,i} = \frac{\exp \left(B \cdot N_{t,i} \cdot \hat{\mu}_{t,i}\right)}{\sum_j \exp \left(B \cdot N_{t,j} \cdot \hat{\mu}_{t,j}\right)},
$$
where $N_{t,i}$ is the number of times arm $i$ has been pulled so far, $\hat{\mu}_{t,i}$ is the empirical mean reward, and $B$ is a tunable scaling parameter with $B \geq 1$ for theoretical guarantees [2111.03290]. The method is described as reminiscent of a Boltzmann or gibbsified distribution, but crucially the score is scaled by $N_{t,i}$, not just the mean.

The analysis reported for MS establishes both asymptotical optimality and a $\sqrt{KT\log T}$ minimax regret bound, matching the known bounds for asymptotically optimal UCB [2111.03290]. The same source emphasizes a practical merit of the closed-form probabilities: bandit-logged data from running MS can be readily used for counterfactual evaluation, unlike Thompson sampling.

MS$^+$ augments the exponent with two correction terms:
$$
p_{t,i} = \frac{\exp \left[ B \cdot N_{t,i} \cdot \hat{\mu}_{t,i} + C \cdot \hat{\mu}_{t,i} + D \cdot N_{t,i} \right]}{\sum_j \exp \left[ B \cdot N_{t,j} \cdot \hat{\mu}_{t,j} + C \cdot \hat{\mu}_{t,j} + D \cdot N_{t,j} \right]}.
$$
Here $C$ and $D$ are additional tunable parameters; $C$ encourages, in non-asymptotic regimes, pulling the empirical best arm more, and $D$ helps in the theoretical regret guarantee, mostly nudging instance-independent minimax bounds [2111.03290].

The reported improvement is twofold. First, MS$^+$ improves the minimax bound to $\sqrt{KT\log K}$ [2111.03290]. Second, it can be tuned to be aggressive, meaning less exploration, without losing asymptotic optimality; the paper identifies this as a unique feature unavailable from existing bandit algorithms [2111.03290]. The details further state that lowering $B$ while keeping $B \geq 1$ and using positive $C,D$ values makes MS$^+$ more greedy, rapidly focusing on high-mean arms, yet aggressive tuning does not void the theoretical guarantees.

## 4. Per-arm scaling and prior-free Boltzmann exploration

“Boltzmann Exploration Done Right” develops a distinct remedy to classical softmax under the name Boltzmann–Gumbel Exploration (BGE) [1705.10257]. Rather than exponentiating empirical means directly, BGE samples independent standard Gumbel perturbations $Z_{t,i}$ and selects
$$
I_{t+1} = \arg\max_i \widehat{\mu}_{t,i} + \beta_{t,i} Z_{t,i},
$$
with the arm-specific scale $\beta_{t,i} = C/\sqrt{N_{t,i}}$ [1705.10257]. The construction is described as analogous to randomized optimism, where the scale of the perturbation is inversely proportional to the square root of the number of samples and mirrors UCB’s bonus, but random.

The theoretical guarantees are near-optimal rather than asymptotically optimal in the exact sense claimed for MS. For $\sigma^2$-subgaussian rewards, the distribution-dependent regret is
$$
R_T = O\left(\sum_{i=2}^K \frac{\sigma^2 \log^2(T \Delta_i^2/\sigma^2)}{\Delta_i}\right),
$$
and the distribution-independent regret satisfies
$$
R_T \le 200 \sigma \sqrt{KT} \log K.
$$
The same work states that the method achieves these bounds without requiring prior knowledge of $\Delta$ or $T$ [1705.10257]. It also gives a heavy-tailed extension based on a robust mean estimator using Catoni’s influence function, with the same $\sqrt{KT}\log K$ distribution-independent rate and a variance-based distribution-dependent bound [1705.10257].

Relative to prior-scaled schedules based on externally supplied instance parameters, BGE is explicitly prior-free. The contrast is important: with prior knowledge, the non-monotone schedule achieves near-optimal regret but is described as artificial and rarely applicable; without prior knowledge, BGE operates in a fully online and adaptive manner [1705.10257]. This suggests a bifurcation within prior-scaled Boltzmann research between methods that encode exogenous information and methods that derive the relevant scale from empirical uncertainty.

## 5. Beyond bandits: adaptive temperature in reinforcement learning and Boltzmann sampling in Bayesian optimization

In parameterized reinforcement learning, active exploration in structured continuous action space uses a Boltzmann softmax over discrete actions together with Gaussian exploration over continuous parameters [1610.01986]. The discrete component is selected according to
$$
P(a_j \mid s_t, \beta_t) = \frac{\exp\left( \beta_t Q_t(s_t, a_j) \right)}{\sum_a \exp\left( \beta_t Q_t(s_t, a) \right)},
$$
where $\beta_t$ is an inverse temperature parameter controlling the exploitation versus exploration trade-off [1610.01986]. The paper contrasts fixed or pre-defined annealing schedules with a meta-learning rule that adjusts $\beta_t$ and the Gaussian width $\sigma_t$ from the difference between short-term and long-term reward running averages:
$$
\beta_t = F\left( \mu (\bar{r}(t) - \bar{\bar{r}}(t)) \right), \qquad
\sigma_t = G\left( \mu (\bar{r}(t) - \bar{\bar{r}}(t)) \right).
$$
When performance drops, $\beta_t$ is reduced to encourage more exploration and $\sigma_t$ is increased [1610.01986].

This formulation is explicitly presented as active and meta-learned, as opposed to prior-scaled. The contrast clarifies a recurrent distinction in the literature: prior-scaled Boltzmann exploration fixes or anneals temperature through human specification or instance-level assumptions, whereas meta-learned Boltzmann exploration makes the temperature responsive to ongoing performance dynamics [1610.01986].

In batch Bayesian optimization, B3O defines a Boltzmann distribution over the acquisition function,
$$
p_t(\mathbf{x}) \propto \exp(\lambda_t \alpha_t(\mathbf{x})),
$$
and draws $B$ i.i.d. samples to form the batch [2606.30228]. Low $\lambda_t$ yields sampling that is nearly uniform over the space and therefore exploratory; high $\lambda_t$ concentrates samples near maxima of the acquisition function and is therefore exploitative [2606.30228]. The paper states that the inverse temperature $\lambda_t$ is the key parameter for prior scaling, that it can be kept fixed or grown over time, and that theoretical regret analysis supports $\lambda_t = O(\sqrt{t}\log t)$ [2606.30228]. It also states that there is no explicit mention of incorporating prior or posterior rescaling into the exponent as in certain kernelized bandit models.

These two extensions show that Boltzmann scaling serves different roles outside stochastic bandits. In parameterized RL it governs adaptation to non-stationarity through online meta-control, while in B3O it controls the diversity–concentration trade-off in direct sampling from acquisition landscapes. The common mechanism is still temperature, but the operational meaning of the scale is task-dependent.

## 6. Comparative properties, misconceptions, and conceptual distinctions

A recurring misconception is that Boltzmann exploration is theoretically benign provided that the temperature is annealed in some reasonable way. The bandit results directly contradict this: any monotone learning-rate sequence induces suboptimal behavior, and overly aggressive schedules can produce linear regret [1705.10257]. Another misconception is that “prior scaling” names a single canonical method. The surveyed papers instead use the term for several non-equivalent constructions: schedules depending on $\Delta$ and $T$, per-arm uncertainty scales, pseudo-count initialization, and acquisition-temperature annealing [1705.10257; 2111.03290; 2606.30228].

A further distinction concerns what is preserved under aggressive tuning. In classical BE, temperature mis-tuning can cause linear regret if suboptimal arms are never explored; in contrast, MS$^+$ is reported to allow more aggressive tuning, meaning less exploration, without losing asymptotic optimality [2111.03290]. The significance is not merely empirical convenience. It separates methods in which scaling is a fragile hyperparameter from methods in which scaling is part of the proof architecture.

| Method | Scaling mechanism | Stated property |
|---|---|---|
| Classical BE | Global $\sigma^2$ or $\eta_t$ | Suboptimal; may be linear if mis-tuned |
| Non-monotone Boltzmann | Schedule using $\Delta$ and $T$ | Near-optimal, but needs prior knowledge |
| BGE | Per-arm $\beta_{t,i} = C/\sqrt{N_{t,i}}$ | Prior-free; $\sqrt{KT}\log K$ distribution-independent bound |
| MS | Exponent scaled by $B N_{t,i}\hat{\mu}_{t,i}$ | Asymptotically optimal; $\sqrt{KT\log T}$ minimax bound |
| MS$^+$ | Adds $C\hat{\mu}_{t,i}$ and $DN_{t,i}$ | $\sqrt{KT\log K}$ minimax bound; aggressive tuning |
| B3O | Acquisition temperature $\lambda_t$ | Batch diversity and negligible additional regret |

Across these methods, the central design question is how the Boltzmann exponent should encode information absent from the classical softmax rule. The literature surveyed here answers that question in four main ways: with exogenous problem parameters, with empirical uncertainty, with count-weighted sufficient statistics and pseudo-counts, or with adaptive temperature schedules. This suggests that prior-scaled Boltzmann exploration is best understood not as a single algorithmic object, but as a technical program for repairing classical softmax by embedding a more informative scale into the Gibbs distribution.

Source: https://www.emergentmind.com/topics/prior-scaled-boltzmann-exploration