# Ewolucyjne odkrywanie algorytmów z LLM

EN: **LLM-driven program and algorithm evolution** · id `llmprogramsearch` · aliases: program search, algorithm discovery, automated heuristic design, FunSearch, AlphaEvolve, OpenEvolve, odkrywanie algorytmów

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

## Description

- PL: Ewolucyjne przeszukiwanie przestrzeni programów, w którym model językowy generuje warianty kodu, a ewaluator ocenia je na zadaniu matematycznym lub inżynierskim.
- EN: Evolutionary search over programs in which a language model generates code variants and an evaluator scores them on a mathematical or engineering task.

## In one sentence

- PL: Model językowy wielokrotnie przepisuje fragment programu, a test mierzy każdą wersję, aż powstanie algorytm lepszy od znanych.
- EN: A language model repeatedly rewrites part of a program while a test measures each version, until an algorithm beats known ones.

## Problem it solves

- PL: Dobre algorytmy i reguły praktyczne wymyślają eksperci latami, a wiele problemów nigdy nie dostało takiej uwagi.
- EN: Experts take years to invent good algorithms and rules of thumb, and many problems never get that attention.

## What it does

- PL: Szuka programu, który rozwiązuje problem, a nie samej odpowiedzi; wynik jest czytelnym kodem, który ekspert może zrozumieć i sprawdzić.
- EN: It searches for a program that solves the problem, not just the answer; the result is readable code an expert can understand and check.

## Everyday example

- PL: Centrum danych zyskuje nową regułę przydzielania zadań serwerom, wymyśloną przez system w nocnych próbach i sprawdzoną przez inżynierów.
- EN: A data centre gains a new rule for assigning jobs to servers, invented by the system in overnight trials and checked by engineers.

## This concerns you if you…

- PL: masz problem optymalizacyjny z łatwą do policzenia oceną
- PL: chcesz automatycznie ulepszać istniejący kod pod względem szybkości
- EN: have an optimisation problem with an easily computed score
- EN: want to improve existing code’s speed automatically

## Keywords

AlphaEvolve · FunSearch · OpenEvolve · ShinkaEvolve · Evolution of Heuristics · ReEvo · cap set · online bin packing · circle packing

## How it works

- PL: Użytkownik oznacza fragment kodu do ewolucji i dostarcza funkcję oceny. System wybiera rodziców z bazy programów, buduje prompt z ich kodem i wynikami, a model proponuje zmianę w formie poprawki lub nowej funkcji. Warianty dodają opis idei w języku naturalnym, odrzucanie powtórzeń i dobór modeli bandytą.
- EN: The user marks code to evolve and supplies a scoring function. The system picks parents from a program database, builds a prompt with their code and scores, and the model proposes a change as a diff or new function. Variants add natural-language idea descriptions, duplicate rejection and bandit-based model selection.

## Limits

- PL: Wymaga problemów z szybkim, automatycznym i trudnym do oszukania testem; nie nadaje się do celów ocenianych przez ludzi. Deklarowane rekordy pochodzą często od twórców systemów i wymagają niezależnego potwierdzenia.
- EN: It needs problems with fast, automatic, hard-to-game tests; it does not suit goals judged by people. Claimed records often come from system builders and need independent confirmation.

## Key terms

- PL: **przeszukiwanie programów**: Szukanie kodu generującego rozwiązanie zamiast samego rozwiązania.
- PL: **heurystyka**: Praktyczna reguła decyzji, szybka, choć bez gwarancji optymalności.
- EN: **program search**: Searching for code that produces a solution rather than the solution.
- EN: **heuristic**: A practical decision rule, fast though not guaranteed optimal.

## Know first

- [Agenci kodujący (AI-assisted coding)](https://aiatlasgraph.com/t/aicoding.md)
- [Przeszukiwanie lokalne (wspinaczka, wyżarzanie) (Local search (hill climbing, simulated annealing))](https://aiatlasgraph.com/t/localsearch.md)

## Related topics

Untyped, symmetric "see also" links.

- [Automatyzacja badań naukowych (AI-driven scientific discovery and research automation)](https://aiatlasgraph.com/t/discovery.md)
- [Kernele pisane przez LLM (LLM-generated kernels)](https://aiatlasgraph.com/t/llmkernels.md)
- [MAP-Elites: mapa najlepszych wariantów (MAP-Elites)](https://aiatlasgraph.com/t/mapelites.md)
- [Model językowy jako operator krzyżowania i mutacji (Language models as evolutionary variation operators)](https://aiatlasgraph.com/t/llmoperators.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)
- [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
- [Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Model](<https://arxiv.org/abs/2401.02051>) `eoh-2024` · by Fei Liu, Xialiang Tong, Mingxuan Yuan, Xi Lin, Fu Luo, Zhenkun Wang, Zhichao Lu, Qingfu Zhang
- [ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolution](<https://arxiv.org/abs/2509.19349>) `shinkaevolve-2025` · by Robert Tjarko Lange, Yuki Imajuku, Edoardo Cetin
- [OpenEvolve – GitHub repository](<https://github.com/algorithmicsuperintelligence/openevolve>) `openevolve-github` · by algorithmicsuperintelligence (społeczność open source)

---

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