Scenario
A large hospital is planning to introduce an AI-based Clinical Decision Support System (CDSS) to assist healthcare professionals in diagnosing patients and make informed clinical decisions. The system is intended to support the hospital by analyzing patient information, identifying potential health risks, providing recommendations regarding possible diagnoses or treatments, generate alerts and make use of medical knowledge. The CDSS is designed to complement the expertise of healthcare professionals, rather than to replace them as whole. In simple terms, it is a system that is designed to act as a digital assistant. System description The CDSS make use of AI, including machine learning tools to analyze sources of patient information, think of: • Electronic Health Records (medical histories etc.) • Lab results (blood tests) • Clinical observations (information entered by professionals during examination) Based on the available information, the system can generate reports and assessments on a patients condition. These assessments can include things such as: • Predictions regarding potential health risks • Recommendations for additional diagnostic • Rejecting certain treatments Nevertheless, the system also should provide basic functionality, such as providing medical information whenever asked. Additionally, advanced functionalities such as creating summaries of reports and even aiding in documentation are also expected of the system. See it as an all-in-one system. Your task You are hired by the hospital to specify requirements for the new AI-based CDSS system, and that these should be focused on truth, trust, authenticity and demonstrability.
Veracity requirement types conceptual model
Select a requirement type to see its details. Every square is clickable, except for the 'Data' square.
Scroll sideways to see the full diagram.
Type 2: Integrity requirement
Content
Requirements specifying to ensure that data is not corrupted or improperly modified.
Motivation
To understand what the system will do to ensure its integrity when an adversary has malicious intent or when an entity makes unwanted changes.
Examples
- ’the navigation map data stored by the system shall remain unchanged unless a modification has been pushed by a map update process’ (autonomous delivery robot)
- ’the system shall prevent unwanted modification of data stored within the system’ (general)
Considerations
Integrity should not be constricted to file write prevention only. Modifications during e.g. transmissions or transactions should be considered as well.
Type 3: Provenance requirement
Content
Requirements specifying the origin, history and context of data.
Motivation
This allows the system or its users to establish where data originated from.
Examples
- ’the system shall record the source from which each externally acquired data originated’ (general)
Considerations
It may be useful to determine how much provenance information is necessary. Recording too little may prevent the establishment of where the data came from/how it was obtained.
Type 4: Sovereignty requirement
Content
Requirements specifying the ownership of data. Ownership in terms of who has control over the data. This can include on who is allowed to decide:
- where the data should be stored
- who may access the data
- whether certain data may be shared or not
Motivation
To make sure that the data is handled according to the actor that has control rights over it.
Examples
- ’the user shall retain ownership of all data generated and stored by the system’ (general)
Considerations
Requirements should not be concerned with full ownership only, partial ownerships exist too.
Type 5: Objectivity requirement
Content
Requirement specifying conditions to make sure that input data is free from (subjective) bias / weakly supported claims.
Motivation
Data containing bias are subjective to producing unfair, discriminatory or unreliable outputs.
Examples
- ’the system shall avoid scraping data from news sources that push polarized opinions’ (LLM)
Considerations
Bias does not necessarily equal to being invalid. One should consider when bias should be acceptable/how it is represented.
Type 6: Regulatory compliance requirement
Content
Requirements specifying compliance with applicable regulations, standards, and other regional, local, or international laws.
Motivation
To comply with laws and/or standards in order to avoid unnecessary delays, lawsuits and legal fees.
Examples
- ’the system shall adhere to the EU Artifical Intelligence Act (EU AI Act)’ (autonomous delivery robot)
- ’the system shall automatically reject job applications from people who lack the legally required professional qualification’ (recruitment system)
- ’the system shall avoid operations that violates the ISO9001:2015 standard’ (general)
Considerations
Important to know is that there are many laws and acts that could have affect on your designed system depending on its intended purpose.
Type 7: Cultural veracity requirement
Content
Requirements specifying the extent to which a system preserves and supports trust within a social and cultural context by ensuring that its information/representations/practices align with cultural values of relevant stakeholders. This includes trust for associated brands.
Motivation
Maintain stakeholder trust by making sure the system respects cultural values.
Examples
- ’the systems interaction behaviour shall be judged socially appropriate by representative users originating from the deployment environment’ (autonomous delivery robot)
- ’the system shall maintain information related to the provenance and cultural authorities in the associated digital records’ (general)
- ‘the system shall ensure that only products with a valid and approved organic certification can display the official certification logo in the system’ (agriculture)
Considerations
Different cultures have different norms. There is no one fits all rule.
Type 8: Transparency requirement
Content
Requirements specifying the disclosure of information, intention or behaviours to stakeholders.
Motivation
Promotes trust for the system by allowing stakeholders to see how the system behaves.
Examples
- ’the system shall visibly communicate its intended movement direction to pedestrians’ (autonomous delivery robot)
- ’the system shall disclose the chain-of-thought reasoning of a new LLM model to its users’ (LLM)
Considerations
Transparency should not imply that every minuscule detail should be disclosed. Consider what is relevant for stakeholders.
Type 9: Explainability requirement
Content
Requirements specifying the extent to which a functionality/operation/output can be explained to a target group.
Motivation
Enabling relevant stakeholders to understand how something came to be, especially when the decision-making process of a system may not be immediately clear.
Examples
- ’the system shall provide applicants with a comprehensible explanation of the factors contributing to a rejected loan application’ (financial system)
- ’the system shall explain the reason for rejecting an uploaded file’ (general)
Considerations
Explanation differs depending on the target group. Explaining to more specialized groups should contain more technical jargon, whereas explaining to non-specialized groups should be more simplified.
Type 10: Traceability requirement
Content
Requirements specifying the ability to track a data input or process throughout its different stages.
Motivation
Allow stakeholders to reconstruct how a data/process reached its current state.
Examples
- ’the safety-relevant navigation decisions per delivery shall be reconstructible’ (autonomous delivery robot)
- ’the system shall log all truck stops made during the transportation process’ (supply chain system)
Considerations
Traceability merely shows what happened and in what sequence, it does not guarantee that the recorded data is factual.
Type 11: Privacy regulatory requirement
Content
Requirements specifying the protection and appropriate handling of sensitive information (e.g. collecting, using, storing and sharing).
Motivation
To ensure that the system complies with the law and to protect the individual privacy of users.
Examples
- ’Location information associated to customers shall no longer be retained longer than the applicable retention period after an order is marked as complete’ (autonomous delivery robot)
- ’the system shall process personal data in accordance with the European GDPR’ (general)
Considerations
Users should always be in a position to give or withhold consent when their private data is stored/collected.
Type 12: Identity requirement
Content
Requirements specifying whether an agent, user, system, device or source genuinely is or who it claims to be.
Motivation
To avoid interactions with unverified entities.
Examples
- ’the system shall crosscheck the unique ID of another in-service robot with an existing ID database before establishing a trusted connection’ (autonomous delivery robot)
- ’the system shall enforce Two-Factor Authentication (2FA) on all login attempts’ (general)
Considerations
Are there any people who should have no access to the system? Identity solely establishes who or what an entity is, it does not consider what the entity is permitted to do.
Type 13: Authorization requirement
Content
Requirements specifying whether an action, instruction, access, or use is genuinely permitted by the appropriate authority.
Motivation
To ensure that entities only the actions for which they have the permission to.
Examples
- ’remote alteration of the robot’s delivery route shall only be available to operators with a minimum clearance level of 3’ (autonomous delivery robot)
- ’the system shall allow financial transactions above a defined threshold only after approval from the financial fraud team’ (financial system)
Considerations
Each organizational department require different types of permission.
Type 14: Accuracy requirement
Content
Requirements specifying how closely a reported, observed, measured or produced value corresponds to the actual phenomenon it presents.
Motivation
To ensure that values and representations produced or used by the system corresponds to its intended purpose.
Examples
- ’the system shall correctly interpret the numerical value displayed on the speed limit sign within a tolerance of ±1’ (autonomous delivery robot)
- ’the robots estimated position shall be within 10 centimeters of its verified physical location’ (autonomous delivery robot)
Considerations
Avoid vague descriptions such as ’accurate’.
Type 15: Currency requirement
Content
Requirements specifying how up-to-date information must be and whether it remains valid at the time it is used or presented.
Motivation
To prevent outdated information being treated as current.
Examples
- ’the system shall use traffic information that has been updated within 20 minutes for optimal route calculation’ (autonomous delivery robot)
- ’the system shall refresh the exchange rate information each hour’ (financial system)
Considerations
Currency requirements should be implemented in contexts that are time sensitive. Also consider these requirements in dynamic environments.
Type 16: Completeness requirement
Content
Requirements specifying what information/data must be present to provide an adequate representation or interpretation and to prevent material information from being omitted.
Motivation
To ensure that all necessary information is present when required.
Examples
- ’the system shall not treat an order as sufficiently specified unless all mandatory destination and delivery condition data is available’ (autonomous delivery robot)
Considerations
Information sufficient for one task may be insufficient for another task.
Type 17: Consistency requirement
Content
Requirements specifying conditions intended to ensure that related data, claims, observations or records are mutually compatible and free from contradiction.
Motivation
To prevent conflicting representations from undermining system output.
Examples
- ’the system shall identify conflicting obstacle-location observations from multiple sensors’ (autonomous delivery robot)
- ’the system shall prevent a record from simultaneously containing exclusive status values’ (general)
Considerations
Consistency does not imply accuracy.
Type 18: Credibility requirement
Content
Requirements specifying for determining whether a source or information provider can be regarded as trustworthy and dependable for intended purpose.
Motivation
To have less reliance on information from sources that are not deemed to be of quality.
Examples
- ’the system shall extract financial market data only from a Bloomberg Terminal’ (financial system)
Considerations
Credibility is contextual, a trustworthy source in one domain may not be credible for another purpose.
Type 19: Inference requirement
Content
Requirements specifying whether conclusions, predictions, recommendations or derived claims are adequately justified by available information and assumptions.
Motivation
Ensuring that system outputs are not presented as justified when the supporting base is seen as insufficient.
Examples
- ’the system shall provide sufficient supporting observations for a generated financial fraud prediction’ (financial system)
Considerations
Consider the threshold on what is seen as sufficient material.
Type 20: Fidelity requirement example
Content
Requirements specifying the preservation of meaning and relevant characteristics when data/information is transformed or represented differently.
Motivation
To ensure that transformations do not materially distort the intended purpose of the information.
Examples
- ’the system shall preserve the key characteristics of a customer complaint when transforming it into a case record’ (HR system)
Considerations
Relevant characteristic are different for each type of document. One key characteristic for one document does not translate to being a key characteristic for another.
Type 21: Uncertainty requirement
Content
Requirements specifying how confidence, ambiguity or limitations associated with an output must be represented/communicated.
Motivation
To prevent stakeholders from interpreting uncertain information as more definite than it actually is.
Examples
- ’the system shall display that it can make faulty and inaccurate predictions’ (LMM)
Considerations
Some phenomena are inherently uncertain from nature.
Template shell