Skip to content

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.

A division of labour for AI systems that act in the physical world.
TaskWho should do itWhy
Deciding what counts as an incidentWritten rules agreed with the safety teamIt must be repeatable, readable and auditable
Deciding whether an action may proceedPolicy checks, with a person for consequential actionsThe cost of a wrong call is physical
Writing the shift reportA language model, from the incident recordTurning facts into clear prose is what models do well
Answering a supervisor's questionA language model, grounded in the recordQuestions come in many forms and languages
Planning a multi-step taskA model, inside an orchestrated workflowFlexible 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

  1. A camera observation and a machine-state signal arrive: a person in zone B, press 2 running.
  2. A written rule — helmets required in zone B while the press runs — matches and raises an incident. No model is involved in that decision.
  3. The proposed alert is checked against policy and goes to the shift supervisor, who becomes the incident's owner.
  4. A proposal to stop the press is routed to a person, because the policy says a machine stop needs approval.
  5. 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

  1. Which component decides that an incident is raised — a rule, a model, or both?
  2. Can your safety team read and version the rules that raise incidents?
  3. If the language model is unavailable, are incidents still raised?
  4. Which models run where, and can the model for each task be changed?
  5. For one incident, can you show the rule, its version and who acted on it?

References

  1. A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions (Huang et al.) (opens in a new tab) — arXiv
  2. AI Risk Management Framework (opens in a new tab) — National Institute of Standards and Technology (NIST)
  3. AI Act — regulatory framework on artificial intelligence (opens in a new tab) — European Commission
  4. OWASP Top 10 for Large Language Model Applications (opens in a new tab) — OWASP Gen AI Security Project

Let's talk about your system.

Every deployment is priced per project, scoped to your data, infrastructure and risk tolerance.