Behavioral difference between Gradient Desent and Hill Climbing
NickName:PRCube Ask DateTime:2016-11-18T16:33:31

Behavioral difference between Gradient Desent and Hill Climbing

I'm trying to understand the difference between these two algorithms and how they differ in solving a problem. I have looked at the algorithms and the internals of them. It would be good to hear from others who already experienced with them. Specially, I would like to know how they would behave differently on the same problem.

Thank you.

Copyright Notice:Content Author:「PRCube」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/40672502/behavioral-difference-between-gradient-desent-and-hill-climbing

Answers
radbrawler 2016-11-18T09:09:13

Difference\n\nThe main difference between the two is the direction in which they move to reach the local minima (or maxima).\n\n\nIn Hill Climbing we move only one element of the vector space, we then calculate the value of function and replace it if the value improves. we keep on changing one element of the vector till we can't move in a direction such that position improves. In 3D sapce the move can be visualised as moving in any one of the axial direction along x,y or z axis.\nIn Gradient Descent we take steps in the direction of negative gradient of current point to reach the point of minima (positive in case of maxima). For eg, in 3D Space the direction need not to be an axial direction.\n",


More about “Behavioral difference between Gradient Desent and Hill Climbing” related questions

What is the difference between Stochastic Hill Climbing and First Choice Hill Climbing?

Both these algorithms keeps generating random neighbors and picks if it encounters a neighbor with a better state than current. So where lies the difference? It is mentioned everywhere, First Choice

Show Detail

Behavioral difference between Gradient Desent and Hill Climbing

I'm trying to understand the difference between these two algorithms and how they differ in solving a problem. I have looked at the algorithms and the internals of them. It would be good to hear from

Show Detail

Efficiency of Gradient Ascent vs Hill Climbing

I'm running both gradient ascent and hill climbing on a landscape to assess which one can reach the greatest height in less steps. The outcome of my test is that hill climbing always manages to reach

Show Detail

Stochastic hill climbing vs random-restart hill climbing algorithms

What is difference between stochastic hill climbing and random-restart hill climbing?

Show Detail

Stochastic hill climbing vs first-choice hill climbing algorithms

What is the difference between stochastic hill climbing and first-choice hill climbing algorithms?

Show Detail

What is the difference between "hill climbing" and "greedy" algorithms?

Please explain the difference between "hill climbing" and "greedy" algorithms. It seems both are similiar, and I have a doubts that "hill climbing" is an algorithm; it seems to be an optimization...

Show Detail

What is the difference between Hill Climbing Search and Best First Search?

I am trying to learn some search concepts but ran into a wall in the process. Can anyone explain to me what the difference is between hill climbing search and best first search? To me, they both look

Show Detail

Difference b/w Hill climbing and Beam search for #beam = 1

If we consider beam search with just 1 beam will be similar to hill climbing or is there some other difference? As per definition of beam search, it keeps track of k best states in a hill-climbing

Show Detail

What is the difference between "hill climbing" and "branch-and-bound" search algorithms?

Hill-climbing search and branch-and-bound are two heuristic search algorithms used in artificial intelligence. What is the difference between these two approaches?

Show Detail

Finding a path with Steepest Hill Climbing Function

When using Steepest Hill Climbing Search, what happens when you reach an infinite loop - that is, you find yourself going back and forth between the same two states because they are both the best

Show Detail