Training LLMs to translate Mission Descriptions in Natural Language into Controller for Robot Swarms

dc.contributor.authorJandeleit, Julian
dc.date.accessioned2026-01-13T06:55:02Z
dc.date.available2026-01-13T06:55:02Z
dc.date.issued2025-04-03
dc.description.abstractCollective robotics is a challenging field, particularly when designing controllers for swarm robots, where complex inter-robot interactions lead to unexpected collective behavior on the global level. Traditional methods based on evolutionary algorithms can solve individual tasks but require extensive computation, and human expertise for modeling and defining fitness functions, and typically yield controllers that do not generalize across different types of missions. For example, a controller for aggregation cannot be used on a foraging mission without modification. This master thesis explores the potential of Large Language Models (LLMs) to serve as a method for general swarm behavior generation. LLMs have already demonstrated the ability to solve a wide range of tasks in robotics already. This work explores whether LLMs can bridge the gap between individual robot actions and overall swarm behavior on the global level by generating robot controllers for swarm missions. This could have the potential to further enable natural language interaction with swarms as well as one-shot generation of valid controllers without the need for dedicated optimization. In the scope of this thesis, a dataset of natural language descriptions and robot controllers is created. Using AutoMoDe-Maple, controllers for the mission types Aggregation, Foraging, Distribution, and Con- nection are obtained. In several experiments, a 7B LLM is fine-tuned and the LLM-generated controllers are compared against the AutoMoDe baseline. Factors such as dataset size, the impact of natural versus formalized language prompts, reinforcement learning, and transferability to unseen scenarios are investi- gated. The results indicate that, while the fine-tuned LLM can replicate state-of-the-art controllers in individual cases and show promising generalization capabilities by generating viable controllers for mission types not encountered during training, their average performance does not reach that of AutoMoDe. It shows large variability regarding quality. These findings suggest, that LLMs hold potential as a general model for swarm behavior and are viable for controller generation from natural language, but further research with larger models and more diverse training datasets is necessary for more decisive and optimal results.
dc.description.versionpublisheddeu
dc.identifier.ppn1948532522
dc.identifier.urihttps://kops.uni-konstanz.de/handle/123456789/75647
dc.language.isoeng
dc.rightsterms-of-use
dc.rights.urihttps://rightsstatements.org/page/InC/1.0/
dc.subjectswarm robotics
dc.subjectlarge language models
dc.subjectcollective behavior
dc.subject.ddc004
dc.titleTraining LLMs to translate Mission Descriptions in Natural Language into Controller for Robot Swarmseng
dc.typeMSC_THESIS
dspace.entity.typePublication
kops.citation.bibtex
@mastersthesis{Jandeleit2025-04-03Train-75647,
  title={Training LLMs to translate Mission Descriptions in Natural Language into Controller for Robot Swarms},
  year={2025},
  address={Konstanz},
  school={Universität Konstanz},
  author={Jandeleit, Julian}
}
kops.citation.iso690JANDELEIT, Julian, 2025. Training LLMs to translate Mission Descriptions in Natural Language into Controller for Robot Swarms [Masterarbeit/Diplomarbeit]. Konstanz: Universität Konstanzdeu
kops.citation.iso690JANDELEIT, Julian, 2025. Training LLMs to translate Mission Descriptions in Natural Language into Controller for Robot Swarms [Master thesis]. Konstanz: Universität Konstanzeng
kops.citation.rdf
<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:bibo="http://purl.org/ontology/bibo/"
    xmlns:dspace="http://digital-repositories.org/ontologies/dspace/0.1.0#"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:void="http://rdfs.org/ns/void#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#" > 
  <rdf:Description rdf:about="https://kops.uni-konstanz.de/server/rdf/resource/123456789/75647">
    <bibo:uri rdf:resource="https://kops.uni-konstanz.de/handle/123456789/75647"/>
    <dc:rights>terms-of-use</dc:rights>
    <dc:language>eng</dc:language>
    <dcterms:hasPart rdf:resource="https://kops.uni-konstanz.de/bitstream/123456789/75647/4/Jandeleit_2-1axmrx5v3w8c77.pdf"/>
    <dc:date rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-01-13T06:55:02Z</dc:date>
    <dcterms:isPartOf rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/43615"/>
    <dcterms:isPartOf rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/36"/>
    <dspace:hasBitstream rdf:resource="https://kops.uni-konstanz.de/bitstream/123456789/75647/4/Jandeleit_2-1axmrx5v3w8c77.pdf"/>
    <dcterms:rights rdf:resource="https://rightsstatements.org/page/InC/1.0/"/>
    <dcterms:issued>2025-04-03</dcterms:issued>
    <dcterms:abstract>Collective robotics is a challenging field, particularly when designing controllers for swarm robots, where
complex inter-robot interactions lead to unexpected collective behavior on the global level. Traditional
methods based on evolutionary algorithms can solve individual tasks but require extensive computation,
and human expertise for modeling and defining fitness functions, and typically yield controllers that do
not generalize across different types of missions. For example, a controller for aggregation cannot be used
on a foraging mission without modification.
This master thesis explores the potential of Large Language Models (LLMs) to serve as a method for
general swarm behavior generation. LLMs have already demonstrated the ability to solve a wide range
of tasks in robotics already. This work explores whether LLMs can bridge the gap between individual
robot actions and overall swarm behavior on the global level by generating robot controllers for swarm
missions. This could have the potential to further enable natural language interaction with swarms as
well as one-shot generation of valid controllers without the need for dedicated optimization.
In the scope of this thesis, a dataset of natural language descriptions and robot controllers is created.
Using AutoMoDe-Maple, controllers for the mission types Aggregation, Foraging, Distribution, and Con-
nection are obtained. In several experiments, a 7B LLM is fine-tuned and the LLM-generated controllers
are compared against the AutoMoDe baseline. Factors such as dataset size, the impact of natural versus
formalized language prompts, reinforcement learning, and transferability to unseen scenarios are investi-
gated.
The results indicate that, while the fine-tuned LLM can replicate state-of-the-art controllers in individual
cases and show promising generalization capabilities by generating viable controllers for mission types not
encountered during training, their average performance does not reach that of AutoMoDe. It shows large
variability regarding quality. These findings suggest, that LLMs hold potential as a general model for
swarm behavior and are viable for controller generation from natural language, but further research with
larger models and more diverse training datasets is necessary for more decisive and optimal results.</dcterms:abstract>
    <dc:contributor>Jandeleit, Julian</dc:contributor>
    <dspace:isPartOfCollection rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/43615"/>
    <dc:creator>Jandeleit, Julian</dc:creator>
    <dcterms:available rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-01-13T06:55:02Z</dcterms:available>
    <void:sparqlEndpoint rdf:resource="http://localhost/fuseki/dspace/sparql"/>
    <dspace:isPartOfCollection rdf:resource="https://kops.uni-konstanz.de/server/rdf/resource/123456789/36"/>
    <foaf:homepage rdf:resource="http://localhost:8080/"/>
    <dcterms:title>Training LLMs to translate Mission Descriptions in Natural Language into Controller for Robot Swarms</dcterms:title>
  </rdf:Description>
</rdf:RDF>
kops.date.yearDegreeGranted2025
kops.description.openAccessopenaccessgreen
kops.flag.knbibliographytrue
kops.identifier.nbnurn:nbn:de:bsz:352-2-1axmrx5v3w8c77
kops.location.thesisKonstanz
kops.relation.grantingInstitutionUniversität Konstanz
relation.isAuthorOfPublication93a55f26-ab0b-489c-965c-95af7db13d07
relation.isAuthorOfPublication.latestForDiscovery93a55f26-ab0b-489c-965c-95af7db13d07

Dateien

Originalbündel

Gerade angezeigt 1 - 1 von 1
Vorschaubild nicht verfügbar
Name:
Jandeleit_2-1axmrx5v3w8c77.pdf
Größe:
2.02 MB
Format:
Adobe Portable Document Format
Jandeleit_2-1axmrx5v3w8c77.pdf
Jandeleit_2-1axmrx5v3w8c77.pdfGröße: 2.02 MBDownloads: 138

Lizenzbündel

Gerade angezeigt 1 - 1 von 1
Vorschaubild nicht verfügbar
Name:
license.txt
Größe:
3.96 KB
Format:
Item-specific license agreed upon to submission
Beschreibung:
license.txt
license.txtGröße: 3.96 KBDownloads: 0