From Failure to Alignment: A Requirements Engineering Framework for Machine Learning Systems

Amel Bennaceur, Gopi Krishnan Rajbahadur, Prince Mercy, Bashar Nuseibeh, Faeq Alrimawi
6/30/2026
cs.SEcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Organisations designing, developing, and deploying machine learning systems (MLS) need to be able to check that these systems are trustworthy, and communicate this clearly to their stakeholders, be they different categories of users, engineers, or wider society. By focusing on stakeholders, Requirements Engineering is well positioned to drive the design and engineering of MLS that align with the needs of their stakeholders. Yet, we still need a systematic process for modelling and reasoning about requirements for MLS that is driven both by stakeholders' needs and constraints for MLS development. This paper proposes a framework entitled REAL (Requirements Engineering for mAchines that Learn - and Fail) to help develop MLS that align with stakeholders' needs by adopting a requirements engineering approach. This model-based framework is based on three principles. First, weaving together requirements for data, models, and the system as a whole. Second, using failure to drive the exploration of alternative requirements. Third, iterative and traceable refinement of MLS requirements. We demonstrate the proposed framework using an example from autonomous driving and show that REAL supports the development of MLS that better align with stakeholders' requirements. A replication package is available online.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bennaceur2026from,
  title  = {From Failure to Alignment: A Requirements Engineering Framework for Machine Learning Systems},
  author = {Amel Bennaceur and Gopi Krishnan Rajbahadur and Prince Mercy and Bashar Nuseibeh and Faeq Alrimawi},
  year   = {2026},
  eprint = {2606.31589},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.31589v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.31589.svg)](https://codeofpaper.com/paper/2606.31589)

Discussion