Improving Data Transfer Efficiency for AIs in the DareFightingICE using gRPC
Chollakorn Nimpattanavong, Ibrahim Khan, Thai Van Nguyen, Ruck, Thawonmas, Worawat Choensawat, Kingkarn Sookhanaphibarn

TL;DR
This paper introduces a gRPC-based communication interface for DareFightingICE, significantly reducing data transfer latency and improving stability for AI-controlled characters in the game.
Contribution
The paper presents a novel gRPC-based interface that enhances data transfer efficiency in DareFightingICE, outperforming previous methods like Py4J.
Findings
65% reduction in latency with gRPC
Improved stability and fewer missed frames
Effective handling of large data volumes
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Physics and Python Applications · Data Visualization and Analytics · Artificial Intelligence in Games
