LEGO: Supporting LLM-Enhanced Games with One Gaming GPU
Abstract
Artificial intelligence (AI) has been increasingly applied to gaming, with large language models (LLMs) playing a key role in character control. However, efficiently co-locating game rendering and LLM inference on one GPU presents challenges due to resource constraints, diverse latency requirements, and fine-grained task scheduling. We propose LEGO, an algorithm-system co-design that enables the efficient co-location of LLM inference and game rendering tasks. Algorithmwise, LEGO features a resource-oriented layer-skipping adaptor, which distills knowledge from skipped layers to reduce computational demand while maintaining inference accuracy. System-wise, LEGO proposes a headroom-maximizing LLM scheduler, which dynamically partitions inference tasks to utilize available rendering headroom. Evaluations on an Nvidia RTX 4090 show that LEGO meets latency targets in all scenarios, improves rendering headroom utilization by up to 28.6 %, and reduces LLM inference accuracy loss by up to 86.3 % compared to current layer-skipping approaches.
Fields of Study & Subjects
Parallel Computing and Optimization Techniques
Computer Graphics and Visualization Techniques
Advanced Neural Network Applications
Publication details
- Journal / source
- IEEE International Symposium on High-Performance Computer Architecture (HPCA)
- Pages
- 1–14
- Publication date
- 31 January 2026
- Language
- EN