Method and device for optimizing hyperparameters in machine learning model

A machine learning model and hyperparameter technology, applied in the field of artificial intelligence, can solve the problems of long time-consuming, low efficiency, and the inability to adjust the parameters manually, so as to achieve the effect of dynamic adjustment and efficiency improvement

Active Publication Date: 2021-01-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, the hyperparameter tuning request is single. The user pre-sets the hyperparameter search range and times. During this tuning process, the user cannot interact with the parameter tuning service system to dynamically adjust the hyperparameter search range. The entire parameter tuning process cannot be adjusted manually, the efficiency is low, and it is easy to fall into local optimum
Moreover, each parameter adjustment task is restarted, and the results of historical tasks are not used, which takes a long time

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
  • Method and device for optimizing hyperparameters in machine learning model
  • Method and device for optimizing hyperparameters in machine learning model
  • Method and device for optimizing hyperparameters in machine learning model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0043] For the sake of brevity and intuition in description, the solution of the present application is described below by describing several representative embodiments. Numerous details in the examples are only used to assist in understanding the scheme of the present application. However, obviously, the technical solution of the present application may not be limited to these details when implemented. In order to avoid unnecessarily obscuring the solution of the present application, some implementations are not described in detail, but only a framework is given. Hereinafter, "including" means "including but not limited to", and "according to..." means "at least according to, but not limited to only based on...". When the quantity of a component is not specifically indicated below, it means that ...

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

An embodiment of the present application provides a method for optimizing hyperparameters in a machine learning model, including: sending a task configuration file to a server, wherein the task configuration file includes hyperparameters, a first algorithm type, and a parameter search range, and the server Run the hyperparameter optimization task to calculate the candidate value of the hyperparameter according to the parameter search range and the first hyperparameter optimization algorithm corresponding to the first algorithm type; obtain the candidate hyperparameter from the server value; verify the candidate value of the hyperparameter, and update the task configuration file according to the verification result; send the updated task configuration file to the server, wherein the server according to the updated The task configuration file continues to run the hyperparameter optimization task to obtain new candidate values; after the hyperparameter optimization task runs, determine the optimal value of the hyperparameter according to the verification results of each candidate value.

Description

technical field [0001] The present application relates to the field of artificial intelligence, in particular to a method and device for optimizing hyperparameters in a machine learning model. Background technique [0002] When using machine learning to complete tasks such as image recognition and natural language processing, it is necessary to train the machine learning model first, and the training process includes the process of adjusting the parameters of the machine learning model. The parameters of machine learning models mainly include hyperparameters and ordinary parameters. Among them, hyperparameters are parameters whose values ​​are set before starting the learning process, rather than parameter data obtained through training. Hyperparameters define higher-level concepts about machine learning models, such as network depth, learning rate, etc., and the choice of hyperparameters has a great impact on the final effect of machine learning models. [0003] In the pro...

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 Patents(China)
IPC IPC(8): G06N20/00
Inventor 徐绍勇黄维东
Owner TENCENT TECH (SHENZHEN) CO LTD
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