14 LLMs fought 314 Street Fighter matches. Here's who won (2024) A developer benchmarked 14 large language models against each other in 314 matches of Street Fighter III, running the game through the Diambra emulator and Stan Girard's open-sourced test bed, with each model called via the Amazon Bedrock serverless API to pick moves from a prompt containing game state, health, score and available moves. Models were ranked on an Elo rating system, and the post's leaderboard places a Claude model first, though the source text truncates the table before the full rankings and Elo scores are shown. 14 LLMs fought 314 Street Fighter matches. Here's who won I benchmarked models in an actual chatbot arena Have you ever wondered what would happen if we created a new type of benchmark for large language models LLMs that goes beyond the typical question-answering and text generation tasks? What if we had an arena where the models could compete against each other in challenges entirely outside their designed purpose? That's precisely what I explored by pitting LLMs against one another in the classic arcade game, Street Fighter III. In this post I'll go into the details of how I built this unique arena and the fascinating insights learned from watching LLMs battle it out on the virtual streets of Metro City. How It Works The arena was set up using an emulator running Street Fighter III powered by Diambra https://diambra.ai/home/about and from the work of Stan Girard https://www.linkedin.com/posts/stan-girard what-if-llms-could-fight-each-other-in-a-activity-7178418537210781698-NARy/?utm source=share&utm medium=member ios who open sourced his test bed for this benchmark. To begin, two random LLMs on Amazon Bedrock https://aws.amazon.com/bedrock/ are selected to control Ken, and then the test bed executes the following steps: Gather Game State Data The current state of the game was continuously read such as the character location, health, and score. This information was then translated into a prompt with all the relevant context for the LLM such as available moves and recommended strategies. You are very far from the opponent. Move closer to the opponent.Your opponent is on the left.You can now use a powerfull move. The names of the powerful moves are: Megafireball, Super attack 2.Your last action was Low. The opponent's last action was Left.Your current score is 17.0. You are winning. Keep attacking the opponent.To increase your score, move toward the opponent and attack the opponent. To prevent your score from decreasing, don't get hit by the opponent.The moves you can use are:- Move Closer - Move Away - Fireball - Megapunch - Hurricane - Megafireball Get Player Moves With the relevant context, a system prompt can be crafted and be sent to the corresponding LLM via Bedrock serverless API. Upon receiving the prompt, each LLM analyzes the game state and picks moves. php def call llm - str: move list = "- " + "\n - ".join move for move in META INSTRUCTIONS system prompt = f"""You are the best and most aggressive Street Fighter III 3rd strike player in the world. Your character is {self.character}. Your goal is to beat the other opponent. You respond with a bullet point list of moves. {self.context prompt } The moves you can use are: {move list} ---- Reply with a bullet point list of moves. The format should be: -