Introduction
Introduction
An Overview of the Delphi Method
An Overview of the Delphi Method
The Delphi method is a structured communication technique originally designed as a forecasting technique, that relies on a panel of experts. It was developed by the RAND Corporation in the 1950s and 1960s. The method involves multiple rounds of questionnaires or writing prompts sent to a panel of experts. The anonymised responses are aggregated and shared with the group after each round. The experts are encouraged to revise their earlier answers in light of the replies of other members of the panel. With some luck, the answers will converge to consensus over the course of several rounds. The method is widely used for forecasting and decision-making in business and education.
Illustration of one round of the Delphi process:
Out[]=
What does it look like in practice?
What does it look like in practice?
Here’s a step-by-step breakdown of the Delphi method.
1
.After gathering volunteers, the facilitator distributes a questionnaire or initial prompt to the participants.
2
.The participants fill out the questionnaire/or prepare their contribution to the first round of the process, and turn in their work to the facilitator.
3
.The facilitator anonymises and summarises the perspectives of the participants, making sure to represent each in a balanced and nonjudgmental way, highlighting areas of agreement and disagreement between them. The facilitator then produces and shares this information in a report to participants, initiating the next round of the process.
4
.The process begins again: participants respond to the report by refilling the questionnaire/writing a new contribution taking account of the contents of the report, clarifying ambiguities and addressing disagreements.
5
.Once a predefined stopping criterion is fulfilled (e.g. the desired number of rounds has been reached, or there is global consensus) the facilitator produces a final report which either becomes or is used to produce the proceedings of the Delphi process.
Animation representing a three-round Delphi process:
Out[]=
Why simulate a Delphi process with LLMS?
Why simulate a Delphi process with LLMS?
Studying LLM Capabilities
Studying LLM Capabilities
LLMs provide a unique laboratory for studying artificial intelligence capabilities in structured dialogue. We can systematically evaluate how well these models maintain consistent expertise and viewpoints across multiple rounds of interaction - a key test of their ability to maintain coherent personas. The controlled environment allows us to study how AI systems incorporate new information while maintaining logical reasoning threads, and observe how they handle disagreements and work toward consensus. Perhaps most importantly, what would take weeks or months with human experts can be simulated in minutes, enabling rapid experimentation with different approaches and parameters.
Benefits for Studying Structured Communication
Benefits for Studying Structured Communication
The digital nature and speed of LLM interactions offers unprecedented opportunities to study structured communication processes. Every exchange can be logged and analyzed computationally, revealing patterns in how consensus emerges and how different viewpoints influence each other. Researchers can precisely control and vary process parameters. This reproducibility and scalability simply isn't possible with traditional human-based studies, making LLM simulations a powerful tool for understanding and possibly improving structured communication protocols.
Limitations and Considerations
Limitations and Considerations
While promising, this approach comes with important limitations that must be considered. LLMs lack the deep, embodied experience of human experts - their expertise is ultimately derived from training data rather than years of lived experience. Since all participants in a simulation draw from the same underlying model, there's a risk of artificial consensus that doesn't reflect the true diversity of expert opinions. Additionally, LLMs don't have professional reputations or real-world consequences to consider when making judgments, potentially limiting the relevance of their decisions. Findings should be interpreted with appropriate awareness of these constraints.
Motivation for using Wolfram Language
Motivation for using Wolfram Language
A few advantages of using Wolfram Language to implement an LLM Delphi process simulation are:
◼
The LLM connectivity functions in Wolfram Language are of exceptionally high quality. They are versatile and very well-documented.
◼
There are many great LLM-related functions like , , , , , .
◼
Being able to connect LLMs to the full Wolfram Language standard library of functions and symbols, the wolfram resource system, and wolfram knowledgebase.
LLM Delphi Process Implementation
LLM Delphi Process Implementation
Case Study: Establishing and Maintaining a Community Garden
Case Study: Establishing and Maintaining a Community Garden
The case study setting
The case study setting
This case study simulates a Delphi process focused on developing a comprehensive plan for establishing and maintaining a community garden.
The simulation employs 4 LLM “expert” participants, each represented by their role and emoji identifier:
1
.Horticulturist (🌱👩🌾) - Plant selection and care specialist
2
.Landscape Architect (🌳👨🎨) - Design and spatial planning expert
3
.Community Organizer (🌍👫) - Community engagement and program coordination
4
.Environmental Scientist (🔬👩🔬) - Environmental impact and sustainability advisor
Plus a Facilitator (🕵️) who guides the process, summarizes findings, and produces reports.
Participant system prompts
Participant system prompts
The LLM expert participants are given the following shared instructions:
Shared participant system prompt:
Out[]=
In addition to these shared instructions, each participant gets their own persona prompt which describes the general , and some of the beliefs they should defend. For example:
Participant persona prompt example: The Horticulturist
Out[]=
Participant beliefs are generated automatically using an LLM using the prompt:
Out[]=
The resulting text is then converted into a list of first person statements using the prompt:
Out[]=
where stands for the conflicting opinions list generated at the last step.
`1`
The participants are then assigned three randomly sampled perspectives. The sampling is set up such that no two personas will share identical beliefs.
Here is the dataset of the participant perspectives used in this case-study:
In[]:=
participantParameterDataset[KeyDrop["Persona Prompt"],<|#,"Prior Perspectives"->Column[#"Prior Perspectives"]|>&]
Out[]=
When designing AI personas to represent different viewpoints in a multi-party dialogue, it’s important to carefully consider how to generate and manage disagreement while maintaining ethical safeguards. The approach used in this implementation is safe for several key reasons:
1
.The domain is constrained to community gardening, a relatively non-controversial topic
2
.The perspective generation is focused on practical rather than ideological disagreements
3
.The shared participant prompt emphasizes constructive collaboration
4
.The facilitator role helps moderate and guide discussion toward consensus
5
.The system is designed to surface and resolve differences through reasoned dialogue
6
.The participant system prompt is completely transparent about the artificial nature of these perspectives. There’s no deception - the beliefs are explicitly described as aspects of a role the agent is playing.
7
.While the AI personas may adopt different perspectives, they are still bound by the underlying model’s learned safety constraints. The base reinforcement learning training acts as a fundamental safety rail that prevents egregiously harmful outputs, regardless of the assigned persona.
The experimental justification for assigning the participant AI agents heterogenous perspectives is to ensure that the participants will disagree on some issues, and to echo real-world group negotiation processes. LLMs tend to be very inoffensive by design and will rarely diverge from mainstream social, political, or cultural norms. When we don’t explicitly enforce heterogeneity of agent opinions, they tend to converge to unanimous agreement very quickly, obstructing meaningful study of group decision-making and consensus-building processes.
At the start of each round, the participants are sent instructions from the facilitator in the following form:
Each participant then responds to this prompt.
The facilitator system prompt
The facilitator system prompt
The facilitator has the task of coordinating and directing the Delphi process. Unlike the expert participants who are given specific personas and perspectives, the facilitator is instructed to remain neutral and focus on process management. The facilitator is instructed using the following system prompt:
At each round, when the participants have completed their contributions, the facilitator is sent the latest list of contributions in the following template:
The report the facilitator produces in response is sent out to the participants at the start of the next round. For the final round, the facilitator uses its latest report to produce a final report concluding the Delphi process.
The Delphi process
The Delphi process
The core simulation can be executed with just three key components:
3
.The number of rounds to perform.
Here’s the code that runs the complete process:
The result looks like this:
The simulation results can be retrieved as plain text or speech bubbles. For more detail on this functionality, see the Fetching participant contributions/facilitator reports from completed simulations subsection of the LLM Delphi Process Implementation section of this article.
To make a speech bubble of the nth round response from a participant, we might write:
Likewise, to make a speech bubble for the nth round report, we might say:
Case-study full exchange transcript
Case-study full exchange transcript
Visualise the full sequence of exchanges between agents in the case-study Delphi process simulation:
Qualitatively speaking, how did the LLM participants and facilitator do?
Qualitatively speaking, how did the LLM participants and facilitator do?
I’m personally quite pleased with the results here. Using Anthropic’s Claude 3.5 Sonnet, the results feel remarkably natural and productive. Several aspects stand out:
◼
The facilitator maintained neutrality while effectively summarizing key points, successfully identified areas of agreement and conflict, kept discussions focused and constructive, and succeeded at in anonymising contributions while preserving their marrow.
◼
The participants showed consistent role adherence while remaining flexible enough to engage with others’ ideas. They successfully balanced advocacy for their positions with willingness to find common ground, and brought forward new solutions and questions as discussions evolved. They also defended their distinct perspectives without becoming aggressive or rude.
The simulation demonstrated that LLMs can effectively maintain consistent personas while engaging in meaningful negotiation and consensus-building. The quality of discourse suggests that this approach could be valuable for studying group decision-making processes and testing different facilitation strategies.
What Next?
What Next?
This case study suggests the potential of using LLMs to study structured communication protocols. Wolfram proved to be an ideal environment for this work thanks to its powerful LLM functions, flexible syntax, and rich visualization capabilities.
Future work could explore several promising directions:
◼
Quantitative analysis of semantic convergence in LLM-based Delphi processes
◼
Comparison of different LLM models in maintaining consistency across multiple rounds
◼
Application to other structured communication protocols beyond the Delphi method
◼
Development of tools for real-time monitoring and intervention in LLM-based group discussions
The code and methodology presented here provide a foundation for researchers interested in using LLMs to study group decision-making and consensus-building processes.
CITE THIS NOTEBOOK
CITE THIS NOTEBOOK
DelphAI: Structured communication with LLMs in a simulated Delphi process
by Phileas Dazeley-Gaist
Wolfram Community, STAFF PICKS, February 14, 2025
https://community.wolfram.com/groups/-/m/t/3393596
by Phileas Dazeley-Gaist
Wolfram Community, STAFF PICKS, February 14, 2025
https://community.wolfram.com/groups/-/m/t/3393596