TL;DR
Deploying AI agents on a factory floor isn't like deploying a customer-service chatbot—a wrong guess can halt a production line or create a safety hazard. This paper introduces a structured evaluation framework that embeds nine practical metrics directly into the four-stage "Perception–Planning–Action–Reflection" loop of agentic AI. Testing an open-source model (Qwen2.5-7B-Instruct) on realistic manufacturing scenarios reveals that even when overall accuracy looks solid, subtle hallucinations and escalation mistakes still slip through.
What Problem Does This Paper Address?
In modern manufacturing, Standard Operating Procedures (SOPs) and Standard Maintenance Procedures (SMPs) keep factories safe, compliant, and running. As production systems grow more complex, companies are looking to Large Language Models (LLMs) and agentic AI to help workers interpret these dense manuals, diagnose machine faults, and log maintenance actions.
The catch? Current AI benchmarks mostly test whether a model can follow text or answer questions in clean, constrained settings like software development or customer support. They rely heavily on simple accuracy metrics and ignore the messy realities of industrial work:
- Hierarchical authority: An AI shouldn't tell a junior machine operator to perform a repair that legally or safely requires a senior maintenance engineer.
- Ambiguity and noise: Real operators type incomplete, noisy, or non-English descriptions under time pressure.
- Traceability: In safety-critical environments, every decision must be auditable.
The authors set out to build an evaluation framework grounded in these real-world industrial demands.
Methods
To make sure the framework reflected actual factory-floor logic, the authors ran co-creation workshops with a manufacturing partner (a production manager and two domain experts) to map out real failure scenarios, safety protocols, and role hierarchies.
They adapted the standard four-stage agentic AI workflow—Perception, Planning, Action, and Reflection—to manufacturing error-handling:
- Perception: Identify the error type from machine/operator inputs and determine the user's role.
- Planning: Check if instructions are clear (asking clarifying questions if needed) and decide whether the user has the authority to fix the issue, or if it must be escalated. The framework models four distinct authority levels: Level 1 (Operator), Level 2 (Technical Operator), Level 3 (Mechanic), and Level 4 (Maintenance Engineer).
- Action: Guide the user through the prescribed SOP/SMP steps.
- Reflection: Verify the outcome and generate a traceable log for auditing.
Instead of tacking on an accuracy score at the end, the framework embeds nine metrics directly into the decision junctions of this cycle:
These metrics cover Error Identification Accuracy, Interaction Efficiency (turns needed to clarify instructions), Escalation Appropriateness, Procedural Accuracy, Hallucination Rate, Trace Completeness (scored by an LLM-as-a-judge, Llama-3.2-3B), General Consistency, Cross-Lingual Consistency, and a Robustness Index for noisy inputs. The framework is model-agnostic, supporting any LLM via vLLM or HuggingFace Transformers.
Datasets
Because proprietary factory data is confidential, the authors built a synthetic yet realistic dataset modeled on their industrial partner's maintenance workflows. It encodes procedural steps, error catalogs, machine state readings, escalation rules, and role hierarchies.
The dataset is structured around six core tasks (each tested across 25 scenarios):
- Error Identification and Classification
- Instruction Retrieval and Clarification
- Role-based Reasoning and Escalation
- Procedural Execution and Faithfulness
- Outcome Reporting and Trace Logging
- Multilingual Consistency (testing inputs in Dutch, German, and Polish)
To test robustness, the researchers also generated meaning-preserving perturbations of the inputs—randomly dropping non-essential words like articles and modal verbs—to see how well the agent handles natural variations in how operators describe problems.
Key Insights and Ideas
- Accuracy alone is a dangerous metric: A model can score well on following a procedure while still failing on who is allowed to execute it or when to escalate.
- Failures are multifaceted: Different tasks expose different weaknesses. Testing across the full agentic cycle reveals whether an agent struggles with perception (misidentifying an error), planning (wrong escalation), or action (hallucinating a step).
- Consistency doesn't guarantee safety: Even when an agent gives the exact same answer every time (100% general consistency), it can still consistently hallucinate bad advice.
Key Results
The authors ran a proof-of-concept evaluation using Qwen2.5-7B-Instruct across all six tasks (25 scenarios each):
| Metric | Score |
|---|---|
| Error Identification Accuracy (↑) | 80.0% |
| Interaction Efficiency (↓) | 1.25 turns |
| Escalation Appropriateness (↑) | 88.4% |
| Procedural Accuracy (↑) | 86.1% |
| Hallucination Rate (↓) | 5.5% |
| Trace Completeness (↑) | 82.2% |
| General Consistency (↑) | 100% |
| Cross-Lingual Consistency (↑) | 86.1% |
| Robustness Index (↑) | 91.4% |
While Qwen2.5-7B-Instruct performed solidly overall—and was remarkably consistent across repeated runs—it still hallucinated advice in 5.5% of cases across every task, even in simplified scenarios. In high-risk manufacturing, a 5.5% hallucination rate is a non-starter, underscoring the need for stronger models and multi-dimensional testing before deployment.
Limitations and Future Work
The authors note that this study is a proof-of-concept: it relies on a synthetic dataset rather than live proprietary factory data, and only reports validation results for a single open-source model (Qwen2.5-7B-Instruct) on text-only inputs.
In future work, they plan to:
- Conduct larger-scale, domain-validated studies using real industrial data.
- Evaluate more capable agentic and multimodal models.
- Incorporate richer perceptual inputs—such as live sensor signals, technical diagrams, and voice transcripts—to better mirror real operator–machine interactions.
Summary updated