# 迭代囚徒困境

**迭代囚徒困境**（Iterated Prisoner's Dilemma，IPD）是囚徒困境的重复形式：这是一种两人博弈，每一轮每位玩家在合作（C）与背叛（D）之间做出选择，且每位玩家的策略都可以根据以往对局的历史来决定未来的选择。在一次性博弈中，背叛严格占优合作，然而相互背叛使双方的境况都劣于相互合作；重复博弈则开启了一种可能：玩家可以奖励或惩罚对方先前的行动，以诱使合作。<sup>[1](https://plato.stanford.edu/entries/prisoner-dilemma/index.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 收益结构 | 收益满足 \( T > R > P > S \) 且 \( 2R > T + S \)，其中 R 为相互合作的奖励，P 为相互背叛的惩罚，T 为单方背叛的诱惑，S 为单方合作的受骗收益<sup>[2](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0188046)</sup> |
| 惯用取值 | \( (R, P, T, S) = (3, 1, 5, 0) \)，即文献中最常使用的数值<sup>[2](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0188046)</sup><sup> • </sup><sup>[3](https://doi.org/10.1073/pnas.1206569109)</sup> |
| 一次性均衡 | 相互背叛是单次博弈唯一的严格纳什均衡<sup>[1](https://plato.stanford.edu/entries/prisoner-dilemma/index.html)</sup> |
| 阿克塞尔罗德的第一届锦标赛 | 1980年，14个提交策略外加一个随机策略；获胜者是阿纳托尔·拉波波特提交的针锋相对<sup>[4](https://axelrod.readthedocs.io/en/dev/discussion/overview_of_past_tournaments.html)</sup> |
| 民间定理 | 对任意 \( p \)，\( 0 \le p \le 1 \)，迭代博弈存在一个纳什均衡，其中 \( p \) 为相互合作轮次所占比例<sup>[1](https://plato.stanford.edu/entries/prisoner-dilemma/index.html)</sup> |
| 不定长度 | 通常以延续概率 \( p \)（“未来的阴影”）建模，或等价地，对未来收益施加贴现因子<sup>[5](https://plato.stanford.edu/archives/spr2001/entries/prisoner-dilemma/)</sup> |
| 噪声脆弱性 | 针锋相对在无错误时是稳健的，但一次执行失误即可摧毁这种稳健性<sup>[6](https://www.sciencedirect.com/science/article/pii/S002001901000058X)</sup> |

## 阶段博弈及其收益

[囚徒](https://www.edgepedia.org/zh/the-prisoner)困境由一个 2 × 2 收益矩阵定义，其排序为 \( T > R > P > S \)：无论对方怎么做，每位玩家背叛都比合作所得更多，因此背叛严格占优合作，相互背叛是该博弈唯一的严格纳什均衡，尽管双方都更偏好相互合作。<sup>[1](https://plato.stanford.edu/entries/prisoner-dilemma/index.html)</sup> 第二个不等式 \( 2R > T + S \) 确保在标准处理中相互合作是全局最优结果。<sup>[3](https://doi.org/10.1073/pnas.1206569109)</sup> 在惯用取值 \( (R, P, T, S) = (3, 1, 5, 0) \) 下，一名玩家合作两次而对手背叛一次，则得3分，对手得5分；而两个相互背叛者各得1分。<sup>[2](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0188046)</sup><sup> • </sup><sup>[7](https://www.cs.umd.edu/~nau/cmsc421/game-theory.pdf)</sup>

## 迭代与未来的阴影

重复改变了策略问题，因为玩家当前的行动可以在后续轮次中得到奖励或惩罚。学界研究三种版本。在长度已知的有限重复博弈中，逆向归纳法适用，但实验仍表明玩家并不总是采取单期占优策略，而是实现了某种程度的合作。<sup>[8](https://doi.org/10.1016/0022-0531%2882%2990029-1)</sup> 在无限重复博弈中没有最后一轮，因此逆向归纳法不适用，收益按每轮平均值比较。<sup>[5](https://plato.stanford.edu/archives/spr2001/entries/prisoner-dilemma/)</sup> 当代大多数研究将博弈视为长度不定：每一轮博弈以概率 \( p \) 继续，即“未来的阴影”，或等价地，以贴现因子使未来收益贬值；在数学上这两种解读差别甚微。<sup>[5](https://plato.stanford.edu/archives/spr2001/entries/prisoner-dilemma/)</sup> 在任何阶段合作的价值，都取决于再次遇到同一对手的几率。<sup>[5](https://plato.stanford.edu/archives/spr2001/entries/prisoner-dilemma/)</sup>

迭代博弈论的一条“民间定理”意味着，对0到1之间的任意 \( p \)，都存在一个[纳什均衡](https://www.edgepedia.org/zh/nash-equilibrium)，其中 \( p \) 为相互合作轮次所占比例，因此仅凭博弈论无法挑出唯一结果；均衡策略的范围很广，包括始终背叛和触发策略。<sup>[1](https://plato.stanford.edu/entries/prisoner-dilemma/index.html)</sup>

## 阿克塞尔罗德的锦标赛与针锋相对

20世纪80年代，密歇根大学政治学教授[罗伯特·阿克塞尔罗德](https://www.edgepedia.org/zh/robert-axelrod-political-scientist)（Robert Axelrod）举办了计算机锦标赛，受邀参赛者以程序形式提交策略，与其他所有参赛程序对战，胜者由全部交互中的平均得分决定。<sup>[9](https://axelrod.readthedocs.io/en/dev/discussion/axelrods_tournaments.html)</sup><sup> • </sup><sup>[10](https://www.sciencedirect.com/science/article/pii/S1569190X22000703)</sup> 他的第一届锦标赛记述于1980年的论文《囚徒困境中的有效选择》，包含14个策略外加一个随机策略；提交者包括蒂德曼与基鲁齐、伯纳德·格罗夫曼、马丁·舒比克和莫顿·戴维斯。<sup>[4](https://axelrod.readthedocs.io/en/dev/discussion/overview_of_past_tournaments.html)</sup> 阿克塞尔罗德两届锦标赛的获胜者，都是阿纳托尔·拉波波特（Anatol Rapoport）提交的简单策略**针锋相对**（Tit For Tat，TFT）：第一回合合作，此后重复对手上一回合的行动。<sup>[4](https://axelrod.readthedocs.io/en/dev/discussion/overview_of_past_tournaments.html)</sup><sup> • </sup><sup>[10](https://www.sciencedirect.com/science/article/pii/S1569190X22000703)</sup>

阿克塞尔罗德将TFT的成功归因于他重新表述为锦标赛参赛建议的若干性质，这一结果被广泛解读为TFT是一种有效的通用策略的证据。<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC11670945/)</sup><sup> • </sup><sup>[12](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134128)</sup> 后来对第一届锦标赛数据的再分析发现，TFT的效力取决于锦标赛设计、判定成功的标准以及所选的特定收益值。<sup>[12](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134128)</sup> 一项针对数千场锦标赛中195个策略的现代大型研究发现，没有任何单一策略能在其参加的所有锦标赛变体中表现良好。<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC11670945/)</sup>

## 噪声、错误与后续策略

TFT的弱点是噪声，即玩家的行动被传输或执行时出现错误的非零概率。由于TFT会立即惩罚每一次背叛，两个TFT玩家在一次失误之后就可能陷入背叛与合作交替的循环；分析工作表明，此类监督问题会显著损害TFT的有效性。<sup>[13](https://cs.nyu.edu/~neill/papers/OptimalityUnderNoise.pdf)</sup><sup> • </sup><sup>[14](https://journals.sagepub.com/doi/10.1177/0022002791035004007)</sup> 在形式上，TFT是稳健的，意味着在两策略群体中它从不劣于任何对手，但其执行中的一次失误就可能使它失去这一性质。<sup>[6](https://www.sciencedirect.com/science/article/pii/S002001901000058X)</sup>

为噪声对局设计的策略随之出现。**巴甫洛夫**（Pavlov），又称“赢则留、输则变”，在相互合作或相互背叛后选择合作，否则改变选择；其他抗噪声变体包括宽容针锋相对、友善且宽恕以及OmegaTFT。<sup>[13](https://cs.nyu.edu/~neill/papers/OptimalityUnderNoise.pdf)</sup><sup> • </sup><sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC11670945/)</sup> 2017年的一项研究考察了一种通常采用TFT、但为处理错误而切换为反TFT的策略，表明这种设计能够免于反复被利用，并抵抗向无条件合作的漂移。<sup>[15](https://www.sciencedirect.com/science/article/pii/S0022519316303149)</sup>

**生物学中的错误与贴现。** 自1981年以来，IPD一直是研究非亲缘合作的“基本范式”，然而受控实验表明动物始终选择背叛。1995年的一项分析考察了针锋相对和巴甫洛夫对抗全背叛策略的情形，发现存在合作策略永远无法稳定的收益组合，也存在低时间贴现或多次重复可稳定合作的收益组合；错误率上升会扩大无合作区域。最温和的稳定性要求出现在背叛诱惑可忽略、且相互合作的价值远高于相互背叛之时，作者预测，囚徒困境中的动物合作将仅限于极小的收益组合集合。<sup>[16](https://www.sciencedirect.com/science/article/pii/S0022519385702135)</sup>

## 零行列式策略与学习型策略

2012年，零行列式（zero-determinant，ZD）策略被提出：使用此类策略的知情玩家可以确定性地设定对手的得分，而不论对手采取何种策略，或在双方得分之间强制建立一种勒索性的线性关系。只有具备关于对手的心智理论的玩家才能做得更好，此时IPD就变成了最后通牒博弈。<sup>[3](https://doi.org/10.1073/pnas.1206569109)</sup> 对ZD策略的演化分析识别出了慷慨型ZD策略，并将其与“好”策略的空间联系起来。<sup>[17](https://pmc.ncbi.nlm.nih.gov/articles/PMC3780848)</sup>

此后，机器学习产生了顶尖的锦标赛参赛策略。在2017年的一项研究中，用演化算法和粒子群算法针对170多个不同对手构成的集合训练出的策略，在与全部策略集合的标准锦标赛中获胜，并在噪声锦标赛中名列前茅。该锦标赛使用176个策略、200回合、5%噪声条件，重复50,000次。训练出的策略在得分排名中位居榜首，且从不首先背叛，但赢得最多单场对局的策略是背叛者和激怒者，而针锋相对从未赢得任何一场一对一比赛。<sup>[2](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0188046)</sup>

## References

1. [Prisoner's Dilemma, Stanford Encyclopedia of Philosophy](https://plato.stanford.edu/entries/prisoner-dilemma/index.html)
2. [Harper M, Knight V, Jones M, Koutsovoulos G, Glynatsi NE, Campbell O (2017). Reinforcement learning produces dominant strategies for the Iterated Prisoner's Dilemma. PLoS ONE 12(12): e0188046.](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0188046)
3. [Press WH, Dyson FJ (2012). Iterated Prisoner's Dilemma contains strategies that dominate any evolutionary opponent. PNAS.](https://doi.org/10.1073/pnas.1206569109)
4. [Overview of past Tournaments, Axelrod 4.14.0 documentation](https://axelrod.readthedocs.io/en/dev/discussion/overview_of_past_tournaments.html)
5. [Prisoner's Dilemma, Stanford Encyclopedia of Philosophy, Spring 2001 edition (indefinite iteration)](https://plato.stanford.edu/archives/spr2001/entries/prisoner-dilemma/)
6. [Pelc A (2010). Fault-tolerant strategies in the Iterated Prisoner's Dilemma. Information Processing Letters 110(10): 389-395.](https://www.sciencedirect.com/science/article/pii/S002001901000058X)
7. [Nau D. Game Theory lecture notes, University of Maryland](https://www.cs.umd.edu/~nau/cmsc421/game-theory.pdf)
8. [Rational cooperation in the finitely repeated prisoners' dilemma, Journal of Economic Theory](https://doi.org/10.1016/0022-0531%2882%2990029-1)
9. [Background to Axelrod's Tournament, Axelrod 4.14.0 documentation](https://axelrod.readthedocs.io/en/dev/discussion/axelrods_tournaments.html)
10. [Probabilistic memory-one strategies to dominate the iterated prisoner's dilemma over networks, Simulation Modelling Practice and Theory](https://www.sciencedirect.com/science/article/pii/S1569190X22000703)
11. [Properties of Winning Iterated Prisoner's Dilemma Strategies, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC11670945/)
12. [Is Tit-for-Tat the Answer? On the Conclusions Drawn from Axelrod's Tournaments, PLOS One](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0134128)
13. [Optimality Under Noise: Higher Memory Strategies for the Alternating Prisoner's Dilemma, NYU](https://cs.nyu.edu/~neill/papers/OptimalityUnderNoise.pdf)
14. [Bendor J, Kramer RM, Stout S (1991). When in Doubt, Journal of Conflict Resolution](https://journals.sagepub.com/doi/10.1177/0022002791035004007)
15. [Combination with anti-tit-for-tat remedies problems of tit-for-tat, Journal of Theoretical Biology 412: 1-7](https://www.sciencedirect.com/science/article/pii/S0022519316303149)
16. [Error and Discounting in the Iterated Prisoner's Dilemma, Journal of Theoretical Biology 176(4): 457-469](https://www.sciencedirect.com/science/article/pii/S0022519385702135)
17. [From extortion to generosity, evolution in the Iterated Prisoner's Dilemma, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3780848)

---
*Initially written Oct 21, 2026*

Topic: 体育、游戏与休闲 › 棋牌与益智游戏 › 益智游戏

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/iterated-prisoners-dilemma

English original: https://www.edgepedia.org/iterated-prisoners-dilemma
