# Ewolucja z modelami językowymi

EN: **LLM-guided evolutionary search** · id `llmevolution` · aliases: LLM-driven evolution, evolutionary search with LLMs, LLM + EA, EA + LLM, ewolucja kodu z LLM

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [Obliczenia ewolucyjne i inteligencja roju](https://aiatlasgraph.com/t/evolutionary.md) › Ewolucja z modelami językowymi

## Description

- PL: Metody, w których duże modele językowe pełnią rolę operatorów zmienności w algorytmie ewolucyjnym, a ewaluator automatycznie ocenia programy, prompty lub agentów.
- EN: Methods where large language models act as variation operators in an evolutionary algorithm while an evaluator automatically scores programs, prompts or agents.

## In one sentence

- PL: Połączenie ewolucji z modelem językowym: model proponuje zmiany w kodzie lub tekście, a automatyczna ocena wybiera najlepsze.
- EN: Evolution combined with a language model: the model proposes changes to code or text, and automatic scoring picks the best.

## Problem it solves

- PL: Losowe zmiany w kodzie prawie zawsze go psują, a człowiek nie ma czasu sprawdzić tysięcy pomysłów.
- EN: Random code changes almost always break it, and people lack time to test thousands of ideas.

## What it does

- PL: Model działa jak pomysłowy praktykant zgłaszający poprawki, a bezlitosny tester sprawdza każdą i zostawia tylko te, które naprawdę pomagają.
- EN: The model acts like an inventive intern proposing fixes, while a relentless tester checks each and keeps only those that truly help.

## Everyday example

- PL: Firma chce szybszego układania paczek w kontenerach; system przez noc generuje setki wersji programu i rano zostaje ta, która mieści najwięcej.
- EN: A firm wants faster packing of boxes into containers; overnight the system generates hundreds of program versions, and by morning the best packer remains.

## This concerns you if you…

- PL: masz automatyczny test, który mierzy jakość rozwiązania
- PL: chcesz, by AI ulepszała algorytmy albo prompty bez nadzoru
- EN: have an automatic test measuring solution quality
- EN: want AI to improve algorithms or prompts unattended

## Keywords

AlphaEvolve · FunSearch · OpenEvolve · ShinkaEvolve · EvoPrompt · GEPA · Evolution of Heuristics · ReEvo · island model · program database

## How it works

- PL: Baza programów przechowuje kandydatów i ich wyniki. Prompt zawiera kilku dobrych rodziców, a model językowy pisze zmodyfikowaną wersję, którą ewaluator uruchamia i ocenia. Wyspy populacji albo archiwum różnorodności chronią przed zbieżnością; ten sam schemat służy do ewolucji promptów i architektur agentów.
- EN: A program database stores candidates and scores. The prompt includes a few good parents, and a language model writes a modified version that an evaluator runs and scores. Population islands or a diversity archive prevent convergence; the same scheme evolves prompts and agent architectures.

## Limits

- PL: Działa tylko tam, gdzie da się szybko i wiarygodnie ocenić kandydata; słaby ewaluator jest wykorzystywany przez znalezione obejścia. Tysiące wywołań modelu kosztują, a odkrycia trzeba niezależnie zweryfikować.
- EN: It works only where candidates can be scored quickly and reliably; a weak evaluator gets exploited by found loopholes. Thousands of model calls cost money, and discoveries need independent verification.

## Key terms

- PL: **ewaluator**: Automatyczny program oceniający poprawność i jakość kandydata.
- PL: **model jako operator mutacji**: Model językowy zamiast losowej zmiany proponuje sensowną modyfikację.
- PL: **model wyspowy**: Kilka osobnych populacji z rzadką wymianą najlepszych kandydatów.
- EN: **evaluator**: An automatic program checking a candidate’s correctness and quality.
- EN: **LLM as mutation operator**: A language model proposes a meaningful change instead of a random one.
- EN: **island model**: Several separate populations occasionally exchanging their best candidates.

## Know first

- [Algorytmy genetyczne (Genetic algorithms (GA))](https://aiatlasgraph.com/t/geneticalgorithms.md)
- [Agenci kodujący (AI-assisted coding)](https://aiatlasgraph.com/t/aicoding.md)

## Subtopics (4 direct, 4 in total)

- [Ewolucyjne odkrywanie algorytmów z LLM (LLM-driven program and algorithm evolution)](https://aiatlasgraph.com/t/llmprogramsearch.md): Evolutionary search over programs in which a language model generates code variants and an evaluator scores them on a mathematical or engineering task.
- [Ewolucyjne ulepszanie poleceń dla modeli językowych (Evolutionary prompt optimisation)](https://aiatlasgraph.com/t/evoprompt.md): Optimising prompt text with an evolutionary algorithm where a language model performs mutation and crossover and selection uses validation scores.
- [Model językowy jako operator krzyżowania i mutacji (Language models as evolutionary variation operators)](https://aiatlasgraph.com/t/llmoperators.md): Using a language model as the variation operator in an evolutionary algorithm: mutation by editing or crossover by prompting several parents.
- [Samodoskonalące się agenty (ewolucja agentów) (Evolutionary self-improvement of agents)](https://aiatlasgraph.com/t/agentevolution.md): Evolutionary, archive-based search over agent designs where a foundation model edits agent code and benchmarks empirically validate changes.

## Related topics

Untyped, symmetric "see also" links.

- [Programowa optymalizacja promptów (Programmatic prompt optimisation)](https://aiatlasgraph.com/t/promptopt.md)

## Sources

- [AlphaEvolve: A coding agent for scientific and algorithmic discovery](<https://arxiv.org/abs/2506.13131>) `alphaevolve2025` · by Alexander Novikov, Ngân Vũ, Marvin Eisenberger i in., Matej Balog (Google DeepMind)
- [Evolutionary Computation in the Era of Large Language Model: Survey and Roadmap](<https://arxiv.org/abs/2401.10034>) `evo-llm-survey-2024` · by Xingyu Wu, Sheng-hao Wu, Jibin Wu, Liang Feng, Kay Chen Tan
- [Mathematical discoveries from program search with large language models (FunSearch)](<https://www.nature.com/articles/s41586-023-06924-6>) `funsearch-2023` · by Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M. Pawan Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan S. Ellenberg, Pengming Wang, Omar Fawzi, Pushmeet Kohli, Alhussein Fawzi
- [EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizers](<https://arxiv.org/abs/2309.08532>) `evoprompt-2023` · by Qingyan Guo, Rui Wang, Junliang Guo, Bei Li, Kaitao Song, Xu Tan, Guoqing Liu, Jiang Bian, Yujiu Yang

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/llmevolution · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
