AdaGrad Cumulative amount: Why is it possible to get a larger step in the direction of dilution

Calculates the gradient squarely, by coordinates, explaining historical accumulation and decline in learning rates.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Compute the gradient squarely by coordinates
  • Explain historical accumulation and decline in learning rates

Suggested first

  • Gradient and vector calculations

Different coordinates need not share the same scale

AdaGrad is updated to reflect the cumulative size of the past gradient squared by the coordinates. Large gradients are often received with larger direction denominators, with less updated direction denominators being smaller. This self-adaptation is naturally linked to the dilution characteristic, but it does not amount to automatic knowledge of which feature is more important, nor does it eliminate the influence of the characteristic units and data mechanisms.

Two-dimensional two-round calculation

Ignores a very small amount of value protection, with an initial accumulation of zero and a learning rate of 1. First round gradient (2,1), accumulated square variability (4,1), updated to (1,-1). Second round gradient (2,0), cumulative variation (8,1), updated amount (1/sqrt(2), 0), approximately (-0.70701). The first coordinates again received the same gradient, but the step was reduced; The second coordinates are not moved by a small denominator because the gradient is zero. If there is no gradient at any point at any of the coordinates, the denominator and molecules may be zero, requiring a clear and minimal amount or branch processing, which cannot be separated directly from zero.

The accumulation does not forget

Classic squares accumulated in singles increased, so that the effective length of the step usually declined over a long period of time. While some of the issues highlighted or diluted are helpful, it may become increasingly difficult to adapt to new signals during prolonged periods of unsettled training. The use of windows or indices is on average another design, not exactly the same AdaGrad.

Separate from statistical significance

The denominator reflects the historical gradient scale and is not a post-parametric deviation or an estimate of the causal reliability of the characteristic. (b) The rare features are given a larger relative range, which does not guarantee that their data are more credible; The gradient is also magnified if it is rarely from noise or abnormal input.

Verification achieved

A very small amount should be recorded, added to the root or external, the accumulation of the initial value, whether there is an additional decline in the learning rate, and whether the positive item is accumulated. Differences between the different agreements are evident when the gradient is small. The gradient accumulates to update the status at each optimised step, which is not the same as that of each microbatch update. The recovery model saves only weights and discards square accumulations, which suddenly alters the effective steps of the coordinates. If used in large-scale dilution models, it should also be checked whether the status of the non-observed parameter is updated and the dilution interface is equivalent. Print each state in two rounds of small vectors, usually more likely to be found than looking at the final loss drop.

Gt,j=∑s=1tgs,j2; Δwj=−ηgjGj+ε

Self-measurement and provocator

Why is the first coordinates of this second round smaller than the first?

The cumulative square was increased from 4 to 8, the denominator was changed to sqrt(8) and the same gradient 2 corresponds to approximately 0.7071 steps.

Can the square build-up be interpreted as the confidence in the parameters?

This cannot be explained directly. It is a measure of optimization of history, not automatic acquisition of probability or causal uncertainty.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. Duchi Hazan Singer — Adaptive Subgradient Methods
  2. Mathematics for Machine Learning — author textbook

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.