Self-Playing Adversarial Language Game Enhances LLM Reasoning
Abstract
We explore the potential of self-play training for large language models (LLMs) in a two-player adversarial language game called Adversarial Taboo. In this game, an attacker and a defender communicate around a target word only visible to the attacker. The attacker aims to induce the defender to speak the target word unconsciously, while the defender tries to infer the target word from the attacker's utterances. To win the game, both players must have sufficient knowledge about the target word and high-level reasoning ability to infer and express in this information-reserved conversation. Hence, we are curious about whether LLMs' reasoning ability can be further enhanced by Self-Playing this Adversarial language Game (SPAG). With this goal, we select several open-source LLMs and let each act as the attacker and play with a copy of itself as the defender on an extensive range of target words. Through reinforcement learning on the game outcomes, we observe that the LLMs' performances uniformly improve on a broad range of reasoning benchmarks. Furthermore, iteratively adopting this self-play process can continuously promote LLMs' reasoning abilities. The code is available at https://github.com/Linear95/SPAG.
Cite
Text
Cheng et al. "Self-Playing Adversarial Language Game Enhances LLM Reasoning." Neural Information Processing Systems, 2024. doi:10.52202/079017-4019Markdown
[Cheng et al. "Self-Playing Adversarial Language Game Enhances LLM Reasoning." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/cheng2024neurips-selfplaying/) doi:10.52202/079017-4019BibTeX
@inproceedings{cheng2024neurips-selfplaying,
title = {{Self-Playing Adversarial Language Game Enhances LLM Reasoning}},
author = {Cheng, Pengyu and Dai, Yong and Hu, Tianhao and Xu, Han and Zhang, Zhisong and Han, Lei and Du, Nan and Li, Xiaolong},
booktitle = {Neural Information Processing Systems},
year = {2024},
doi = {10.52202/079017-4019},
url = {https://mlanthology.org/neurips/2024/cheng2024neurips-selfplaying/}
}