Resilience

Resilience is an AI system's ability to withstand unexpected events, errors or attacks, keep working or degrade safely when it cannot, and return to normal operation afterwards.

The US National Institute of Standards and Technology's AI Risk Management Framework, published in January 2023, lists "secure and resilient" among the characteristics of trustworthy AI. Adapting the ISO/IEC TS 5723:2022 standard, it describes AI systems and the settings they run in as resilient if they can withstand unexpected adverse events or unexpected changes in their environment or use, or keep their functions and structure in the face of change and degrade safely and gracefully when necessary.

NIST separates resilience from security. Resilience is the ability to return to normal function after something goes wrong; security includes resilience but also covers avoiding, protecting against, responding to and recovering from attacks. The threats NIST names for AI include adversarial examples, data poisoning and the theft of models or training data through a system's public interfaces.

The EU AI Act makes this a legal requirement for high-risk AI systems. Article 15 requires them to be as resilient as possible to errors, faults and inconsistencies, whether these arise inside the system, in its environment or from interaction with people or other systems, and allows backup and fail-safe plans to achieve this. Systems that keep learning after deployment must guard against biased outputs feeding back into future inputs, and high-risk systems must resist attempts by unauthorised third parties to change their use, outputs or performance, including data poisoning, model poisoning, adversarial examples and confidentiality attacks.

In engineering terms, resilience is a property of the whole system, not only the model. Examples include falling back to a simpler rule-based process or a human when the model fails, being able to switch to another provider if an AI service goes down, rolling back to a previous model version when an update misbehaves, and monitoring that catches problems early enough to limit the damage.

The practical test is what happens on a bad day. A customer service bot that hands over to a person when it is unsure, or a system that keeps working in a reduced mode during an outage, is resilient. One that fails silently, or confidently, is not.

Common questions

What is AI resilience?

AI resilience is the ability of an AI system to withstand unexpected events, errors and attacks, keep working or fail safely, and recover afterwards. NIST's AI Risk Management Framework treats it, together with security, as one of the characteristics of trustworthy AI.

What is the difference between resilience and reliability?

Reliability is about performing correctly and consistently under the expected conditions. Resilience is about coping when conditions are not as expected, such as faults, unusual inputs, outages or attacks, and recovering afterwards. A system can be reliable in normal use yet fragile when something goes wrong.

What does the EU AI Act say about resilience?

Article 15 requires high-risk AI systems to be as resilient as possible to errors, faults and inconsistencies, and to resist attempts by unauthorised third parties to manipulate them, including data poisoning and adversarial examples. It allows technical redundancy, such as backup or fail-safe plans, as a way to meet the requirement.

How do you make an AI system more resilient?

Plan for failure: add fallbacks to simpler processes or human staff, avoid depending on a single AI provider, keep the ability to roll back model updates, monitor performance continuously and test how the system behaves under unusual inputs and attacks. Resilience comes from the design of the whole system around the model.

Finding more

Search for "AI resilience", "NIST AI RMF secure and resilient", "EU AI Act Article 15" or "graceful degradation AI systems" to learn more. Reliable sources include NIST and international standards bodies, the text of the EU AI Act and guidance from the European Commission, and national cybersecurity agencies. Vendor claims about resilience are best checked against how a system actually behaved during past outages and incidents.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.