Skip to main content

Enhancing MOBA Game Commentary Generation with Fine-Grained Prototype Retrieval

  • Conference paper
  • First Online:
Natural Language Processing and Chinese Computing (NLPCC 2023)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 14303))

  • 760 Accesses

Abstract

With the development of the esports industry, more and more people are immersing themselves in watching various competitive matches, such as MOBA (Multiplayer Online Battle Arena) matches. Although MOBA games are attractive, the complexity of the games themselves also makes it difficult for many audiences to enjoy them easily without the assistance of professional commentators. This work studies using AI techniques to generate game commentaries automatically. Compared to human commentators, AI commentators can be more objective and work at any time and place at a low cost. Following the previous MOBA-E2C framework, we first use event handlers to extract various highlight events from the game metadata and organize them as event tables; then, this task can be regarded as a table-to-text task. Subsequently, this work proposes a BART-based MOBA-FPBART framework for further improving the generation quality of MOBA game commentaries by retrieving the human-written prototypes as guidance. On the one hand, in few-shot scenarios, we use a Fine-Grained Prototype Retrieval method to retrieve more relevant prototypes based on the characteristics of event tables. On the other hand, we also use a Corse-Grained Prototype Retrieval method in zero-shot scenarios. Experimental results on Dota2-Commentary have demonstrated our approach can notably outperform previous SOTA MOBA-FuseGPT in various metrics.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 89.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Basic units that automatically move towards the hostile main building.

  2. 2.

    MOBA-FPBART: Fine-Grained Prototype-Guided BART.

  3. 3.

    In fact, although some attributes could be defined more precisely as the two aforementioned types, we found that MOBA-E2C still uses natural language text to define them when designing rules. We think this is to preserve extensibility.

  4. 4.

    Linearization Pattern: [key1]:[value1];[key2]:[value2]...[keyn]:[valuen].

  5. 5.

    The code is released at https://github.com/Y-NLP/TextGeneration/tree/main/NLPCC2023_MOBA-FPBART.

References

  1. Akhmedov, K., Phan, A.H.: Machine learning models for DOTA 2 outcomes prediction. arXiv preprint: arXiv:2106.01782 (2021)

  2. Berner, C., et al.: DOTA 2 with large scale deep reinforcement learning. arXiv preprint: arXiv:1912.06680 (2019)

  3. Chen, Z., et al.: Logic2Text: high-fidelity natural language generation from logical forms. In: EMNLP 2020 (2020)

    Google Scholar 

  4. Chen, Z., Eavani, H., Chen, W., Liu, Y., Wang, W.Y.: Few-shot NLG with pre-trained language model. In: ACL (2020)

    Google Scholar 

  5. Cui, Y., Che, W., Liu, T., Qin, B., Yang, Z.: Pre-training with whole word masking for Chinese BERT. IEEE/ACM Trans. Audio, Speech Lang. Process. 29, 3504–3514 (2021)

    Article  Google Scholar 

  6. Gong, H., Feng, X., Qin, B., Liu, T.: Table-to-text generation with effective hierarchical encoder on three dimensions (row, column and time). In: EMNLP-IJCNLP (2019)

    Google Scholar 

  7. Gong, H., et al.: TableGPT: few-shot table-to-text generation with table structure reconstruction and content matching. In: COLING 2020 (2020)

    Google Scholar 

  8. Gu, J., Wang, Y., Cho, K., Li, V.O.: Search engine guided neural machine translation. In: AAAI (2018)

    Google Scholar 

  9. Lewis, M., et al.: BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension. In: ACL (2020)

    Google Scholar 

  10. Lewis, P., et al.: Retrieval-augmented generation for knowledge-intensive NLP tasks. In: Advances in Neural Information Processing Systems (2020)

    Google Scholar 

  11. Li, H., Su, Y., Cai, D., Wang, Y., Liu, L.: A survey on retrieval-augmented text generation. arXiv preprint: arXiv:2202.01110 (2022)

  12. Liu, A., Dong, H., Okazaki, N., Han, S., Zhang, D.: PLOG: table-to-logic pretraining for logical table-to-text generation. In: EMNLP 2022 (2022)

    Google Scholar 

  13. Liu, C.W., Lowe, R., Serban, I., Noseworthy, M., Charlin, L., Pineau, J.: How NOT to evaluate your dialogue system: an empirical study of unsupervised evaluation metrics for dialogue response generation. In: EMNLP (2016)

    Google Scholar 

  14. Liu, T., Wang, K., Sha, L., Chang, B., Sui, Z.: Table-to-text generation by structure-aware seq2seq learning. In: AAAI (2018)

    Google Scholar 

  15. Looi, W., Dhaliwal, M., Alhajj, R., Rokne, J.: Recommender system for items in DOTA 2. IEEE Trans. Games 11, 396–404 (2018)

    Article  Google Scholar 

  16. Luo, Y., Lu, M., Liu, G., Wang, S.: Few-shot table-to-text generation with prefix-controlled generator. In: COLING (2022)

    Google Scholar 

  17. Peng, H., Parikh, A., Faruqui, M., Dhingra, B., Das, D.: Text generation with exemplar-based adaptive decoding. In: NAACL (2019)

    Google Scholar 

  18. Puduppully, R., Dong, L., Lapata, M.: Data-to-text generation with content selection and planning. In: AAAI (2019)

    Google Scholar 

  19. Qi, X., et al.: MCS: an in-battle commentary system for MOBA games. In: COLING 2022 (2022)

    Google Scholar 

  20. Qi, Z., Shu, X., Tang, J.: DotaNet: two-stream match-recurrent neural networks for predicting social game result. In: 2018 IEEE Fourth International Conference on Multimedia BIG DATA (2018)

    Google Scholar 

  21. Reimers, N., Gurevych, I.: Sentence-BERT: sentence embeddings using siamese BERT-networks. arXiv preprint: arXiv:1908.10084 (2019)

  22. Sha, L., et al.: Order-planning neural text generation from structured data. In: AAAI (2018)

    Google Scholar 

  23. Shao, Y., et al.: CPT: a pre-trained unbalanced transformer for both Chinese language understanding and generation. arXiv preprint: arXiv:2109.05729 (2021)

  24. Su, Y., Meng, Z., Baker, S., Collier, N.: Few-shot table-to-text generation with prototype memory. In: EMNLP 2021 (2021)

    Google Scholar 

  25. Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: Advances in Neural Information Processing Systems (2014)

    Google Scholar 

  26. Wiseman, S., Shieber, S., Rush, A.: Challenges in data-to-document generation. In: EMNLP (2017)

    Google Scholar 

  27. Wu, S., Li, Y., Zhang, D., Wu, Z.: Improving knowledge-aware dialogue response generation by using human-written prototype dialogues. In: EMNLP 2020 (2020)

    Google Scholar 

  28. Yue, H., Liu, H., Chen, J.: A gospel for MOBA game: ranking-preserved hero change prediction in DOTA 2. IEEE Trans. Games 14, 191–201 (2021)

    Article  Google Scholar 

  29. Zhang, D., Wu, S., Guo, Y., Chen, X.: MOBA-E2C: generating MOBA game commentaries via capturing highlight events from the meta-data. In: EMNLP 2022 (2022)

    Google Scholar 

  30. Zhao, Y., Qi, Z., Nan, L., Flores, L.J., Radev, D.: LoFT: enhancing faithfulness and diversity for table-to-text generation via logic form control. In: EACL (2023)

    Google Scholar 

Download references

Acknowledgements

This work is supported in part by Yunnan Province Education Department Foundation under Grant No.2022j0008, in part by the National Natural Science Foundation of China under Grant 62162067 and 62101480, Research and Application of Object detection based on Artificial Intelligence, in part by the Yunnan Province expert workstations under Grant 202205AF150145.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sixing Wu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

Âİ 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Lai, H., Yu, J., Wang, S., Zhang, D., Wu, S., Zhou, W. (2023). Enhancing MOBA Game Commentary Generation with Fine-Grained Prototype Retrieval. In: Liu, F., Duan, N., Xu, Q., Hong, Y. (eds) Natural Language Processing and Chinese Computing. NLPCC 2023. Lecture Notes in Computer Science(), vol 14303. Springer, Cham. https://doi.org/10.1007/978-3-031-44696-2_66

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-44696-2_66

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-44695-5

  • Online ISBN: 978-3-031-44696-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics