Concept

Prediction layers

You might say: yomi, level-k thinking, Sicilian reasoning, double bluff, mind games

A ladder of beliefs in which each side predicts the other's move, then predicts that prediction, and counters the next layer.

What it does
Explains why a direct read can be defeated by a counter-read, and why the ladder should stop after a few plausible steps instead of becoming endless recursion. One way to choose a layer is to score every layer by how it would have done in past turns and play the best so far.
Ask
Which level of reasoning is plausible here, and when should the ladder stop and return to the base move?
Trouble
The AI spends compute on imaginary layers, assumes the opponent reasons like it does, chooses a counter with no payoff, or trusts past scores after the opponent changes level.

Sources

  1. David Sirlin, Playing to Win: Becoming the Champion, ch. 7, Yomi LayersYou knew what he would do (yomi), but he knew that you knew (yomi layer 2).
  2. David Sirlin, Playing to Win: Becoming the Champion, ch. 7, Yomi Layersthere need only be support up to yomi layer 3, as yomi layer 4 loops back around to layer 0.
  3. Dan Egnor, Iocaine Powder Explained, Meta-StrategyP.1: defeat second-guessing Assume the opponent thinks you will use P.0.
  4. Dan Egnor, Iocaine Powder Explained, Meta-StrategyIocaine Powder's basic meta-strategy is simple: Use past performance to judge future results.
  5. Dan Egnor, Iocaine Powder Explained, Meta-StrategyThen, to actually choose a move, Iocaine Powder simply picks the strategy variant with the highest score to date.
  6. Dan Egnor, Iocaine Powder Explained, Meta-StrategyThe basic assumption made by this meta-strategy is that an opponent will not quickly vary their strategy.

Use it on your project

teardown-apply: hold "Prediction layers" (prediction-layers) 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