Abstract
Online Cloud gaming demands real-time, high-quality video transmission across variable wide-area networks (WANs). Neural-enhanced video transmission algorithms employing super-resolution (SR) for video quality enhancement have effectively challenged WAN environments. However, these SR-based methods require intensive fine-tuning for the whole video, making it infeasible in diverse online cloud gaming. To address this, we introduce River, a cloud gaming delivery framework designed based on the observation that video segment features in cloud gaming are typically repetitive and redundant. This permits a significant opportunity to reuse fine-tuned SR models, reducing the fine-tuning latency of minutes to query latency of milliseconds. To enable the idea, we design a practical system that addresses several challenges, such as model organization, online model scheduler, and transfer strategy. River first builds a content-aware encoder that fine-tunes SR models for diverse video segments and stores them in a lookup table. When delivering cloud gaming video streams online, River checks the video features and retrieves the most relevant SR models to enhance the frame quality. Meanwhile, if no existing SR model performs well enough for some video segments, River will further fine-tune new models and update the lookup table. Finally, to avoid the overhead of streaming model weight to the clients, River designs a prefetching strategy that predicts the models with the highest possibility of being retrieved. Our evaluation based on real video game streaming demonstrates River can reduce redundant training overhead by 44% and improve the Peak-Signal-to-Noise-Ratio by 1.81dB compared to the SOTA solutions. Practical deployment shows River meets real-time requirements, achieving approximately 720p 20fps on mobile devices.
Introduction
Cloud gaming is a "one-to-one" service where a server renders a game and streams the video to a client. Because these streams often travel over unpredictable wide-area networks (WANs), protocols like WebRTC frequently drop the resolution and bitrate to maintain low latency. This results in a blurry, low-quality experience for the player.
While Super-Resolution (SR)—using AI to upscale low-res images—could fix this, existing "content-aware" SR methods are too slow. They typically require minutes of fine-tuning on a specific video segment to achieve high quality. In the world of interactive gaming, where scenes change in milliseconds and every user has a unique stream, waiting minutes for a model to train is impossible.
The River Framework
River shifts the paradigm from training-on-the-fly to retrieval-on-the-fly. The system is built upon three main pillars designed to exploit the visual redundancy inherent in video games.
- Content-aware Encoder: Instead of training a new model for every segment, River builds a "lookup table." It breaks video frames into patches, extracts visual features using a pre-trained ResNet18, and uses k-means clustering to index SR models based on the types of textures they handle best.
- Online Scheduler: For every incoming frame, the server quickly analyzes its patches and "votes" on which existing SR model in the lookup table is the best fit. If the visual scene is entirely new and no existing model performs well, it triggers an offline fine-tuning process to "learn" the new scene and update the table.
- Prefetching Strategy: Downloading model weights consumes bandwidth that could be used for the video itself. River uses a transfer matrix to predict which models will likely be needed next (based on temporal similarity) and prefetches them to the client’s cache, ensuring the right model is ready before the frame arrives.
To make this work on mobile devices, the framework includes a rearrangement operator that optimizes how the neural network processes data on mobile GPUs, significantly speeding up inference.
Evaluation and Results
The researchers evaluated River using real-world cloud gaming datasets like GVSET and CGVDS, which contain uncompressed 1080p raw gaming videos from diverse titles like CS:GO, Dota 2, League of Legends, FIFA17, Hearthstone, and ProjectCars.
Key results from the evaluation include:
- Efficiency: Reduced redundant training overhead by 44%.
- Quality: Improved the Peak Signal-to-Noise Ratio (PSNR) by an average of 1.81dB over generic SR models and outperformed other state-of-the-art (SOTA) methods like awDNN.
- Speed: The server-side scheduling adds only about 5.59 ms of latency.
- Real-World Deployment: On a Xiaomi 13 (Snapdragon 8 Gen2), River achieved 720p at 20fps in real-time.
Key Insights
- Game Visuals are Redundant: Game environments are repetitive. A model trained on a specific map or character in CS:GO ten minutes ago is likely still the best model for that same map now. Reusing models reduces the "training latency" from minutes to a "query latency" of milliseconds.
- Patch-Level Granularity: Analyzing a whole frame is too coarse. A single game screen might have a static, simple UI and a complex, moving 3D background. By analyzing patches, River can select models that are specialized for specific textures.
- Bandwidth Balancing: River’s prefetching strategy treats model delivery as a probability problem, ensuring high cache hit rates (nearly 100% in stable scenes) without choking the video stream.
Limitations and Future Work
While 20fps is a significant feat for neural upscaling on mobile, it remains below the 60fps standard desired by competitive gamers. Additionally, the "rearrangement operator" used to speed up mobile inference causes a slight drop (~1.2dB) in PSNR compared to the full-fat model. Future work will focus on further optimizing client-side inference and exploring how to handle "unseen" games more gracefully without any initial fine-tuning period.
Summary updated