Near-end gradient: allowing indefensible punishment to have its own update

Glossy losses are treated separately from the non-quantifiable ones, and thin updates are calculated using soft threshold values.

• 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

  • Separating smooth losses from non-quantifiable ones
  • Use soft threshold values to calculate dilution updates

Suggested first

  • Gradient and vector calculations

Why can't you just fill a gradient at zero

It is hoped that the sum of absolute values will often be added to the loss when model parameters are diluted. The absolute value is not insignificant at zero points, and the intuition that the normal gradient declines directly makes it easier for the parameters to cross around zero, rather than to stabilize to zero. The near-end gradient deconstructs the target into smooth loss and easily solver punishments: a step along the smooth section and a small question with distance constraints.

The nearest calculator seeks a new point that brings it both closer to the temporary point and lowers the penalty. For a variable, the resolution is a soft threshold: the positive coordinates minus the threshold, the negative coordinates plus the threshold, and the absolute values do not exceed the threshold to zero. The threshold is the learning rate multiplied by the regular strength, which cannot be used only to forget the length of the step.

Three positions for soft threshold values

Set a smooth update to get v = (2,-0.2,-1) with learning rate and regular strength of 0.5. Near-end results (1.5, 0, -0.5). It has both continuous contractions and precise zeroes. The hard threshold will keep the large coordinates as they are, but only remove the small coordinates, corresponding to another target and not be confused with the close end of a parameter.

Starting with x = 2, the smooth loss is one-half times (x−3)2 and the length of the step 0.2 is the first to v = 2.2. The current strength is 0.5 at a threshold of 0.1 and ultimately 2.1. If the 0.5 direct threshold was used, the error would have been 1.7 and the optimal balance relationship would have changed. This two-stage calculation also shows that regularization is not a random reduction of a fixed number after updating.

We need clear boundaries in the project

The question of whether the bias is positive, whether the different characteristics are standardized and whether the grouping is treated as a set of parameters changes. (a) The factor required for the same predictive function is smaller after a characteristic unit has been expanded 100 times; The use of same-intensity punishment without standardization may imply preference for different units. The punishment should be consistent with the a priori expression sought.

(a) The determination of the near-end gradient at the appropriate length of the smooth glut and the penalty for the glutted loss; Joining a neural network does not continue to claim the best in the world. The near end is also different from the decoupling power of the optimist: the former solves precisely a partial problem of punishment, while the latter shrinks parameters according to specific updated rules. After observing zero coefficients, performance and stability are checked on independent data and models cannot be selected based solely on a dilution rate.

x′=proxηλ‖·‖1(x−η∇f(x))

Self-measurement and provocator

Temporary coordinates -0.2, threshold 0.5, and what is the output of the soft threshold?

Output 0; Output -0.5 if coordinates are -1. A soft threshold will shrink the non-zero coordinates retained.

How are the near-end thresholds changing when learning rates are halved and the intensity is constant?

The threshold is also halved, as it is equal to the learning rate multiplied by the regular strength.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. Parikh and Boyd — Proximal Algorithms
  2. Boyd and Vandenberghe — Convex Optimization

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.