Large Language Models for Agent-Based Modelling: Current and possible uses across the modelling cycle
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "Large Language Models for Agent-Based Modelling".
Jane: Here's the gist of the paper. The gist: This study reflects on the opportunities and challenges of Large Language Models (LLMs) in Agent-Based Modelling (ABM) by following the modelling cycle from problem formulation to documentation and communication of model results, holding a critical stance.
Tom: Conceptual Background Agent-based Modelling (ABM) provides a bottom-up framework for simulating complex social phenomena through the behaviors and interactions of individual agents in a given environment Social simulation is a methodology for investigating complex social phenomena through the construction and analysis of artificial societies A common approach used within social simulation is Agent-based Modelling (ABM), which involves modelling individual entities (agents) that represent social actors such as individuals, groups, or organizations ABM usually emphasizes bottom-up dynamics whereby macro-level patterns emerge from micro-level interactions of heterogeneous agents ABM is a multi-phase process involving abstracting from the world / phenomenon to the target system, understanding this system, abstracting concepts, modeling relationships, and creating simulation outputs A generic ABM cycle is presented in Figure 1 Each phase consists of several iterative steps and sub-steps This iterative process applies to the main phases (refinement through multiple cycles) and also within each phase by continuous improvement in feedback loops Large Language Models (LLMs) are advanced neural networks pre-trained on vast textual datasets and used to process and generate human-like language They typically fall into two categories: generative models (e.g., GPT) and non-generative models (e.g., BERT) Generative models predict the next token in a sequence, enabling them to produce coherent, contextually appropriate text In contrast, non-generative models are commonly used for quantifying text into mathematical vectors These vectors have the property of being geometrically close when the original texts from which they are derived are semantically close, making them well-suited for tasks like classification and retrieval of similar information Although both capture deep linguistic patterns, only generative LLMs are designed for open-ended text generation and dialogue There are several main usage areas for LLMs
48: , including natural language understanding (LLMs exhibit strong generalization capabilities), text and code generation (LLMs can produce coherent, contextually appropriate, and high-quality text and code, supporting applications such as content creation, programming assistance, and automated writing), knowledge-intensive tasks (LLMs can encode extensive and possibly implicit domain-specific knowledge, enabling them to perform tasks that require broad world knowledge or specialized expertise), translations and transcriptions, and reasoning and problem solving (LLMs can support complex tasks through pattern-based inference, analogical reasoning, and step-by-step problem decomposition) The use of LLMs has been associated with several ethical concerns
23: , including bias and fairness, privacy and data security, misinformation and disinformation, transparency and accountability, intellectual property and plagiarism, access and inequality How it works The study addresses two research questions: 1.
Jane: Where and how are LLMs used in the ABM cycle?
Paper summary: Tom: So we're looking at this paper titled "Large Language Models for Agent-Based Modelling: Current and possible uses across the modelling cycle." Basically, the authors are pointing out that there's no clear structure for how to use Large Language Models with Agent-Based Modelling. They want to explore where these two things actually fit in the whole process of building an ABM model <ref:2507.05723#pg2>.
Jane: That's right, and their main point is that they're going to follow the entire modelling cycle—from how you start a problem all the way to documenting and communicating your results—to see where LLMs can actually help at each stage <ref:2507.05723#pg3>.
Lu: They claim that by using the structure of the ABM cycle instead of just following whatever structure an existing paper uses, they can look at all the phases and consider how different LLM abilities, like summarizing or reasoning, might apply to each one <ref:2507.05723#pg3>.
Meng: So what's actually interesting is that they identify that most of the current use in ABM papers focuses on implementation, specifically using agents powered by LLMs for things like reasoning or decision-making <ref:2507.05723#pg2>.
Lalam: They also found one study where LLMs were used to generate narrative explanations to communicate what agents are thinking about key life events in a model <ref:2507.05723#pg1>.
Tom: So the thesis is that we need a structured approach because right now, the potential of LLMs across the whole cycle just isn't being fully leveraged <ref:2507.05723#pg1>.
Jane: It really matters because it shows that we can't just throw an LLM into an ABM project and expect magic; you have to consider how it fits in every single step of building the simulation <ref:2507.05723#pg3>.
Conclusion: Tom: Looking at "Large Language Models for Agent-Based Modelling: Current and possible uses across the modelling cycle," it seems like the core message is that LLMs are a powerful tool, but we need to be deliberate about how we use them in the modeling process <ref:2507.05723#pg1>.
Jane: The authors are suggesting that by systematically looking at each phase of the ABM cycle, you can figure out exactly where an LLM’s strengths—like generating text or performing reasoning—will give you the most help <ref:2507.05723#pg3>.
Lu: They are essentially arguing that we need to move past just seeing one application and look at the whole pipeline, from formulating the problem to communicating what we found <ref:2507.05723#pg1>.
Meng: For someone trying to actually build something, it implies that you don't just need an agent with a smart brain; you need a plan for how that brain interacts with the rest of your simulation structure <ref:2507.05723#pg3>.
Lalam: It suggests that the real utility isn't just in the agents themselves, but in using LLMs to help handle those messy parts like literature reviews or translating stakeholder notes into model rules <ref:2507.05723#pg1>.
Tom: So, the implication is that if we want to get more useful agent-based models out there, we need to stop treating LLMs as a tacked-on feature and start integrating them into the entire modeling workflow <ref:2507.05723#pg1>.
Loíis Vanhພ, Melania Borit, Peer-Olaf Siebers, Roger Cremades, Christopher Frantz, Önder G왁an, Ɠantiş Kalvas, Denisa Reshef Kera, Vivek Nallur, Kavin Narasimhan, Martin Neumann
Umeä Universitet of Umeä, Sweden · UiT The Arctic University of Norway, Troms · University of Nottingham, UK · University of Leeds, UK · Norwegian University of Science and Technology, Gjøvik, Norway · NORCE Norwegian Research Center AS, Kristiansand
cs.MA, cs.AI, cs.CY, cs.SE
Submitted: 2025-07-08
Updated: 2025-07-08
Comments: 18 pages, including 2 pages of appendix, accepted for publication at the Social Simulation Conference 2025 (https://ssc2025.tbm.tudelft.nl/)
License: http://creativecommons.org/licenses/by/4.0/
The gist: The gist: This study reflects on the opportunities and challenges of Large Language Models (LLMs) in Agent-Based Modelling (ABM) by following the modelling cycle from problem formulation to
Key concepts
- Agent-Based Modelling (ABM)
- ABM is a bottom-up simulation method that studies complex social phenomena by modeling individual 'agents'—like people or organizations—and observing how their micro-level interactions create macro-level patterns in an environment.
- Generative vs. Non-Generative Models
- LLMs are divided into generative models, which create new, coherent text (like GPT), and non-generative models, which convert text into mathematical vectors. Vectors allow computers to measure how similar different pieces of text are semantically.
- Modelling Cycle
- This refers to the complete process of ABM: starting with problem formulation, moving through system analysis and conceptualization, creating the model, and finally documenting and communicating the results. LLMs can potentially assist in every step of this cycle.
Terminology
Summary
The gist: This study reflects on the opportunities and challenges of Large Language Models (LLMs) in Agent-Based Modelling (ABM) by following the modelling cycle from problem formulation to documentation and communication of model results, holding a critical stance.
Conceptual Background
Agent-based Modelling (ABM) provides a bottom-up framework for simulating complex social phenomena through the behaviors and interactions of individual agents in a given environment Social simulation is a methodology for investigating complex social phenomena through the construction and analysis of artificial societies A common approach used within social simulation is Agent-based Modelling (ABM), which involves modelling individual entities (agents) that represent social actors such as individuals, groups, or organizations ABM usually emphasizes bottom-up dynamics whereby macro-level patterns emerge from micro-level interactions of heterogeneous agents ABM is a multi-phase process involving abstracting from the world / phenomenon to the target system, understanding this system, abstracting concepts, modeling relationships, and creating simulation outputs A generic ABM cycle is presented in Figure 1 Each phase consists of several iterative steps and sub-steps This iterative process applies to the main phases (refinement through multiple cycles) and also within each phase by continuous improvement in feedback loops
Large Language Models (LLMs) are advanced neural networks pre-trained on vast textual datasets and used to process and generate human-like language They typically fall into two categories: generative models (e.g., GPT) and non-generative models (e.g., BERT) Generative models predict the next token in a sequence, enabling them to produce coherent, contextually appropriate text In contrast, non-generative models are commonly used for quantifying text into mathematical vectors These vectors have the property of being geometrically close when the original texts from which they are derived are semantically close, making them well-suited for tasks like classification and retrieval of similar information Although both capture deep linguistic patterns, only generative LLMs are designed for open-ended text generation and dialogue There are several main usage areas for LLMs [48], including natural language understanding (LLMs exhibit strong generalization capabilities), text and code generation (LLMs can produce coherent, contextually appropriate, and high-quality text and code, supporting applications such as content creation, programming assistance, and automated writing), knowledge-intensive tasks (LLMs can encode extensive and possibly implicit domain-specific knowledge, enabling them to perform tasks that require broad world knowledge or specialized expertise), translations and transcriptions, and reasoning and problem solving (LLMs can support complex tasks through pattern-based inference, analogical reasoning, and step-by-step problem decomposition) The use of LLMs has been associated with several ethical concerns [23], including bias and fairness, privacy and data security, misinformation and disinformation, transparency and accountability, intellectual property and plagiarism, access and inequality
How it works
The study addresses two research questions: 1. Where and how are LLMs used in the ABM cycle? 2. Where and how could LLMs be used in the ABM cycle The authors followed the modelling cycle, from problem formulation to documentation and communication of model results, and held a critical stance They identified that almost 80% of the papers (n=17) are published in computer science, three in engineering [28] [22] [50], and one in each mathematics [12] and social sciences [16] The most common use (n=20, 91%) involves implementation, particularly focusing on agents powered by LLMs for reasoning, deliberation /decision-making, or communication Code generation (in NetLogo) is the main focus in one study [31] Interpretation of model results is the main focus in one study using LLMs to generate narrative explanations that communicate agents’ perspectives on key life events [30] As such, it can be concluded that the inherent potential of LLMs has not yet been fully leveraged throughout the ABM cycle
Problem Formulation
LLMs can assist in problem formulation by helping with several tasks:
-
conducting literature reviews by summarizing research findings across disciplines
-
supporting communication with stakeholders through natural language dialogues to gather goals and constraints
-
generating and evaluating hypothetical scenarios to help refine problem definitions, objectives, and research questions for the simulation
-
translate text (e.g., literature, stakeholders input) into the working language of the modeler
Potential pitfalls include overreliance on LLM-generated content, which may introduce biases from the training data (e.g., implicitly attributing certain characteristics depending on the gender or ethnicity of the agent), hallucinate facts, reduce the breadth of possible models and research activities to pre-established norms To mitigate this, modelers should critically evaluate LLM outputs, combine them with expert knowledge, and validate findings through consultation with stakeholders and domain experts
System Analysis
LLMs can assist in system analysis by helping with several tasks:
-
extracting mechanisms (parsing large volumes of domain-specific literature to identify relevant theories and summarize relevant processes, feedback loops, mechanisms, and causal relationships) and generating candidate system structures, including agent typologies, interaction rules, and environmental features (based on descriptive text, such as field notes or stakeholder inputs)
-
conceptual mapping (generating or supporting the development of influence diagrams or interaction schematics based on textual descriptions)
-
hypothesis generation (proposing plausible agent rules or system mechanisms, including alternative explanations for observed behaviors or empirical patterns)
-
cross-domain integration (facilitating connections between theoretical frameworks or empirical findings from different disciplines to enrich system representations)
-
providing contextual argumentation (based on previous models or on primary data, by offering narratives explaining agent behaviors in given scenarios or by imitating the view points of various stakeholders)
Risks include misinterpreting or oversimplifying complex dynamics when relying on LLMs, as they might suggest mechanisms that sound plausible but lack empirical support or misrepresent causal directionality To mitigate this, LLM outputs should be treated as provisional aids, not definitive sources
Conceptualization
LLMs can assist in conceptualization by helping with several tasks:
-
agent and environment specification (translating textual system descriptions into structured outlines of agents, their goals, decision-making processes, and the properties of the environment they inhabit)
-
rule formulation (suggesting candidate behavioral rules for agent actions based on theoretical inputs, empirical cases, or stakeholder narratives)
-
model articulation (helping to draft readable and structured descriptions of the model using established templates such as inherent in the ODD protocol [19])
Improvements for AI systems
-
Agent Reasoning Integration: Integrate LLMs as cognitive components within agents to simulate natural language reasoning, narrative behavior, or adaptive decision-making in complex or poorly defined environments. This allows agents to perform tasks beyond traditional rule-based logic by reasoning based on received messages via an LLM component.
-
Problem Formulation Enhancement: Use LLMs to conduct literature reviews by summarizing research findings across disciplines and generate and evaluate hypothetical scenarios to help refine problem definitions, objectives, and research questions for the simulation. This assists modelers who are
not sufficiently acquainted with disciplinary terminology
in synthesizing large bodies of knowledge. -
System Analysis Augmentation: Employ LLMs to extract mechanisms by parsing large volumes of domain-specific literature to identify relevant theories and summarize relevant processes, feedback loops, mechanisms, and causal relationships. This helps generate candidate system structures, including agent typologies and interaction rules based on descriptive text like field notes or stakeholder inputs.
-
Conceptualization Support: Utilize LLMs for agent and environment specification by translating textual system descriptions into structured outlines of agents, their goals, decision-making processes, and the properties of the environment they inhabit. This includes suggesting candidate behavioral rules for agent actions based on theoretical inputs or empirical cases.
-
Implementation Acceleration: Leverage LLM code generation to translate structured model descriptions into executable code in platforms like NetLogo or Repast at speeds
orders of magnitude greater than achievable through human efforts.
This significantly reduces iteration times and increases the number of iterations during model development. -
Verification Support: Use LLMs for trace interpretation by analyzing simulation logs or stepwise outputs to detect anomalies or deviations from expected behavior, generating stories based on rules executed by agents that are afterwards checked for meaningfulness by the modeller.
-
Validation Assistance: Employ LLMs for narrative validation by generating or analyzing scenario-based narratives that describe plausible sequences of agent behavior and comparing these with stakeholder accounts or case studies. This assists in
expert emulation
to evaluate whether model outcomes are perceived as realistic or plausible. -
Interpretation and Communication: Utilize LLMs for pattern discovery by identifying trends, clusters, or tipping points in outputs and for narrative synthesis by generating structured or story-based explanations of model behavior over time. This aids in stakeholder-tailored reporting by adapting result summaries to different audiences.
-
Documentation Automation: Employ LLMs for automated report generation by summarizing model structure, parameters, and outputs in clear language from code bases or ODD descriptions. This facilitates creating audience adapted documentation, such as executive summaries or policy briefs, while maintaining
transparency and reproducibility.
Abstract
The emergence of Large Language Models (LLMs) with increasingly sophisticated natural language understanding and generative capabilities has sparked interest in the Agent-based Modelling (ABM) community. With their ability to summarize, generate, analyze, categorize, transcribe and translate text, answer questions, propose explanations, sustain dialogue, extract information from unstructured text, and perform logical reasoning and problem-solving tasks, LLMs have a good potential to contribute to the modelling process. After reviewing the current use of LLMs in ABM, this study reflects on the opportunities and challenges of the potential use of LLMs in ABM. It does so by following the modelling cycle, from problem formulation to documentation and communication of model results, and holding a critical stance.
Sources
- Navigating LLM Ethics: Advancements, Challenges, and Future Directions
- Do Large Language Models Solve the Problems of Agent-Based Modeling? A Critical Review of Generative Social Simulations
- Large Language Models: A Survey
- Exploring the Potential of Conversational AI Support for Agent-Based Social Simulation Model Design
Related papers
- Highway Congestion Reduction through Reinforcement Learning Based Eulerian Headway Control
- Auditable and Deployable Multi-Agent Motion Planning via Posetal Games from Legal Guidelines
- ORACLE-SWE: Quantifying the Contribution of Critical Information Signals on SWE Agents
- You Only Align Once: Propagating Cooperative Behaviors in Multi-Agent Systems through Seed Agents
- Deny Without Disabling: Authorization-Paired Evaluation and Control for Multi-Agent Systems
- MA-SAPO: Multi-Agent Reasoning for Score-Aware Prompt Optimization