elib
DLR-Header
DLR-Logo -> http://www.dlr.de
DLR Portal Home | Impressum | Datenschutz | Barrierefreiheit | Kontakt | English
Schriftgröße: [-] Text [+]

Algorithmic Algorithm Improvement with LLMs using Particle-Based Monte Carlo Methods

Scheib, Lukas (2026) Algorithmic Algorithm Improvement with LLMs using Particle-Based Monte Carlo Methods. Masterarbeit, Universität zu Köln.

[img] PDF - Nur DLR-intern zugänglich
22MB

Kurzfassung

Large language models have recently become promising components in systems for automated code generation, optimisation, and scientific discovery. In the context of algorithmic algorithm improvement, this suggests a shift in perspective in which algorithms are represented as executable programs and improved directly through software-based search, rather than only being manually designed and then implemented. This thesis studies such evaluator-grounded algorithm improvement following the line of work established by FunSearch and AlphaEvolve, while investigating a particle-based search mechanism inspired by Monte Carlo methods.

Instead of maintaining a program database or archive, candidate programs are organised as particles in a tree of program states. At each step, an LLM proposes code edits, the resulting candidates are evaluated using task-defined metrics such as correctness and runtime speedup, and future search effort is allocated by resampling particles according to their scores. We implement this approach as a lightweight prototype and evaluate it on selected AlgoTune tasks.

The experiments compare different open-weight models and analyse several aspects of the search procedure, including particle temperature, search-tree shape, optional LLM-based debugging, lookahead, and stochastic variability. The results show that particle-based resampling can produce measured speedup improvements on several tasks and can therefore serve as a plausible mechanism for LLM-guided algorithmic code improvement. At the same time, performance is strongly task-dependent, sensitive to evaluation noise and parameter choices, and not yet systematically compared against established evolutionary code-search frameworks. The thesis therefore presents particle-based search as a promising variant of evaluator-grounded algorithm improvement, while identifying robustness, scalability, qualitative code analysis, and comparative evaluation as important directions for future work.

elib-URL des Eintrags:https://elib.dlr.de/225393/
Dokumentart:Hochschulschrift (Masterarbeit)
Titel:Algorithmic Algorithm Improvement with LLMs using Particle-Based Monte Carlo Methods
Autoren:
AutorenInstitution oder E-Mail-AdresseAutoren-ORCID-iDORCID Put Code
Scheib, Lukaslukas.scheib (at) dlr.dehttps://orcid.org/0009-0001-8923-1192219542827
DLR-Supervisor:
BeitragsartDLR-SupervisorInstitution oder E-Mail-AdresseDLR-Supervisor-ORCID-iD
Thesis advisorFelderer, MichaelMichael.Felderer (at) dlr.dehttps://orcid.org/0000-0003-3818-4442
Thesis advisorHoppe, Fabianfabian.hoppe (at) dlr.dehttps://orcid.org/0000-0002-4501-6829
Datum:1 Juni 2026
Open Access:Nein
Seitenanzahl:93
Status:veröffentlicht
Stichwörter:Large Language Models, Algorithmic Algorithm Improvement, Particle-Based Monte Carlo Methods, Evaluator-Grounded Search, Code Optimisation, AlgoTune
Institution:Universität zu Köln
Abteilung:Abteilung für Informatik
HGF - Forschungsbereich:keine Zuordnung
HGF - Programm:keine Zuordnung
HGF - Programmthema:keine Zuordnung
DLR - Schwerpunkt:Quantencomputing-Initiative
DLR - Forschungsgebiet:QC AW - Anwendungen
DLR - Teilgebiet (Projekt, Vorhaben):QC - QuTeNet
Standort: Köln-Porz
Institute & Einrichtungen:Institut für Softwaretechnologie > High-Performance Computing
Institut für Softwaretechnologie
Hinterlegt von: Scheib, Lukas
Hinterlegt am:03 Jul 2026 09:52
Letzte Änderung:03 Jul 2026 09:52

Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags

Blättern
Suchen
Hilfe & Kontakt
Informationen
OpenAIRE Validator logo electronic library verwendet EPrints 3.3.12
Gestaltung Webseite und Datenbank: Copyright © Deutsches Zentrum für Luft- und Raumfahrt (DLR). Alle Rechte vorbehalten.