Skip to main content

Envisioning is an emerging technology research institute and advisory.

LinkedInInstagramGitHub

2011 — 2026

research
  • Reports
  • Newsletter
  • Methodology
  • Origins
  • Vocab
services
  • Research Sessions
  • Signals Workspace
  • Bespoke Projects
  • Use Cases
  • Signal Scanfree
  • Readinessfree
impact
  • ANBIMAFuture of Brazilian Capital Markets
  • IEEECharting the Energy Transition
  • Horizon 2045Future of Human and Planetary Security
  • WKOTechnology Scanning for Austria
audiences
  • Innovation
  • Strategy
  • Consultants
  • Foresight
  • Associations
  • Governments
resources
  • Pricing
  • Partners
  • How We Work
  • Data Visualization
  • Multi-Model Method
  • FAQ
  • Security & Privacy
about
  • Manifesto
  • Community
  • Events
  • Support
  • Contact
  • Login
ResearchServicesPricingPartnersAbout
ResearchServicesPricingPartnersAbout
  1. Home
  2. Vocab
  3. Hill Climbing

Hill Climbing

An iterative local search algorithm that moves toward better solutions one step at a time.

Year: 1970Generality: 694
Back to Vocab

Hill climbing is a local search and optimization algorithm that works by starting from an initial candidate solution and repeatedly applying small modifications, keeping any change that improves the objective function and discarding those that do not. The name comes from the analogy of climbing a hill in a fitness landscape: at each step, the algorithm looks at neighboring states and moves to whichever neighbor is higher (or lower, for minimization problems). Because it only needs to evaluate nearby states rather than the entire search space, hill climbing is computationally lightweight and easy to implement, making it a natural first choice for many optimization tasks in machine learning and AI.

Despite its simplicity, hill climbing has well-known failure modes. The algorithm can become trapped in local optima — peaks that are not the global maximum — as well as on plateaus where all neighbors have equal value, or at ridges where progress requires moving in directions the algorithm cannot detect. These limitations mean that a basic hill climber offers no guarantee of finding the globally optimal solution. Several variants have been developed to address this: stochastic hill climbing introduces randomness in neighbor selection to escape flat regions; random-restart hill climbing runs the algorithm multiple times from different starting points; and simulated annealing allows occasional downhill moves with a probability that decreases over time, borrowing ideas from statistical mechanics to trade off exploration and exploitation.

In machine learning, hill climbing appears in hyperparameter tuning, neural architecture search, and combinatorial optimization problems where gradient information is unavailable or expensive to compute. It also serves as a conceptual baseline against which more sophisticated methods — such as evolutionary algorithms, Bayesian optimization, and gradient descent — are compared. Understanding hill climbing's strengths and weaknesses helps practitioners choose appropriate search strategies and appreciate why methods that escape local optima are necessary for complex, non-convex problems. Its enduring relevance lies in the fact that many real-world optimization landscapes are too large for exhaustive search, making greedy local improvement a practical and often surprisingly effective strategy.

Related

Related

Gradient Descent
Gradient Descent

An iterative optimization algorithm that minimizes a function by following its steepest downhill direction.

Generality: 909
Heuristic Search Techniques
Heuristic Search Techniques

Guided search methods that use domain knowledge to find solutions efficiently.

Generality: 731
Metaheuristic
Metaheuristic

A high-level, problem-independent framework for guiding heuristic optimization algorithms.

Generality: 696
Search Optimization
Search Optimization

Techniques for efficiently finding optimal solutions within large, complex solution spaces.

Generality: 794
Blind Alley
Blind Alley

A search path that yields no progress toward a solution and must be abandoned.

Generality: 339
Optimization Problem
Optimization Problem

Finding the best solution from all feasible options given an objective and constraints.

Generality: 962