arXiv:2610.11768eess.SYOct 2026

Manuscript Offprint

arXiv:2610.11768

Narrow and Deep: An Ontology Tower as the Knowledge of an LLM Agent for an Industrial Equipment System

Younghwan Joo, Sung-il Kim

Abstract

Large language model (LLM) agents are beginning to operate industrial energy equipment, and what they get right depends on what they are told about the plant. Established building ontologies name many kinds of points across many sites, whereas an industrial equipment system needs few entities with much knowledge about each. This study proposes the ontology tower, a narrow-and-deep ontology of a single equipment system whose knowledge deepens in two ways: through quantities derived from the measured points by physical relations, and through lessons from the operating journal incorporated as knowledge nodes. On a real low-humidity air-handling test plant operated daily through a programmable logic controller, agents received a text projected from its tower in a preregistered evaluation of nine tasks replayed from the plant's records, using four open-weight models from 9 to about 750 billion parameters. This knowledge raised the rate at which the agents avoided the most plausible misjudgment of each task by about 20 percentage points, and the overall task score of the 9-billion-parameter model as much as that of the largest. Operating lessons were used when incorporated into the tower or placed in the prompt as records, but seldom when left in the journal behind a search tool. In live runs through an invariant safety layer, the agents brought the controlled variable into its target band in 12 of 14 runs. An ontology narrow in entities but deep in what is known

*Corresponding author

Email address: yhjoo@kier.re.kr (Younghwan Joo)

Preprint about them can thus supply the knowledge that an agent for an industrial equipment system needs.

Keywords: Large language model agent, Ontology, Knowledge representation, Industrial equipment system, Operating journal, Low-humidity air handling

1. Introduction

Large language model (LLM) agents are beginning to take part in operating building and industrial energy equipment: they read process points, diagnose faults, and propose setpoint changes [1, 2, 3, 4]. Because plant data are often kept within the operator's own network, such agents are also being built on open-weight models that run on site [5, 6]. In these studies the agent receives one package of knowledge, in which the meaning of the tags, the couplings of the equipment, the procedures, and past incidents enter together, and the package is judged as a whole against a baseline without it [7, 8]. However, what the knowledge of a particular plant should contain, and in what form it should reach the agent, has not been measured. Therefore, a structure is needed in which the knowledge of one plant is kept explicitly and can be supplied to an agent in controlled parts.

Ontologies are the established way to keep such knowledge. Brick [9], SAREF [10], the Asset Administration Shell [11], and ISO 15926 [12] define vocabularies that name points and assets across many buildings and plants, so that applications can find them. Agents that query such models through graph retrieval have answered building questions [13], supported multi-zone control [14], and outperformed agents without a graph-based data layer [15]. These vocabularies are broad by design: they cover many kinds of equipment with a shallow description of each. An agent that operates one equipment system needs the opposite. The system has few entities, but the agent must know how each value is derived from the measured points, which assumptions it depends on, and what has happened to the system in operation. However, no ontology for equipment states the physical derivations and the operating history of a single system together with its points. Therefore, an ontology that is narrow in its entities and deep in its knowledge is required.

How much an agent gains from supplied knowledge may also depend on the model, and the reported results disagree. Retrieval improved smaller models the most in Ren et al. [16], and a 14-billion-parameter model with re-trieval approached GPT-4 in clinical decision support [17]. In contrast, Ning et al. [18] found the largest gain at intermediate sizes, and Pandey [19] found that models of up to seven billion parameters failed to use retrieved passages even when the passages held the answer. Luong Tuan and Sanyal [20] attributed the effect of ontology grounding to how well training covered the domain rather than to model size. None of these studies supplied curated knowledge of equipment or concerned a physical plant. Therefore, whether a small open-weight model gains as much as the largest open-weight models from the knowledge of a plant, and whether the form of supply matters, has to be measured on real equipment.

A plant also changes while it is operated, and what its operators learn is first written into an operating journal of incidents, investigations, and corrections. Systems that build a knowledge base from operating logs retrieve from it as a step of their procedure [3], and the maintenance of an ontology whose content changes over time has been studied as ontology evolution [21, 22]. However, whether an agent uses the lessons of operation when they are incorporated into the ontology, compared with when they are left in the journal for the agent to retrieve, has not been tested. Therefore, an ontology for an agent should state how it takes in the lessons of operation, and that choice should be tested within the same tasks.

In this study, an ontology tower, a narrow-and-deep ontology of a single equipment system, is proposed as the knowledge that an LLM agent receives about a plant, and it is tested on a real low-humidity air-handling test plant operated daily through a programmable logic controller (PLC). To give the ontology depth, quantities derived from the measured points by physical relations are added above the tagged points, with the level of each node computed from its declared dependencies, and lessons from the operating journal are attached to the points they concern as knowledge nodes. To supply it to an agent, a text projected from the tower is placed in the prompt, and every command that the agent issues passes through an invariant safety layer. To evaluate this supply, a preregistered evaluation of reading and diagnosis tasks replayed from the plant's records was conducted with four open-weight models, together with comparisons of the form in which the knowledge and the operating lessons are supplied. Finally, the agents changed setpoints on the live plant through the safety layer. The evaluation is confined to one plant, and its extension to many similar systems is discussed in Section 4.

References (21)