Skip to main content

Improving AI systems

Evaluation tells you where an AI system fails. The next step is to choose an improvement that addresses the cause of the failure without creating unacceptable trade-offs elsewhere.

Choose an improvement route

Start with the evaluated failure and identify its likely cause. Choose the least complex of the improvement routes that can address the failure reliably. After making the change, evaluate the complete AI system again to confirm that the route was suitable and identify any new trade-offs.

RouteUse when
Model and system designThe failure can be addressed without training the model or adding a separate runtime detector
GuardrailsThe system must detect and respond to identifiable conditions at runtime
FinetuningA persistent behaviour or task-performance gap remains after simpler changes
Key message

Choose improvements based on evaluated failure modes. Do not apply them blindly just because they are available: every improvement introduces trade-offs.

Specific tactics within each route

RouteTacticUse whenExamples
Model and system designUX and policy designUsers need clearer expectations, warnings, consent, or escalation pathsImprove the user journey, add warnings or consent flows
Retrieval constraintsRetrieved context may be irrelevant, stale, sensitive, or unauthorisedConstrain retrieved sources, filter document access
GuardrailsInput guardrailsRisky requests should be blocked, warned, rewritten, or escalated before model executionDetect personal data, block prompt injection
Output guardrailsGenerated responses may contain unsafe, private, irrelevant, or unsupported contentRoute high-risk outputs for review
Tool-use controlsA system can take actions or access systems beyond text generationRestrict API calls or system access
FinetuningA persistent behaviour or task-performance gap remains after simpler changesImprove domain terminology, output format or task-specific behaviour
Ongoing practiceHuman reviewErrors are high-impact or hard to classify automaticallyEscalate uncertain cases for review
Monitoring and loggingRisks must be detected after launch and fed back into evalsAdd cases to evaluation datasets, track incidents

Improve across the four principles

These improvement routes apply across all Responsible AI principles. Choose principle-specific mitigations based on your evaluation findings:

  1. Safety improvements — avoid harmful, prohibited, or adversarial behaviour
  2. Robustness improvements — stay consistent, grounded, and usable with real input
  3. Fairness improvements — treat affected groups consistently
  4. Privacy improvements — avoid leaking PII or sensitive data

These routes are not mutually exclusive. A single failure may require several improvements at different points in the system.

For example, an internal question-answering application that exposes personal data could:

  • restrict which documents each user can retrieve;
  • apply a PII guardrail to generated responses;
  • require human review for high-impact disclosures; and
  • add leakage cases to its evaluation and monitoring datasets.

Was this page helpful?