Gradient descent with near-zero learning rate

By using a product-based update method in gradient descent, the algorithm avoids divide-by-zero errors, ensuring accurate parameter adjustments and faster convergence to optimal solutions even with near-zero learning rates.

JP7555429B2Active Publication Date: 2024-09-24GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2022571300
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-10-13
Filing Date
2021-09-13
Publication Date
2024-09-24
Estimated Expiration
2041-09-13

AI Technical Summary

Technical Problem

Gradient descent algorithms face issues with divide-by-zero errors when the learning rate is zero or near zero due to inaccuracies in floating-point representations of rational numbers, leading to errors in parameter updates.

Method used

The method iteratively updates parameters using a product value derived from the cumulative linear gradient and learning rate, avoiding the learning rate from appearing in the denominator, thus preventing divide-by-zero errors.

Benefits of technology

This approach allows for accurate parameter updates without divide-by-zero errors, enabling faster convergence to optimal solutions by ensuring the learning rate is effectively utilized, even at near-zero values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007555429000009
    Figure 0007555429000009
  • Figure 0007555429000010
    Figure 0007555429000010
  • Figure 0007555429000008
    Figure 0007555429000008
Patent Text Reader

Abstract

A system (100) and method (200) for iteratively updating parameters (132) according to a gradient descent algorithm (130). At a given nth iteration of the method, one or more processors may determine a gradient value of a gradient vector of a parameter in a first dimension (210), determine a product value based at least in part on the sum of (1) the product value determined at the n-1th iteration and (2) the product of the determined gradient value and a learning rate (220) of the gradient descent algorithm, determine an update parameter value according to a function including the product value (230), and update the parameter to be equal to the update parameter value (240).
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. Patent Application No. 17 / 069,227, filed October 13, 2020, which claims the benefit of the filing date of U.S. Provisional Application No. 63 / 077,868, filed September 14, 2020, the disclosure of which is incorporated herein by reference. [Background technology]

[0002] background A gradient descent algorithm is used to update the parameters of a machine learning algorithm, so that over a number of iterations the parameters improve and converge to values ​​that improve the accuracy rate of the machine learning algorithm. At each iteration, the parameters may be adjusted by a certain amount depending on a cost function that indicates how wrong the parameters are. This adjustment may be further scaled according to the learning rate, so that a small learning rate results in a small adjustment and a high learning rate results in a large adjustment. Summary of the Invention [Problem to be solved by the invention]

[0003] Typically, the learning rate starts small, even zero, to avoid initial large adjustments to the parameters before the path to the optimal solution is found. However, some gradient descent algorithms cannot support such values, as inputting a small or zero learning rate into the algorithm would result in errors, such as a division-by-zero error. One reason why a very small value of the learning rate can become zero, and / or subsequently cause division-by-zero errors when used as a denominator or in a denominator calculation, is because machine representations and computer arithmetic of rational numbers are represented in the form of floating-point values, and floating-point arithmetic is imprecise, causing very small values ​​to be forced to zero. Similarly, when rational numbers close to zero are represented as floating-point values ​​and used in division or multiplication, the answer to the calculation can be zero, as represented in the floating-point representation. [Means for solving the problem]

[0004] overview The technology generally relates to a method and system for iteratively updating parameters in a machine learning algorithm according to a gradient descent algorithm that supports learning rate values ​​of zero and near-zero. The gradient descent algorithm iteratively updates parameters using a product value that is at least in part a product of an accumulated linear gradient value and a learning rate. Using the product value rather than using the accumulated linear gradient value can avoid the learning rate appearing in the denominator of the function for determining the update parameters, which can avoid division-by-zero errors or similar errors when the learning rate values ​​are zero and near-zero.

[0005] One aspect of the disclosure is directed to a method for iteratively updating parameters according to a gradient descent algorithm, which may include, at an nth iteration of a gradient descent algorithm, one or more processors determining a gradient value of a gradient vector of a first dimension of a parameter, the one or more processors determining a product value based at least in part on a sum of (1) the product value determined at the n-1th iteration and (2) a product of the determined gradient value and a learning rate of the gradient descent algorithm, the one or more processors determining an update parameter value according to a function including the product value, and the one or more processors updating the parameter to be equal to the update parameter value.

[0006] In some examples, the value of the product may be based at least in part on (1) the product of the cumulative linear gradient value and the learning rate and (2) the parameter value determined at the n-1th iteration.

[0007] In some examples, the value of the product may be equal to the difference between (1) the product of the accumulated linear gradient value and the learning rate and (2) the parameter value determined at the n-1 iteration scaled according to the scaling value.

[0008] In some examples, the method may further include the one or more processors determining a cumulative squared gradient value based on the square of the gradient value and the cumulative squared gradient value of the n-1th iteration. The scaling value may be based on each of the cumulative squared gradient value and the cumulative squared gradient value of the n-1th iteration.

[0009]

number

[0010] where n i is the cumulative squared gradient value, and n i-1 is the accumulated squared gradient value of the n-1th iteration, and lr_power is a predetermined parameter.

[0011] In some examples, a function involving the product value may determine a parameter value to be equal to zero if the ratio of the absolute value of the product value to the learning rate is greater than a predetermined fixed value, and to be equal to a non-zero value if the ratio of the absolute value of the product value to the learning rate is less than or equal to the predetermined fixed value.

[0012] In some examples, the method may include determining the non-zero value according to a parameter function, wherein a denominator of the parameter function may include each of the accumulated squared gradient value, the first predetermined fixed value, and the second predetermined fixed value, such that the parameter function returns a divide-by-zero error only if each of the accumulated squared gradient value, the first predetermined fixed value, and the second predetermined fixed value is zero.

[0013]

number

[0014] where λ2 and β are first and second predetermined fixed values, λ1 is a third predetermined fixed value, η is a learning rate, and p i is the value of the product, n i is the cumulative squared gradient value.

[0015] In some examples, the learning rate may be predefined to start at zero and increase over time.

[0016] In some examples, the learning rate may be predefined to start near zero and increase over time.

[0017] In some examples, the parameter gradient vector may include multiple dimensions, and the method may be performed independently for each dimension of the gradient vector.

[0018] In some examples, the parameters may be parameters of a neural network.

[0019] In some examples, the gradient descent algorithm may be any of the following: a stochastic gradient descent algorithm, a Follow the Regularized Leader (FTRL) learning algorithm, Adagrad, Adam, or RMSProp.

[0020] In some examples, the learning rate may be predefined to vary over time, and the number of cores included in one or more processors assigned to perform the method may remain constant as the learning rate varies over time.

[0021] Another aspect of the present disclosure is directed to a system comprising a memory for storing instructions and one or more processors coupled to the memory, the one or more processors configured to execute the stored instructions to iteratively update parameters according to a gradient descent algorithm to perform the methods disclosed herein. In some examples, the one or more processors may include a certain number of cores assigned to iteratively update parameters according to a gradient descent algorithm. [Brief description of the drawings]

[0022] [Figure 1] FIG. 1 is a block diagram illustrating an example system according to an aspect of the present disclosure. [Diagram 2] FIG. 4 is a flow diagram illustrating an example routine according to an aspect of the present disclosure. [Diagram 3] FIG. 3 is a flow diagram illustrating an example subroutine of the routine of FIG. 2. [Figure 4] FIG. 3 is a flow diagram illustrating an example subroutine of the routine of FIG. 2. [Diagram 5] FIG. 2 is a flow diagram illustrating the relationship between learning rate and processing of a gradient descent algorithm, according to an aspect of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] Detailed Description FIG. 1 is a block diagram illustrating an exemplary system 100 including a computing environment for processing queries. The system 100 may include one or more processors 110 and a memory 120 in communication with the one or more processors. The processor 110 may include a well-known processor or other less well-known types of processors. Alternatively, the processor 110 may be a dedicated controller, such as an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or a tensor processing unit (TPU). The memory 120 may include any type of non-transitory computer-readable medium capable of storing information accessible to the processor 110, such as a hard drive, a solid-state drive, a tape drive, an optical storage device, a memory card, a ROM, a RAM, a DVD, a CD-ROM, a writeable memory, and a read-only memory. The system 100 may implement any of a number of architectures and technologies, such as, but not limited to, DAS (direct-attached storage), NAS (network-attached storage), SAN (storage area network), FC (fiber channel), FCoE (fiber channel over Ethernet), and mixed-architecture networks. In addition to storage devices, a data center may include other devices such as cables, routers, etc.

[0024] The memory 120 can store information accessible to one or more processors 110, including data received or generated at the processors 110, and instructions executable by one or more processors 110. The data can be retrieved, stored, or modified by the processors 110 according to the instructions. For example, the data can be stored in a computer register, data store, as a structure having multiple different fields and records, or as a document or buffer, although the system and method are not limited by a particular data structure. The data can also be formatted in a computer readable format, such as, but not limited to, binary values, ASCII, or Unicode. The data can also include information sufficient to identify the relevant information, such as numbers, descriptive text, proprietary codes, pointers, references to data stored in other memory, such as other network locations, or information used by a function to calculate the relevant data. The instructions can include various algorithms to instruct the processors 110 to perform operations. The instructions may include a set of instructions that are executed directly, such as machine code stored in an object code format that is processed directly by the processor 110, or a set of instructions that are executed indirectly, such as a script, a script or a collection of separate source code modules that are interpreted or precompiled on demand. In that regard, the terms "instructions," "steps," "routine," and "program" may be used interchangeably herein.

[0025] The instructions may include a gradient descent algorithm 130 programmed to instruct the one or more processors 110 to receive training data 140, to instruct the one or more processors 110 to process the training data 140 according to one or more specified goals of the gradient descent algorithm 130, and to instruct the one or more processors 110 to incrementally adjust the gradient descent algorithm 130 based on whether the processing results were successful or unsuccessful in order to better achieve the specified goals when processing new data in the future. The gradient descent algorithm 130 may be used in a supervised learning algorithm, whereby whether the processing results were successful or unsuccessful may be determined according to known properties of the training data 140. Alternatively, the gradient descent algorithm 130 may be used in a fully or partially unsupervised learning algorithm, whereby at least a portion of whether the processing results were successful or unsuccessful may be derived from the processing results themselves, such as through a clustering algorithm or an associative algorithm. In the case of a fully or partially unsupervised learning algorithm, at least a portion of the training data 140 has unknown properties, as may new data that will be processed by the gradient descent algorithm in the future.

[0026] The gradient descent algorithm 130 may operate on one or more parameters 132 of the machine learning structure of the system. The machine learning structure may be a machine learning algorithm or other algorithm in which the output of the structure is a function of the input and one or more variables or one or more parameters. The machine learning structure may be modified by adjusting the parameters 132 to improve the accuracy rate of the output. As an example, in a neural network, the parameters may include weights or embeddings between nodes and layers of the network, may include fully connected layers, or any combination thereof. The machine learning structure may also operate according to one or more hyperparameters, such as multiple layers, or may operate according to a learning rate 134. The learning rate 134 may determine the magnitude of the adjustments to the machine learning structure for a given iteration of the gradient descent algorithm. It should be understood that different machine learning structures may include different parameters and different hyperparameters.

[0027] In some examples, the gradient descent algorithm 130 may operate on one or more hyperparameters of the machine learning structure. As an example, the learning rate 134 may be adjusted according to the output of the gradient descent algorithm 130. For example, if the gradient descent algorithm 130 changes the parameter 132 significantly, it may be determined to increase the learning rate 134 to slow down the rate of change of the parameter 132 per iteration of the gradient descent algorithm 130. Conversely, if the gradient descent algorithm 130 changes the parameter 132 slightly, it may be determined to maintain or decrease the learning rate 134. Alternatively, the hyperparameters, such as the learning rate, may be predetermined. For example, the learning rate 134 may change over time according to a predetermined function, such as a step function, or may remain constant. If the learning rate is a step function, the learning rate may start at or near zero and may increase over time. A "near zero" value includes a value that returns an error or an inaccurate calculation answer when the function that determines the update parameters using the gradient descent algorithm 130 is divided by the learning rate.

[0028] 1 functionally illustrates processor 110 and memory 120 as a single block, processor 110 and memory 120 may actually include multiple processors and multiple memories, which may or may not be stored in the same physical enclosure. For example, some of the data and instructions stored in memory may be stored on a removable CD-ROM and others may be stored in a read-only computer chip. Some or all of the instructions and data may be stored in a location physically separate from processor 110, but accessible to processor 110.

[0029] 2 is a flow diagram illustrating an example routine 200 for updating a parameter "w" of a gradient descent algorithm. The example routine 200 illustrates the steps involved in one iteration "i" of the gradient descent algorithm, whereby the previous iteration of the gradient descent algorithm is defined as "i-1." The parameter determined in the i-1th iteration is referred to herein as w i-1 The parameter determined in the i-th iteration is w i The routines may be executed by one or more processors, such as processor 110 shown in FIG.

[0030] In block 210, one or more processors calculate a gradient value g of a parameter w. i Determine the gradient value g i can be calculated according to a cost function, which can be calculated by, for example, comparing the actual parameters output by a gradient descent algorithm with the predicted parameter output, and then multiplying the most recently determined parameter values ​​w i-1 Characterize the degree of success or failure of the processing outcome.

[0031] The gradient value g of the i-th iteration of the gradient descent algorithm -i Using this, the cumulative linear gradient value m i and the cumulative squared gradient value n iOne or both of the cumulative linear slope values ​​m i can be derived by summing the gradients calculated at each iteration of the gradient descent algorithm. Similarly, the cumulative squared gradient value n i can be derived by summing the squares of the gradients computed at each iteration of the gradient descent algorithm.

[0032] At block 220, the one or more processors calculate the product value p i Determine the product value p i is the algorithm p i-1 The value of the product in the previous iteration of , and the learning rate η and g of the gradient descent algorithm. i For example, the product value p i may be equal to the cumulative linear gradient value multiplied by the learning rate. i is the scaled p i-1 p i-1 The scaling factor used to scale the cumulative squared gradient value n i The scaling value may be based on the previous iteration n i-1 The method may be based on the cumulative squared gradient value of

[0033] p i An exemplary calculation of m is shown in subroutine 300 of FIG. 3. In block 310, the cumulative linear slope value m i Determine the value m i m i-1 and g i In block 320, the cumulative squared gradient value n i Determine the value of n i is n i-1 and g i 2 In block 330, the scaling value s is calculated according to the following scaling value function: i Calculate.

[0034] (1)s i =n i-lr_power -n i-1 -lr_power Here, "lr_power" is a predetermined parameter. i is determined to be equal to a function of the product value:

[0035] (2)pi = (η × m i )-(s i ×w i-1 ) Returning to FIG. 2, at block 230, the product value p i Update parameter values ​​according to a function containing w i Determine.

[0036] w i An exemplary calculation of p is shown in subroutine 400 of FIG. 4. In block 410, the absolute value of the product value |p i Determine whether the ratio of | to the learning rate η exceeds a predetermined fixed value λ1. This determination determines whether the most recent accumulated squared gradient value n since the previous iteration i The cumulative linear gradient value m i , is greater or smaller. Thus, the predetermined fixed value λ1 acts as a threshold. If the ratio is greater than the threshold, operations may continue to block 420. In block 420, an update parameter value is determined to be equal to 0. Otherwise, if the ratio is less than or equal to the threshold, operations may continue to block 430. In block 430, an update parameter value is determined according to the following parameter value function:

[0037]

number

[0038] where λ2 and β are both predetermined fixed values, and “sgn” is the sign function. The denominator of the parameter value function (3) is the cumulative squared gradient value n i and two separate predetermined fixed values ​​λ and β. Furthermore, the parameter value function includes a cumulative squared gradient value n iand returns a divide-by-zero error only if both of the predetermined fixed values ​​λ2 and β are each equal to 0. i The initial value of is usually set to a nonzero value, and furthermore, n i , λ2, and β all being equal to 0 is not a valid configuration, so the parameter value function (3) avoids a divide-by-zero error.

[0039] Returning again to FIG. 2 , in block 240, the parameter w of the machine learning structure is updated to the determined parameter value w for the i-th iteration. i Updating the parameter w may cause the machine learning structure to output different results for a given input, which iteratively reduces or optimizes the cost function of the machine learning structure over several iterations of the gradient descent algorithm. In this way, the machine learning structure may converge toward an optimal or relatively optimal set of parameters that minimizes or relatively reduces the cost function, resulting in more accurate decisions by the machine learning structure for future data inputs.

[0040] In the above exemplary routine, one iteration of the machine learning process is shown, whereby one parameter w of the machine learning structure is moved incrementally to approach the optimal solution. It should be understood that the routine may be executed iteratively, whereby for each iteration, the parameter continues to move closer to the optimal solution based on the training data input to the system between iterations. The time between iterations is determined by a learning rate. The time may be a fixed time, may vary over time, may be determined according to a predefined schedule, or may be determined according to the machine learning process. In addition, it should be understood that the system may include several parameters, and the routine may be executed for each of the parameters independently, whereby each parameter represents a different dimension of the gradient vector. For each iteration, a set of parameters may move closer to the optimal solution based on the training data provided to the machine learning structure of the system between iterations.

[0041] An advantage of the example routine 200 of Figure 2 is that divide-by-zero errors are avoided when the learning rate value is zero or near-zero because the denominator of the parameter value function is not divided by the learning rate.

[0042] The benefit of avoiding division-by-zero errors when the learning rate has a value of zero or near-zero can be seen when considering another parameter value function that is inversely proportional to the learning rate. When the learning rate is zero or close to zero, the other function returns a division-by-zero error. To avoid the effects of a learning rate near-zero in such a parameter value function, it is necessary to start the learning rate at a value greater than the near-zero value. However, starting the machine learning process with a relatively large learning rate may prevent the machine learning algorithm from converging to a good solution, i.e., to a set of parameter values ​​that minimize the cost function. Thus, to ensure that the gradient descent algorithm converges toward a good solution, another method is needed to reduce the adjustments to the parameters of the machine learning structure. One method is to slow down the processing of the training data so that less data is considered during each iteration of the gradient descent algorithm. This may be achieved by limiting the number of processor cores that are allocated to process the training data with the machine learning structure. Reducing the processing ensures that the adjustments to the parameters at each iteration are smaller. Eventually, the processing speed may be increased after the gradient descent algorithm starts to move towards a good solution, but this will not happen until after several iterations of the gradient descent algorithm.

[0043] 5 illustrates the difference in the speed at which the present gradient descent algorithm processes training data compared to another fictitious gradient descent algorithm (hereafter referred to as "Alt_GD") that is prone to division-by-zero errors when the learning rate is zero or near-zero. A first curve 501 shows the throughput of Alt_GD plotted against the learning rate, such as the number of allocated processor cores. A second curve 502 shows the throughput of the presently disclosed gradient descent algorithm plotted against the learning rate, such as the number of allocated processor cores.

[0044] The first difference between curves 501 and 502 is that curve 501 starts with a non-zero learning rate, while curve 502 starts with a lower learning rate. This means that Alt_GD makes larger changes to parameters at the start of its operation than the gradient descent algorithm of the present disclosure makes. This creates the risk of moving quickly towards a suboptimal solution.

[0045] A second difference between curves 501 and 502 is that curve 501 starts at a low processing speed and increases processing over time, while curve 502 starts at full processing capacity and maintains it. This means that the early iterations of Alt_GD operate on a machine learning structure that received relatively little training data, while the early iterations of the gradient descent algorithm of the present disclosure operate on a machine learning structure that received relatively more training data. In this way, the gradient descent algorithm of the present disclosure converges toward a solution faster than Alt_GD.

[0046] To illustrate the improved processing of the gradient descent algorithm of the present disclosure, FIG. 5 includes shaded areas comparing the amount of processing completed after four iterations of each gradient descent algorithm. For Alt_GD, the total processing performed at time T1 (at the fourth iteration of Alt_GD, indicated by the fourth point along curve 501) is shown by the shaded area under curve 501. For the gradient descent algorithm of the present disclosure, the total processing performed at time T1' (at the fourth iteration of Alt_GD, indicated by the fourth point along curve 502) is shown by the shaded area under curve 502. As can be seen, the area under curve 501 is much smaller than the area under curve 502. This indicates that the overall processing is faster for curve 502. This also indicates that the provisional results, such as the results obtained at times T1 and T1', respectively, are more accurate for the gradient descent algorithm of the present disclosure than for Alt_GD. In other words, the gradient descent algorithm of the present disclosure provides accurate interim results faster.

[0047] The above exemplary routine 200 in FIG. 2 illustrates how to update parameters using the Follow the Regularized Leader (FTRL) learning algorithm. Thus, the exemplary routine 200 may be advantageous over other FTRL algorithms that divide by a learning rate. It should be understood that the same basic principles may be applied to other algorithms, such as stochastic gradient descent algorithms, Adagrad, Adam, RMSProp, etc. In other words, for other gradient descent algorithms that divide by a learning rate, the principles of the present disclosure, such as determining a product value and determining update parameter values ​​based on the product value, may be applied to avoid dividing by a learning rate.

[0048] Although the technology herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the technology, and as such, it is to be understood that many modifications may be made to the illustrative embodiments and other arrangements may be devised without departing from the spirit and scope of the technology as set forth in the appended claims.

[0049] Most of the other examples above are not mutually exclusive. However, they may be implemented in various combinations to achieve unique advantages. These and other variations and combinations of the above features may be utilized without departing from the subject matter of the invention as defined by the appended claims, and therefore the description of the above embodiments should be taken as examples, rather than as limitations on the subject matter of the invention as defined by the appended claims. By way of example, the above operations need not be performed in the exact order as described above. Rather, various steps may be processed in different orders, such as in reverse order or simultaneously. Also, steps may be omitted unless otherwise specified. In addition, the provision of examples described herein, and the provision of clauses expressed with words such as "such as," "including," and the like, should not be construed as limiting the subject matter of the appended claims to specific examples. Rather, these examples merely illustrate one of many possible embodiments. Furthermore, the same reference numbers in different drawings may identify the same or similar elements.

Claims

1. 1. A method for iteratively updating parameters according to a gradient descent algorithm, comprising: In the nth iteration, determining, by one or more processors, a gradient value of a gradient vector of said parameters in a first dimension; determining, by the one or more processors, a value of a product based at least in part on a sum of (1) the value of the product determined at the n-1 iteration and (2) a product of the determined gradient value and a learning rate of the gradient descent algorithm; the one or more processors determining updated parameter values ​​according to a function that includes the value of the product; and updating, by the one or more processors, the parameter to be equal to the updated parameter value; The method of claim 1, wherein the value of the product is based at least in part on (1) a product of a cumulative linear gradient value and the learning rate and (2) the parameter values ​​determined at the n-1th iteration.

2. 2. The method of claim 1 , wherein the value of the product is equal to the difference between (1) the product of the accumulated linear gradient value and the learning rate and (2) the parameter value determined at the n−1 th iteration scaled according to a scaling value.

3. 3. The method of claim 2, further comprising the one or more processors determining a cumulative squared gradient value based on a square of the gradient value and a cumulative squared gradient value of the n-1th iteration, wherein the scaling value is based on each of the cumulative squared gradient value and the cumulative squared gradient value of the n-1th iteration. 【Request 4】 【Number 4】 4. The method of claim 3, wherein n i is the accumulated squared gradient value, n i-1 is the accumulated squared gradient value for the n-1 th iteration, and lr_power is a predetermined parameter.

5. The function including the value of the product is a function of the parameter values, determining the ratio of the absolute value of the product value to the learning rate to be equal to zero if the ratio is greater than a predetermined fixed value; The method of claim 4 , further comprising determining the ratio of the absolute value of the product value to the learning rate to be equal to a non-zero value if the ratio is less than or equal to the predetermined fixed value.

6. 6. The method of claim 5, further comprising determining the non-zero values ​​according to a parameter function, a denominator of the parameter function including each of the accumulated squared gradient value, a first predetermined fixed value, and a second predetermined fixed value, and the parameter function returning a divide-by-zero error only if each of the accumulated squared gradient value, the first predetermined fixed value, and the second predetermined fixed value are zero. 【Request 7】 【Number 5】 7. The method of claim 6, wherein λ2 and β are the first and second predetermined fixed values, λ1 is a third predetermined fixed value, η is the learning rate, p is the product value, and n is the accumulated squared gradient value.

8. The method of any one of claims 1 to 7, wherein the learning rate is predefined to start from zero and grow over time.

9. The method according to any one of claims 1 to 7, wherein the learning rate is predefined to start from a value close to zero and to increase over time.

10. The method according to any one of claims 1 to 9, wherein the gradient vector of the parameters comprises multiple dimensions and the method is carried out independently for each dimension of the gradient vector.

11. The method according to any one of claims 1 to 10, wherein the parameters are parameters of a neural network.

12. The gradient descent algorithm is a stochastic gradient descent algorithm, FTRL (Follow The method of any one of claims 1 to 11, wherein the learning algorithm is one of the Regularized Leader learning algorithms, Adagrad, Adam, or RMSProp.

13. 13. The method of any one of claims 1 to 12, wherein the learning rate is predefined to vary over time, and a number of cores included in the one or more processors that are assigned to execute the method remains constant as the learning rate varies over time.

14. 1. A system comprising: A memory for storing instructions; and one or more processors coupled to the memory, the one or more processors configured to execute the stored instructions to iteratively update parameters according to a gradient descent algorithm, wherein at an n-th iteration of the gradient descent algorithm, the one or more processors: determining a gradient value of a gradient vector of said parameters in a first dimension; determining a value of a product based at least in part on the sum of (1) the value of the product determined at the n-1 iteration and (2) the product of the determined gradient value and a learning rate of the gradient descent algorithm; determining updated parameter values ​​according to a function including the value of the product; and configured to update the parameter to be equal to the updated parameter value, the value of the product being based at least in part on (1) a product of a cumulative linear gradient value and the learning rate and (2) the parameter value determined at the n-1th iteration.

15. 15. The system of claim 14, wherein the value of the product is equal to the difference between (1) the product of the accumulated linear gradient value and the learning rate and (2) the parameter value determined at the n-1 th iteration scaled according to a scaling value.

16. 16. The system of claim 15, wherein the one or more processors are configured to determine a cumulative squared gradient value based on a square of the gradient value and a cumulative squared gradient value for the n-1th iteration, and the scaling value is based on each of the cumulative squared gradient value and the cumulative squared gradient value for the n-1th iteration. 【Request 17】 【Number 6】 17. The system of claim 16, wherein n i is the accumulated squared gradient value, n i-1 is the accumulated squared gradient value for the n-1 th iteration, and lr_power is a predetermined parameter.

18. The function including the value of the product is a function of the parameter values, determining the ratio of the absolute value of the product value to the learning rate to be equal to zero if the ratio is greater than a predetermined fixed value; 20. The system of claim 17, further comprising determining if the ratio between the absolute value of the product value and the learning rate is less than or equal to the predetermined fixed value to be equal to a non-zero value.

19. 20. The system of claim 18, wherein the one or more processors are configured to determine the non-zero values ​​according to a parameter function, a denominator of the parameter function including each of the accumulated squared gradient value, a first predetermined fixed value, and a second predetermined fixed value, and wherein the parameter function returns a divide-by-zero error only if each of the accumulated squared gradient value, the first predetermined fixed value, and the second predetermined fixed value are zero. 【Request 20】 【Number 7】 20. The system of claim 19, wherein λ2 and β are the first and second predetermined fixed values, λ1 is a third predetermined fixed value, η is the learning rate, p is the product value, and n is the accumulated squared gradient value.

21. The system of any one of claims 14 to 20, wherein the learning rate is predefined to start from zero and increase over time.

22. The system of any one of claims 14 to 20, wherein the learning rate is predefined to start from a value close to zero and increase over time.

23. 23. The system of claim 14, wherein the gradient vector of the parameters includes multiple dimensions, and the one or more processors are configured to update parameters for each dimension of the gradient vector independently of each other.

24. The system according to any one of claims 14 to 23, wherein the parameters are parameters of a neural network.

25. The gradient descent algorithm is a stochastic gradient descent algorithm, FTRL (Follow The system of any one of claims 14 to 24, wherein the learning algorithm is one of the Regularized Leader, Adagrad, Adam, or RMSProp.

26. The system of any one of claims 14 to 25, wherein the one or more processors include a certain number of cores allocated for iteratively updating the parameters according to the gradient descent algorithm.

27. A program for causing a computer to execute the method according to any one of claims 1 to 13.