arXiv:2611.03631cs.SENov 2026

Manuscript Offprint

arXiv:2611.03631

Supporting Viewpoint Coordination for Compliance by Design with an Artifact Model for Regulatory Requirements Engineering

Oleksandr Kosenkov, Davide Fucci, Michael Unterkalmsteiner, Daniel Mendez

Abstract

Regulatory compliance has become an essential software requirement. Legal demands for compliance by design (CbD) call for requirements engineering (RE) approaches that derive requirements and support compliance implementation in subsequent software engineering (SE) processes such as software design.

The complexity of the legal knowledge demanded in regulatory RE makes it important to involve legal experts and ensure the relevant specifications are valid and usable for them. Regulatory requirements must support compliance implementation in software design. However, there is a lack of approaches bridging legal and SE viewpoints, and interaction challenges between the two persist.

To address engineering-legal coordination in specification of regulatory requirements, we propose the Artifact Model for Regulatory Requirements Engineering (AM4RRE), operationalized through templates. AM4RRE was positively evaluated by most of the 37 practitioners for coordination in regulatory RE and for supporting requirements quality. Results from a quasi-experiment with 34 of them in 10 groups indicated that template-guided coordination was associated with, on average, shorter total specification time when executed first and higher requirements quality in most groups in which it varied.

Existing RE research and practice provide little attention and support for viewpoint coordination in regulatory RE for CbD. Artifact-oriented approaches such as AM4RRE have the potential to guide coordination in RE for better RE results and contribute to concretizing the role and contribution of RE to CbD.

Keywords: empirical software engineering, requirements engineering, regulatory requirements, software compliance, compliance by design, compliance engineering

1 Introduction

In recent years, countries worldwide have enacted multiple sophisticated regulations affecting software engineering (SE) [17, 42] across domains. Consequently, regulatory compliance has emerged as a cross-cutting software quality requirement that demands legally verifiable conformance. Recently introduced compliance by design (CbD) obligations demand integrating regulatory requirements into software design rather than addressing them as an afterthought. To address the challenge of systematically accounting for regulations and supporting compliance implementation in SE, regulatory requirements engineering (RE) approaches must both derive requirements from regulations and support their implementation throughout software engineering processes [18, 24]. In practice, awareness and adoption of regulatory RE approaches remain limited [27, 33]. We argue this is because two conditions tied to core RE challenges are overlooked.

First, processing the legal knowledge required to implement compliance, along with SE expertise [32, 37], is more complex than other types of domain knowledge addressed in RE. Legal knowledge and specifications are required in RE and downstream processes to demonstrate compliance [8, 50] and in legal disputes [6]. Applying legal knowledge involves specific legal roles, processes, and goals that together form a distinct viewpoint. For example, legal interpretation concretizes abstract regulatory norms into case-specific demands and supports compliance demonstrability through regulation-to-implementation traceability, which differs from the traceability typically required in SE [8, 33]. Even when legal experts are available, the semantic gap between engineering and legal professionals [4, 48] makes it difficult to explicate, specify, and reuse legal knowledge [30] or to achieve shared understanding. Still, existing RE approaches provide limited support for either enabling engineers with basic legal knowledge to complete legal specifications [39] or meaningfully involving legal experts.

The second overlooked practical condition is the role of regulatory RE in supporting downstream compliance implementation by coordinating interdependent legal and SE viewpoints [5, 6, 19]. Regulatory requirements are often a “natural afterthought” because determining regulations’ applicability and selecting implementation options [14] depend on existing SE specifications [20]. Engineering-legal decision-making must therefore address how regulations impact non-regulatory requirements [38] and system design [33], while balancing legal constraints, business objectives, and technical feasibility [30, 39]. CbD obligations emphasize such coordination to keep interpretations and implementation aligned. Although engineering-legal interaction already occurs in practice, it remains largely unstructured [27], complicated by semantic gaps, differences in methods [22], and ways of working [30]. Practitioners, therefore, would benefit from approaches that support systematic specification and coordination of legal and SE viewpoints in regulatory RE for CbD. Existing research offers little practical support for this.

To address this gap, we propose the Artifact Model for Regulatory Requirements Engineering (AM4RRE¹), which supports regulatory RE for CbD by guiding specification and coordination activities of legal, managerial, RE, and software architecture

¹AM4RRE is pronounced like amphora—an ancient ceramic container for water or wine with two large handles. Some amphorae were so large and heavy that two people had to carry them collaboratively.

viewpoints, and by guiding the specification of regulatory requirements grounded in these viewpoints. Our proposed approach follows artifact orientation, which guides RE activities through a blueprint of artifacts and their dependencies rather than through prescribed activities. AM4RRE makes two primary contributions to the existing state of regulatory RE research and practice, which are:

  • it offers a systematic way to capture and make explicit specific knowledge, processes, goals, and context of the roles involved in regulatory RE through viewpoint modeling. In particular, the legal viewpoint model incorporates legal concepts used in legal interpretation to help legal experts complete the legal specifications required in regulatory RE. This is intended to facilitate their involvement and make the resulting specifications useful, rather than detached from legal practice.

  • it supports engineering-legal coordination by making relationships between viewpoint concerns explicit and enabling these concerns to be reflected in resulting regulatory requirements specifications. In particular, it supports the inclusion of information about regulatory demands directly relevant to software design and the specification of new or affected software design components.

The evaluation of AM4RRE presented in this study focuses on these two contributions—usefulness for completing SE and legal viewpoint specifications, and support for guiding coordination between viewpoints. For the evaluation, we tailored the AM4RRE artifact model to the General Data Protection Regulation (GDPR) and the Cyber Resilience Act (CRA), both of which require CbD, and we operationalized it through a series of templates. We evaluated AM4RRE using subjective feature analysis with screening [25] with 40 practitioners (3 of whom withdrew) and a quasi-experiment [54] with 34 of these practitioners in 10 groups.

Practitioners found the coordination driven by AM4RRE templates to be aligned with regulatory RE practices and positively perceived the usefulness of AM4RRE to support the quality of regulatory requirements, coordination in regulatory RE, compliance implementation in software design, and achievement of viewpoint-specific goals. The quasi-experiment results support the feature analysis by indicating an association between using AM4RRE-based templates and, compared with free-form coordination, shorter average total requirements-specification time when guided specification was executed first, higher completeness in all groups in which completeness varied, higher consistency in eight out of ten groups, and higher correctness in nine out of ten groups.

Our results further suggest that RE can help address the well-known domain knowledge challenge in SE and, on that basis, contributes to coordinating domain experts and SE roles in downstream SE processes such as software design. This contributes to further understanding of both the domain knowledge and the intermediating role of RE between the software application domain and SE processes.

The paper is structured as follows. Sections 2 and 3 introduce background and related work. Section 4 presents AM4RRE and the regulatory requirements templates. Section 5 describes our methodology, and Sections 6 and 7 report and discuss our key results. Section 8 discusses the main threats to validity and how we mitigate them, before outlining conclusions and future work in Section 9.

References (47)