Silva, J., Ma, Q., Cabot, J., Kelsen, P., & Proper, H. A. (2025). Application of the Tree-of-Thoughts Framework to LLM-Enabled Domain Modeling. In Conceptual Modeling (pp. 94–111). https://doi.org/10.1007/978-3-031-75872-0_6
43rd International Conference Conceptual Modeling (ER 2024)
en
Event date:
28-Oct-2024 - 31-Oct-2024
-
Event place:
Pittsburgh, United States of America (the)
-
Number of Pages:
18
-
Peer reviewed:
Yes
-
Keywords:
Domain Modeling; Large Language Models; Tree of thoughts
en
Abstract:
Domain modeling is typically an iterative process where modeling experts interact with domain experts to complete and refine the model. Recently, we have seen several attempts to assist, or even replace, the modeler with a Large Language Model (LLM). Several LLM prompting strategies have been attempted, but with limited success. In this paper, we advocate for the adoption of a Tree-of-Thoughts (ToT) strategy to overcome the limitations of current approaches based on simpler prompting strategies. With a ToT strategy, we can decompose the modeling process into several sub-steps using for each step a specialized set of generators and evaluators prompts to optimize the quality of the LLM output. As part of our adaptation, we provide a Domain-Specific Language (DSL) to facilitate the formalization of the ToT process for domain modeling. Our approach is implemented as part of an open source tool available on GitHub.