As I know, gradient of a function gives a vector that shows the direction and rate of change on a point on that function. Now formula for new intercept is : New Intercept = Previous Intercept - Step Size. And Step Size is equal to Learning Rate multiplied by Gradient. $$x_{new} = x_{previous} - StepSize$$ or: $$x_{k+1} = x_k - LR*∇f(x)$$ THE QUESTION IS : For a function like $f(x)=y$, if gradient gives us the rate of change of $y$ value according to change in $x$ value, how are we able to subtract it from previous $x$ value(intercept value) to find new $x$ value? I mean, isn't it like subtracting $y/x$ from $x$ to find a new $x$ like this : $$x_{k+1} = x_k - LR*{Δy/Δx}$$ $x$ and $y$ (in this case $x$ for intercept values and $y$ for residual sum of squares/cost function/loss function values) are totally different values on different axis so i couldn't understand how.
2026-03-27 07:48:11.1774597691
How is Learning Rate is multiplied by Gradient/Slope value in Step Size in Gradient Descent Algorithm
440 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in OPTIMIZATION
- Optimization - If the sum of objective functions are similar, will sum of argmax's be similar
- optimization with strict inequality of variables
- Gradient of Cost Function To Find Matrix Factorization
- Calculation of distance of a point from a curve
- Find all local maxima and minima of $x^2+y^2$ subject to the constraint $x^2+2y=6$. Does $x^2+y^2$ have a global max/min on the same constraint?
- What does it mean to dualize a constraint in the context of Lagrangian relaxation?
- Modified conjugate gradient method to minimise quadratic functional restricted to positive solutions
- Building the model for a Linear Programming Problem
- Maximize the function
- Transform LMI problem into different SDP form
Related Questions in VECTOR-ANALYSIS
- Does curl vector influence the final destination of a particle?
- Gradient and Hessian of quadratic form
- Regular surfaces with boundary and $C^1$ domains
- Estimation of connected components
- Finding a unit vector that gives the maximum directional derivative of a vector field
- Gradient of transpose of a vector.
- Solve line integral
- Directional derivative: what is the relation between definition by limit and definition as dot product?
- Chain rule with intermediate vector function
- For which $g$ is $f(x)= g(||x||) \frac{x}{||x||}$ divergence free.
Related Questions in GRADIENT-DESCENT
- Gradient of Cost Function To Find Matrix Factorization
- Can someone explain the calculus within this gradient descent function?
- Established results on the convergence rate of iterates for Accelerated Gradient Descent?
- Sensitivity (gradient) of function solved using RK4
- Concerning the sequence of gradients in Nesterov's Accelerated Descent
- Gradient descent proof: justify $\left(\dfrac{\kappa - 1}{\kappa + 1}\right)^2 \leq \exp(-\dfrac{4t}{\kappa+1})$
- If the gradient of the logistic loss is never zero, does that mean the minimum can never be achieved?
- How does one show that the likelihood solution for logistic regression has a magnitude of infinity for separable data (Bishop exercise 4.14)?
- How to determinate that a constrained inequality system is not empty?
- How to show that the gradient descent for unconstrained optimization can be represented as the argmin of a quadratic?
Related Questions in GRADIENT-FLOWS
- understanding the gradient of a curve through derivative
- How can I solve the gradient here?
- Why is the gradient vector zero inside a circular level curve
- Does the gradient point to the direction of greatest increase or decrease or the direction of greatest increase?
- $H^{-1}$ norm and $H^{-1}$ gradient flow
- Is a level set more than one level curve?
- Does normalized gradient flow preserve level sets?
- How do you know what the units of force are measured in when calculating work with a line integral?
- Finding a metric to write a vector field as a gradient of a given function
- Solving for policy gradient in reinforcement learning
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
There's probably a confusion about "step size". The step size is a scalar that scales the descent direction (in the case of gradient descent, -gradient). So it would be the same as your learning rate.
In a minimization problem, the idea of gradient descent is to use gradient information to decrease the objective function. Given the current iterate $x^{(k)}$, you try to find a direction $d^{(k)}$ that will decrease your objective function $f$: $f(x^{(k)} + d^{(k)}) < f(x^{(k)})$.
According to calculus, the gradient $\nabla f(x^{(k)})$ of $f$ at the current point $x^{(k)}$ is a direction of increase, so $-\nabla f(x^{(k)})$ should be a direction of decrease. We also know that the tangent (whose normal vector is the gradient) of $f$ at $x^{(k)}$ accurately represents $f$ close to $x^{(k)}$, but the farther we go, the likelier the function and its tangent do not "agree" any more. So you don't want to go to far from $x^{(k)}$.
That's why you scale your step (a fraction of the direction $x^{(k)}$) with a scalar $\alpha^{(k)} \in (0, 1]$: $f(x^{(k)} + \alpha^{(k)} d^{(k)})$ and try to find the largest $\alpha^{(k)}$.
To answer your question: if we have $f: R^n \rightarrow R$ and $x \in R^n$, then the gradient $\nabla f(x^{(k)})$ is a vector with $n$ coordinates (the $n$ partial derivatives of $f$). It has the same size as $x$, so you can safely subtract them.