Exploration Efficiency Methods
Exploration Efficiency Methods
This note records the narrowed set of adaptive latent-state sampling methods for using a router-generator factorization to explore strategy space more efficiently than iid base-model sampling. The corresponding evaluation metrics are in Exploration efficiency coverage metrics.
Related notes:
- Exploration efficiency coverage metrics
- Exploration efficiency kernel calibration
- Exploration efficiency gains
- Iterative self-improvement via analogical exploration
Continuous Gaussian Setup
The main case of interest is a continuous router
All adaptive sampling should be formulated in whitened router coordinates. Let and write
The method samples or selects in whitened coordinates, then maps back to before decoding . This avoids confusing exploration with the router mean, coordinate scaling, or covariance anisotropy.
The history is
Latent-space exploration is only a proposal mechanism. Evaluation should still use external strategy labels as described in Exploration efficiency coverage metrics.
Method 1: iid Router Sampling (baseline)
The baseline samples directly from the router:
This is the reference policy for measuring whether adaptive latent-state sampling improves strategy coverage over ordinary iid base-model sampling.
Method 2: Inverse Elliptical Candidate Reranking
At step , draw a candidate pool from the router:
Define the history design matrix
Score each candidate by the inverse elliptical bonus
and select
The inverse is important. A score of would reward directions already represented in the history, while rewards directions that are under-covered after ridge regularization.
The hyperparameters are the candidate count and ridge . Larger gives the method more opportunity to find under-covered directions, while larger makes early decisions closer to radius-based iid candidate selection.
Angular Variant
The raw inverse elliptical score can prefer high-radius Gaussian tail samples, especially when is large. A more conservative version normalizes directions:
then scores candidates by
This variant emphasizes angular coverage of the Gaussian support rather than pushing samples toward large radius. It is likely the safer first method for 2D visualizations and for early experiments where tail samples may decode poorly.
Method 3: Kernel-Reweighted Router Sampling
This method defines an explicit reweighted proposal in whitened coordinates:
where is the standard Gaussian density and is a bounded repulsion factor against the history.
A robust kernel repulsion score is
with acceptance or importance weight
Here is the repulsion radius in whitened units, is the repulsion strength, and is an acceptance floor. The floor prevents the sampler from stalling when the history already covers much of the high-density region.
Rejection Sampler With SIR Fallback
Because , rejection sampling from the router proposal is direct:
- sample ;
- accept with probability ;
- if accepted, set and map back to .
This samples from the reweighted proposal exactly up to the normalizing constant when an accepted proposal is found. The practical risk is unstable acceptance rate as grows. The locked v1 implementation should cap rejection attempts and, if no proposal is accepted, fall back to sampling-importance-resampling from a finite fallback pool using the same weights . This keeps the fallback stochastic and aligned with the same reweighted proposal, rather than switching to a deterministic maximum-weight candidate.
Default v1 hyperparameters:
- ;
- ;
- ;
max_rejection_attempts = 500;fallback_candidate_count = 64.
These v1 defaults were not dimension-calibrated. In 64D whitened space, is effectively inert for a 32-sample budget; see Exploration efficiency kernel calibration for a dimension-aware calibration rule.
Sampling-Importance-Resampling Variant
Sampling-importance-resampling is useful as the rejection fallback:
- sample ;
- compute weights ;
- sample one candidate proportional to .
This keeps the fallback bounded without introducing a separate deterministic novelty-reranking behavior. The first standalone synthetic-sequences evaluation should compare only iid router sampling against this kernel-reweighted rejection sampler with SIR fallback, not a separate SIR-only method or a maximum-weight fallback.
First Notebook Scope
The first 2D notebook should compare only these methods:
- iid router sampling;
- inverse elliptical candidate reranking, with both raw and angular scores if useful;
- kernel-reweighted router sampling, using sampling-importance-resampling first and rejection sampling only if acceptance behavior is stable.
The visualizations should show whitened -space samples, the mapped Gaussian ellipse in -space when helpful, and the sequence order of sampled latent states. The main qualitative question is whether the adaptive methods cover high-probability router support with fewer repeats than iid sampling without being pulled into unreasonably low-density tails.
First Synthetic-Sequences Evaluation Scope
The first standalone synthetic-sequences exploration-efficiency script should compare:
iid: iid router samples ;kernel_reweighted: bounded rejection sampling with SIR fallback using the kernel repulsion weights above.
The script should be continuous-only because this method assumes a Gaussian router. It should evaluate strategy coverage by decoding for each sampled latent and using task-owned strategy attribution, not latent-space distance.