Fundamentals

Genetic Algorithm

A genetic algorithm is an optimization technique inspired by natural selection that evolves solutions through selection, crossover, and mutation. It is used for complex optimization problems where gradient-based methods are impractical.

Understanding Genetic Algorithm

A genetic algorithm is an optimization technique inspired by biological evolution that iteratively improves a population of candidate solutions through selection, crossover, and mutation operations. Each candidate solution is encoded as a "chromosome," and a fitness function evaluates how well it solves the target problem. Solutions with higher fitness are more likely to be selected for reproduction, combining their traits through crossover, while random mutations introduce diversity. Genetic algorithms excel at searching large, complex, or non-differentiable solution spaces where gradient descent methods cannot be applied directly. Applications include neural architecture search, hyperparameter tuning, robotics path planning, scheduling optimization, and game strategy evolution. Unlike gradient-based optimization used in deep learning, genetic algorithms do not require the objective function to be differentiable. They belong to the broader family of evolutionary computation methods and are often used alongside machine learning to optimize system design.

Category

Fundamentals

Is AI recommending your brand?

Find out if ChatGPT, Perplexity, and Gemini mention you when people search your industry.

Check your brand — $9

Related Fundamentals Terms

AGI

Artificial General Intelligence (AGI) refers to a hypothetical AI system with human-level cognitive abilities across all intellectual tasks. Unlike narrow AI, AGI would be able to learn, reason, and solve problems in any domain without task-specific training.

AI Winter

An AI winter is a period of reduced funding, interest, and research progress in artificial intelligence. Historical AI winters occurred in the 1970s and late 1980s, often following inflated expectations and undelivered promises.

Algorithm

An algorithm is a step-by-step procedure or set of rules for solving a computational problem. In AI, algorithms define how models learn from data, make predictions, and optimize their performance.

Artificial General Intelligence

Artificial General Intelligence is a theoretical form of AI that would match or exceed human cognitive abilities across all domains. AGI remains an aspirational goal rather than a current reality in AI research.

Artificial Intelligence

Artificial Intelligence is the broad field of computer science focused on creating systems that can perform tasks requiring human-like intelligence. AI encompasses machine learning, natural language processing, computer vision, and robotics.

Artificial Narrow Intelligence

Artificial Narrow Intelligence (ANI) refers to AI systems designed to perform specific tasks, such as image recognition or language translation. All current AI systems, including large language models, are forms of narrow intelligence.

Artificial Superintelligence

Artificial Superintelligence (ASI) is a hypothetical AI that would surpass human intelligence in every cognitive dimension. The prospect of ASI raises profound questions about control, alignment, and the future of humanity.

Dynamic Programming

Dynamic programming is an algorithmic technique that solves complex problems by breaking them into simpler overlapping subproblems. It is used in reinforcement learning, sequence alignment, and optimal control.