Unit 8 / 11

HSE, Process Safety and Operational Risk

Gains:

  • Understanding where AI supports health-safety-environment (HSE) and process safety and the limit of safety-critical decisions
  • Ability to locate AI in gas leak, H2S exposure, alarm management and event data analysis
  • Ability to test security-critical AI output with independent security layers, standards, and human verification

Oil and gas operate with inherently hazardous substances: flammable hydrocarbons, high pressure, toxic gases. One mistake; may result in fire, explosion, poisoning or environmental disaster. That's why HSE (Health, Safety, Environment) and process safety are at the forefront of every decision in the sector. Process safety is the discipline focused on preventing the uncontrolled release of hazardous substances; Unlike personal occupational safety (slip-fall), it targets large-scale disasters (such as Piper Alpha, Deepwater Horizon). In this unit we cover where AI can help in HSE and – most importantly – where it is never enough on its own. The core principle of this unit: security-critical functions are not based on a single AI model, but on independent, multi-layered security systems (defense in depth).

HSE and Process Safety Concepts

  • Hazard etc. risk: Danger potential for harm (flammable gas); Risk is the probability of that harm occurring × its severity. Security is about reducing risk to an acceptable level.
  • HAZOP (Hazard and Operability Study): Systematically scanning a process with the question "what could go wrong?"
  • LOPA (Layers of Protection Analysis): A method that evaluates how many independent layers of protection there are against a threat and whether they are sufficient.
  • SIS (Safety Instrumented System): An independent system that automatically makes the process safe in case of danger (for example, emergency shutdown). It is deliberately simple, verifiable and separate from normal control.
  • H2S (hydrogen sulfide): A deadly poisonous gas found in "sour" fields, smelling like rotten eggs but paralyzing the sense of smell at high concentrations.
  • Alarm fatigue (alarm flooding): The operator is overwhelmed by too many alarms at the same time and misses the important ones.
Caution: Security instrumented systems (SIS) are deliberately kept independent of artificial intelligence. An emergency shut-off valve operates according to simple, proven logic, not according to a complex model that says "probably safe." AI does not replace these layers; At best, it can be an early warning layer that feeds them.

Where AI Can Help in HSE

AI's role in HSE is supporting and leading, not the security decision itself:

  • Alarm management: Prioritizing alarms, finding root alarm (alarm rationalization) to reduce alarm fatigue.
  • Incident data analysis: Classifying past incident/near-miss reports and extracting patterns; "What conditions repeat before the events?".
  • Gas dispersion prediction: Accelerating the gas cloud dispersion plot in leak scenarios (with engineer validation).
  • Procedure and training: Security procedure draft, risk assessment checklist production.
  • Video/image monitoring: Preliminary warnings such as PPE (personal protective equipment) compliance, detection of entry into restricted areas.

What they have in common: AI produces an alert or draft; Security decisions are made by authorized persons and independent systems.

Security-Critical Limit: Weight of False Negatives

In the HSE context, one concept trumps all others: false negative (miss). A gas detection model's actual leak classification of "none" can cost human lives. Therefore:

  • In security detection, the threshold is chosen cautiously (taking the risk of false positives) to minimize false negatives.
  • Critical perception is not left to a single model; certified physical detectors (e.g. catalytic/IR gas detectors) remain as independent layers.
  • Even if the AI's "trust score" is high, layers of physical security are not disabled.
Tip: When evaluating an HSE AI proposal, ask: “If this model is wrong, is there an independent layer to catch it?” If the answer is “no,” don’t give that function to AI alone.

Step by step: Safely positioning AI in HSE

  1. Classify the function. Is this a safety-critical decision or supporting analysis? If it is critical, AI cannot be a single layer.
  2. Maintain independence. Keep SIS and physical detectors separate from AI.
  3. Adjust for false negative. Select conservative threshold for critical detection.
  4. Keep people in the loop. Alarms and recommendations are presented to the operator as decision support, not automatic safety action.
  5. Link to standards. Maintain compliance with IEC 61511 (process safety), relevant API and national legislation.
  6. Save it watchable. The justification for every warning and decision should be recorded.

Three Mini Cases: By the Numbers

Case 1 — Alarm rationalization. At one facility, operators were overwhelmed with an average of 1,900 alarms per shift (well above the acceptable limit). AI-powered alarm analysis reduced the number of active alarms seen by the operator by 60% by grouping recurring and related alarms and highlighting the root alarm. The result: the risk of missing critical alarms is reduced. Here the AI ​​did not make decisions, it regulated attention.

Case 2 — False negative rejection. One team wanted to implement the higher threshold suggested by AI to reduce false alarms in gas detection. The HSE engineer refused: raising the threshold increases the risk of missing the true leak (false negative) and cannot go below the legal lower limit. Physical detectors remained independent. Safety was not sacrificed for comfort.

Case 3 — Near miss pattern. When two years of near-miss reports were classified by AI, a recurring pattern of “lack of isolation” before a specific maintenance action emerged. The team updated the procedure. AI has made visible a pattern that humans had overlooked; but the engineering team designed the fix.

Weak Prompt / Strong Prompt

Weak prompt:

Optimize gas detection threshold, reduce false alarms.[data]

Powerful prompt:

Analyze the following (anonymized) gas detection alarm data. Strict rules:- FALSE NEGATIVE (missing the actual leak) is unacceptable in security detection; minimize false negative when recommending threshold, NEVER exceed legal/standard lower limit as suggestion.- Present threshold change as "suggestion"; Mark "HSE engineer and SIS independence must be maintained". - Specify that physical/certified detectors should remain independent layers. - Offer root cause (sensor location, calibration) suggestions first instead of threshold to reduce false alarm. Data: [alarm data]

Four Copiable Templates

1) Alarm rationalization:

Group recurring, associated and possible root alarms in the alarm log below. Suggest prioritization that will reduce the number of active alarms the operator sees. Do not suppress any security alarms; just group/prioritize.Log: [alarm]

2) Incident/near miss pattern:

Classify these near miss reports by theme/root cause. Remove recurring conditions and leading signs. Provide a corrective action idea, but state that the final design is up to the engineering team. Reports: [text]

3) Security-critical classification:

Consider this proposed AI function: safety-critical or supportive? Are there independent layers to catch it if it goes wrong? If it cannot be a single layer, write the reason. Function: [description]

4) Procedure/risk checklist:

Produce a DRAFT risk assessment checklist for the following job (hazard, exposure, layer of protection, residual risk). State that an expert will review this and confirm it with the standard. Job: [definition]

Layers of Security and the Place of AI

layer

example

The role of AI

Basic process control

automatic regulation

Optimization suggestion

Alarm/operator

priority alarm

Rationalization, leading warning

SIS (emergency shutdown)

High pressure shutdown

None — remains independent

physical protection

Safety valve, detector

None — remains independent

emergency response

Evacuation, fire fighting

Information/scenario support

Common mistakes

  • Putting security on a single model. Replacing SIS/physical detector with AI.
  • Raising the threshold for comfort. Increasing the risk of false negatives to reduce false alarms.
  • Subverting independence. Connecting security layers to the same data/model and creating common failures.
  • Taking people out of the loop. Leaving the security decision to automated AI action.
  • Skipping the standard. Ignoring IEC 61511/API and regulatory compliance.

In summary

  • HSE and process safety are at the forefront of every decision; The cost of working with hazardous materials is high.
  • AI is helpful in alarm rationalization, event patterning, and advance warning; It is not the security decision itself.
  • Security-critical functions rely on multi-layered, independent systems (defense in depth); SIS and physical detectors remain separate from AI.
  • False negatives (misses) are unacceptable in HSE; thresholds are chosen cautiously accordingly.
  • People remain in the loop and compliance with standards (IEC 61511, API, legislation) is maintained.

Application task

Select an HSE scenario (representative gas detection or alarm management). Have an analysis produced with a powerful prompt. Then: (1) classify whether the function is safety-critical or supportive, (2) write the independent layer that will catch it if the model is wrong, (3) if the recommendation changes a threshold, check the risk of false negatives and the legal lower bound.

checklist

  • [ ] I know the concepts of HSE, process safety, HAZOP/LOPA/SIS and H2S.
  • [ ] I base security-critical functions not on a single model, but on multi-layered independent systems.
  • [ ] In security detection, I prioritize false negatives and choose a conservative threshold.
  • [ ] I maintain independence of SIS and physical detectors from AI.
  • [ ] I keep people in the loop and comply with relevant standards/legislation.