title: Ð Ð°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° Ð¼Ð¾Ð´ÑÐ»Ñ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð´ÐµÐ¹ÑÑÐ²Ð¸Ñ Ð¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°ÑÐµÐ»Ñ Ñ Ð¸Ð³ÑÐ¾Ð²ÑÐ¼Ð¸ Ð°Ð³ÐµÐ½ÑÐ°Ð¼Ð¸ Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ Ð³ÐµÐ½ÐµÑÐ°ÑÐ¸Ð²Ð½ÑÑ Ð¼Ð¾Ð´ÐµÐ»ÐµÐ¹ Ð¼Ð°ÑÐ¸Ð½Ð½Ð¾Ð³Ð¾ Ð¾Ð±ÑÑÐµÐ½Ð¸Ñ
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð±Ð°ÐºÐ°Ð»Ð°Ð²ÑÐ°
titleType: Subtitle
title: Development of a module for user interaction with in-game agents using generative machine learning models
Creators: name: ÐÐ°Ð¼Ð¾Ð², ÐÐ³Ð¾ÑÑ
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2024
Subjects: Ð½ÐµÐ¹ÑÐ¾Ð½Ð½ÑÐµ ÑÐµÑÐ¸
Ð³ÐµÐ½ÐµÑÐ°ÑÐ¸Ñ ÑÐµÐºÑÑÐ°
Ð¸Ð³ÑÑ
transformer
Python
Keras
neural networks
text generation
games

description: ÐÑÐµÐ´Ð¼ÐµÑÐ¾Ð¼ Ð´Ð°Ð½Ð½Ð¾Ð¹ ÑÐ°Ð±Ð¾ÑÑ ÑÐ²Ð»ÑÑÑÑÑ Ð¸Ð³ÑÐ¾Ð²ÑÐµ Ð·Ð°Ð´Ð°Ð½Ð¸Ñ. Ð¦ÐµÐ»Ñ ÑÐ°Ð±Ð¾ÑÑ - ÑÑÐ¾ Ð¿ÑÐ¾ÐµÐºÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ Ð¸ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐºÐ° Ð¼Ð¾Ð´ÑÐ»Ñ Ð²Ð·Ð°Ð¸Ð¼Ð¾Ð´ÐµÐ¹ÑÑÐ²Ð¸Ñ Ð¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°ÑÐµÐ»Ñ Ñ Ð¸Ð³ÑÐ¾Ð²ÑÐ¼Ð¸ Ð°Ð³ÐµÐ½ÑÐ°Ð¼Ð¸ Ð¿Ð¾ÑÑÐµÐ´ÑÑÐ²Ð¾Ð¼ ÑÐ½Ð¸ÐºÐ°Ð»ÑÐ½ÑÑ Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹. Ð Ð¾ÑÐ½Ð¾Ð²Ðµ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·ÑÐµÐ¼Ð¾Ð³Ð¾ Ð¼ÐµÑÐ¾Ð´Ð° Ð³ÐµÐ½ÐµÑÐ°ÑÐ¸Ð¸ Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹ Ð»ÐµÐ¶Ð°Ñ Ð½ÐµÐ¹ÑÐ¾Ð½Ð½ÑÐµ ÑÐµÑÐ¸. ÐÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½ÑÐ¹ Ð¼Ð¾Ð´ÑÐ»Ñ Ð±ÑÐ´ÐµÑ Ð¿Ð¾Ð»ÑÑÐ°ÑÑ Ð¾Ñ Ð¸Ð³ÑÐ¾Ð²Ð¾Ð³Ð¾ Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ ÐºÐ¾Ð½ÑÐµÐºÑÑ Ð¸ ÑÐµÐ»Ñ Ð¸Ð³ÑÐ¾Ð²Ð¾Ð³Ð¾ Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð¸ Ð²ÑÐ´Ð°Ð²Ð°ÑÑ Ð½Ð° ÑÑÐ¾Ð¹ Ð¾ÑÐ½Ð¾Ð²Ðµ ÑÑÐ´Ð¾Ð¶ÐµÑÑÐ²ÐµÐ½Ð½Ð¾Ðµ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ðµ, ÐºÐ¾ÑÐ¾ÑÐ¾Ðµ Ð±ÑÐ´ÐµÑ Ð¿Ð¾ÐºÐ°Ð·Ð°Ð½Ð¾ Ð¸Ð³ÑÐ¾ÐºÑ. ÐÐ¾Ð´ÑÐ»Ñ ÑÐ°ÐºÐ¶Ðµ Ð¿ÑÐ¸Ð·Ð²Ð°Ð½ Ð¾Ð±Ð»ÐµÐ³ÑÐ¸ÑÑ Ð¿ÑÐ¾ÑÐµÑÑ Ð¾Ð±ÑÑÐµÐ½Ð¸Ñ Ð¼Ð¾Ð´ÐµÐ»Ð¸. ÐÐºÑÑÐ°Ð»ÑÐ½Ð¾ÑÑÑ ÑÐµÐ¼Ñ ÑÐ²ÑÐ·Ð°Ð½Ð° Ñ Ð²ÑÑÐ¾ÐºÐ¾Ð¹ Ð½ÐµÐ¾Ð±ÑÐ¾Ð´Ð¸Ð¼Ð¾ÑÑÑÑ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸ÑÐµÑÐºÐ¾Ð¹ Ð³ÐµÐ½ÐµÑÐ°ÑÐ¸Ð¸ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ð¹ Ð¸Ð³ÑÐ¾Ð²ÑÑ Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹, Ð² Ð¾ÑÐ¾Ð±ÐµÐ½Ð½Ð¾ÑÑÐ¸ Ð´Ð»Ñ Ð¸Ð³Ñ Ð¶Ð°Ð½ÑÐ° rogue-like. Ð ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐµ ÑÐ°Ð±Ð¾ÑÑ Ð±ÑÐ» Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½ Ð°Ð½Ð°Ð»Ð¸Ð· Ð°Ð½Ð°Ð»Ð¾Ð³Ð¾Ð² Ð¿Ð¾ ÑÐµÐ¼Ðµ Ð³ÐµÐ½ÐµÑÐ°ÑÐ¸Ð¸ Ð¸Ð³ÑÐ¾Ð²ÑÑ Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹, Ð¿Ð¾ Ð¸ÑÐ¾Ð³Ð°Ð¼ ÐºÐ¾ÑÐ¾ÑÐ¾Ð³Ð¾ Ð±ÑÐ»Ð¾ Ð¿ÑÐ¸Ð½ÑÑÐ¾ ÑÐµÑÐµÐ½Ð¸Ðµ Ð¾Ð± Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ð¸ Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÑ Transformer. ÐÑÐ»Ð¾ Ð¿ÑÐ¾Ð¸Ð·Ð²ÐµÐ´ÐµÐ½Ð¾ Ð¿ÑÐ¾ÐµÐºÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ Ð¼Ð¾Ð´ÑÐ»Ñ Ñ Ð¿Ð¾ÑÑÑÐ¾ÐµÐ½Ð¸ÐµÐ¼ Ð´Ð¸Ð°Ð³ÑÐ°Ð¼ Ð²Ð°ÑÐ¸Ð°Ð½ÑÐ¾Ð² Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ, ÐºÐ»Ð°ÑÑÐ¾Ð², Ð¿Ð¾ÑÐ»ÐµÐ´Ð¾Ð²Ð°ÑÐµÐ»ÑÐ½Ð¾ÑÑÐµÐ¹. Ð¢Ð°ÐºÐ¶Ðµ Ð±ÑÐ»Ð¾ Ð¿ÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¾ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ðµ Ð²ÑÐ¾Ð´Ð½ÑÑ Ð´Ð°Ð½Ð½ÑÑ. ÐÐ° ÑÑÐ¾Ð¹ Ð¾ÑÐ½Ð¾Ð²Ðµ Ð±ÑÐ» ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½ Ð¼Ð¾Ð´ÑÐ»Ñ Ð½Ð° ÑÐ·ÑÐºÐµ Python Ñ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°Ð½Ð¸ÐµÐ¼ Ð±Ð¸Ð±Ð»Ð¸Ð¾ÑÐµÐºÐ¸ Keras, Ð¿Ð¾Ð·Ð²Ð¾Ð»ÑÑÑÐ¸Ð¹ ÑÐ¾Ð·Ð´Ð°Ð²Ð°ÑÑ Ð½ÐµÐ¹ÑÐ¾ÑÐµÑÐµÐ²ÑÑ Ð¼Ð¾Ð´ÐµÐ»Ñ, Ð¾Ð±ÑÑÐ°ÑÑ ÐµÐµ, ÑÐ¾ÑÑÐ°Ð½ÑÑÑ Ð¸ Ð·Ð°Ð³ÑÑÐ¶Ð°ÑÑ ÐµÐµ Ð¸Ð· Ð¿Ð°Ð¼ÑÑÐ¸. ÐÐ¾Ð´ÐµÐ»Ñ, Ð¿Ð¾Ð»ÑÑÐ°Ñ Ð½Ð° Ð²ÑÐ¾Ð´ ÐºÐ¾Ð½ÑÐµÐºÑÑ, Ð²ÑÐ´Ð°ÐµÑ ÑÑÐ´Ð¾Ð¶ÐµÑÑÐ²ÐµÐ½Ð½Ð¾Ðµ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð¸Ðµ Ð´Ð»Ñ Ð·Ð°Ð´Ð°Ð½Ð¸Ñ. ÐÑÐ¾Ð²ÐµÐ´ÐµÐ½Ð¾ Ð¼Ð¾Ð´ÑÐ»ÑÐ½Ð¾Ðµ Ð¸ ÑÑÐ½ÐºÑÐ¸Ð¾Ð½Ð°Ð»ÑÐ½Ð¾Ðµ ÑÐµÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ðµ, Ð° ÑÐ°ÐºÐ¶Ðµ Ð°Ð¿ÑÐ¾Ð±Ð°ÑÐ¸Ñ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½Ð¾Ð³Ð¾ Ð¼Ð¾Ð´ÑÐ»Ñ. ÐÐ±Ð»Ð°ÑÑÑÑ Ð¿ÑÐ¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð¼Ð¾Ð´ÑÐ»Ñ, ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½Ð¾Ð³Ð¾ Ð² ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐµ ÐÐÐ  ÑÐ²Ð»ÑÐµÑÑÑ ÑÐ¾Ð·Ð´Ð°Ð½Ð¸Ðµ ÑÑÐ¾ÑÐ¾Ð½Ð½Ð¸Ñ Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹ Ð² Ð¸Ð³ÑÐ°Ñ, Ð¸Ð¼ÐµÑÑÐ¸Ñ Ð½Ð°ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½ÑÑ ÑÑÐ¶ÐµÑÐ½ÑÑ Ð¾ÑÐ½Ð¾Ð²Ñ. ÐÐ· ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐ¾Ð² ÑÐ°Ð±Ð¾ÑÑ Ð¼Ð¾Ð¶Ð½Ð¾ ÑÐ´ÐµÐ»Ð°ÑÑ Ð²ÑÐ²Ð¾Ð´, ÑÑÐ¾ Ð¿Ð¾ÑÑÐ°Ð²Ð»ÐµÐ½Ð½Ð°Ñ ÑÐµÐ»Ñ Ð²ÑÐ¿Ð¾Ð»Ð½ÐµÐ½Ð°, ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½ÑÐ¹ Ð¼Ð¾Ð´ÑÐ»Ñ Ð¼Ð¾Ð¶Ð½Ð¾ Ð¸ÑÐ¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°ÑÑ Ð² ÑÐµÐ°Ð»ÑÐ½ÑÑ Ð¿ÑÐ¾ÐµÐºÑÐ°Ñ, Ð° ÐµÐ³Ð¾ Ð´Ð°Ð»ÑÐ½ÐµÐ¹ÑÐ°Ñ Ð´Ð¾ÑÐ°Ð±Ð¾ÑÐºÐ° Ð¿Ð¾Ð·Ð²Ð¾Ð»Ð¸Ñ ÑÑÑÐ¾Ð¸ÑÑ Ð¿Ð¾Ð»Ð½Ð¾ÑÐµÐ½Ð½ÑÐµ Ð¸Ð³ÑÑ Ð²Ð¾ÐºÑÑÐ³ ÑÐ³ÐµÐ½ÐµÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð½ÑÑ Ð·Ð°Ð´Ð°Ð½Ð¸Ð¹.
description: The subject of this work is game tasks. The goal of the work is to design and develop a module for user interaction with game agents through unique tasks. The method used for task generation is based on neural networks. The software module will receive the context and goal of the game task from the game application and produce a narrative description to be shown to the player. The module is also designed to facilitate the model training process. The relevance of the topic is connected to the high demand for automatic generation of game task descriptions, especially for rogue-like games. As a result of the work, an analysis of analogs on the topic of game task generation was conducted, leading to the decision to use the Transformer architecture. The module was designed with the construction of use case diagrams, class diagrams, and sequence diagrams. Input data descriptions were also provided. Based on this, a module was developed in Python using the Keras library, enabling the creation, training, saving, and loading of a neural network model. The model, when given the context, generates a narrative description for the task. Unit and functional testing, as well as the modules approbation, were conducted. The application area of the developed module is the creation of side tasks in games with a developed narrative foundation. From the results of the work, we can make a conclusion that the set goal was achieved, the developed module can be used in real projects, and further refinement will allow building games fully around the generated tasks.