In-Context Learning for Pure Exploration in Continuous Spaces
Alessio Russo, Yin-Ching Lee, Ryan Welch, Aldo Pacchiano
TL;DR
The paper addresses continuous pure exploration under fixed-confidence by proposing C-ICPE-TS, a meta-trained Thompson Sampling framework that learns when to query and when to stop in continuous action spaces without explicit likelihood models. By grounding inference in posterior success probabilities and leveraging a stop/continue Bellman structure, the approach achieves $(\epsilon,\delta)$-PAC guarantees while efficiently identifying $\epsilon$-optimal hypotheses. Empirically, C-ICPE-TS shows superior sample efficiency across continuous analogues of binary search, $\epsilon$-best-arm identification, and gradient-free function minimization (Ackley), with robust performance under prior misspecification. The work advances learned sequential testing in continuous domains and has potential impact on costlier experimental settings where data are noisy and experiments are expensive.
Abstract
In active sequential testing, also termed pure exploration, a learner is tasked with the goal to adaptively acquire information so as to identify an unknown ground-truth hypothesis with as few queries as possible. This problem, originally studied by Chernoff in 1959, has several applications: classical formulations include Best-Arm Identification (BAI) in bandits, where actions index hypotheses, and generalized search problems, where strategically chosen queries reveal partial information about a hidden label. In many modern settings, however, the hypothesis space is continuous and naturally coincides with the query/action space: for example, identifying an optimal action in a continuous-armed bandit, localizing an $ε$-ball contained in a target region, or estimating the minimizer of an unknown function from a sequence of observations. In this work, we study pure exploration in such continuous spaces and introduce Continuous In-Context Pure Exploration for this regime. We introduce C-ICPE-TS, an algorithm that meta-trains deep neural policies to map observation histories to (i) the next continuous query action and (ii) a predicted hypothesis, thereby learning transferable sequential testing strategies directly from data. At inference time, C-ICPE-TS actively gathers evidence on previously unseen tasks and infers the true hypothesis without parameter updates or explicit hand-crafted information models. We validate C-ICPE-TS across a range of benchmarks, spanning continuous best-arm identification, region localization, and function minimizer identification.
