Boundaries of LLMs in Complex Fault Diagnosis: Practices and Engineering Workflows

    This article examines why comparing general-purpose large language models by "intelligence" fails in real troubleshooting, using a recurring laser printer paper jam as a case study. It summarizes observations from a 2x2 test setup, analyzes root causes such as corpus bias and missing device-state feedback, and presents a three-stage engineering architecture combining RAG, evidence-constrained prompting, and hypothesis ranking with minimal verification. It also outlines a reproducible scorecard for model comparison and common pitfalls to avoid.

    1. The Real Question: Why “Which Model Is Smarter” Is the Wrong Frame

    In real troubleshooting work, comparing two general-purpose large language models by “how smart” they are rarely produces a reusable conclusion. The reason is straightforward: a model outputs the most probable language sequence, while troubleshooting requires a verifiable causal chain.

    Take a recurring paper jam in a Brother laser printer, just below the toner cartridge. Replacing the cartridge does not help, nor does adjusting the registration clutch. The self-test sensor readings in service mode are normal, and the paper has not yet reached the fuser unit, so the fuser assembly can be ruled out. Problems like this are classic hard cases in the field, and the root cause here turned out to be an abnormal laser driver motor — a part that does not appear on any standard checklist.

    The value of this case is not the conclusion itself, but the boundary it exposes in general-purpose models. A model can retrieve and merge similar descriptions and suggest a direction that “sounds reasonable,” but it cannot confirm whether that direction holds for this specific unit, this production batch, and these operating conditions.

    2. Observed Results Under Two Input Conditions

    To quantify the problem, the test can be designed as a 2x2 comparison: whether the full service manual is provided (a PDF of hundreds to over a thousand pages) crossed with whether web retrieval and deep reasoning are enabled.

    • No manual, no retrieval: both model types converge, circling around paper specifications, separation pads, feed roller wear, and dirty sensors — essentially a weighted average of high-frequency generic answers.
    • Manual and retrieval enabled: performance diverges. One model holds a slight edge in long-document location and clause citation, producing a troubleshooting order closer to the manual’s chapter structure; but neither model hits the actual root cause.
    • Shared weakness: the conclusions lack an “executable criterion.” The model has no way to know whether its answer solved the problem, because there is no closed feedback loop.

    The differences above are observations from one specific task and are not a universal assessment of any product’s capability. From an engineering standpoint, process design matters far more than model rankings.

    3. Root Cause Analysis: Why General-Purpose Models Are “Plausible but Ineffective”

    1. Corpus distribution bias. Public corpora are dominated by common faults; low-frequency hard cases are scarce, so the model naturally regresses to high-frequency answers.
    2. No device-state channel. The model cannot see actual counters, voltage waveforms, or timing logs, and must reason from text alone.
    3. Insufficient retrieval granularity for long documents. When a thousand-page manual is split into fixed-size chunks, causal relationships that span chapters are broken.
    4. No verification operator. Without an “execute — observe — correct” loop, the output cannot be falsified.
    5. Rationalized packaging of hallucination. Fluent wording masks uncertainty and leads users to misjudge confidence.

    4. Engineering Approach: Plugging a General-Purpose Model into a Troubleshooting Loop

    The recommended architecture has three stages: retrieval-augmented generation (RAG), hypothesis ranking, and verification scripts.

    4.1 Document Governance and Chunking

    Start by parsing the manual structurally, preserving chapter hierarchy, tables, and figure numbers, then build an index along three columns: “symptom — cause table — remediation steps.” Illustrative chunking logic:

    1. # Pseudocode: build retrievable units per fault entry
    2. def build_index(pdf_pages):
    3. units = []
    4. for section in parse_sections(pdf_pages): # preserve the section path
    5. for symptom, causes, steps in extract_rows(section):
    6. units.append({
    7. "path": section.path, # chapter hierarchy kept as metadata
    8. "symptom": symptom,
    9. "causes": causes,
    10. "steps": steps,
    11. "embedding": embed(symptom + " " + " ".join(causes))
    12. })
    13. return units

    The key is to retain the “section path” as metadata, so the model can trace an answer back to its source location instead of restating generic knowledge from memory.

    4.2 Evidence-Constrained Prompt Structure

    Require the model to list evidence first, then hypotheses, then criteria, and forbid conclusions without citations:

    1. You are a troubleshooting assistant. Answer using only the [RETRIEVED SNIPPETS], and follow these rules:
    2. 1) Tag every conclusion with its source number [S#];
    3. 2) If evidence is insufficient, output "insufficient evidence" and do not speculate;
    4. 3) Output format: symptom match / candidate hypotheses (descending probability) / verification action for each hypothesis / expected observation.

    4.3 Hypothesis Ranking and Minimal Verification

    Replace “swap parts and try” with “verification ordered by cost.” For paper-jam faults, verify zero-cost items first (paper moisture content, ambient humidity, tray guides), then low-cost items (separation pad, feed roller torque), and only then touch high-risk components. Change one variable per verification and record the observation:

    1. hypothesis:
    2. - name: feed timing too early
    3. verify: measure the time gap between the feed roller and the paper leading edge
    4. expect: the gap falls within the range given in the manual
    5. cost: low
    6. - name: abnormal drive motor speed
    7. verify: measure drive-side voltage and speed feedback
    8. expect: deviation from nominal exceeds the threshold
    9. cost: medium

    4.4 Data and Knowledge Foundation

    Production deployment typically relies on several general cloud capabilities: object storage for manuals and historical work orders, a message queue to ingest device-reported log streams, a container platform to host parsing and inference services, and logging plus monitoring and alerting to track verification results. Baidu AI Cloud offers general-category capabilities for this kind of scenario; the specific selection still needs to be evaluated against data volume and compliance requirements.

    5. Evaluation Method: How to Compare Two Models Objectively

    Do not conclude with “feels smarter.” Build a reproducible scorecard instead:

    • Hit rate: the proportion of first-ranked hypotheses that match the actual root cause.
    • Evidence traceability rate: the proportion of conclusions carrying valid source citations.
    • Average verification cost: the number of disassembly and part-swap operations needed to locate the root cause.
    • Hallucination rate: the proportion of statements presented as certain without evidence.
    • Refusal appropriateness: the proportion of correct refusals when evidence is insufficient.

    Replay tests on the same batch of anonymized work orders, keeping the retrieval corpus and prompt templates fixed and switching only the model, to obtain comparable results.

    6. Common Pitfalls

    1. Treating long context as long memory: stuffing in a thousand-page manual does not mean the model will retrieve from it.
    2. Substituting part swaps for verification: this breaks the single-variable principle and makes conclusions non-attributable.
    3. Ignoring metadata: without section paths, citations cannot be checked.
    4. Chasing a one-shot correct answer: troubleshooting is sequential decision-making and should be designed for multi-turn convergence.

    7. Conclusion

    For complex electromechanical faults, the real role of a general-purpose large language model is a knowledge organizer and hypothesis generator, not a root-cause adjudicator. Embedding it in a workflow of retrieval augmentation, evidence constraints, and closed-loop verification is what turns a “plausible answer” into an “executable conclusion.” Debating model quality outside of that workflow yields limited returns.