Safety Envelope Testing

Description

Safety envelope testing checks how an AI system performs at and beyond the edges of the conditions it was designed for, so that failure modes are found before deployment. Testers first write down those conditions, called the operational design domain, such as the road types, weather, lighting and speeds a vehicle is built for. They then build scenarios that push each condition towards its limit and past it, and measure how performance degrades as conditions get harder, repeating runs where the system does not behave the same way twice. The results show where, within the conditions tested, the system moves from acceptable to unsafe behaviour. They support operating limits, safety margins and a point at which the system should hand over to a person or stop.

Example Use Cases

Safety

Testing autonomous vehicle perception systems at the limits of weather conditions, lighting, and sensor coverage to establish safe operational boundaries and determine when human intervention is required.

A trading firm replays historical crash periods and synthetic shocks with volatility pushed beyond the range its trading model was developed on, to check that position limits and the automatic trading halt trigger before losses reach the agreed ceiling.

Reliability

A radiology team tests a chest X-ray triage model on scans at the edge of its intended use, such as the poorest image quality and the oldest scanner models it was approved for, and records where sensitivity falls below the agreed floor, so that scans beyond that point are referred to a radiologist.

Limitations

  • Results are only as good as the operational design domain used. If the specification omits a condition the system meets in service, such as a road type or a market regime, the tests probe the wrong edge and a clean result gives false confidence.
  • Coverage is incomplete by construction. Conditions interact across many dimensions, so the number of boundary combinations grows quickly, and failures that appear only when several factors reach their limits together can be missed.
  • Performance of a learned system need not fall smoothly towards the boundary. Failures can sit inside the envelope, so good results at the edge do not show that the interior is safe.
  • Results describe one system version in one test setting, and a single pass proves little for a system that behaves differently on successive runs, which needs repeated trials. Retraining, new sensors or a gap between simulation and the real world can move the boundary, so the tests need repeating after each material change.
  • The technique shows where the system stops performing acceptably. It does not keep the system inside that envelope in service, which needs a separate runtime monitor or out-of-distribution detector.

Resources

Research Papers

Challenges in Autonomous Vehicle Testing and Validation
Philip Koopman and Michael Wagner•Apr 5, 2016

Software testing is all too often simply a bug hunt rather than a well-considered exercise in ensuring quality. A more methodical approach than a simple cycle of system-level test-fail-patch-test will be required to deploy safe autonomous vehicles at scale. The ISO 26262 development V process sets up a framework that ties each type of testing to a corresponding design or requirement document, but presents challenges when adapted to deal with the sorts of novel testing problems that face autonomous vehicles. This paper identifies five major challenge areas in testing according to the V model for autonomous vehicles: driver out of the loop, complex requirements, non-deterministic algorithms, inductive learning algorithms, and fail-operational systems. General solution approaches that seem promising across these different challenge areas include: phased deployment using successively relaxed operational scenarios, use of a monitor/actuator pair architecture to separate the most complex autonomy functions from simpler safety functions, and fault injection as a way to perform more efficient edge case testing. While significant challenges remain in safety-certifying the type of algorithms that provide high-level autonomy themselves, it seems within reach to instead architect the system and its accompanying design process to be able to employ existing software safety approaches.

Documentations

BS ISO 34503:2023 Road vehicles. Test scenarios for automated driving systems. Specification for operational design domain

Tags

Safety Dimensions

Reliability Dimensions

Other Categories

Applicable Models:
Data Requirements:
Data Type:
Evidence Type:
Technique Type: