TL;DR
When you hook an LLM agent up to a validated manufacturing monitoring model, the model might be rock-solid—yet the agent can still silently botch the decision. This paper introduces a process-agnostic evaluation harness that isolates orchestration errors (how an agent calls tools, tracks state, and combines results) from tool errors. Testing six commercial LLM agents on ultrasonic metal welding tasks, the authors find that accuracy ranges from 39% to 100%, and every single failure stems from orchestration—like loading eight cycles at once, classifying only the last one, and guessing the first.
What Problem Does This Paper Address?
In manufacturing, decisions about quality ("is this workpiece surface contaminated?") and maintenance ("is this welding horn worn?") rely on separately validated domain models, not on an LLM's general knowledge. Increasingly, engineers are wrapping these monitoring models as callable tools for LLM agents so technicians can ask batch-level questions in plain English—like "which cycle in this run is most worn?"
The catch is that an agent can be completely wrong even when every tool it called returned the exact right answer. If the agent skips a cycle, mixes up which value belongs to which cycle, or misapplies a rule, the final answer can still look plausible and well-grounded—translating directly into scrap, escaped defects, or unplanned downtime. Most prior manufacturing-agent studies either show a single curated demo or grade reasoning with another LLM judge. There was no systematic way to measure how reliably agents orchestrate existing monitoring pipelines, how they fail, and what they cost.
Methods
The authors built a process-agnostic evaluation harness that wraps a fixed, deterministic monitoring pipeline as a set of tools and grades the agent's final answer by exact match against a reference computed directly from those same tools. Because the reference comes from the monitoring model itself, any error the harness records is, by construction, an orchestration error—no human or LLM judge required.
They demonstrate this on an ultrasonic metal welding (UMW) pipeline. UMW joins metal tabs and busbars (for example, in lithium-ion battery assembly) using high-frequency vibration. The pipeline exposes ten tools under a stateful (load-then-query) interface: the agent must call load_cycle(c) to load a weld cycle into working memory, and then call reader tools (such as classify or per_sensor_summary) that operate on whichever cycle was loaded last.
The authors benchmarked six API-hosted models from two vendors (July 2026):
- Anthropic: Haiku 4.5, Sonnet 4.6, Opus 4.7 (tested with extended thinking off in the main sweep, plus a separate thinking-enabled experiment for Opus and Sonnet).
- OpenAI: gpt-4.1, gpt-4.1-mini, and o4-mini (native reasoning always on).
Datasets
The underlying UMW dataset comes from a controlled experiment of 270 welds (268 loading cleanly) across nine combinations of tool condition (New, Worn, Damaged) and surface condition (Clean, Polished, Contaminated), each capturing four active sensing signals at 200 kHz.
To test the agents, the authors created a three-tier task suite:
- Tier 1 & Tier 2: Single-cycle labeling and single-cycle derived quantities (all models scored 100%, 18/18).
- Tier 3 (the focus): Six batch-level tasks over an eight-cycle cohort (or a two-cycle pair for comparison), requiring ordered selection, tie-breaking, exhaustive iteration, or cross-cycle comparison—such as finding the first non-
Newcycle or the cycle with the largest displacement signal. - Prompt-sensitivity sweep: Three Tier-3 tasks rewritten into 27 prompt variants across three complexity levels (low, medium, high with a distractor) to separate task difficulty from wording.
Key Insights and Ideas
- Validating the monitoring model does not validate the agent: In a trace-level audit of 72 attempts on rule-following and iteration tasks, all 15 failures were orchestration errors (10 incomplete coverage, 4 aggregation errors, 1 tool-use error), with zero tool/reference mismatches.
- Batch loading + stateful tools = silent, plausible failures: Nine of the 15 audited failures came from the two GPT-4.1 models issuing eight
load_cyclecalls in parallel, callingclassifyonce (which only evaluates the last loaded cycle), and then answering with the first listed cycle. A technician would have no reason to question such a plausible-looking answer.
- The tool interface is a massive lever: In a follow-up test, simply disabling parallel tool calls so
gpt-4.1had to make one call per turn raised its accuracy from 25/60 to 60/60 across 10 replicates. - High accuracy can hide bizarre tool behavior:
o4-miniscored 17/18 in the base sweep, yet onT3-argmax-lvdtit repeatedly called a zero-argument tool (per_sensor_summary) with fabricated sensor-value arguments, got explicit error messages back, and still committed to an answer. - Input tokens dominate cost: Because the entire conversation history is resent on every turn, input tokens exceeded output tokens by one to two orders of magnitude, driving a 16× cost spread ($0.02 to $0.32 per task) across models.
Key Results
- Base Tier-3 sweep (108 attempts): Haiku 4.5, Sonnet 4.6, and Opus 4.7 all scored 18/18 (100%);
o4-miniscored 17/18 (94%);gpt-4.1-miniscored 12/18 (67%); andgpt-4.1scored 7/18 (39%). - Prompt sensitivity (486 attempts): The model-group gap held steady—models from families offering a reasoning/thinking mode scored 92.9% (301/324), while the two GPT-4.1 models scored 63.0% (102/162).
- Extended thinking: Enabling extended thinking on Opus and Sonnet yielded no accuracy gain on tasks they already solved, while adding thinking tokens (200–600 per task for Sonnet).
Limitations and Future Work
The authors note that their results cover one manufacturing process, one classification pipeline, one stateful tool interface, and two vendors in a specific July 2026 window. Correctness is also measured relative to the fixed monitoring models rather than physical weld ground truth.
Looking ahead, they are testing a stateless tool interface (naming the cycle in every call) at larger batch sizes to see how much of the failure rate is purely an interface effect. They also suggest extending the harness to regression pipelines graded against destructive physical tests, open-weight models, and multi-agent architectures.
Summary updated