Knob
Human regularisation
You might say: human regularization, KL regularisation, KL-regularized search, piKL, anchor policy
A setting that penalises search for moving too far from a policy learned from human play, while still allowing a higher-value order mix.
- What it does
- Controls the trade between human-compatible behaviour and raw game value, so the AI can be strong without becoming alien or impossible to read.
- Ask
- How much expected value may search gain before it is no longer worth departing from the human anchor?
- Typical
- Large anchor strength stays close to human play; small anchor strength gives reward more control; intermediate settings trade between them.
- Trouble
- An anchor that is too weak produces strong but alien play, while an anchor that is too strong preserves imitation errors and prevents useful search improvement.
What to look for
- A slider or lambda value labelled human-like to strongest
- Search choices stay near anchor probabilities at high regularisation
- The chosen order differs from the anchor when its value gain clears the penalty
Sources
- Athul Paul Jacob et al., Modeling Strong and Human-Like Gameplay with KL-Regularized Search, Abstract, p. 1
We then introduce a novel regret minimization algorithm that is regularized based on the KL divergence from an imitation-learned policy, and show that using this algorithm for search in no-press Diplomacy yields a policy that matches the human prediction accuracy of imitation learning while being substantially stronger.
- Athul Paul Jacob et al., Modeling Strong and Human-Like Gameplay with KL-Regularized Search, Section 4.1, p. 5
When λ is large, the utility function is dominated by the KL-divergence term … and so the agent will naturally tend to play a policy … close to the anchor policy
- Athul Paul Jacob et al., Modeling Strong and Human-Like Gameplay with KL-Regularized Search, Section 4.1, p. 5
When λi is small, the dominating term is the rewards … and so the agent will tend to maximize reward without as closely matching the anchor policy
- Anton Bakhtin et al., Mastering the Game of No-Press Diplomacy via Human-Regularized Reinforcement Learning and Planning, Abstract
a planning algorithm we call DiL-piKL that regularizes a reward-maximizing policy toward a human imitation-learned policy.
Use it on your project
teardown-apply: hold "Human regularisation" (human-regularisation) from the teardown at https://teardownatlas.com/game-ai/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal