GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Minimax

Minimax (sometimes Minmax, MM or saddle point ) is a decision rule used in artificial intelligence, decision theory, combinatorial game theory, statistics, and philosophy for minimizing the possible loss for a worst case (maximum loss) scenario. When dealing with gains, it is referred to as "maximin" – to maximize the minimum gain. Originally formulated for several-player zero-sum game theory, covering both the cases where players take alternate moves and those where they make simultaneous moves, it has also been extended to more complex games and to general decision-making in the presence of uncertainty. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Minimax (sometimes Minmax, MM or saddle point ) is a decision rule used in artificial intelligence, decision theory, combinatorial game theory, statistics, and philosophy for minimizing the possible loss for a worst case (maximum loss) scenario. When dealing with gains, it is referred to as "maximin" – to maximize the minimum gain. Originally formulated for several-player zero-sum game theory, covering both the cases where players take alternate moves and those where they make simultaneous moves, it has also been extended to more complex games and to general decision-making in the presence of uncertainty. \underline{v_i} = \max_{a_i} \min_{a_{-i}} {v_i(a_i,a_{-i})} Where: is the index of the player of interest. -i denotes all other players except player . a_i is the action taken by player . a_{-i} denotes the actions taken by all other players. v_i is the value function of player . Calculating the maximin value of a player is done in a worst-case approach: for each possible action of the player, we check all possible actions of the other players and determine the worst possible combination of actions – the one that gives player the smallest value. Then, we determine which action player can take in order to make sure that this smallest value is the highest possible. For example, consider the following game for two players, where the first player ("row player") may choose any of three moves, labelled , , or , and the second player ("column player") may choose either of two moves, or . The result of the combination of both moves is expressed in a payoff table: \begin{array}{c|cc} \hline & L & R \\ \hline T & 3,1 & 2,-20 \\ M & 5,0 & -10,1 \\ B & -100,2 & 4,4 \\ \hline \end{array} (where the first number in each of the cell is the pay-out of the row player and the second number is the pay-out of the column player). For the sake of example, we consider only pure strategies. Check each player in turn: The row player can play , which guarantees them a payoff of at least (playing is risky since it can lead to payoff , and playing can result in a payoff of ). Hence: \underline{v_{row}} = 2 . The column player can play and secure a payoff of at least (playing puts them in the risk of getting -20 ). Hence: \underline{v_{col}} = 0 . If both players play their respective maximin strategies (T,L) , the payoff vector is (3,1) . The minimax value of a player is the smallest value that the other players can force the player to receive, without knowing the player's actions; equivalently, it is the largest value the player can be sure to get when they know the actions of the other players. Its formal definition is: \overline{v_i} = \min_{a_{-i}} \max_{a_i} {v_i(a_i,a_{-i})} The definition is very similar to that of the maximin value – only the order of the maximum and minimum operators is inverse. In the above example: The row player can get a maximum value of (if the other player plays ) or (if the other player plays ), so: \overline{v_{row}} = 4\ . The column player can get a maximum value of (if the other player plays ), (if ) or (if ). Hence: \overline{v_{col}} = 1\ . For every player , the maximin is at most the minimax: \underline{v_i} \leq \overline{v_i} Intuitively, in maximin the maximization comes after the minimization, so player tries to maximize their value before knowing what the others will do; in minimax the maximization comes before the minimization, so player is in a much better position – they maximize their value knowing what the others did. Another way to understand the notation is by reading from right to left: When we write \overline{v_i} = \min_{a_{-i}} \max_{a_i} {v_i(a_i,a_{-i})} = \min_{a_{-i}} \Big( \max_{a_i} {v_i(a_i,a_{-i})} \Big) the initial set of outcomes \ v_i(a_i,a_{-i})\ depends on both \ {a_{i}}\ and \ {a_{-i}}\ . We first marginalize away {a_{i}} from v_i(a_i,a_{-i}) , by maximizing over \ {a_{i}}\ (for every possible value of {a_{-i}} ) to yield a set of marginal outcomes \ v'_i(a_{-i})\,, which depends only on \ {a_{-i}}\ . We then minimize over \ {a_{-i}}\ over these outcomes. (Conversely for maximin.) Although it is always the case that \ \underline{v_{row}} \leq \overline{v_{row}}\ and \ \underline{v_{col}} \leq \overline{v_{col}}\,, the payoff vector resulting from both players playing their minimax strategies, \ (2,-20)\ in the case of \ (T,R)\ or (-10,1) in the case of \ (M,R)\,, cannot similarly be ranked against the payoff vector \ (3,1)\ resulting from both players playing their maximin strategy. In two-player zero-sum games, the minimax solution is the same as the Nash equilibrium. In the context of zero-sum games, the minimax theorem is equivalent to: For every two-person zero-sum game with finitely many strategies, there exists a value and a mixed strategy for each player, such that (a) Given Player 2's strategy, the best payoff possible for Player 1 is , and (b) Given Player 1's strategy, the best payoff possible for Player 2 is − . Equivalently, Player 1's strategy guarantees them a payoff of regardless of Player 2's strategy, and similarly Player 2 can guarantee themselves a payoff of − . The name minimax arises because each player minimizes the maximum payoff possible for the other – since the game is zero-sum, they also minimize their own maximum loss (i.e., maximize their minimum payoff). See also example of a game without a value. if depth = 0 or node is a terminal node then return the heuristic value of node if maximizingPlayer then value := −∞ for each child of node do value := max(value, minimax(child, depth − 1, FALSE)) return value else (* minimizing player *) value := +∞ for each child of node do value := min(value, minimax(child, depth − 1, TRUE)) return value (* Initial call *) minimax(origin, depth, TRUE) The minimax function returns a heuristic value for leaf nodes (terminal nodes and nodes at the maximum search depth). Non-leaf nodes inherit their value from a descendant leaf node. The heuristic value is a score measuring the favorability of the node for the maximizing player. Hence nodes resulting in a favorable outcome, such as a win, for the maximizing player have higher scores than nodes more favorable for the minimizing player. The heuristic value for terminal (game ending) leaf nodes are scores corresponding to win, loss, or draw, for the maximizing player. For non terminal leaf nodes at the maximum search depth, an evaluation function estimates a heuristic value for the node. The quality of this estimate and the search depth determine the quality and accuracy of the final minimax result. Minimax treats the two players (the maximizing player and the minimizing player) separately in its code. Based on the observation that \ \max(a,b) = -\min(-a,-b)\ , minimax may often be simplified into the negamax algorithm. \sup_\theta R(\theta,\tilde{\delta}) = \inf_\delta\ \sup_\theta\ R(\theta,\delta)\ . An alternative criterion in the decision theoretic framework is the Bayes estimator in the presence of a prior distribution \Pi\ . An estimator is Bayes if it minimizes the average risk \int_\Theta R(\theta,\delta) \ \operatorname{d} \Pi(\theta)\ . ==References==

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Minimax". 1778268798. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1353211022

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·