Reasoning, Memorization, and Fine-Tuning Language Models for Non-Cooperative Games

Yunhao Yang, Leonard Berthellemy, Ufuk Topcu
10/18/2024
cs.AI

No confident code implementation found for this paper.

Abstract

We develop a method that integrates the tree of thoughts and multi-agent framework to enhance the capability of pre-trained language models in solving complex, unfamiliar games. The method decomposes game-solving into four incremental tasks -- game summarization, area selection, action extraction, and action validation -- each assigned to a specific language-model agent. By constructing a tree of thoughts, the method simulates reasoning paths and allows agents to collaboratively distill game representations and tactics, mitigating the limitations of language models in reasoning and long-term memorization. Additionally, an automated fine-tuning process further optimizes the agents' performance by ranking query-response pairs based on game outcomes, e.g., winning or losing. We apply the method to a non-cooperative game and demonstrate a 65 percent winning rate against benchmark algorithms, with an additional 10 percent improvement after fine-tuning. In contrast to existing deep learning algorithms for game solving that require millions of training samples, the proposed method consumes approximately 1000 training samples, highlighting its efficiency and scalability.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2024reasoning,
  title  = {Reasoning, Memorization, and Fine-Tuning Language Models for Non-Cooperative Games},
  author = {Yunhao Yang and Leonard Berthellemy and Ufuk Topcu},
  year   = {2024},
  eprint = {2410.14890},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.14890v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.14890.svg)](https://codeofpaper.com/paper/2410.14890)

Discussion