Abstract: In cooperative video games, traditional AI companions are deployed to assist players, who control them using hotkeys or command wheels to issue predefined commands such as "attack", "defend", or "retreat". Despite their simplicity, these methods, which lack target specificity, limit players' ability to give complex tactical instructions and hinder immersive gameplay experiences. To address this, we propose the FPS AI Companion who Understands Language (F.A.C.U.L.), the first real-time AI system that enables players to communicate and collaborate with AI companions using natural language. By integrating natural language processing with a confidence-based framework, F.A.C.U.L. efficiently decomposes complex commands and interprets player intent. It also employs a dynamic entity retrieval method for environmental awareness, aligning human intentions with decision-making. Unlike traditional rule-based systems, our method supports real-time language interactions, enabling players to issue complex commands such as "clear the second floor," "take cover behind that tree," or "retreat to the river". The system provides real-time behavioral responses and vocal feedback, ensuring seamless tactical collaboration. Using the popular FPS game Arena Breakout: Infinite as a case study, we present comparisons demonstrating the efficacy of our approach and discuss the advantages and limitations of AI companions based on real-world user feedback.
Introduction
In tactical first-person shooters (FPS), coordination between teammates is the difference between victory and defeat. While human players communicate fluidly via voice, AI companions have historically been relegated to rigid "command wheels" or hotkeys. These systems are functional but limited; a player can tell a bot to "Regroup," but cannot easily instruct it to "take cover behind the red truck on the left" or "clear the second floor while I watch the stairs." This lack of specificity breaks immersion and restricts tactical depth.
F.A.C.U.L. (FPS AI Companion who Understands Language) addresses these limitations by providing a real-time natural language interface. The system overcomes the primary hurdles of AI integration in gaming: high latency and the "grounding" problem—mapping vague human speech to specific 3D coordinates and game entities.
System Architecture and Methodology
The F.A.C.U.L. pipeline is designed for high throughput and environmental awareness, ensuring that AI responses feel immediate and contextually appropriate.
Confidence-Based Instruction Reasoning
To balance the need for speed with the requirement for complex reasoning, the system utilizes a dual-path architecture inspired by human cognition (System 1 and System 2 processing).
- Fast Path (BERT-FID): A lightweight BERT-based model handles simple, high-confidence commands (e.g., "Follow me"). This allows for near-instantaneous execution of routine tasks.
- Slow Path (Domain-aligned LLM): If a command is complex or ambiguous, the BERT-FID model detects "low confidence" and routes the request to a fine-tuned Qwen2-1.5B LLM. This model acts as a tactical planner, generating Python code to orchestrate complex behavior tree sequences.
Multi-modal Dynamic Entity Retrieval
To solve the grounding problem, F.A.C.U.L. employs a fine-tuned CLIP model to match player text to game assets. Unlike simple label matching, this system incorporates real-time spatial data, such as distance and orientation relative to the player, to rank which object (e.g., "that red truck") the player is most likely referencing.
Key Results and Evaluation
The researchers evaluated F.A.C.U.L. using the tactical FPS Arena Breakout: Infinite, utilizing an evaluation set of 2,550 samples collected from 100 real gameplay sessions.
- Accuracy: The integrated F.A.C.U.L. system achieved 87.2% accuracy in intent and environment recognition. This significantly outperformed a pure BERT approach (71.4%) and even a larger, general-purpose Qwen2-7B model (80.7%), proving the value of domain-specific fine-tuning.
- Performance: By offloading simple tasks to the lightweight BERT model, the system handles 916 queries per second (QPS)—4.5x faster than using an LLM for every request. The average end-to-end latency is approximately 613ms, which is well within the acceptable range for tactical coordination.
- User Experience: In a study of 24 regular players, F.A.C.U.L. was overwhelmingly preferred over traditional command wheels. Players reported higher levels of enjoyment and team efficiency, noting that the AI's command execution felt comparable to that of random human teammates.
Conclusion and Future Work
F.A.C.U.L. demonstrates that natural language interaction can be successfully integrated into fast-paced gaming environments without sacrificing real-time performance. By using Python code as an intermediate representation, the system allows for complex logical maneuvers that traditional JSON or text outputs cannot easily support.
Future work will focus on further reducing latency and integrating raw audio signals. By analyzing a player's tone or urgency, future iterations of F.A.C.U.L. could adjust the AI's "aggression" or speed, creating even more immersive and responsive digital companions.
Summary updated