# Gry z ukrytą informacją (poker, CFR)

EN: **Imperfect-information games and counterfactual regret minimisation** · id `imperfectinfo` · aliases: imperfect-information games, CFR, counterfactual regret minimization, poker AI, gry z niepełną informacją, minimalizacja kontrfaktycznego żalu, Libratus, Pluribus

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w grach](https://aiatlasgraph.com/t/gameai.md) › [Agenci grający w gry](https://aiatlasgraph.com/t/gameplaying.md) › Gry z ukrytą informacją (poker, CFR)

## Description

- PL: Algorytmy dla gier z ukrytą informacją, oparte na iteracyjnej minimalizacji kontrfaktycznego żalu, abstrakcji gry i przeszukiwaniu w czasie rzeczywistym.
- EN: Algorithms for hidden-information games built on iterative counterfactual regret minimisation, game abstraction and real-time search.

## In one sentence

- PL: Metody grania w gry, w których nie widać kart ani ruchów przeciwnika, więc trzeba blefować i liczyć się z blefem.
- EN: Ways of playing games where you cannot see the opponent's cards or moves, so you must bluff and expect bluffs.

## Problem it solves

- PL: Gdy przeciwnik ukrywa informacje, każdy przewidywalny styl gry da się wykorzystać, a zwykłe przeszukiwanie ruchów przestaje działać.
- EN: When an opponent hides information, any predictable style can be exploited, and ordinary move search stops working.

## What it does

- PL: Jak doświadczony pokerzysta, który po każdym rozdaniu liczy, ile by zyskał innym zagraniem, i powoli przesuwa nawyki w stronę lepszych.
- EN: Like a seasoned poker player who after each hand counts what another play would have won and slowly shifts habits toward better ones.

## Everyday example

- PL: Program do nauki pokera, który po partii pokazuje, gdzie spasowałeś za wcześnie i jak często warto blefować.
- EN: A poker training app that shows after a session where you folded too early and how often a bluff pays off.

## This concerns you if you…

- PL: grasz w pokera lub inne gry z ukrytymi kartami
- PL: ciekawi cię, jak AI nauczyło się blefować
- EN: play poker or other hidden-card games
- EN: wonder how AI learned to bluff

## Keywords

CFR · Monte Carlo CFR · CFR+ · Libratus · Pluribus · DeepStack · ReBeL · Student of Games · OpenSpiel

## How it works

- PL: Minimalizacja kontrfaktycznego żalu wielokrotnie gra ze sobą i dla każdej sytuacji zapamiętuje, ile straciła, nie wybierając innych akcji; średnia strategia zbiega do równowagi w grach dwuosobowych o sumie zerowej. Ogromne gry upraszcza się abstrakcją rąk i stawek, a podczas gry strategię dopracowuje ograniczone w głąb przeszukiwanie.
- EN: Counterfactual regret minimisation repeatedly plays itself and, for each situation, records how much it lost by not choosing other actions; the average strategy converges to equilibrium in two-player zero-sum games. Huge games are simplified by abstracting hands and bet sizes, and depth-limited search refines the strategy during play.

## Limits

- PL: Gwarancja zbieżności dotyczy tylko gier dwuosobowych o sumie zerowej; w grach wieloosobowych sukces jest empiryczny. Abstrakcja zaciera subtelne różnice, a strategia bliska równowadze nie wykorzystuje słabości konkretnego przeciwnika.
- EN: The convergence guarantee holds only for two-player zero-sum games; in multiplayer games success is empirical. Abstraction blurs subtle distinctions, and a near-equilibrium strategy does not exploit a specific opponent's weaknesses.

## Key terms

- PL: **żal kontrfaktyczny**: Ile byśmy zyskali, wybierając w danej sytuacji inną akcję.
- PL: **abstrakcja gry**: Łączenie podobnych rąk i stawek, żeby gra była mniejsza.
- PL: **strategia bazowa**: Wyliczona wcześniej strategia, dopracowywana w trakcie partii.
- EN: **counterfactual regret**: How much we would have gained by choosing another action in a situation.
- EN: **game abstraction**: Merging similar hands and bets so the game becomes smaller.
- EN: **blueprint strategy**: A precomputed strategy refined during play.

## Know first

- [Gry i przeszukiwanie z przeciwnikiem (minimax) (Adversarial search and games (minimax, alpha-beta))](https://aiatlasgraph.com/t/adversarialsearch.md)
- [Uczenie wieloagentowe (MARL) (Multi-agent reinforcement learning (MARL))](https://aiatlasgraph.com/t/marl.md)

## Related topics

Untyped, symmetric "see also" links.

- [Gry i przeszukiwanie z przeciwnikiem (minimax) (Adversarial search and games (minimax, alpha-beta))](https://aiatlasgraph.com/t/adversarialsearch.md)
- [Równowaga Nasha i rozwiązywanie gier (Nash equilibrium and solving games)](https://aiatlasgraph.com/t/nashequilibria.md)

## Sources

- [Superhuman AI for multiplayer poker](<https://par.nsf.gov/servlets/purl/10119653>) `brown-sandholm-pluribus-2019` · by Noam Brown, Tuomas Sandholm

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/imperfectinfo · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
