PreprintCited by 4Modular Robots and Swarm IntelligenceDistributed Control Multi-Agent SystemsRobotics and Automated Systems

LLM2Swarm: Robot Swarms that Responsively Reason, Plan, and Collaborate through LLMs

Open access
Strobel, Volker, Dorigo, Marco, Fritz, Mario·2024·arXiv

Abstract

Robot swarms are composed of many simple robots that communicate and collaborate to fulfill complex tasks. Robot controllers usually need to be specified by experts on a case-by-case basis via programming code. This process is time-consuming, prone to errors, and unable to take into account all situations that may be encountered during deployment. On the other hand, recent Large Language Models (LLMs) have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge. Hence, we propose to address the aforementioned challenges by integrating LLMs with robot swarms and show the potential in proofs of concept (showcases). For this integration, we explore two approaches. The first approach is 'indirect integration,' where LLMs are used to synthesize and validate the robot controllers. This approach may reduce development time and human error before deployment. Moreover, during deployment, it could be used for on-the-fly creation of new robot behaviors. The second approach is 'direct integration,' where each robot locally executes a separate LLM instance during deployment for robot-robot collaboration and human-swarm interaction. These local LLM instances enable each robot to reason, plan, and collaborate using natural language, as demonstrated in our showcases where the robots are able to detect a variety of anomalies, without prior information about the nature of these anomalies. To enable further research on our mainly conceptual contribution, we release the software and videos for our LLM2Swarm system: https://github.com/Pold87/LLM2Swarm.

AI snapshot

Written from the paper’s full text.

TL;DR

LLM2Swarm proposes integrating LLMs into robot swarms via indirect integration (LLM-synthesized/validated controllers) and direct integration (one local LLM per robot for reasoning, planning, and natural-language collaboration). It demonstrates proof-of-concept showcases in ARGoS and preliminary Raspberry Pi 5 tests, but remains mainly conceptual with no systematic performance evaluation.

Key findings

  • The paper introduces two integration approaches: indirect integration for controller synthesis/validation before or during deployment, and direct integration where each robot locally executes a separate LLM instance for robot-robot collaboration and human-swarm interaction.
  • In the controller synthesis showcase, the LLM synthesized a correct aggregate-then-disperse controller from a random-walk and a targeted-navigation example, with robots aggregating in the arena center and dispersing after 150 timesteps, despite the ARGoS-Python interface lacking an API description.
  • In the anomaly detection showcase, the same prompt enabled robots to detect no anomalies, self diagnosis (disabled wheels detected via constant x,y coordinates), peer diagnosis (a faulty robot sensing only weeds), and environmental diagnosis (an injured person), without prior information about the nature of the anomalies.
  • In the human-swarm interaction showcase, an Inform prompt produced a concise summary of swarm activities, while an Instruct command translated natural language into executable robot commands and moved robots to a specified target; a preliminary hardware test ran TinyLlama via Ollama on a Raspberry Pi 5 at 10–12 tokens per second.

Methods

  • Conceptual/system-design paper with proofs of concept, proposing LLM2Swarm’s indirect and direct integration modules and releasing software and videos.
  • Simulation setup: Pi-puck robots in ARGoS version 3.0.0-beta56 on Ubuntu 22.04.4 LTS, Intel Core i7-8550U @ 1.80 GHz, 16 GB RAM, Intel UHD Graphics 620; ARGoS-Python interface v1.0.0; each simulated robot connected to GPT-4o.
  • Showcases cover controller synthesis, robot-robot collaboration for anomaly detection across four sub-showcases, and human-swarm interaction via Inform and Instruct prompts; a preliminary hardware test executed TinyLlama via Ollama on a Raspberry Pi 5.

Limitations

  • Stated: the contribution is mainly conceptual, and future research is needed to systematically evaluate performance metrics; current LLM video analysis capabilities are limited, with a preliminary test incorrectly concluding random-walk behavior was successful flocking.
  • Stated: simulations cannot account for all real-world scenarios; there is no guarantee the swarm will behave as intended due to the probabilistic nature of LLM responses; direct integration currently simulates local execution by connecting each robot to a separate external LLM; hardware limitations, scalability, partitioning, and controllability remain open challenges.
  • Evident from the text: the showcases are illustrative and lack quantitative metrics such as anomaly detection accuracy, token counts, or response times beyond the TinyLlama Raspberry Pi 5 test; the hardware test uses only TinyLlama on a Raspberry Pi 5, not the full LLM2Swarm system on real robots.

Model-written summary. Check it against the paper before relying on it.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2410.11387

Cites

47 of 47 references verified0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

Claims the paper makes

0 of 20 cited sources checked · 0 supported · 0 flagged

  • Findingown data

    In a preliminary test, executing TinyLlama via Ollama on a Raspberry Pi 5 with example prompts from the showcase yielded generation speeds between 10 and 12 tokens per second.

    “Executing example prompts from our showcase in Subsection 6.2, we obtained generation speeds between 10 and 12 tokens per second, indicating promising performance for robot-to-robot-collaboration and human-swarm interaction.”
    Quote in the paperSubstantial claim
  • Findingown data

    In showcases, robots are able to detect a variety of anomalies without prior information about the nature of these anomalies.

    “as demonstrated in our showcases where the robots are able to detect a variety of anomalies, without prior information about the nature of these anomalies.”
    Quote in the paperSubstantial claim
  • Findingown data

    In the self-diagnosis sub-showcase, after all robots' wheels were disabled, the robots detected their constant x,y coordinates.

    “The robots detect their constant x, ycoordinates and correctly suggest that there is an issue with movement or sensor readings.”
    Quote in the paperNot a substantial claim
  • Findingown data

    In the peer-diagnosis sub-showcase, the other robots suggested further investigations.

    “The other robots detect this fault by comparing sensor readings and suggest further investigations.”
    Quote in the paperNot a substantial claim
  • Findingown data

    In the self-diagnosis sub-showcase, the robots correctly suggested that there was an issue with movement or sensor readings.

    “The robots detect their constant x, ycoordinates and correctly suggest that there is an issue with movement or sensor readings.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim. 12
  • May combine two claims. 8
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    LLM2Swarm enables preliminary security checking through an LLM prompt with the request of identifying malicious parts and other weaknesses in a synthesized controller.

    “LLM2Swarm enables preliminary security checking through an LLM prompt with the request of identifying malicious parts and other weaknesses in a synthesized controller.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: Recent LLMs have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge.
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data

    In the Inform showcase, a selected robot generates a concise summary of the swarm's current activities and intermediate results.

    “When the human uses the Inform prompt, the selected robot provides a human-readable concise version of all interactions.”
    • Also stated in: § 7 Conclusions · plain
      “In the Inform showcase (left), a selected robot generates a concise summary of the swarm's current activities and intermediate results.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data

    In the environmental-diagnosis sub-showcase, the robots asked for immediate human help.

    “The robots recognize this anomaly and ask for immediate human help.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    In the Instruct showcase, the robots move to the specified target extracted from the human operator's natural language input.

    “In the Instruct showcase (right), the robots move to the specified target that they extracted from the natural language input provided by the human operator.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given

    The indirect integration approach may reduce development time and human error before deployment.

    “This approach may reduce development time and human error before deployment.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: Recent LLMs have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge.
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationreasoning

    The potential exponential increase in token requirements could be reduced by restricting the robots' communication radius, in order to limit the number of messages exchanged with nearby robots.

    “The potential exponential increase in token requirements could be reduced by restricting the robots' communication radius, in order to limit the number of messages exchanged with nearby robots.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Premisecitation

    Existing attempts to automate controller synthesis usually still require expert knowledge at design time and the controllers cannot react to unforeseen events at deployment time.

    “Even though there are attempts to automate this process [15; 17; 40; 39; 14], these attempts usually still require expert knowledge at design time and the controllers cannot react to unforeseen events at deployment time.”
    Quote in the paperSubstantial claim0 of 5 sources checked
    • cites [15]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [17]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [40]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [39]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [14]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • May combine two claims.

    Premisecitation

    Prior LLM multi-robot works have limitations including low number of robots/agents, lack of decentralization, no consideration of mobile robots with physics-based dynamics, no consideration of typical swarm robotics tasks, or no consideration of hardware limitations; therefore, their applicability to swarm robotics is limited.

    “These research efforts, however, have one or more of the following limitations: a low number of robots/agents, lack of decentralization, no consideration of mobile robots with physics-based dynamics, no consideration of typical swarm robotics tasks, or no consideration of hardware limitations; therefore, their applicability to swarm robotics is limited.”
    Quote in the paperSubstantial claim0 of 3 sources checked
    • cites [5]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [32]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [44]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • Probably not a substantial claim: may not pass S4 (based).

    Premisenone given

    The higher the number of robots, the higher the number of potential inter-robot interactions.

    “The higher the number of robots, the higher the number of potential inter-robot interactions.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Interpretationnone given

    During deployment, indirect integration could be used for on-the-fly creation of new robot behaviors.

    “Moreover, during deployment, it could be used for on-the-fly creation of new robot behaviors.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: Recent LLMs have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge.
  • May combine two claims.

    Interpretationreasoning

    LLM2Swarm enables robots to collaborate using natural language, enabling more sophisticated interactions among robots and between robots and humans than classical controllers.

    “Finally, LLM2Swarm enables robots to collaborate using natural language, enabling more sophisticated interactions among robots and between robots and humans than classical controllers.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: Recent LLMs have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge.
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Interpretationreasoning

    Local execution ensures that data remains local, thereby protecting privacy in compliance with regulations like the GDPR.

    “Additionally, this ensures that data remains local, thereby protecting privacy in compliance with regulations like the GDPR.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationown data

    LLM2Swarm has the potential to facilitate the design of robot swarms, in particular because no programming knowledge is required.

    “This demonstrates LLM2Swarm's potential to facilitate the design of robot swarms-in particular as no programming knowledge is required.”
    Quote in the paperSubstantial claim
    • Rests on an assumption: The ARGoS-Python interface is not widely used and does not feature any API description.
  • Probably not a substantial claim: may not pass S4 (based). May combine two claims.

    Interpretationnone given

    During deployment, verification of controller logic is usually not possible, and simulations cannot account for all possible real-world scenarios.

    “During deployment, however, such verification is usually not possible-in addition, simulations cannot account for all possible real-world scenarios.”
    Quote in the paperNot a substantial claim
    • Rests on an assumption: There is not always a clear ground truth for validating whether generated code performs the intended task.
    • Rests on an assumption: Simulations cannot account for all possible real-world scenarios.
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Increasing the autonomy of robot swarms-that is, reducing the reliance on external control or infrastructure-is a main goal of swarm robotics research.

    “Increasing the autonomy of robot swarms-that is, reducing the reliance on external control or infrastructure-is a main goal of swarm robotics research [10; 3].”
    Quote in the paperNot a substantial claim0 of 2 sources checked
    • cites [10]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

    • cites [3]

      Couldn’t be matched to a paper in Crossref, so it can’t be checked.

  • Classified as probably not a substantial claim.

    Interpretationreasoning

    When enhancing robot swarms with LLMs, there is no guarantee that the swarm will behave as intended, due to the probabilistic nature of LLM responses.

    “When enhancing robot swarms with LLMs, there is no guarantee that the swarm will behave as intended, due to the probabilistic nature of LLM responses.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationown data

    Integrating LLMs into robot swarms enables natural language communication both among robots and with human operators.

    “Integrating LLMs into robot swarms enables natural language communication both among robots and with human operators.”
    Quote in the paperSubstantial claim
  • May combine two claims.

    Interpretationreasoning

    External infrastructure might not always be accessible during deployment and could result in communication bottlenecks.

    “as external infrastructure might not always be accessible during deployment (e.g., in underwater operations, underground mining, or space exploration) and could result in communication bottlenecks.”
    Quote in the paperSubstantial claim
18 of 18
  • The paper relies on this without support.

    The process of writing robot controller code is often time-consuming and prone to errors.

    “The process of writing such code is often time-consuming and prone to errors.”
  • The paper relies on this without support.

    Recent LLMs have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge.

    “On the other hand, recent Large Language Models (LLMs) have demonstrated reasoning and planning capabilities, introduced new ways to interact with and program machines, and incorporate both domain-specific and commonsense knowledge.”
  • The paper relies on this without support.

    There is not always a clear ground truth for validating whether generated code performs the intended task.

    “Validating whether the generated code performs the intended task as expected is crucial but challenging, as there is not always a clear ground truth.”
  • The paper relies on this without support.

    Simulations cannot account for all possible real-world scenarios.

    “During deployment, however, such verification is usually not possible-in addition, simulations cannot account for all possible real-world scenarios.”
  • The paper relies on this without support.

    The ARGoS-Python interface is not widely used and does not feature any API description.

    “even though the ARGoS-Python interface is not a widely-used interface and does not feature any API description”
5 of 5

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

Each contradiction between two passages listed here was confirmed by an independent check.

  • Guo et al. citation points to a different author

    Minor

    The text cites Guo et al. as reference [19], but reference 19 is by Garzón Ramos and Birattari. The Guo et al. entry is numbered 21.

  • Zhang et al. citation points to a different author

    Minor

    The text cites Zhang et al. as reference [44], but reference 44 is by Vemprala et al. The Zhang et al. entry is numbered 47.

2 of 2

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Strobel, V., Dorigo, M., & Fritz, M.
Affiliations
  • Université Libre de Bruxelles (BE)
  • Helmholtz Center for Information Security (DE)
Venue
arXiv
Publisher
arXiv
Published
2024
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4403576716
Cited by
4
References
45
Citations by year
2025: 4
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • Dépôt institutionnel de l'Université libre de Bruxelles (Université Libre de Bruxelles) (submittedVersion, other-oa)
  • arXiv (Cornell University) (cc-by)
Funders
  • European Commission (101070617)
  • Bundesministerium für Bildung und Forschung (16KIS2012)
  • Fonds De La Recherche Scientifique - FNRS
Topics
  • Physical Sciences › Engineering › Mechanical Engineering › Modular Robots and Swarm Intelligence
  • Physical Sciences › Computer Science › Computer Networks and Communications › Distributed Control Multi-Agent Systems
  • Physical Sciences › Engineering › Control and Systems Engineering › Robotics and Automated Systems
Keywords
swarm robotics, large language models, robot controller, controller synthesis, human-swarm interaction, anomaly detection, natural language programming

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-10.

Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-10.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review