On the Limitations of Large Language Models for Conceptual Database Modeling

Authors

DOI:

https://doi.org/10.5753/jidm.2026.7773

Keywords:

Entity-Relationship Modeling, Large Language Models, Conceptual Modeling Errors, Prompt Engineering, Diagram Validation

Abstract

This article analyzes the use of Large Language Models (LLMs) as support for the conceptual modeling of
relational databases through the automatic generation of Entity–Relationship (ER) diagrams from natural language
requirements. The approach combines different language models with prompt engineering techniques to evaluate
their ability to identify entities, relationships, and attributes in a conceptually consistent manner. The experimental
evaluation involved three LLMs, each subjected to three prompting techniques (Zero-Shot, Chain of Thought, and
Chain of Thought + Verifier), applied to the same requirements scenario with progressively increasing complexity.
The generated diagrams were qualitatively analyzed through direct comparison with the textual requirements, con-
sidering the structural and semantic adherence of the modeled elements. The results indicate that, although LLMs
show reasonable performance in less complex scenarios, their reliability decreases as the complexity of the require-
ments increases, with a rise in inconsistencies, ambiguities, and failures in representing constraints. These findings
reinforce that, in their current state, LLMs are not sufficiently mature for reliable use in complex scenarios, and the
cost of validation may offset the apparent productivity gains.

Downloads

Download data is not yet available.

References

Bagui, S. S. and Earp, R. W. (2003). Database Design Using Entity-Relationship Diagrams. Auerbach Publications. DOI: 10.1201/9781003314455.

Bansal, P. (2024). Prompt engineering importance and applicability with generative ai. Journal of Computer and Communications, 12:14–23. DOI: 10.4236/jcc.2024.1210002.

Btoush, E. S. and Hammad, M. M. (2015). Generating er diagrams from requirement specifications based on natural language processing. International Journal of Database Theory and Application, 8(2):61–70. DOI: 10.14257/ijdta.2015.8.2.07.

Chen, P. (1976). The entity-relationship model - toward a unified view of data. ACM Transactions on Database Systems, 1(1):9–36.

Elmasri, R. and Navathe, S. B. (2011). Fundamentals of Database Systems. Addison-Wesley, 6th edition.

Houndji, V. R. and Akotenou, G. (2023). Umldesigner: An automatic uml diagram design tool. In Proceedings of the International Conference on Deep Learning Theory and Applications (DeLTA 2023), volume 1875 of Communications in Computer and Information Science, pages 309–321. Springer, Cham. DOI: 10.1007/978-3-031-39059-3_23.

Magalhães, M. and Heuser, C. A. (2010). Projeto de Banco de Dados. Editora Érica.

Menezes, J. O. K. and Campelo, C. E. C. (2025). Database modeling automation from natural language requirements. In Anais do XL Simpósio Brasileiro de Banco de Dados (SBBD), pages 658–670, Porto Alegre, RS, Brasil. SBC. DOI: 10.5753/sbbd.2025.247302.

Mishra, M., Sheikh, S., and Tonpe, T. (2024). Fine-tuning language models for enhanced diagram generation: A deep learning approach. International Journal for Research in Applied Science and Engineering Technology (IJRASET), 12(IV):2819–2822. DOI: 10.22214/ijraset.2024.60445.

Robinson, J., Ranjan, R., Hu, W., Huang, K., Han, J., Dobles, A., Fey, M., Lenssen, J. E., Yuan, Y., Zhang, Z., He, X., and Leskovec, J. (2024). Relbench: A benchmark for deep learning on relational databases. In Advances in Neural Information Processing Systems 37 (NeurIPS 2024), Datasets and Benchmarks Track, pages 21330–21341.

Sahoo, P., Singh, A. K., Saha, S., Jain, V., Mondal, S., and Chadha, A. (2024). A systematic survey of prompt engineering in large language models: Techniques and applications. ArXiv, abs/2401.10238. Department of Computer Science and Engineering, IIT Patna; Stanford University; Amazon AI.

Salem, N., Al-Tarawneh, K., Hudaib, A., Salem, H., Tareef, A., Salloum, H., and Mazzara, M. (2024). Generating database schema from requirement specification based on natural language processing and large language model. Computer Research and Modeling, 16(7):1703–1713. [https://www.researchgate.net/publication/387457163](https://www.researchgate.net/publication/387457163). DOI: 10.20537/2076-7633-2024-16-7-1703-1713.

Thuan, N., Tran, N., and Quyen, T. (2024). Generating erd and ddl scripts from vietnamese natural language text by using a multi-phase approach. In Proceedings of the International Conference on Information Systems Design and Support. DOI: 10.1007/978-981-97-9613-7_23.

Togatorop, P. R., Simanjuntak, R. P., Manurung, S. B., and Silalahi, M. C. (2021). Generating entity relationship diagram from requirement specification using natural language processing for indonesian language. In J-Icon: Jurnal Komputer dan Informatika, volume 9, pages 196–206. Institut Teknologi Del. DOI: 10.35508/jicon.v9i2.5051.

Vyramuthu, V. and Grambow, G. (2025). Towards extracting entity relationship diagrams from unstructured text using natural language processing. In DBKDA 2025: The Seventeenth International Conference on Advances in Databases, Knowledge, and Data Applications, pages 42–47, Aalen, Germany. IARIA.

Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E. H., Le, Q. V., and Zhou, D. (2022). Chain-of-thought prompting elicits reasoning in large language models. In Proceedings of the 36th Conference on Neural Information Processing Systems.

Zala, A., Lin, H., Cho, J., and Bansal, M. (2023). Diagrammergpt: Generating open-domain, open-platform diagrams via llm planning. [https://arxiv.org/abs/2310.12128](https://arxiv.org/abs/2310.12128).

Downloads

Published

2026-11-27

How to Cite

Félix, A., D. S. Nogueira, C. ., Farias, E. ., E. C. Campelo, C. ., & Menezes, J. . (2026). On the Limitations of Large Language Models for Conceptual Database Modeling. Journal of Information and Data Management, 17(1), 352–361. https://doi.org/10.5753/jidm.2026.7773

Issue

Section

SBBD 2025 Full papers - Extended papers