YuchenXia / LLMDrivenSimulation

LLM system interact with simulation models in digital twins
6 stars 3 forks source link

LLM experiments with simulation

This repository contains the accompanying demo video and code for the paper: LLM experiments with simulation: Large Language Model Multi-Agent System for Simulation Model Parametrization in Digital Twins

(Work-in-progress, a preprint manuscript draft is available on arXiv: https://arxiv.org/abs/2405.18092)

How to mix a container with different ingredients?

:woman_scientist: :man_scientist: :bar_chart: Human performs experiment:

Real Mix Demo

A demo video with higher resolution: mix_real_experiment.mov

:robot: :desktop_computer: :bar_chart: LLM agent performs simulation

Simulation Mix Demo

A demo video with higher resolution: mix_simulation.mov

The system design

The LLM interprets the simulation steps in a cyclic manner, interacting with the data and control interface in a digital environment.

The system is designed to be independent from a specific LLM, meaning that any proprietary LLM or open-source LLM can be used to power the system.

The reasoning capability is the most essential, and GPT-4 performs significantly better than GPT-3.5 and other open-source models.


system_design_1


The user provides an objective to the multi-agent system, which then experiments with the simulation to heuristically explore solutions. Finally, the LLM agent provides a summarized solution to parameterize the simulation model.


system_design_2


system_design_3


Research Paper

Source code release

The folder source_code contains the source code for reproducibility.

Follow the source_code/README.md for the source code to run the prototyp locally.

Licence: CC BY (Attribution)

The Paper

Details of this work has been documented in a paper in Proceedings of IEEE 28th International Conference on Emerging Technologies and Factory Automation (ETFA, 10th-13th September 2024, Padova, Italy) and will be published by IEEE soon.

A preprint manuscript draft is available on arXiv:

Xia, Y., Dittler, D., Jazdi, N., Chen, H., & Weyrich, M. (2024). LLM experiments with simulation: Large Language Model Multi-Agent System for Simulation Model Parametrization in Digital Twins. https://arxiv.org/abs/2405.18092

@misc{xia2024llm,
      title={LLM experiments with simulation: Large Language Model Multi-Agent System for Simulation Model Parametrization in Digital Twins}, 
      author={Yuchen Xia and Daniel Dittler and Nasser Jazdi and Haonan Chen and Michael Weyrich},
      year={2024},
      eprint={2405.18092},
      archivePrefix={arXiv},
      primaryClass={cs.AI}
}