Step 19 of 38 · Physical AI
Safety cases and hazard analysis
When a model can move mass, safety is argued and evidenced before deployment, at system level, with the model treated as fallible.
A wrong answer on a screen is an error. A wrong action by a machine can injure someone. Safety cannot rest on the model being good, because you cannot prove a learned model correct.
Start with hazard analysis at system level: what can cause harm, in which conditions, through which control actions. Then design so the learned part is bounded by things you can verify: speed and force limits, protective stops, geofences, independent monitors. Write a safety case, a structured argument with evidence that the system is acceptably safe in its stated operating conditions.
Bring in safety engineers early and give them authority to stop a release. The mistake is treating safety as testing at the end.
Try this week
- Run a two-hour hazard workshop on one function: list harmful control actions and what prevents each.
- Write down your operating conditions: where, when and around whom the system is allowed to run.
Signs you've got it
- Each hazard has a mitigation that does not depend on the learned model behaving well.
- A safety engineer has stopped or changed a release, and the team accepted it.
Resources
- guideSTAMP Materials: STPA and CAST handbooks and tutorials (opens in a new tab)MIT Partnership for Systems Approaches to Safety and Security
- bookEngineering a Safer World: Systems Thinking Applied to Safety (opens in a new tab)Nancy Leveson
- paperGuidance on the Assurance of Machine Learning in Autonomous Systems (AMLAS) (opens in a new tab)Richard Hawkins and colleagues
- guideUL 4600: Standard for Safety for the Evaluation of Autonomous Products (opens in a new tab)Philip Koopman
- bookSafety (Machine Learning in Production) (opens in a new tab)Christian Kästner