Abstract
[Context and Motivation] Large language models can derive conceptual models from textual requirements, offering an off-the-shelf alternative to traditional rule-based and machine-learning-based methods. [Question/Problem] Comparative evidence on the validity and completeness of different large and smaller language models for the domain model derivation task remains limited. [Principal ideas/Results] We compare GPT-o1, Llama3-8B, and Qwen-14B with the rule-based Visual Narrator using nine datasets containing user stories and corresponding domain models. Each language model was prompted with structured templates and evaluated on class and association extraction through precision, recall, and F-scores. GPT-o1 outperformed the smaller language models and matched or exceeded Visual Narrator in most tasks. Small language models produced competitive but less consistent results, revealing efficiency–accuracy trade-offs. [Contribution] We provide a systematic comparison of large language models, small language models, and rule-based modeling approaches and offer an updated evaluation framework to guide future research on the balance between scale, performance, and interpretability of the automated techniques for domain model extraction.
| Original language | English |
|---|---|
| Title of host publication | International Working Conference on Requirements Engineering |
| Subtitle of host publication | Foundation for Software Quality |
| Editors | R. Guizzardi, J. Araújo |
| Publisher | Springer |
| Pages | 336-351 |
| Number of pages | 16 |
| ISBN (Electronic) | 978-3-032-21423-2 |
| ISBN (Print) | 978-3-032-21422-5 |
| DOIs | |
| Publication status | Published - Mar 2026 |
Bibliographical note
Publisher Copyright:© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.
Keywords
- Narratolarge language models
- Visual Narrator
- domain modeling
- ser stories
- small language models
Fingerprint
Dive into the research topics of 'A Comparative Study of Large and Small Language Models for Domain Model Extraction'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver