[Paper Review] Face-to-Parameter Translation for Game Character Auto-Creation
This paper proposes a face-to-parameter (F2P) translation method for automatic game character creation from a single face photo, using a differentiable generative imitator to enable gradient-based optimization of facial parameters despite the non-differentiable game engine rendering. The method achieves high similarity in both global appearance and local facial details, with a 50.26% selection ratio in user studies and deployment in a live game serving over 1 million users.
Character customization system is an important component in Role-Playing Games (RPGs), where players are allowed to edit the facial appearance of their in-game characters with their own preferences rather than using default templates. This paper proposes a method for automatically creating in-game characters of players according to an input face photo. We formulate the above "artistic creation" process under a facial similarity measurement and parameter searching paradigm by solving an optimization problem over a large set of physically meaningful facial parameters. To effectively minimize the distance between the created face and the real one, two loss functions, i.e. a "discriminative loss" and a "facial content loss", are specifically designed. As the rendering process of a game engine is not differentiable, a generative network is further introduced as an "imitator" to imitate the physical behavior of the game engine so that the proposed method can be implemented under a neural style transfer framework and the parameters can be optimized by gradient descent. Experimental results demonstrate that our method achieves a high degree of generation similarity between the input face photo and the created in-game character in terms of both global appearance and local details. Our method has been deployed in a new game last year and has now been used by players over 1 million times.
Motivation & Objective
- To address the challenge of time-consuming manual character customization in RPGs by enabling automatic in-game character creation from a player’s face photo.
- To formulate character creation as a parameter search problem over physically meaningful facial parameters, ensuring compatibility with game engines.
- To overcome the non-differentiability of game engine rendering by introducing a trainable generative imitator that mimics the rendering process.
- To improve generation quality by designing two specialized loss functions: a discriminative loss for global appearance and a facial content loss for local details.
- To support user interaction by enabling fine-tuning of the generated parameters post-creation.
Proposed method
- The method formulates game character auto-creation as an optimization problem over a large set of physically meaningful facial parameters to match the input face photo.
- A generative network $ G $ acts as an 'imitator' to approximate the non-differentiable game engine rendering, enabling end-to-end backpropagation and gradient descent optimization.
- Two loss functions are introduced: a discriminative loss $ \mathcal{L}_1 $ for global facial appearance similarity and a facial content loss $ \mathcal{L}_2 $ for local detail preservation, both based on deep CNN features.
- The entire pipeline is trained in an end-to-end manner using multi-task learning, allowing direct optimization of facial parameters from raw input images.
- The method supports user interaction by allowing optional fine-tuning of the generated parameters after the initial auto-creation step.
- The imitator is trained on a dataset of input face photos and corresponding rendered game character images to learn the mapping from parameters to visual output.
Experimental results
Research questions
- RQ1Can a non-differentiable game engine rendering process be effectively optimized using deep learning through a trainable imitator network?
- RQ2How can facial similarity be measured and optimized in a parameter space that is physically meaningful and compatible with game engines?
- RQ3To what extent do discriminative and facial content losses improve the realism and detail fidelity of generated game characters?
- RQ4Can the method generalize to non-photographic inputs such as sketches and caricatures while preserving facial semantics?
- RQ5How does the proposed F2P translation method compare in quality and efficiency to existing neural style transfer and 3D face reconstruction techniques?
Key findings
- The proposed method achieved a 50.26% selection ratio in user preference studies when compared to alternatives, significantly outperforming methods using only one loss function.
- The ablation study confirmed that both the discriminative loss $ \mathcal{L}_1 $ and facial content loss $ \mathcal{L}_2 $ are essential, with the combined loss yielding the highest user preference.
- In quantitative evaluation, the method achieved a Mode Score of 1.1418 ± 0.0049 and a Fréchet Inception Distance (FID) of 0.0390 ± 0.0018, outperforming global style (FID: 0.0677) and local style (FID: 0.0554) methods.
- The method ran in 16 seconds on a TITAN Xp, outperforming local style transfer (43s) and being comparable to faster methods while achieving superior style similarity.
- The method demonstrated robustness to image blurring and illumination variations, maintaining high-quality generation under diverse input conditions.
- The method successfully generated realistic game characters from artistic portraits such as sketches and caricatures, indicating strong generalization to non-photographic inputs due to semantic-level similarity measurement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.