AI Model Training with Interval Sampling for NPC Generalization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing game AI models for non-player characters (NPCs) in open world games face challenges in training due to the vast decision-making space and real-time requirements, necessitating improved generalization and efficiency in model training.

Innovation Solution

An AI model training method involving reinforcement learning with random sampling and numerical interval determination is employed to generate a training character set, ensuring extensive sample data and improved generalization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional training methods are used for game AI models, then manual maintenance operations are required, but training efficiency is low and generalization is limited

Engineering Contradiction:
Improvetraining efficiencyVSAvoidmanual maintenance operations
Core Design Contradiction:
ProductivityVSExtent of automation

Solution Approach 1:

The AI model performs self-training by automatically generating training data through random sampling of attribute data within determined numerical intervals. The model uses its own outputs to create training character sets without requiring manual data preparation or maintenance operations, enabling autonomous improvement of training efficiency

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system pre-determines numerical intervals for attribute data before training begins. By establishing these intervals in advance and using them for random sampling during training, the system prepares the training environment beforehand, reducing the need for manual adjustments during the training process and improving overall efficiency

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If the decision-making space for NPCs is expanded to provide richer strategic variations, then the complexity of training increases

Engineering Contradiction:
Improvestrategic variationsVSAvoidtraining complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The attribute data is segmented into multiple numerical intervals, and the training process is divided into generating training character sets from these intervals. By segmenting the vast decision-making space into manageable intervals and generating targeted training data from each, the system reduces the perceived complexity while maintaining comprehensive coverage of strategic variations

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system changes the parameters of training data generation by using random sampling within determined numerical intervals. This parameter-based approach allows the model to explore different strategic variations systematically by adjusting the intervals and sampling processes, making the training of complex decision-making spaces more manageable

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If real-time decision-making requirements are met, then the training data must be extensive and diverse, but traditional sampling methods generate limited sample data

Engineering Contradiction:
Improvesample data quantityVSAvoidtraining time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The training process continuously generates training character sets by repeatedly sampling attribute data within the determined numerical intervals. This continuous generation process ensures that extensive and diverse sample data are produced efficiently, meeting real-time decision-making requirements without requiring lengthy training periods

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The system dynamically adjusts the training data generation process by using random sampling within flexible numerical intervals. This dynamic approach allows the training system to adaptively generate diverse sample data as needed, ensuring both quantity and quality of training data are met within acceptable time frames

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20250352909A1Artificial Intelligence Model Training Method and Apparatus, Device, Medium, and Program Product
Publication Date: 2025.11.20 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US20250352909A1 patent drawing
  • US20250352909A1 patent drawing
  • US20250352909A1 patent drawing

AI summary

Provided are an artificial intelligence model training method and apparatus, a device, and a storage medium, which are used for rapid training to obtain an AI model while improving the generalization of the AI model. The method includes: obtaining an initial artificial intelligence (AI) model and a first numerical interval, the first numerical interval being a numerical value range of a plurality of pieces of attribute data corresponding to an opponent character of the initial AI model; invoking the initial AI model to determine a second numerical interval from the first numerical interval; performing random sampling on the plurality of pieces of attribute data within the second numerical interval to generate a training character set; and performing reinforcement learning training on the initial AI model by using the training character set, to obtain a target AI model.