[Paper Review] Opening the Software Engineering Toolbox for the Assessment of Trustworthy AI
This paper proposes integrating established software engineering practices—particularly testing, requirements analysis, and automated monitoring—into the assessment of trustworthy AI. By mapping the European AI HLEG’s seven key trustworthiness requirements to existing software engineering techniques, the authors demonstrate that the software engineering toolbox offers a mature, scalable, and adaptable foundation for evaluating AI systems’ trustworthiness in a systematic, repeatable, and stakeholder-accessible manner.
Trustworthiness is a central requirement for the acceptance and success of human-centered artificial intelligence (AI). To deem an AI system as trustworthy, it is crucial to assess its behaviour and characteristics against a gold standard of Trustworthy AI, consisting of guidelines, requirements, or only expectations. While AI systems are highly complex, their implementations are still based on software. The software engineering community has a long-established toolbox for the assessment of software systems, especially in the context of software testing. In this paper, we argue for the application of software engineering and testing practices for the assessment of trustworthy AI. We make the connection between the seven key requirements as defined by the European Commission's AI high-level expert group and established procedures from software engineering and raise questions for future work.
Motivation & Objective
- To address the growing need for systematic, repeatable, and transparent assessment of AI trustworthiness in real-world applications.
- To identify gaps between current software engineering practices and the unique challenges posed by modern AI systems, especially in fairness, accountability, and interpretability.
- To propose a framework for integrating software engineering methods—such as requirements analysis, automated testing, and monitoring—into the lifecycle of trustworthy AI development.
- To enable stakeholders, including non-experts, to assess and understand AI trustworthiness through standardized, quantifiable evaluation metrics and badges.
Proposed method
- Mapping the seven key trustworthiness requirements from the EU AI HLEG guidelines to corresponding software engineering practices, such as requirements engineering, code reviews, and test case design.
- Applying automated testing techniques to evaluate technical robustness, including adversarial input resilience and model behavior under edge cases.
- Using checklists and formalized acceptance criteria to operationalize abstract trustworthiness principles like fairness and accountability into testable conditions.
- Integrating continuous monitoring during development via code and data reviews, retrospective meetings, and instrumented logging to track trustworthiness metrics.
- Proposing a scoring or badge system to summarize trustworthiness assessment results, enabling comparability and transparency for diverse stakeholders.
- Leveraging blockchain technology as a potential mechanism to support data ownership, auditability, and accountability in AI systems.
Experimental results
Research questions
- RQ1Can established software engineering techniques be effectively adapted to assess the trustworthiness of AI systems as defined by the EU AI HLEG?
- RQ2To what extent can automated testing and monitoring tools be used to evaluate non-functional AI properties such as fairness, robustness, and accountability?
- RQ3What adjustments are needed in current software engineering tooling to address the unique characteristics of modern AI, such as black-box models and data-driven behavior?
- RQ4How can trustworthiness assessment results be made accessible and interpretable for non-technical stakeholders, including end-users and regulators?
- RQ5What role can standardized scoring or certification mechanisms (e.g., badges) play in enabling cross-system comparison and trust in AI?
Key findings
- The software engineering toolbox—especially testing, requirements analysis, and monitoring—provides a mature and reusable foundation for assessing trustworthy AI.
- Many trustworthiness requirements, such as technical robustness and fairness, can be evaluated through automated test cases and adversarial input generation.
- Formalizing trustworthiness criteria into checklists and testable acceptance criteria enhances reproducibility and reduces ambiguity in assessment.
- Continuous monitoring via code and data reviews, along with retrospective evaluations, supports ongoing awareness and improvement of trustworthiness during development.
- A standardized scoring or badge system could improve transparency and comparability of trustworthiness assessments across different AI systems and stakeholders.
- Blockchain-based systems show potential for enabling data ownership and accountability, particularly in scenarios involving personal data and consent management.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.