Generative Agents for Multi-Agent Autoformalization of Interaction Scenarios

Agnieszka Mensfelt, Kostas Stathis, Vince Trencsenyi
12/11/2024
cs.AI

No official code found. Best implementation: dicelab-rhul/autoformalizing-agents (1 star, MIT, last commit 2025-02-18).

Abstract

Multi-agent simulations are versatile tools for exploring interactions among natural and artificial agents, but their development typically demands domain expertise and manual effort. This work introduces the Generative Agents for Multi-Agent Autoformalization (GAMA) framework, which automates the formalization of interaction scenarios in simulations using agents augmented with large language models (LLMs). To demonstrate the application of GAMA, we use natural language descriptions of game-theoretic scenarios representing social interactions, and we autoformalize them into executable logic programs defining game rules, with syntactic correctness enforced through a solver-based validation. To ensure runtime validity, an iterative, tournament-based procedure tests the generated rules and strategies, followed by exact semantic validation when ground truth outcomes are available. In experiments with 110 natural language descriptions across five 2x2 simultaneous-move games, GAMA achieves 100% syntactic and 76.5% semantic correctness with Claude 3.5 Sonnet, and 99.82% syntactic and 77% semantic correctness with GPT-4o. The framework also shows high semantic accuracy in autoformalizing agents' strategies.

View on arXivView PDF

Code Implementations(1)

MIT
10Prolog, PythonSep 21, 20241 years agoMIT

Similar Papers

Cite this paper

@article{mensfelt2024generative,
  title  = {Generative Agents for Multi-Agent Autoformalization of Interaction Scenarios},
  author = {Agnieszka Mensfelt and Kostas Stathis and Vince Trencsenyi},
  year   = {2024},
  eprint = {2412.08805},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.08805v3}
}

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/2412.08805.svg)](https://codeofpaper.com/paper/2412.08805)

Discussion