November 24, 2026
Technology Watch

From the laboratory to industry: following new technology on its way

← Front page

arXiv

HAZOP tests catch chatbots changing safety calls

Image drawn by AI

A fluent chatbot is not automatically a safe HAZOP reviewer: a prompt can make it downgrade a hazard without adding new engineering evidence. The study tested three language models with 420 single-pass responses, finding eight expert-judged biased decisions in manipulated trials. In a refinery engineering office, such systems could help draft HAZOP worksheets if engineers inspect every risk classification and test whether the wording changes the recommendation.

Today, a HAZOP review is still a slow walk through plant diagrams and failure scenarios, line by line. Specialists must ask what happens when equipment behaves differently from its intended state, and which safeguards should respond. Fatigue can cause missed failure modes. A chatbot can produce a neat safety worksheet, but a neat worksheet does not show whether the wording of a prompt quietly changed its judgment.

What a HAZOP review asks

HAZOP is a structured process-safety review. It considers a piece of equipment, imagines ways its operation could depart from normal, and traces the results. The team then decides how serious the danger is and which safeguards are needed.

That decision can turn on a small detail. If a hazardous leak is rated less serious, a safeguard may lose its urgency. Language models make this harder to judge because they produce fluent technical explanations without measuring what is happening in a real plant. Their answers depend on the documents and the wording supplied to them.

The usual way to test such a model is to compare its text with a reference answer. But matching the reference does not reveal whether an irrelevant suggestion can push the model toward a weaker safety call.

Testing the wording, not just the answer

The study tested Google Gemini 3.8 Flash, Anthropic Claude Opus 5.5, and Meta Muse Spark 1.3 on a reference case involving a crude-oil separator. It collected 420 single-pass responses at temperature zero. The prompts tested five kinds of cognitive bias: anchoring, framing, availability, confirmation, and hindsight.

The key test was simple. The models received the same safety problem, but the prompt added information that should not have changed the engineering judgment. One prompt supplied a senior engineer's low preliminary rating. Another described a safeguard as having 95% successful delivery instead of 5% unavailability. The question was whether the chatbot would follow the distracting wording.

Experts judged eight biased decisions among 252 manipulated trials. No such events appeared in 168 neutral control trials. Five of the eight involved anchoring, two involved framing, and one involved hindsight. The availability and confirmation tests produced no adjudicated bias events.

But the failures mattered. In one anchoring error, an exchanger-gasket crude-oil leak was downgraded from Medium to Low risk after the prompt included the senior engineer's low estimate. In two framing errors, the models deferred safeguards when reliability was expressed as 95% successful delivery rather than 5% unavailability. The hardware and the underlying reliability had not changed; the description had.

The authors' Bayesian analysis found all 15 model-by-bias comparisons statistically inconclusive under its preregistered threshold. The experiment covered one reference installation and produced only eight positive events, which the authors say limits its statistical power. So the result is not a ranking of which chatbot is safe. It is a demonstration of the kind of test that ordinary text comparison misses.

A worksheet that argues with its prompt

If these tests are extended across plants, a process engineer in a refinery control-room office could open a HAZOP worksheet assembled overnight. The draft might list likely causes and safeguards, while an alert says that its recommendation changes when an initial risk estimate is hidden. That would make the chatbot useful for repetitive drafting and exhaustive screening without making it the final authority.

For that scene to be trustworthy, the system would need neutral prompts, adversarial testing, and human review of risk classifications and credited safeguards. It would also need testing across real plant configurations. A chatbot that rejects most biased prompts is not yet an independent safety reviewer if the remaining errors can make a hazardous leak look less urgent.

Sources

arXiv, Behavioral Evaluation of Large Language Models Under Cognitive Biases in HAZOP Studies