Optimization method and device for game agent training, terminal device and storage medium

An optimization method and agent technology, applied in the field of artificial intelligence, can solve problems such as low training efficiency, sparse environmental returns, and waste of game agent running resources, so as to improve training efficiency and save running resources.

Active Publication Date: 2019-04-23
GUANGZHOU DUOYI NETWORK TECH +2
View PDF9 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in many game environments, the environmental rewards may be very sparse, that is, the game agent needs to take a long series of correct actions to achieve the target reward, and when the environmental rewards are very sparse, it is easy to cause the self-exploration of the game agent to fall into a trap. A large number of repeated invalid attempts lead to low training efficiency and waste of game agent operating resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Optimization method and device for game agent training, terminal device and storage medium
  • Optimization method and device for game agent training, terminal device and storage medium
  • Optimization method and device for game agent training, terminal device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0052] See figure 1 , is a flow diagram of an optimization method for game agent training provided in this embodiment, the game agent model includes an action network and a critic network; the action network and the critic network both include a fully connected layer; the The method includes step S11 to step S15:

[0053] S11. Obtain a first observation sequence according to a preset game script, and set the first observation sequence as the current observation sequence; ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an optimization method and device for game agent training, a terminal device and a storage medium. The method comprises the steps of acquiring a first observation sequence according to a game script, and setting the sequence as a current observation sequence; based on a pre-trained self-coding network, according to the current observation sequence, obtaining a next observation sequence and a current environmental reward; based on the pre-trained self-coding network and a pre-trained prediction network, acquiring a current self-driven reward according to the current observation sequence and the next observation sequence; adding the current environmental reward and the current self-driven reward to a cumulative reward, and determining whether the cumulative reward isless than a target value; if the cumulative reward is less than the target value, keeping training, taking the next observation sequence as the current observation sequence until the cumulative rewardreaches the target value, and stopping training. The method enables a game agent to obtain the additional self-driven reward for training, thereby improving the training efficiency and saving operating resources.

Description

technical field [0001] The present invention relates to the field of artificial intelligence, in particular to an optimization method, device, terminal equipment and storage medium for game agent training. Background technique [0002] Game agents (Game Agents) are non-player individuals that can achieve human-like intelligent behavior through algorithms in the game environment. Training agents in a game environment has become a common method for artificial intelligence research and development. Reinforcement learning, as a commonly used method for training game agents, can enable the trained game agents to complete many complex tasks in the interaction of the game environment; the game agents can learn the gameplay similar to human intelligence by interacting with the game environment. Its goal is to learn the strategy, that is, how to execute each game step to achieve the ideal state. Through reinforcement learning, the game agent uses the set program to conduct self-expl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/67G06N3/04G06N3/08
CPCA63F13/67G06N3/08A63F2300/6027G06N3/044G06N3/045
Inventor 徐波
Owner GUANGZHOU DUOYI NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products