MLOps for Trustworthy AI
Image by NVIDIA corporation
MLOps provides a framework to implement trustworthy AI and makes trustworthy AI realisable for industry players.
Setting
Emerging regulations call for high-level ethical guidelines for Trustworthy AI (TAI). This rises the need for a framework of related technical guidelines and workflows. Machine Learning Operations (MLOps) is a framework inspired by DevOps (development and operations) and encompasses a set of methods, best practices and tools that cover all stages from project setup over deployment to continuous operation. MLOps can naturally be extended to meet the requirements of TAI.
Dimensions
The right level of autonomy for the AI application and adequate control by humans can be addressed during the MLOps stages of model engineering, deployment, monitoring and maintenance.
Fairness prevents unjust discrimination in AI use. It can be ensured by constraint enforcement and ongoing monitoring in the model engineering and monitoring stages.
Privacydemands safeguards to sensitive data. During data and model engineering approaches can be applied to meet this demand. Data minimization, reduction of attack surfaces and differential privacy shall serve as examples.
Reliability is attained when robustness can be assured for a variety of inputs and when the uncertainty of the outputs is correctly handled. During model engineering and evaluation approaches such as certified training, testing for adversarial attacks and formal verification can be used to enhance reliability. During deployment user adversarial actions must be considered and fast recovery should be possible.
Security involves safeguarding the AI application against attacks. The deployment and monitoring stages can be made secure with traditional IT security methods.
Transparency encompasses many concepts such as interpretability, Explainability and comprehensibility for different stakeholders, as well as result reproducibility and explainability. Throughout model evaluation, monitoring and maintenance, explainability methods and MLOps practices such as reproducibility and versioning promote transparency.
Reference
Yann Billeter, Philipp Denzel, Ricardo Chavarriaga, Oliver Forster, Frank-Peter Schilling, Stefan Brunner, Carmen Frischknecht-Gruber, Monika Reif, and Joanna Weng (2024). MLOps as Enabler of Trustworthy AI. ZHAW Digital Collection. Available at: Link