Verification¶
Verification checks what a trained policy profile actually achieved. The main tools are final satisfaction evaluation, approximate NashConv, and AlphaRank.
The callable estimators and report writers are documented in the Verification API.
Final Satisfaction¶
Final satisfaction estimates each agent's probability of satisfying its temporal objective under the learned joint policy.
The estimator:
- Runs fresh evaluation episodes.
- Records a success bit per agent and episode.
- Computes
p_hat = successes / episodes. - Reports a Hoeffding confidence interval.
Reports are saved as:
Important fields include:
eval_episodesdeltaconfidencesuccess_thresholdper_agent
Use final satisfaction to confirm whether a learned profile actually solves the temporal objective.
Approximate NashConv¶
Approximate NashConv is the closest model-free analogue of unilateral deviation incentive used in this repo.
For each evaluated agent:
- Freeze all other agents at the learned policy.
- Train a best-response or exploiter policy for the selected agent.
- Estimate baseline objective success under the original profile.
- Estimate best-response objective success under the deviating profile.
- Measure the positive improvement.
The aggregate NashConv score summarizes how much agents can improve by unilateral deviation. Lower is better, but interpretation depends on the baseline satisfaction.
Reports are saved as:
The JSON report includes aggregate summary statistics and per-agent baseline, best-response, and delta values.
AlphaRank¶
AlphaRank is an optional ranking analysis over learned policies. In this repo it is used as a cross-play style comparison tool after the strategy set has been produced.
Reports are saved as:
AlphaRank is off by default in most notebooks because it can add evaluation cost.
Interpreting Results¶
Read metrics together:
- High satisfaction and low NashConv is the strongest positive signal.
- Low satisfaction and low NashConv can mean the best-response search also failed.
- High satisfaction and high NashConv means the objective can be reached, but the profile may be exploitable.
- AlphaRank helps compare strategy sets, but it does not replace per-agent objective satisfaction.
For sparse temporal goals, increase final satisfaction episodes or inspect label traces before drawing conclusions.
Success Thresholds¶
The experiment spec includes success_threshold, defaulting to 0.5. Rollout verifiers use this threshold when reducing objective reward histories to success outcomes. Most current temporal wrappers produce terminal 0.0 or 1.0 objective rewards, so the default threshold is natural.