Metraipolis › archive › dc_d660859d51a8

Towards Automated Domain Model Extraction from Source Code using Heuristics and Open-Source LLMs — arXiv:2608.12228

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.12228
License (as archived)
CC0-1.0
Archived
2026-10-19T05:42:49.617Z
SHA-256 of the archived text
d8aa452f1240eb9f1548ccde1beabf3d4bbe25725295bb92c3a68bb0be30286f
Stable URL of this page
https://metraipolis.com/documento/dc_d660859d51a8

How to cite

Towards Automated Domain Model Extraction from Source Code using Heuristics and Open-Source LLMs — arXiv:2608.12228 — arXiv (en), https://arxiv.org/abs/2608.12228 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d660859d51a8 (Metraipolis archive dc_d660859d51a8, sha256 d8aa452f1240eb9f1548ccde1beabf3d4bbe25725295bb92c3a68bb0be30286f)
BibTeX
@misc{dcd660859d51a8,
  title = {Towards Automated Domain Model Extraction from Source Code using Heuristics and Open-Source LLMs — arXiv:2608.12228},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.12228},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d660859d51a8; sha256 d8aa452f1240eb9f1548ccde1beabf3d4bbe25725295bb92c3a68bb0be30286f},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.12228. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models (LLMs) have recently shown strong capabilities for code understanding, making them promising for reverse engineering domain models from source code. However, state-ofthe- art proprietary LLMs cannot be used in many industrial contexts due to privacy and confidentiality constraints, while compact open-source LLMs that can run locally are limited by their context window and cannot process large code bases directly. In this paper, we propose an automated approach to extract domain models from source code using lightweight, locally deployable LLMs. Our method combines structural and semantic heuristics with iterative LLM-based reasoning to overcome context limitations. By progressively analyzing ranked subsets of code elements, the approach identifies domain concepts and refines domain boundaries without requiring full-system context. Our approach achieves high F1-scores on a dataset of ten projects, each comprising a curated domain model and its corresponding implementation, while remaining fully executable on locally deployable LLMs. This makes it particularly suitable for reverse engineering tasks in privacy-sensitive industrial environments.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-13 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.12228 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T05:31:21.761Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-13?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).