Skip to main content
Guidance

Machine learning principles

These principles help developers, engineers, decision makers and risk owners make informed decisions about the design, development, deployment and operation of their machine learning (ML) systems.

Page 6 of 22

1.4 Analyse vulnerabilities against inherent ML threats



For example, for a query-based chat assistant model, allowing unconstrained user inputs could enable a prompt injection attack, letting an attacker gain unintended access to system instructions or private data. A more secure approach would be to restrict or filter user inputs and limit the model's ability to access sensitive data.

It's good practice to review decisions throughout the development process, with a formal security review before a model or system is released into production. The use of (automated) tools can make this process easier and more effective.


Note: It's likely that testing standards will emerge as the field matures, so it's helpful to keep up with the latest advice from government’s AI Standards Hub, an initiative dedicated to the evolving field of standardisation for AI technologies.

Published

Reviewed

Version

2.0