Insights
Rules decide, models explain: where language models belong in safety-critical AI
By RUUT Labs · Published
In a safety-critical AI system, the decision about what counts as an incident should be made by written rules, not by a language model. Language models are excellent at reading, summarising and explaining. They are a poor place to put a decision that has to come out the same every time, that someone must be able to audit, and that should not change because a sentence was phrased differently.
This article sets out where language models belong in systems that act in the physical world — plants, warehouses, sites — and where they do not, and why separating the two makes a system both more useful and easier to trust.
What a safety decision needs
Consider the moment a camera observes a person without a helmet in a zone where a press is running. Whatever raises the incident should have four properties.
- Repeatable. The same situation produces the same outcome on every shift, however it is described.
- Readable. A safety officer can read the rule that fired and agree or disagree with it.
- Versioned. When the rule changes, the record shows which version was in force at the time.
- Explainable afterwards. Months later, anyone can see why this incident was raised and that one was not.
Written rules have all four properties by construction. A language model has none of them by construction. It can be made to behave well most of the time, but its output depends on wording, context and sampling, and its reasons are produced after the fact rather than applied before it. Research on hallucination in large language models documents how fluent output can be unsupported by its input — acceptable in a draft, unacceptable in an alarm.
Where language models do belong
None of this is an argument against language models. It is an argument for putting them where their strengths matter and their weaknesses do not.
| Task | Who should do it | Why |
|---|---|---|
| Deciding what counts as an incident | Written rules agreed with the safety team | It must be repeatable, readable and auditable |
| Deciding whether an action may proceed | Policy checks, with a person for consequential actions | The cost of a wrong call is physical |
| Writing the shift report | A language model, from the incident record | Turning facts into clear prose is what models do well |
| Answering a supervisor's question | A language model, grounded in the record | Questions come in many forms and languages |
| Planning a multi-step task | A model, inside an orchestrated workflow | Flexible planning, with each step checked |
The pattern is consistent: rules and policy own the decision; the model owns the language around it. A model writes the report, but every incident in that report was raised by a rule, and every fact in it comes from the record rather than from the model.
Small models, chosen per task
Once the model is no longer the decision-maker, it no longer needs to be the largest model available. Summarising an incident record or answering a question about the last shift is a narrow task. Small open-weight models can be chosen per task and run on hardware the operator controls, which keeps sensitive footage and records on site and keeps cost predictable. A larger model can still be used for a step where policy allows it — as a choice, not a default.
A useful discipline is to tag every model call with the task it performs. The model for each task then becomes a setting that can be changed, tested and rolled back, rather than an assumption buried in code.
What this looks like on a plant floor
- A camera observation and a machine-state signal arrive: a person in zone B, press 2 running.
- A written rule — helmets required in zone B while the press runs — matches and raises an incident. No model is involved in that decision.
- The proposed alert is checked against policy and goes to the shift supervisor, who becomes the incident's owner.
- A proposal to stop the press is routed to a person, because the policy says a machine stop needs approval.
- At the end of the shift, a language model writes the report from the incident record, in the supervisor's own language.
Each step is recorded with the rule, its version and the person involved. If anyone later asks why the press was not stopped automatically, the answer is in the record: the rule required approval, and the supervisor decided.
Common objections
"Isn't this just old-fashioned rules?"
Partly, and deliberately. Rules are old because they work for decisions that must be consistent. What is new is everything around them: perception that turns video into observations, models that make reports and questions effortless, and verification that checks each step. The rules get better inputs and better explanations; they are not replaced.
"Rules can't capture every situation."
True — and a model cannot either; it only hides the gaps. When no rule covers a situation, the honest outcome is to flag it for a person, not to let a model improvise a decision. Over time, those flags show the safety team which rules to add.
"Won't this make the system less intelligent?"
It makes the intelligence accountable. Perception, language and planning are still done by models. What changes is that the decision with a physical consequence is made by something a person can read and sign off. That is also the direction of risk frameworks such as the NIST AI Risk Management Framework and of regulation that asks for meaningful human oversight of high-risk AI.
Questions to ask of any safety AI
- Which component decides that an incident is raised — a rule, a model, or both?
- Can your safety team read and version the rules that raise incidents?
- If the language model is unavailable, are incidents still raised?
- Which models run where, and can the model for each task be changed?
- For one incident, can you show the rule, its version and who acted on it?
References
- A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions (Huang et al.) (opens in a new tab) — arXiv
- AI Risk Management Framework (opens in a new tab) — National Institute of Standards and Technology (NIST)
- AI Act — regulatory framework on artificial intelligence (opens in a new tab) — European Commission
- OWASP Top 10 for Large Language Model Applications (opens in a new tab) — OWASP Gen AI Security Project