Closed-loop neural stimulus optimisation finds images that maximally drive a target brain region using only scalar neural feedback. We build on surrogate-assisted genetic search over a structured prompt space. A core assumption shared across existing approaches is that the target region remains fixed throughout the session. In practice this is routinely violated: neural responses drift within minutes due to fatigue, habituation, and fluctuating attention, and the algorithm observes only a single blended scalar reward and is never told a shift has occurred. We study how to make surrogate-assisted search robust to this drift, simulating it by smoothly interpolating the reward across multiple fMRI-characterised brain regions so the algorithm must transition between targets blindly. Our central finding is that the benefit of state-awareness depends critically on the correlation structure between successive targets. When regions share image preferences, the incoming target rises before the transition as a side-effect of optimising the outgoing one, a free ride that stateless search exploits fully while state-aware methods disrupt it. When regions prefer opposing content, state-awareness wins by actively forgetting the pre-drift landscape. We introduce an adaptive window controller that infers the drift regime from the reward signal alone and adjusts the surrogate's memory accordingly, avoiding both failure modes without requiring any prior knowledge of the underlying cause for drift.
The algorithm must track two sequential target brain regions using only a single blended scalar reward. The videos show the same run under two algorithms, stateless and state-aware, as the target shifts.
A human face emerges early and dominates throughout. The stateless surrogate accumulates the full session history and keeps ranking face-driving content highly, even after the target shifts to PPA. With no mechanism to forget what worked before, the search stays anchored to the pre-drift landscape.
Starting from the same human face, the generated images gradually shift toward architectural and outdoor scenes as the target moves to PPA. Traces of earlier content persist, reflecting the blended reward still partially crediting the old target, but state-awareness lets the algorithm redirect without fully discarding what came before.
The visual cortex is not a passive recorder but a highly selective system where different regions respond strongly to specific categories of content. The fusiform face area lights up for faces [Kanwisher et al. 1997], the parahippocampal place area for scenes [Epstein & Kanwisher 1998], and the extrastriate body area for bodies [Downing et al. 2001]. Understanding these selectivities, and generating images that drive them on demand, has broad applications: from probing the functional organisation of the brain to designing stimuli for neuroprosthetics and closed-loop therapeutic systems.
Methods such as BrainDiVE [Luo et al. 2023] and BrainACTIV [Cerdas et al. 2024] have shown that neural encoding models can guide generative models to synthesise maximally activating images by backpropagating through the encoder. This works well in silico but does not transfer directly to a real experimental session: actual neural responses from a human subject are not differentiable, and the encoding model is only an approximation of the true brain. A more realistic setting treats the oracle as a pure input-output function where the algorithm proposes images, the brain returns a scalar score, and no gradients are available. This is also expensive: a typical fMRI session yields only a few hundred usable image presentations before the subject fatigues, making sample efficiency critical.
A shared assumption across existing approaches is that the target brain region stays fixed throughout the session. In real sessions this is routinely violated: a subject's neural responses to the same image can shift meaningfully within minutes as fatigue accumulates, attention fluctuates, or habituation sets in [Grill-Spector et al. 2006]. This problem is most acute in EEG, where the signal is noisier and faster-changing than fMRI, making stable region-level targeting harder to maintain across a session. We use fMRI region activations as a controlled simulation substrate precisely because their selectivity is well-characterised, but the drift regimes we study are motivated by the messier reality of EEG deployment. A surrogate that has accumulated evidence about the pre-drift landscape will keep exploiting it even after the target has shifted, actively steering the search in the wrong direction, and the algorithm has no direct access to the shift, only a single blended scalar reward.
We build on prior work that uses surrogate-assisted genetic search over a structured text prompt space to find images that maximally drive target brain regions, and extend it with drift-aware components. Our central contribution is a study of when and why state-awareness helps. When the pre- and post-drift targets share image preferences, the incoming region was already rising before the transition as a side-effect of optimising the outgoing one, and state-awareness actively hurts here by suppressing content that was already working. When the regions prefer opposing content, state-awareness wins by forgetting the pre-drift landscape. This insight motivates an adaptive window controller that infers the drift regime from the reward signal alone and adjusts the surrogate's memory accordingly, without any prior knowledge of the target correlation structure.
Our algorithm treats the brain as a black-box oracle returning a scalar reward per image. In simulation this reward comes from a neural encoding model; in a real session it would come from neural recordings directly. The Natural Scenes Dataset [Allen et al. 2022] provides 7T fMRI responses for 8 subjects across tens of thousands of naturalistic images, and BERG builds pre-trained encoding models for 23 visual ROIs per subject, serving as our oracle. The idea of closed-loop neural stimulus optimisation originates in electrophysiology: XDream [Ponce et al. 2019] used a genetic algorithm to maximise single-neuron firing in macaque visual cortex, and NeuroGen [Gu et al. 2022] extended this to human fMRI with BigGAN. A shared assumption across these works is that the target region remains fixed throughout the session, which our work relaxes.
Surrogate-assisted evolutionary algorithms pair a population-based search with a cheap proxy model that pre-screens offspring before each expensive oracle call, reducing oracle queries by orders of magnitude [Jones et al. 1998]; [He et al. 2023]. Maintaining surrogate quality when the objective landscape itself shifts has received comparatively little attention: existing methods are largely designed for static objectives, and the dynamic setting remains an open problem [Li & Chen 2022]. Standard methods accumulate all historical evaluations; under drift the growing pool of stale observations actively misleads the surrogate. Recency windowing is the natural fix, but setting the window length without prior knowledge of the drift structure is non-trivial. Our adaptive window controller addresses this by inferring the appropriate memory length from the reward trajectory alone.
Learning from shifting data streams is well-studied in the online learning literature [Gama et al. 2014]. Detection-based methods monitor error rates and trigger resets on degradation; window-based methods such as ADWIN [Bifet & Gavaldà 2007] maintain an adaptive sliding window with statistical guarantees. The foundational problem of concept drift, that models built on old data become inconsistent with new data as the underlying distribution shifts, was systematically characterised by [Tsymbal 2004], whose taxonomy of drift types informs our distinction between smooth and abrupt transitions. Our controller uses the slope-to-variance ratio of the recent reward trajectory as a detection signal to drive a forgetting-like mechanism, adapted to the specific setting of a genetic search with no access to ground-truth labels.
Drift-aware evolutionary prompt optimization. The loop combines genetic prompt search, state-conditioned surrogate scoring, and oracle evaluation, with adaptive memory for smooth drift and emergency prompt injection for sharp reward drops.
The search space and base algorithm follow an approach developed in ongoing work in our lab. We search a structured text prompt space of approximately $10^{23}$ candidates, where each candidate is a tuple of indices across 17 semantic dimensions decoded into a natural language prompt and rendered by SDXL-Turbo. A BERG fMRI encoding model scores each rendered image, serving as the oracle. Because querying the oracle for every candidate is infeasible, we use a CLIP text surrogate, a Ridge ensemble trained on observed (prompt, score) pairs, to filter the search: 1000 candidates are bred and scored by the surrogate each generation, and only the top 20 by acquisition score are sent to the oracle.
Drift is simulated by blending the rewards of multiple ROIs using a chain of sigmoid transitions. For $N$ ROIs with $N-1$ transition midpoints $m_1 < m_2 < \cdots < m_{N-1}$, we define $s_i(t) = \sigma\!\left(k\!\left(\tfrac{t}{T} - m_i\right)\right)$ with $k = 6$ throughout, and assign weights \[ w_1(t) = 1 - s_1, \quad w_i(t) = s_{i-1}\,(1 - s_i) \text{ for } 1 < i < N, \quad w_N(t) = s_{N-1}. \] The blended reward is $r(t) = \sum_{i=1}^{N} w_i(t)\,\tilde{r}_i$, where $\tilde{r}_i$ is the normalised score for ROI $i$. Transition midpoints are set to $m = 0.60$ for two-ROI sequences (200 evals), $(m_1, m_2) = (0.40, 0.70)$ for three-ROI sequences (300 evals), and $(m_1, m_2, m_3) = (0.33, 0.56, 0.78)$ for four-ROI sequences (300 evals). The individual ROI scores are never revealed; the algorithm observes only the blended scalar $r(t)$.
The drift simulation across our three experimental conditions. Each coloured band shows one ROI's contribution to the blended scalar reward the algorithm observes. The two-ROI condition has a single transition at eval 120 (out of 200); the three-ROI condition transitions at evals 120 and 210 (out of 300); and the four-ROI condition transitions at evals 99, 168, and 234 (out of 300).
Without drift awareness, the surrogate accumulates the full session history and anchors the search to the pre-drift landscape. We address this by restricting surrogate training to the $W_s$ most recently evaluated prompts and elite selection to the $W_e$ most recent candidates, so that stale observations from an earlier target region do not dominate the surrogate's fit. Both windows are coupled so that the candidates used for breeding are always drawn from the same recency horizon as the surrogate's training data. $W_s$ is initialised to the full session length, making the algorithm effectively stateless at the start, and is subsequently controlled by the adaptive window controller described in Section 3.4.
Recency windowing limits how much stale history the surrogate sees, but it cannot distinguish between a reward that is rising because the search is improving and one that is declining because the target has shifted. To give the surrogate access to this context, we augment each training point's CLIP text embedding with a three-dimensional session state descriptor: \[ \mathbf{s} = \bigl[\,\mu,\;\dot{r},\;\sigma^2\,\bigr] \] where $\mu$, $\dot{r}$, and $\sigma^2$ are the mean, slope, and variance of the blended reward over the most recent 20 evaluations at the time that training point was collected. The surrogate learns $\hat{r} = f(\mathbf{x}, \mathbf{s})$, conditioning predictions on both image content and current session dynamics. At inference time, each candidate in the pool is augmented with the state descriptor at the current evaluation index before scoring.
The recency window $W_s$ is controlled by a per-generation drift detector operating entirely on the blended reward signal. After each generation, the controller maintains a rolling buffer of the last $B = 5$ generation means and computes: \[ \text{drift_score} = \frac{-\,\text{slope}(\bar{g}_{t-B:t})} {\text{var}(\bar{g}_{t-B:t}) + \varepsilon} \] This quantity is large when the reward is declining quietly, negative slope with low variance, which is the characteristic signature of a high-correlation free ride ending. It remains low when the reward drops sharply and noisily, the anti-correlated case, which is handled by the slope trigger described below.
When the drift score exceeds $\tau = 0.2$, the window shrinks: $W_s \leftarrow \max(W_{\min},\; W_s \times 0.6)$, and an explorer injection is forced to introduce candidates from distant regions of the prompt space. When the score remains below zero for three consecutive generations, the window grows back: $W_s \leftarrow \min(W_{\max},\; W_s \times 1.15)$. The controller is initialised at $W_s = W_{\max} = 100$ and the floor is $W_{\min} = 20$.
A secondary slope trigger fires when the linear slope over the last 20 evaluations falls below $-0.005$, injecting candidates from the most distant CLIP-PCA clusters relative to already-evaluated prompts. The two mechanisms are complementary: the window controller handles smooth correlated drift by adjusting surrogate memory, while the slope trigger handles sharp stagnation by diversifying the candidate pool.
The original drift-aware search used a simple slope trigger: when the recent reward trend became sufficiently negative, the explorer injected candidates from distant prompt clusters. We extended this mechanism with online drift metrics computed from the true per-evaluation blended reward observed so far. These detectors do not use the hidden ROI scores, the drift schedule, or future evaluations.
Online drift trigger candidates. Each detector monitors the observed reward stream and triggers diversity injection when it detects a persistent degradation.
| Detector | Online signal | Trigger intuition |
|---|---|---|
| EWMA | Smoothed reward | Fires when the exponentially smoothed reward drops relative to its value a fixed lag earlier. |
| CUSUM-style | Recent reward deficit | Accumulates repeated under-performance relative to a recent reference window. |
| Page-Hinkley-style | Mean reward shift | Detects a windowed change in the mean reward, using negative reward to focus on performance drops. |
| ADWIN-like | Old vs recent mean | Compares an older reward window with a recent one and fires if recent performance is lower. |
We evaluate across three conditions of increasing complexity: eight two-ROI pairs (200 evals, one transition at eval 120), eight three-ROI triplets (300 evals, transitions at evals 120 and 210), and four four-ROI quadruplets (300 evals, transitions at evals 99, 168, and 234). All conditions use 20 random seeds. We compare three algorithms: Stateless (SL; no windowing, full history), Classic state-aware (SA; fixed $W_s = 40$, $W_e = 20$, state descriptor, slope trigger), and Adaptive state-aware (AD; $W_s$ initialised at 100 and controller-driven, state descriptor, slope trigger). Component ablations were conducted to isolate individual contributions.
Our primary metric is peak new ROI score: mean raw activation of the new target region over the last 50 evaluations. We additionally report adaptation quality ($\Delta Q$): the simultaneous rise of the new region and fall of the old over a $\pm 50$-eval window around the transition: \[ \Delta Q = \bigl(\overline{\text{raw}_b}^{\,\text{post}} - \overline{\text{raw}_b}^{\,\text{pre}}\bigr) - \bigl(\overline{\text{raw}_a}^{\,\text{post}} - \overline{\text{raw}_a}^{\,\text{pre}}\bigr) \] and crossover: whether the new region's 10-eval rolling mean ever exceeded the old region's. All comparisons are Cohen's $d$ relative to stateless, assessed by Mann-Whitney U test.
As a sanity check, we also evaluate all three algorithms on static single-target optimisation (no drift) across six visual ROIs. SA consistently underperforms SL in the final-window score across all ROIs, while AD approximately matches SL. This is expected: without drift, the recency windowing and state-tracking machinery in SA actively waste evaluations on candidates that are informative about session dynamics rather than the target itself. AD avoids this by expanding its window when no drift signal is detected, effectively recovering stateless behaviour. This confirms that the adaptive controller's core property — doing nothing when there is nothing to adapt to — holds even in the simplest possible regime.
The central finding is that the benefit of state-awareness depends critically on the correlation between successive target regions. We quantify this using Pearson $r$ computed from raw BERG scores pooled across seeds under the stateless algorithm, reflecting how similarly the two regions respond to the generated image distribution. Table 1 shows results across all eight two-ROI pairs grouped by correlation regime.
Table 1. Two-ROI results across all pairs. Peak new ROI score (mean raw activation, last 50 evals) and adaptation quality $\Delta Q$ for each algorithm. Cohen's $d$ and significance are relative to stateless. "Never" = seeds where the new region never overtook the old. Pairs sorted by correlation regime.
| Pair | $r$ | Peak new ROI score | vs Stateless ($d$) | Never crossed (/20) | |||||
|---|---|---|---|---|---|---|---|---|---|
| SL | SA | AD | SA | AD | SL | SA | AD | ||
| Anti-correlated | |||||||||
| PPA→OFA | −0.33 | 0.439 | 0.720 | 0.629 | +2.13*** | +1.19*** | 16 | 2 | 6 |
| FFA-1→PPA | −0.19 | 0.300 | 0.577 | 0.458 | +2.31*** | +1.71*** | 20 | 5 | 10 |
| Near-zero correlation | |||||||||
| EBA→PPA | +0.21 | 0.447 | 0.630 | 0.565 | +1.28*** | +1.10** | 17 | 4 | 9 |
| PPA→V1v | +0.01 | 0.669 | 0.754 | 0.730 | +1.64*** | +1.15*** | 0 | 0 | 0 |
| EBA→OFA | +0.20 | 0.977 | 0.918 | 0.876 | −0.28ns | −0.42ns | 0 | 0 | 0 |
| Highly correlated (free ride) | |||||||||
| OPA→PPA | +0.92 | 1.068 | 0.782 | 1.004 | −2.12*** | −0.41ns | 0 | 0 | 0 |
| OFA→FFA-1 | +0.70 | 1.105 | 0.923 | 1.023 | −0.94** | −0.41ns | 9 | 3 | 11 |
The pattern is consistent across pairs. On anti-correlated pairs, stateless fails entirely — it never crosses over on 16 to 20 out of 20 seeds — while both state-aware methods find the new target. On near-zero pairs, classic state-aware reliably outperforms stateless; adaptive state-aware is more variable but avoids large losses. On highly correlated pairs, the free ride dominates: classic state-aware loses badly ($d = -2.12^{***}$ on OPA→PPA) while adaptive state-aware tracks stateless closely, correctly identifying that no intervention is needed.
Figure 1. Did the algorithm find the new target? Mean raw activation of the new brain region in the last 50 evaluations, for three representative pairs spanning the correlation spectrum. On anti-correlated and near-zero pairs, both state-aware methods significantly outperform stateless. On the highly correlated pair, stateless wins: the free ride gives it full access to a region that was already rising. Adaptive state-aware is the only method that avoids both failure modes. Bars = mean ± SEM, 20 seeds. Brackets show Cohen's $d$ vs stateless.
Figure 2. ROI score trajectories across three correlation regimes. Rows correspond to anti-correlated ($r = -0.19$, FFA-1→PPA), near-zero ($r = +0.14$, V1v→PPA), and highly correlated ($r = +0.92$, OPA→PPA) pairs. Left: absolute raw activation scores for the stateless baseline (dashed orange = old ROI, solid blue = new ROI), averaged across 20 seeds with shaded SEM. The dotted vertical line marks the transition at eval 120. Centre and right: difference versus stateless for classic state-aware and adaptive state-aware, smoothed with a 7-eval window. Blue above zero means that algorithm drove the new ROI better than stateless; orange below zero means it released the old ROI more. On anti-correlated and near-zero pairs, both state-aware methods show a clear upward divergence after the transition. On the highly correlated pair, classic state-aware drops sharply below zero on both ROIs, while adaptive state-aware stays near zero throughout.
We extend to three- and four-ROI sequences to test whether the algorithm can track multiple sequential target changes. Tables 2 and 3 summarise the results. The key finding is that the advantage of state-awareness grows with each transition: at T1 the methods perform similarly, but by T2 both state-aware methods significantly outperform stateless, and the gap continues to widen.
Table 2. Three-ROI results. Top: aggregate across all 8 triplets (160 observations per algorithm). Bottom: peak Phase 2 score for the three strongest triplets, showing the number of seeds where stateless never drove the final target above the previous one.
| Metric | SL | SA | AD | SA vs SL ($d$) | AD vs SL ($d$) |
|---|---|---|---|---|---|
| Aggregate (all 8 triplets) | |||||
| AQ at T1 | −0.004 | +0.014 | +0.032 | +0.13ns | +0.27* |
| AQ at T2 | +0.011 | +0.054 | +0.068 | +0.35** | +0.41*** |
| Peak Phase 2 | +0.716 | +0.740 | +0.806 | +0.08ns | +0.26* |
| Strongest triplets — Peak Phase 2 score | |||||
| FFA-1→VWFA-1→PPA | 0.295 (18/20 fail) | 0.541 | 0.659 | +2.63*** | +2.65*** |
| EBA→OFA→PPA | 0.441 (14/20 fail) | 0.609 | 0.640 | +1.21*** | +1.09** |
Table 3. Four-ROI results: OFA→FFA-1→PPA→RSC. Mean raw activation of the active target region per phase. Transitions at evals 99, 168, and 234. Stateless completely fails to adapt after Phase 1; both state-aware methods successfully track all four targets.
| Phase (target) | SL | SA | AD | SA vs SL ($d$) | AD vs SL ($d$) |
|---|---|---|---|---|---|
| Phase 0 (OFA) | 1.148 | 1.048 | 1.140 | −0.75* | −0.07ns |
| Phase 1 (FFA-1) | 1.131 | 0.929 | 1.012 | −0.89** | −0.40ns |
| Phase 2 (PPA) ← SL fails 20/20 | 0.291 | 0.548 | 0.501 | +1.63*** | +1.31*** |
| Phase 3 (RSC) | 0.354 | 0.817 | 0.671 | +2.61*** | +1.85*** |
The compounding effect is clear in Table 3: in early phases, stateless performs comparably or better, benefiting from the free ride across similar face-selective regions. From Phase 2 onward, it fails completely, never adapting on any of the 20 seeds. Both state-aware methods successfully track all four targets, with the gap widening at each transition. Adaptive state-aware loses less in the early phases ($d = -0.07$ ns in Phase 0) while matching classic state-aware in the later ones, making it the safer choice across the full sequence.
Table 4. Post-transition activation speed and quality. AUC = mean raw activation of the new target ROI from the transition to the end of the session. Higher = the algorithm was driving the new target more throughout the post-transition period, capturing both how fast it committed and how well it drove the region. Pooled across all two-, three-, and four-ROI conditions and both eval budgets. Effect size $r$ and significance vs SL by Mann-Whitney U test.
| Regime | Algo | Mean AUC | $n$ | vs SL |
|---|---|---|---|---|
| Anti-correlated — state-aware commits faster and drives higher | ||||
| Anti-corr | SL | 0.341 | 74 | — |
| SA | 0.525 | 70 | $r=+0.64^{***}$ | |
| AD | 0.491 | 70 | $r=+0.56^{***}$ | |
| Near-zero — no meaningful difference | ||||
| Near-zero | SL | 0.763 | 80 | — |
| SA | 0.772 | 80 | $r=+0.05^{\text{ns}}$ | |
| AD | 0.758 | 80 | $r=+0.01^{\text{ns}}$ | |
| Highly correlated — free ride; SA disrupts it, AD avoids the loss | ||||
| Highly corr | SL | 0.844 | 50 | — |
| SA | 0.759 | 50 | $r=-0.29^{*}$ | |
| AD | 0.767 | 50 | $r=-0.23^{\text{ns}}$ | |
On anti-correlated pairs, both state-aware methods show large, significant AUC gains over stateless across all experiment complexities ($r = +0.64^{***}$ and $r = +0.56^{***}$). On highly correlated pairs, classic state-aware significantly suppresses the new target's rise by disrupting the free ride ($r = -0.29^{*}$); adaptive state-aware avoids this loss ($r = -0.23$, ns), which is the key practical advantage of the controller. Near-zero pairs show no meaningful difference, as expected.
The three-ROI results are also the most stable across evaluation budgets: all conditions show consistent effect direction whether run at 200, 250, or 300 evaluations, lending additional confidence to the compounding-advantage claim beyond what sample size alone provides.
Figure 3. Did the algorithm find the third target? Mean raw activation of the final target region in the last 30 evaluations after T2, for the three strongest triplets. Stateless fails on 14/20, 19/20, and 18/20 seeds respectively. Both state-aware variants drive the final region significantly higher ($d > +1.0^{***}$ on all three triplets).
Figure 4. Four-ROI raw trajectories. Mean raw activation of all four regions across the 300-eval session, averaged across 20 seeds (shaded = SEM). Dotted lines mark T1, T2, T3. Under stateless, OFA and FFA-1 remain dominant throughout and PPA and RSC never rise. Both state-aware variants show clean sequential shifts at each transition.
We evaluate the new trigger metrics on the FFA-1→PPA drift setting over 30 seeds, using the same best state-aware configuration. The slope baseline uses the original generation-mean reward signal, while the new detectors use the true per-evaluation blended reward observed online.
PPA late50 is the mean PPA score over the last 50 evaluations; ΔPPA measures the increase in PPA from early to late session; Blended late50 is the final reward actually optimized by the algorithm; and PPA−FFA Q4 measures whether the final quarter is more aligned with the new target PPA than the old target FFA.
Table 4. Smarter online drift metrics. Mean ± std over 30 seeds. Higher is better for all reported metrics.
| Trigger metric | PPA late50 ↑ | ΔPPA ↑ | Blended late50 ↑ | PPA−FFA Q4 ↑ |
|---|---|---|---|---|
| Slope baseline | 0.568 ± 0.096 | 0.179 ± 0.104 | 0.660 ± 0.313 | 0.044 ± 0.233 |
| EWMA | 0.572 ± 0.120 ns | 0.183 ± 0.105 ns | 0.607 ± 0.382 ns | 0.116 ± 0.277 ns |
| CUSUM-style | 0.586 ± 0.124 ns | 0.197 ± 0.118 ns | 0.640 ± 0.407 ns | 0.152 ± 0.252 ns |
| Page-Hinkley-style | 0.585 ± 0.101 ns | 0.196 ± 0.090 ns | 0.660 ± 0.330 ns | 0.146 ± 0.203 ns |
| ADWIN-like | 0.544 ± 0.094 ns | 0.155 ± 0.103 ns | 0.505 ± 0.310 ns | 0.077 ± 0.206 ns |
Values are mean ± std over 30 seeds. Significance markers compare each method against the slope baseline using a paired Wilcoxon signed-rank test over seeds: * p < 0.05, ** p < 0.01, *** p < 0.001, ns = not significant. Bold indicates the best mean value in each column.
The new metrics show promising trends, especially CUSUM and Page-Hinkley, but the gains are small compared to the variability across seeds. The paired tests therefore do not find a statistically significant improvement over the slope baseline. This suggests that the metrics change the behavior in the expected direction, but the effect is not yet robust enough to claim a definitive improvement.
When the slope trigger fires, where in the $10^{23}$-prompt space should fresh candidates come from? We compared three algorithms on FFA-1$\to$PPA: uniform random prompts, random sampling from k-means clusters, and a hierarchical walk over a CLIP$\to$UMAP$\to$HDBSCAN cluster tree anchored on the elite-farthest cluster. Table 5 layers them on top of two baselines, Stateless (no windowing, no state) and State + window (recency windowing + state descriptor, no explorer)
Table 5. Diversity-injection ablation on
FFA-1$\to$PPA
anti-correlated,
10 seeds, transition at eval 120.
Peak new ROI is mean
raw PPA over the last 50 evals.
$d_{\text{SL}}$ is Cohen's
$d$ vs Stateless, $d_{\text{SW}}$ vs State + window.
| Condition | Peak PPA | $d_{\text{SL}}$ | $d_{\text{SW}}$ | Never crossed (/10) |
|---|---|---|---|---|
| Stateless | 0.297 | — | $-2.92$*** | 2 |
| State + window | 0.555 | $+2.92$*** | — | 0 |
| + explorer, random prompt | 0.523 | $+3.23$*** | $-0.35$ ns | 0 |
| + explorer, random k-means clusters | 0.542 | $+3.80$*** | $-0.15$ ns | 0 |
| + explorer, hierarchical walk | 0.546 | $+3.85$*** | $-0.10$ ns | 0 |
Table 5 shows the clustering does not beat the SW baseline: Every explorer variant lands within noise of it (peak PPA 0.542–0.546 vs 0.555; $d_{\text{SW}} = -0.10$ to $-0.35$, all n.s.). As the surrogate is windowed and state-conditioned, the population recovers from its own breeding fast enough that the injection-time choice of prompts stops mattering. One suspicion was that our clusters live in CLIP, not BERG: prompts far apart in CLIP can still trigger near-identical PPA activations, so "diverse in CLIP" is not "diverse for the oracle". Yet clustering on BERG features directly (${\sim}10,000$ prompts) was significantly worse, hence the embedding space wasn't the problem.
How do you optimize for a brain region that keeps changing, when all you ever see is a single number? Our answer is: by learning to forget selectively. We extended surrogate-assisted neural image search with drift-aware components and showed that the benefit of state-awareness depends critically on the correlation structure between successive target regions. On anti-correlated and near-zero pairs, state-aware methods win decisively by actively forgetting the pre-drift landscape. On highly correlated pairs, they hurt, suppressing a region that was already rising for free. The adaptive window controller resolves this tension by inferring the regime from the blended reward alone, matching stateless performance where the free ride is available while recovering the state-aware advantage where genuine drift must be tracked. In multi-region sequences, the advantage compounds over the session: by the second and third transition, both state-aware methods significantly outperform stateless, and the adaptive controller's margin widens as it has had more time to converge within each regime.
Limitations. Drift in our experiments is simulated via a smooth sigmoid schedule. Rapid or oscillating drift would be unreliable to test in simulation as the search space is large enough that the surrogate cannot track a target shifting faster than it can converge, and faithfully reproducing real neural drift requires real recordings. That said, our evaluation spans a broad range of ROI pairs with varying correlation structure, from strongly anti-correlated to highly correlated, providing meaningful coverage of the regimes a real system would encounter. Most importantly, the method has not yet been validated on real neural recordings; our most aggressive drift conditions are intended to approximate the faster, noisier regime of EEG, but true validation will require moving beyond simulated BERG scores to live recordings.