gambit icon indicating copy to clipboard operation
gambit copied to clipboard

[Bug]: Information set realisation probability for games with absent-mindedness

Open tturocy opened this issue 8 months ago • 3 comments

The current implementation of MixedBehaviorProfile computes information set realisation probability by summing the realisation probabilities of its member nodes.

This assumes non-absent-mindedness. For an information set that exhibits absent-mindedness, this "double counts" multiple visits to the information set (and in principle would allow an information set to be visited with probability greater than one!)

We propose that the correct extension of information set realisation probabilities to the case of absent-minded information sets is that it would be the probability the information set is visited at least once. Because node realisation probabilities are retained (and we have the ability to check whether an information set exhibits absent-mindedness) it is possible to compute the realisation structure in more detail if desired.

Currently the information set realisation probability is computed on demand. It would likely make sense to change this to be a cached value for each information set.

tturocy avatar Mar 23 '26 16:03 tturocy

After further discussion we have realised that we need to clarify the following as part of solving this issue correctly:

  • Beliefs. We argue that the sensible definition of belief is node realisation probability divided by sum of node realisation probabilities.

  • How do we define the payoff to an absent-minded information set? In parallel to this discussion, there are two possible definitions. One is what is the expected payoff conditional on passing through the information set; the other is the expected payoffs conditional on being at some node in the information set. These are not equivalent for absent-minded information sets. (Todo: Have an example that demonstrates this.)

  • How do we define regret at an information set?

It is our current impression that the literature on absent-mindedness may or may not have given clear definitions for these values. Conversely, the literature on computation rarely deals with absent-mindedness (often not even with imperfect recall).

We will do the following:

  1. Confirm what the literature does (or does not) say with respect to defining these quantities.
  2. Where there is a standard definition, we will follow it. Where there is not, we will pick what seems to be the most sensible convention.
  3. Either way, we will clearly document the behaviour of these functions on absent-minded information sets (ideally with examples), both in Python docstrings and Doxygen annotations on the function definitions.

tturocy avatar Apr 14 '26 15:04 tturocy

Beliefs at absent-minded (AM) information sets

Suggestion based on the literature review.

The definition proposed initially -- node realisation probability divided by the sum of node realisation probabilities across the information set -- is exactly the Selten (1975) normalisation, also adopted by Piccione & Rubinstein (1997) -- PR for brevity. It has a known problem: for AM information sets, it treats nodes visited sequentially on the same play path as if they were mutually exclusive alternatives. This leads to beliefs under which no sequential equilibrium exists in games like the AM-driver, even though the ex ante optimal strategy is well-defined.

Halpern & Pass (2021, ACM TEAC) -- HP for brevity -- propose what I believe could be the correct fix. Conceptually, their approach coincides with the changes already made in this issue. HP introduce (Def 3.1, see also Halpern, GEB, 1997) the concept of the upper frontier $\hat{X}$ of an information set $X$: the subset of member nodes such that no other member node in this information set strictly precedes them on any path from the root. For non-AM information sets, $\hat{X} = X$, so nothing changes. For AM information sets, it excludes reentry nodes.

Their belief definition (HP, Section 3, p.9; normalisation: Claim 3.2) is:

  • $\mu_X(x) = \pi_c(x \mid X)$, i.e. the probability of reaching $x$ conditional on reaching $X$;
  • Their normalisation constraint is $\sum_{x \in \hat{X}} \mu_X(x) = 1$, and not $\sum_{x \in X} \mu_X(x) = 1$;
  • For AM information sets, the total sum $\sum_{x \in X} \mu_X(x)$ exceeding 1 is expected and correct.

Example (AM-driver with payoffs 0, 4, 1; exit probability $p = \frac{1}{3}$):

  • $X_e = \lbrace e_1, e_2 \rbrace$ -- the AM information set ($e_1$ precedes $e_2$; “e” stands for “exit”);

  • Upper frontier $\hat{X}_e = {e_1}$;

  • $\pi(e_1) = 1$, $\pi(e_2) = \frac{2}{3}$.

  • Selten/PR beliefs: normalise over all members: $\mu(e_1) = \frac{1}{1 + \frac{2}{3}} = \frac{3}{5}$, $\mu(e_2) = \frac{ \frac{2}{3}}{1 + \frac{2}{3}} = \frac{2}{5}$. Under these beliefs (letting $\alpha = \mu(e_1) = \frac{3}{5}$), the optimal deviation is $p^* = \frac{3 - \alpha}{6\alpha} = \frac{2}{3} \neq \frac{1}{3}$. Thus, sequential rationality fails and no SE exists.

  • HP beliefs: normalise over upper frontier only: $\mu(e_1) = 1$, $\mu(e_2) = \frac{2}{3}$. Conditioning on reaching information set $X_e$ is conditioning on an event of probability 1 ($\pi(\hat{X}_e) = \pi(e_1) = 1$). Thus, $EU(b \mid b, \mu, \nu, X_e) = EU(b)$ and the ex ante optimal strategy remains sequentially rational.

Implementation notes

  • GetAbsentMindedReentries() gives the complement of HP's upper frontier $\hat{X}$.
  • For non-AM information sets, $\hat{X} = X$ and all definitions coincide.
  • Beliefs will not sum to 1 over all members of an AM information set; they sum to 1 over $\hat{X}$ only. This should be documented.

d-kad avatar Apr 21 '26 08:04 d-kad

OK, seems a good starting point. Let's develop this, including clear documentation and additional operations where needed. (For example, the "upper frontier" of an information set is a useful concept.). As always let's be sure to add citations to papers where we adopt terms and definitions from.

tturocy avatar Apr 22 '26 10:04 tturocy