IDEAS home Printed from https://ideas.repec.org/a/eee/phsmap/v677y2025ics0378437125005540.html

Dynamic role-switching in hypergraphs: Enhancing cooperation via adaptive punishment and reinforcement learning

Author

Listed:
  • Yan, Zeyuan
  • Zhao, Hui
  • Li, Li

Abstract

Evolutionary game theory, enhanced by reinforcement learning, provides deep insights into cooperation dynamics crucial for collective behaviors in complex systems. As complex network structures, hypergraphs present a robust framework for examining the emergence of cooperation. In this study, we combine evolutionary game theory with an adaptive Q-learning algorithm optimized for hypergraphs structures to explore the effects of a dynamic punishment transition mechanism on collective cooperative behavior. This algorithm allows agents to dynamically adjust roles and engage in introspective learning, moving beyond simple imitation. Extensive Monte Carlo simulations demonstrate that increasing the probability and intensity of punishment significantly promotes cooperation, while moderate punishment costs can catalyze cooperation even under low synergy factors. Moreover, higher discount factors, increased learning rates, and smaller group sizes within hypergraphs further enhance cooperation. This research highlights the critical role of self-adjusting Q-learning and dynamic punishment transition mechanisms in fostering cooperation, providing valuable insights into social dilemma scenarios within complex environments.

Suggested Citation

  • Yan, Zeyuan & Zhao, Hui & Li, Li, 2025. "Dynamic role-switching in hypergraphs: Enhancing cooperation via adaptive punishment and reinforcement learning," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 677(C).
  • Handle: RePEc:eee:phsmap:v:677:y:2025:i:c:s0378437125005540
    DOI: 10.1016/j.physa.2025.130902
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378437125005540
    Download Restriction: Full text for ScienceDirect subscribers only. Journal offers the option of making the article available online on Science direct for a fee of $3,000

    File URL: https://libkey.io/10.1016/j.physa.2025.130902?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Guo, H. & Jia, D. & Sendiña-Nadal, I. & Zhang, M. & Wang, Z. & Li, X. & Alfaro-Bittner, K. & Moreno, Y. & Boccaletti, S., 2021. "Evolutionary games on simplicial complexes," Chaos, Solitons & Fractals, Elsevier, vol. 150(C).
    2. Li, Hui-Jia & Xu, Wenzhe & Song, Shenpeng & Wang, Wen-Xuan & Perc, Matjaž, 2021. "The dynamics of epidemic spreading on signed networks," Chaos, Solitons & Fractals, Elsevier, vol. 151(C).
    3. Quan, Ji & Pu, Zhenjuan & Wang, Xianjia, 2021. "Comparison of social exclusion and punishment in promoting cooperation: Who should play the leading role?," Chaos, Solitons & Fractals, Elsevier, vol. 151(C).
    4. Francisco C. Santos & Marta D. Santos & Jorge M. Pacheco, 2008. "Social diversity promotes the emergence of cooperation in public goods games," Nature, Nature, vol. 454(7201), pages 213-216, July.
    5. Aming Li & Lei Zhou & Qi Su & Sean P. Cornelius & Yang-Yu Liu & Long Wang & Simon A. Levin, 2020. "Evolution of cooperation on temporal networks," Nature Communications, Nature, vol. 11(1), pages 1-9, December.
    6. Lv, Ran & Qian, Jia-Li & Hao, Qing-Yi & Wu, Chao-Yun & Guo, Ning & Ling, Xiang, 2024. "The impact of reputation-based heterogeneous evaluation and learning on cooperation in spatial public goods game," Chaos, Solitons & Fractals, Elsevier, vol. 181(C).
    7. Zhang, Yali & Lu, Yikang & Jin, Haoyu & Dong, Yuting & Du, Chunpeng & Shi, Lei, 2024. "The impact of dynamic reward on cooperation in the spatial public goods game," Chaos, Solitons & Fractals, Elsevier, vol. 187(C).
    8. Ernst Fehr & Simon Gächter, 2002. "Altruistic punishment in humans," Nature, Nature, vol. 415(6868), pages 137-140, January.
    9. Unai Alvarez-Rodriguez & Federico Battiston & Guilherme Ferraz Arruda & Yamir Moreno & Matjaž Perc & Vito Latora, 2021. "Evolutionary dynamics of higher-order interactions in social networks," Nature Human Behaviour, Nature, vol. 5(5), pages 586-595, May.
    10. Anzhi Sheng & Qi Su & Aming Li & Long Wang & Joshua B. Plotkin, 2023. "Constructing temporal networks with bursty activity patterns," Nature Communications, Nature, vol. 14(1), pages 1-10, December.
    11. Yan, Zeyuan & Zhao, Hui & Liang, Shu & Li, Li & Song, Yanjie, 2024. "Inter-layer feedback mechanism with reinforcement learning boosts the evolution of cooperation in multilayer network," Chaos, Solitons & Fractals, Elsevier, vol. 185(C).
    12. Wang, Xianjia & Yang, Zhipeng & Chen, Guici & Liu, Yanli, 2024. "Enhancing cooperative evolution in spatial public goods game by particle swarm optimization based on exploration and q-learning," Applied Mathematics and Computation, Elsevier, vol. 469(C).
    13. Kang, Hongwei & Li, Zhekang & Shen, Yong & Huang, Zhiyuan & Sun, Xingping & Chen, Qingyi, 2024. "From eligibility to suitability: Regulation and restriction of reputation-based access system on free-riding behavior in spatial public goods game," Chaos, Solitons & Fractals, Elsevier, vol. 180(C).
    14. Andrew R. Tilman & Joshua B. Plotkin & Erol Akçay, 2020. "Evolutionary games with environmental feedbacks," Nature Communications, Nature, vol. 11(1), pages 1-11, December.
    15. Wang, Shengxian & Chen, Xiaojie & Xiao, Zhilong & Szolnoki, Attila, 2022. "Decentralized incentives for general well-being in networked public goods game," Applied Mathematics and Computation, Elsevier, vol. 431(C).
    16. Yang, Luhe & Zhang, Lianzhong, 2021. "Environmental feedback in spatial public goods game," Chaos, Solitons & Fractals, Elsevier, vol. 142(C).
    17. Zhang, Huizhen & An, Tianbo & Yan, Pingping & Hu, Kaipeng & An, Jinjin & Shi, Lijuan & Zhao, Jian & Wang, Jingrui, 2024. "Exploring cooperative evolution with tunable payoff’s loners using reinforcement learning," Chaos, Solitons & Fractals, Elsevier, vol. 178(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Li, Yipeng & Hu, Xiangyue & Jin, Xing & Zhang, Huizhen & Yang, Jiajia & Wang, Zhen, 2025. "Environmental information perception enhances cooperation in stochastic public goods games via Q-learning," Applied Mathematics and Computation, Elsevier, vol. 504(C).
    2. Yang, Yujin & Zhao, Dawei & Wang, Juan, 2025. "Evolution of cooperation in spatial public goods games driven by reinforcement learning and environmental feedback," Chaos, Solitons & Fractals, Elsevier, vol. 199(P1).
    3. Lee, Hsuan-Wei & Cleveland, Colin & Szolnoki, Attila, 2023. "Group-size dependent synergy in heterogeneous populations," Chaos, Solitons & Fractals, Elsevier, vol. 167(C).
    4. Xu, Yan & Zhao, Dawei & Chen, Jiaxing & Liu, Tao & Xia, Chengyi, 2024. "The nested structures of higher-order interactions promote the cooperation in complex social networks," Chaos, Solitons & Fractals, Elsevier, vol. 185(C).
    5. Zhu, Yuying & Cui, Heng & Xia, Chengyi, 2025. "Adaptive reputation promotes the cooperation of multiplayer snowdrift game on higher-order networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 675(C).
    6. Ma, Xiaojian & Quan, Ji & Wang, Xianjia, 2023. "Evolution of cooperation with nonlinear environment feedback in repeated public goods game," Applied Mathematics and Computation, Elsevier, vol. 452(C).
    7. Wang, Chongkai & Han, Xiao-Pu & Yu, Hao & Fu, Junjie & Meng, Fanyuan, 2025. "Evolutionary dynamics of public goods games on random hypergraphs with environmental feedbacks," Chaos, Solitons & Fractals, Elsevier, vol. 200(P2).
    8. Yang, Luhe & Zhang, Lianzhong & Yang, Duoxing, 2022. "Asymmetric micro-dynamics in spatial anonymous public goods game," Applied Mathematics and Computation, Elsevier, vol. 415(C).
    9. Zou, Kuan & Huang, Changwei, 2024. "Incorporating reputation into reinforcement learning can promote cooperation on hypergraphs," Chaos, Solitons & Fractals, Elsevier, vol. 186(C).
    10. Lee, Hsuan-Wei & Cleveland, Colin & Szolnoki, Attila, 2024. "Suppressing defection by increasing temptation: The impact of smart cooperators on a social dilemma situation," Applied Mathematics and Computation, Elsevier, vol. 479(C).
    11. Hu, Zhengyang & Zhu, Yuying & Zhao, Dawei & Xia, Chengyi, 2026. "The higher-order networked N-player trust game driven by reputation and reinforcement learning," Chaos, Solitons & Fractals, Elsevier, vol. 202(P2).
    12. Sun, Xingping & Zhu, Haoran & Kang, Hongwei & Bi, Yanzheng & Shen, Yong & Chen, Qingyi, 2025. "The impact of memory reputation-induced tax and reward allocation on spatial public goods games," Chaos, Solitons & Fractals, Elsevier, vol. 195(C).
    13. Zhu, Wenqiang & Pan, Qiuhui & Song, Sha & He, Mingfeng, 2023. "Effects of exposure-based reward and punishment on the evolution of cooperation in prisoner’s dilemma game," Chaos, Solitons & Fractals, Elsevier, vol. 172(C).
    14. Xie, Yunya & Li, Jianbiao & Zhang, Yankun & Wang, Yue, 2025. "Ephemeral connections, persistent effects: Cooperation dynamics in temporal networks with historical interactions," Chaos, Solitons & Fractals, Elsevier, vol. 199(P3).
    15. Pi, Jinxiu & Wang, Chun & Cai, Jin & Tang, Wei, 2026. "Reputation-based strategy persistence and environmental feedback promote cooperation in spatial snowdrift games," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 681(C).
    16. Zhang, Wei, 2024. "Network reciprocity and inequality: The role of additional mixing links among social groups," Chaos, Solitons & Fractals, Elsevier, vol. 182(C).
    17. Gao, Shun & Zhang, Liming & Dai, Qionglin & Li, Haihong & Tessone, Claudio J. & Yang, Junzhong, 2025. "Spatial public goods game on hypergraphs with particle swarm intelligence," Chaos, Solitons & Fractals, Elsevier, vol. 201(P1).
    18. Li, Jiaying & Lv, Shaojie & Zhao, Changheng, 2025. "Public goods games with environmental feedbacks in well-mixed and structured populations," Chaos, Solitons & Fractals, Elsevier, vol. 201(P2).
    19. Zheng, Guozhong & Zhang, Jiqiang & Deng, Shengfeng & Cai, Weiran & Chen, Li, 2024. "Evolution of cooperation in the public goods game with Q-learning," Chaos, Solitons & Fractals, Elsevier, vol. 188(C).
    20. Quan, Ji & Yu, Junyu & Li, Xia & Wang, Xianjia, 2023. "Conditional switching between social excluders and loners promotes cooperation in spatial public goods game," Chaos, Solitons & Fractals, Elsevier, vol. 169(C).

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:phsmap:v:677:y:2025:i:c:s0378437125005540. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.