# Discovering the Relation Between Architectural Models and Reference Architectures

DevFeed: [Discovering the Relation Between Architectural Models and Reference Architectures](<https://devfeed.tech/articles/discovering-the-relation-between-architectural-models-and-reference-architectures-131692.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.14606>)

Author: Thi Dinh Tran, Maria Teresa Rossi, Ludovico Iovino, Leonardo Mariani

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [architecture-components](<https://devfeed.tech/topics/architecture-components.md>), [AI Integration Strategies](<https://devfeed.tech/topics/ai-integration-strategies.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [compliance](<https://devfeed.tech/tags/compliance.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [discovery](<https://devfeed.tech/tags/discovery.md>), [domain](<https://devfeed.tech/tags/domain.md>), [driving](<https://devfeed.tech/tags/driving.md>), [iot](<https://devfeed.tech/tags/iot.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mapping](<https://devfeed.tech/tags/mapping.md>), [model](<https://devfeed.tech/tags/model.md>), [model-comparison](<https://devfeed.tech/tags/model-comparison.md>), [models](<https://devfeed.tech/tags/models.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [quality-attributes](<https://devfeed.tech/tags/quality-attributes.md>), [reference](<https://devfeed.tech/tags/reference.md>), [software](<https://devfeed.tech/tags/software.md>), [structured](<https://devfeed.tech/tags/structured.md>)

## AI overview

General-purpose model-comparison algorithms proved inaccurate for mapping software architecture components to reference architectures. The proposed Reference Architecture Mapping Discovery (RAMD) workflow combines model analysis and structured prompting, then iteratively checks results for reference-architecture compliance. Evaluated on 64 open-source models across IoT, self-driving, and smart parking reference architectures, RAMD achieved 85.8% mapping accuracy with domain knowledge and GPT-4o, outperforming the strongest baseline by 44.6 percentage points while maintaining structural consistency.

## Source excerpt

arXiv:2611.14606v1 Announce Type: new Abstract: Assessing whether concrete software architectures are consistent with their reference architecture (RA) is essential to ensure that architectural decisions scale coherently across projects, preserving the quality attributes the RA was designed to guarantee. In the absence of dedicated techniques, mapping the components of an architectural model onto a predefined RA can be addressed only with general-purpose model-comparison algorithms. Our experiments show that these algorithms are inaccurate when applied to RAs. To address this gap, we propose Reference Architecture Mapping Discovery (RAMD), an LLM-based workflow that combines model analysis with structured prompting, and refines results through an iterative RA compliance-checking mechanism. We evaluate RAMD on 64 open-source architectural models spanning three RAs from the IoT, self-driving, and smart parking domains. With domain knowledge and GPT-4o, RAMD reaches 85.8% mapping accuracy and outperforms the strongest baseline by 44.6 percentage points, while ensuring structural consistency with the RA.