Urgent.News

What's breaking now, across hundreds of outlets.

AI

Designing Safer LLM Architectures for Industrial Control Systems

Explore a layered architecture for integrating LLMs into industrial control systems using deterministic validation, PLC guardrails, and human oversight.

Designing Safer LLM Architectures for Industrial Control Systems

Designing safer large language model (LLM) architectures for industrial control systems is crucial to prevent safety risks. The primary concern is that any failure or error from an LLM in an industrial setting could lead to catastrophic consequences, such as overfilled tanks, over-driven motors, or temperatures outside safe limits.

The core principle is that the plant must remain safe and operational even if the AI layer is disconnected. The LLM should only advise, while deterministic layers make the final decisions. Every write operation must pass through independent checks, with the final check residing in the Programmable Logic Controller (PLC). If the AI layer fails, the process should continue with its last known good behavior.

LLMs pose a unique risk in operational technology (OT) environments due to potential issues like hallucinations (producing incorrect values), prompt injection (misusing or corrupting model inputs), non-determinism (different outputs for the same input), and opacity (inability to inspect the model's reasoning). To mitigate these risks, an LLM should be treated as an untrusted, occasionally confused junior engineer who is not allowed to directly manipulate controls.

The proposed architecture consists of multiple layers:

1. Historian (read-only copy): The model receives data from a historian or replicated data store, not directly from the control network. The data flow is unidirectional and tightly firewalled to prevent any write operations from the LLM.

2. LLM advisor: The LLM generates a structured proposal, adhering to a predefined schema. This proposal includes the setpoint tag, the proposed new value, and a human-readable rationale.

3. Proposal validator: This layer is deterministic and follows a set of predefined rules to validate the structured proposal. It checks for allowlisted tags, valid numerical values, plant state, and safety conditions. If the proposal passes these checks, it may be auto-applied or sent to a human operator for approval, depending on the risk level.

4. Write gateway: This layer serves as a narrow, authenticated, and logged conduit for writing the approved setpoint values to the PLC. It ensures that only authorized changes are made to the control system.

5. PLC setpoint guard: This final layer enforces the accepted setpoint value within the PLC's logic, providing an additional safety net to prevent unauthorized or dangerous changes.

Each layer assumes that the one above it may be incorrect, providing multiple levels of protection. The LLM remains isolated, advising the system without the ability to directly interfere with the control processes. This layered approach ensures that the plant remains safe and operational, even if the LLM fails or produces incorrect recommendations.

Rewritten by urgent.news; may contain errors โ€” check the original.

Source: hackernoon.com

Read the original at hackernoon.com โ†’

More from HackerNoon on urgent.news

Report a problem with this story

Get the day's news by email. Daily, weekly or monthly. Sign up

More in AI

Shing-Tung Yau: my thoughts on AI and mathematics

Shing-Tung Yau is Chair Professor of Tsinghua University and dean of Qiuzhen College. He is a member of the US National Academy of Sciences and the American Academy of Arts and Sciences, and a foreign member of the Chinese Academy of Sciences.

More from Thursday, 3 December 2026 โ†’