Explaining Process, Instrument and Data-Path Causes in Plain Language: Local Language Models That Use Detector Decisions
Abstract
Language models can turn the terse output of telemetry detectors into explanations an operator reads in passing, but they can also name the wrong cause, quote a number that was never measured, or recommend an action that does not fit. We separate the roles: deterministic detectors decide whether a departing reading reflects a process change, an instrument fault or data-path corruption; a local language model only explains the decision; and six mechanical grounding rules - the stated cause must be the decided one, every number must occur in the evidence, the recommended check must belong to the cause - admit or reject each explanation, with a deterministic template as the fallback. The explainer reaches the model through Spring AI or LangChain4j beneath a reliability layer. On 260 incidents from a published triage benchmark, four local models (3 B-32 B parameters, Ollama on one GPU) produced explanations that passed the rules in 1,296 of 1,300 cases; the share that quoted a number from the evidence rose from 14% for a 3 B model to 65% for a 32 B model, at 0.23 s and 15 s median latency respectively. In the author's rating of 50 accepted explanations, 46 were faithful to the evidence; all four that were not came from one 7 B model, through both frameworks. Asked instead to attribute the cause themselves from the same evidence, the models were correct in 47-59% of incidents, and from the raw readings in 5-41%, against 90.0% for the detectors; given readings alone, two models answered instrument for nearly every incident. When the model server failed, every explanation fell back to the template within 10.3 s. The measurements support keeping the decision in the detectors and giving the model the wording.
Create a lesson
Metadata
- Categories
- cs.AI, eess.SP
- Comments
- 7 pages, 3 figures, 4 tables. Code and data: https://github.com/alxkm/triage-explain
Related papers
Collaborative Language Models for Semantic IoT Data Processing: Validation through Zero-Shot Human Activity Recognition
Shared title terminologycs.AIMohsen Shirali, Kean Ooi, Anna Knab et al.
Aynaz: Offline, Document-Grounded Explanations of Words and Figures with Small Local Language Models
Shared title terminologycs.AIAzharul Islam
A Failure-Driven Data Flywheel for Post-Training Vision-Language-Action Models
Shared title terminologycs.AIYuhao Luo, Zihao Sheng, Zilin Huang et al.
On Utilization of Edge-AI for condition monitoring towards predictive maintenance: A use case in dairy processing using explainable AI
Shared title terminologycs.AIRahul Umesh Mhapsekar, Norah O'Shea, Omer Ali et al.
DSArena: Evaluating LLMs as Data Science Agents through Human Preferences
Shared title terminologycs.AIMaojun Sun, Jian Huang, Ruijian Han et al.
UMR: A Lean-Style Language for Representation and Structural Verification of Organic Reaction Mechanisms
Shared title terminologycs.AISirui Shao, Haichuan Tan, Tao Huang et al.