Skip to main content

One-Stop Machine Translation Solution in Game Domain From Real-Time UGC Content to In-Game Text

Summary

  • Game translation: Level Infinite AI Translation, developed by Tencent, handles complex gaming context, terminology, and format requirements that traditional MT cannot address.
  • LLM technology: The engine leverages large language models and related AI techniques to capture localized language nuances while optimizing for domain-specific terminology and styles.
  • Scale and efficiency: Deployed across 15 gaming projects, translating over one billion words in 23 languages with cost savings exceeding 25% for publishing partners.

One-Stop Machine Translation Solution in Game Domain From Real-Time UGC Content to In-Game Text

Watch: One-Stop Machine Translation Solution in Game Domain From Real-Time UGC Content to In-Game Text
Talk by Junxuan Huang, Senior AI researcher, Tencent ; Wenqiang Liu, Lead Researcher, Proxima Beta (Tencent)
We present Level Infinite AI Translation, a translation engine developed by Tencent, tailored specifically for the gaming industry. The primary challenge in game machine translation (MT) lies in accurately interpreting the intricate context of game texts, effectively handling terminology and adapting to the highly diverse translation formats and stylistic requirements across different games. Traditional MT approaches cannot effectively address the aforementioned challenges due to their weak context representation ability and lack of common knowledge. Leveraging large language model and related technology, our engine is crafted to capture the subtleties of localized language expression while ensuring optimization for domain-specific terminology, jargon and required formats and styles. To date, the engine has been successfully implemented in 15 international projects, translating over one billion words across 23 languages, and has demonstrated cost savings exceeding 25% for partners.
Databricks Named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning Platforms: https://www.databricks.com/blog/databricks-named-leader-2025-gartner-magic-quadrant-data-science-and-machine-learning
Build and deploy quality AI agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements

FAQs

Why is game translation different from general translation?

Game translation faces unique challenges: intricate game context, specialized terminology, diverse format and style requirements, and localization needs that general MT approaches cannot address.

How does Level Infinite solve game translation challenges?

Level Infinite uses LLM technology and related AI techniques to capture gaming context nuances, handle terminology effectively, and adapt to format and style requirements across games.

What's the scale of Level Infinite's impact?

The engine has successfully translated over one billion words across 23 languages in 15 international gaming projects, delivering 25% cost savings for game publishing partners.

What traditional MT approaches cannot do?

Traditional machine translation struggles with weak context representation and lacks common knowledge to handle the complexity of gaming texts and their domain-specific requirements.

Full transcript

Hello everyone. Uh from Tencent. Today I will introduce our AI translation system designed for gaming. So uh long time ago before I deeply researched on this topic uh I never realized machine translation is a such difficult problem. Uh many people may think just the Google translation can solve all of the machine translation problem but in fact today machine translation is still a challenge. There are over 200 different languages dialects in world and even today the best large language model are so smart so intelligent they cannot translate all of those language in real time.
So uh I will first introduce um my presentation in five parts. uh at the beginning I will review the evaluation of uh machine translation algorithm and then I will introduce our solution and application cases in real gaming products. Uh there are three important stage in the history of machine translation algorithm. The first stage is free space based algorithm and after 10 years uh when we enter the deep learning era the neuronet network become a better option and then in 2023 uh large language model bring the translation algorithm into a new level.
Uh the phrase based method consider machine translation and statistic method. We first split the input sentences as different phrases and mapping them into targeted language uh based on the probabilities which calculate from BS rule. Uh phrase based methods have many limitations like fluency uh naturalist after all they are just word translation and puts the results together. Um they also have lack of context modeling and there's no way to add more knowledge or context information to the translation.
Um after a few years with the development of neuronet network and people found the encoder decoder structure was very suitable for machine translation task and at the beginning they people use iron combined with the encoder decoder structure to mapping the input sentences and the target uh translated results. Uh the basic concept here is like if we the input sentence have the same meaning with the translation result they should have the same mapping in the highdimensional feature space and so that we can put the input sentence encoded into the high dimensional and uh decoded back to the translation result in the target languages with the same meaning.
Uh in 2017 the famous transformer model published uh in the original version of transformer it was actually designed for machine translation and it replace and so that people can uh build the model and trend model with more layers more parameters uh so that it can store more information and learning more data. Uh since then the translation models are becoming bigger and bigger. Uh in 2022 uh MA build a giant model called NLBB uh which means non language left behind.
Uh it applies structure to transformer and it supports over 200 languages. It was one of the best translation model before the GBT4. Uh some researchers found the larger models with more parameters not only have good memory but also have good learning abilities with same amount of data samples. They usually have better performance than the small models. So the industrial uh growing direction is becoming trend and build bigger and larger models. uh in 2023 the larger language model totally changed the situation in machine translation.
Uh here is a research report. So people evaluated the translation from GPD4 based on accuracy and fluency and they found GPD4's translation ability is very close to the human professional translator. Uh it is still worse than the senior level uh of translator but is already comparable with the human translator. So here the score represents the error um during the evaluation. So the error is small which means the evaluation result is better and today in the open source community there are also many good public uh they can support over 100 languages.
So uh are those models good at gaming translation? The answer is no. The gaming translation is a much more difficult and complex than normal machine translation situation. Uh here's a real example from a game gaming chat. So the player is very angry about his teammates. So the first word is a dirty words and he's trying to telling his teammates that the sac cloak that is a special item in this game and if he don't buy this item they're going to lose this game very quickly.
And uh we can see the Google translator cannot translate very well. Google translate has no idea what is going on here. What is the dirty words and what is sacubas clock meaning in this game. uh you can see the translation are missing two important information here. The first is the context information and second is the terminology knowledge. Uh in those cases I will show you how context information reflects the translation result.
Well uh this girl name is Yano. It's a character from a game. And in German female and male they were using totally different verb and article which means if the gender changes all the sentences will be different and if you put this character translated into German you have if you don't know the gender of the character you will get a two different translation result and in Japanese there are lots of sentence final particle uh put which put in the end of the sentences to express emotional and personality of the speaker.
So if we don't know the context of the speaker like the age, the background is it's almost impossible to translation those particle. Uh in Korea the word used to people or younger people are totally different. It's called respectful languages. And if we try transl try to translate something into Korea, age is essential context information to have. Uh besides the context information the terminology and dragon uh for gaming translation is also very important and back to the example sacri cloak alm try to translate into something uh based on his own understanding like which is cloak it is similar but not very precisely um some player when he played the game they will not type full name of the terminology item because Even when you play the game, you just only have one or two seconds to talk to your teammates.
You can just you may just tap two or three letters. And so that is a um abbreviation is is also very common during the G gaming translation. And in order to let ALM understand those abbrevation, we have to build a mapping between the abbrevation to the terminology. Also there is one scene like disaster to all the translator. Different games are built from different gaming studio produced by different groups of developers.
The definition of the terminology are different even for the single word like snowfest. Uh some games call it winter fest and some call it a snow carnivore. So it's very hard to defend which one is the correct translation if you don't have the terminology mapping. Uh now I will introduce how we build our gaming translator to solve all those challenges. Um our solution has four parts. The first one is building database.
Then uh building a react system which is retrieval argument generation. Uh the third part is fine-tuning the models. Uh last stage is evaluation and refine the translation results. Uh the first step is building a gaming database because we need all of those domain knowledge as our context in translation. Most of them was collect from the internet, Wikipedia and we're using embedded model to compress them into a vector and store into vector database.
The reason why we need to using vector database is in the next step we're going to uh search and retrieve those knowledge back. So when we handle the input sentences at the very beginning uh we need to build a mapping for all of those abbreviation nickname uh dirty words and we will replace them with a standard format and we call it this step hot fix because through LM can understand most of them they're very smart not that stupid but if we directly put those abbreviation into LM it will lower our translation accuracy.
Okay. Uh next part is retrieval. We will first scan the input sentences and uh search the vector database and return all of the relevant informations. So that's how we get those uh context information domino knowledge and terminology explanations. uh we we did some experiments about uh which retrieval strategy is better and best for our translation cases and how many samples should we retrieve back from the database.
Um this number here in the table represent it's called blue scar uh which is commonly used to evaluate the translation quality and we found using the fusion of the top caseality and BM25 strategy is optimal for our cases and we also studied how many examples should be retrieved because more retrieve examples which will give us more information and probably uh get a better translation. result but it will take small time to search the database.
Uh after retrieval we have a stage called reranking. Uh we using a called blooms as judger to evaluate retrieval result by calc result by calculate the per per pxalated score. The main idea here is that we only need to those high quality information which can really help LM translator to understand the input query. So some low quality information will be harmful for those translator results and after the reanking we only select the top which is very uh good example put retrieve them back and put into the ARM.
So we did some experiment shows this uh reranking operation can uh uh benefit to our translation results. The PPR score here is represent the um quality between the input query and the retrieved documents. Um after we get all the stuff from pre-processing uh here comes uh one of the most important steps prompt construction. Uh here right side is our standard version of our prompt and this step can directly change the translation result.
Uh the correct setting is fixed for most of the time and um style instruction is flexible based on the different situation. we can uh adjust the tone or the character of the for different character we need to as change the style of the translation results. uh glossery examples and uh and translation examples are coming from the retrieval retrieved information from last step and uh the rewriten query is the result from the hot fix which will we replaced all the nickname abbreviation and the previous table.
So we already uh have given am enough uh context information and fix all the terminology dragon for him. So can he solve all the challenges? The answer is still no. So ARM can not 100% follow prompt instruction even you write it very clear. Even you is the best model there's no guarantee 100% you will get the correct result. Most of the AM cannot translate uh low sources language very well. You know uh the low source languages meaning so there are some language have limited data in the internet.
You know when those big company uh train pre-training their model uh like cloudy llama they use huge amount of the data from internet but the language distribution on internet is not balanced. So English resource are the majority in internet and for low source languages like Malay uh Indonesia they are very limited data on internet but actually in reality they have a lot of speakers and players uh especially in tension games so we cannot ignore those kind of low resource languages the solution here is to fine-tuning the ARM for changing the translation results directly from parameter level to be mentioned we finished all the fine tuning and training uh process in data data brick um we build a training sets around 150k pairs they are most of them are collect from the uh online gaming chats and some of them was synthetic data we create created for some special topics um and all of those training data are annotated by human translator expert This data set u contains different languages pair and for enhance the uh performance in the low resource languages we increase the ratio for those kind of low resource language in this data.
Uh here are some tricks for preparing the training data. uh we add some randomization to instruction prompts because we don't want all of those training samples have exactly same instruction. Um secondary we added the terminology information retrieved from database for each pair in the training set which means the training set is not only contain the um the query it's also contain the information we collected in the database um to increase the robustness to typo error we add some random typo error to training training data for example, uh add one more letter or delete one more letter to a word because in the uh re real life when people try to tapo something to another one uh in the chat the typo is very common uh situations most of the words are not uh correct.
There will be le there will be less one letter or they will have one more letters because we want to fit in the we want the data training data set to fit in the real distribution of the real world. Uh there are two typical methods to train LM. One is supervised fine-tuning. Uh another is the reinforcement learning from human feedback. But the RHF require additional human preference data for translation. It could be the ranking for multiple translation result from different model.
And if you're using uh charge GBT sometimes he will ask you to choose which answer is bad that's that's what they they collecting the human preference data here um the base model we have tried for fine-tuning including the coher and llama and germa and because in our application we we have some uh latency requirement so we didn't try the huge uh size of the models. Most of the LM we tried is below 32 billion. Uh here are some statistical results.
Uh we using two metric to evaluation the quality. Uh one is human evaluate accuracy. We ask human translator to evaluate as correct or not which means the translation can represent the original meaning or not. Another one is called X comet score. Uh it was generated by a AI model from zero to around 100 and zero zero is very bad and 100 which means the translation is completely correct. Uh from the results we can see uh we compared our fine-tuning model like ya and German compared with uh cloudy and Germany to flash and we can see from the results for different language pairs some uh open source models can outperform the leading commercial models like cloudy and generally in the gaming translation tasks.
Um before we get final translation result we also have a last stage called LQA which represent linguistic quality assurance. In this stage we asked another ALM to evaluate the result based on the multi-dimensional quality metrics like the correctness uh fluency grammar. In the meantime, we also ask this LM to refine the result to get a better translation. So this task will require LM to have a strong logical reasoning and uh we found a reasoning model which have chain of sorts like deepse R1 have strong advantages on this task.
Usually we will get better refine results. um we have published a paper called TA to talk about this framework in EMP. So this this idea for this um stage is like sometimes we we need to get a better translation result and we willing to cost more time to sacrifice more time to refine this uh output result because in the our translation application we find it there will be uh there will be two different situation. One is online translation, another is offline translation.
And in the offline translation, the uh the customers or the product, they may need a very high quality of the translation result and this requires a lot of response time because it use uh uh reasoning model and so we didn't apply to online chat translation. We only use it in offline services like a video script translation but it's still two time faster than human review and the review quality gap between the human and AI is below 5%.
Uh now I will show you some cases that how we apply our translation system to the real product and services. uh by the end end of 2024 we have we already translate over uh 100 million words across 23 languages pairs cover 13 games in three major category like shooter enemy and mobile games and we translate all of those game with gaming UI to different languages pairs and we also uh ask the human expert to evaluate our translation result compare uh with GPT4 and the Google translate.
So so the rating is from 0 to five. Five points mean stand for the human level translation and Google translate only get average like 2. 5 and the GBT4 gets 3. 8 eight in average and our translation for most of the language pair is about four points and we also calculate the cost comp which compared to the traditional human translation services and the cost is also reduced 25%. Um another application is marketing contact translation uh like so social media advertisement and the player community. uh to be mentioned here the player community translation is much difficult than the online user chat because uh the some post in the player community is super difficult and it's really long and professional like academic feels like academic papers and we have so to deal with those very difficult uh situation we have to using different base model to deal with the player community and this situ ation is real time in game chat translation and in this case the latency is the most important thing and we have to give the correct translation answer within 600 milliseconds and to achieve that to achieve that we not only fine-tune the model but also uh quantize it to serve into four 4bit and so far by end of the 2024 we have translate 4.
5 billion words and our translation service are very flexible and to any product we support both API and SDK and in the performance benchmark it shows our in-game chat translation is 60% improvement over Google translation and for the video translation this in this case the quality is more important than the latency that's why uh we designed that previous mentioned the air part. In this part, we we have a rare cases which is from Warframe and in Warframe asked us to translate their uh video video description. uh they they try to build a brand new account in Biddyby's and uh we help them to uh translate all the scription in that video and as a result within two months we helped them like translate delivery 120 videos and helps them get 1 million views in just two months and so the last part I will introduce something about the uh future upgrade So our watch AI translation system is still have much space to improve.
Uh for example, we can build a AI agent to continuously learn new data from the internet and update him by himself. So and update the vector database and learn itself. uh probably he can also update his parameter by himself to learn the new features, new gaming and new terminology so that we don't have to try to update every day. And we also could utilize the audio and image data to extend our model to multi modality.
Uh for example, we can directly translate text message in the picture. So that we can make more uh fun applications to the player community.

Learn more about the Databricks Data and AI platform.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.