The reviewed record of science sign in
Pith

arxiv: 2303.10001 · v1 · pith:T7755JKK · submitted 2023-03-11 · cs.NI · cs.AI· cs.PF

Improving Data Transfer Efficiency for AIs in the DareFightingICE using gRPC

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:T7755JKKrecord.jsonopen to challenge →

classification cs.NI cs.AIcs.PF
keywords gamedatagrpcinterfacedarefightingicelatencypy4jamounts
0
0 comments X
read the original abstract

This paper presents a new communication interface for the DareFightingICE platform, a Java-based fighting game focused on implementing AI for controlling a non-player character. The interface uses an open-source remote procedure call, gRPC to improve the efficiency of data transfer between the game and the AI, reducing the time spent on receiving information from the game server. This is important because the main challenge of implementing AI in a fighting game is the need for the AI to select an action to perform within a short response time. The DareFightingICE platform has been integrated with Py4J, allowing developers to create AIs using Python. However, Py4J is less efficient at handling large amounts of data, resulting in excessive latency. In contrast, gRPC is well-suited for transmitting large amounts of data. To evaluate the effectiveness of the new communication interface, we conducted an experiment comparing the latency of gRPC and Py4J, using a rule-based AI that sends a kick command regardless of the information received from the game server. The experiment results showed not only a 65\% reduction in latency but also improved stability and eliminated missed frames compared to the current interface.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.