Comparing LLMs for Troubleshooting: Evaluation and Real-World Implementation

    This article explains how to compare large language models for hands-on troubleshooting tasks without relying on subjective impressions. It covers why "which model is smarter" is the wrong question, how missing versus sufficient documentation changes model behavior, and why even well-informed models fail without a closed feedback loop. You will find a repeatable evaluation framework with scoring dimensions, techniques for turning heavy manuals into usable retrieval context, prompt and workflow constraints that reduce hallucination, and a practical division of labor between the model, the human, and the system. The key takeaway is to embed LLMs in a retrieval-augmented, workflow-constrained pipeline with human execution and result feedback rather than treating them as answer generators.

    1. Framing the Question Correctly: Not “Who Is Smarter,” but “Who Is More Reliable Under Constraints”

    “Which of two LLMs is smarter” is a question that is hard to falsify. The engineering-relevant question is different: given fixed materials, fixed tools, and a fixed time budget, which model produces a troubleshooting path that is more executable, less misleading, and easier to verify.

    Take equipment repair troubleshooting as an example. This kind of task is both hands-on and analytical: it requires understanding structure, circuits, consumables, and sensor logic, while also making assumptions, prioritizing, and verifying when information is incomplete. It works well as an evaluation scenario for three reasons:

    • Outcomes are decidable: whether the fault reproduces, whether a part was replaced, and whether a parameter was restored all produce objective signals.
    • The process is traceable: every step leaves a trace, making it easy to trace back which judgment went wrong.
    • Documentation density is high: manuals, diagrams, and fault-code tables are often very long, which naturally tests long-context handling and retrieval.

    The focus of evaluation should therefore shift from “does the answer sound like an expert” to “can the steps be executed on-site and verified.”

    2. Two Information Conditions Define the Boundary of Model Performance

    Real troubleshooting usually falls between two conditions, and they place completely different demands on a model.

    The first is the missing-documentation condition. There is no manual and no diagram, only a description of symptoms and scattered experience. The model can only infer from the common knowledge in its training data, and the gap between models is often small. Output generally stays at the level of a “list of common causes”: power anomalies, loose connections, firmware version mismatch, aged consumables, sensor contamination, and so on. Such answers are not useless; they provide starting hypotheses for troubleshooting. But their priority ordering often does not match on-site reality.

    The second is the sufficient-documentation condition. Once hundreds or even thousands of pages are converted into searchable context, differences in model capability begin to show: whether the model can locate the correct section, whether it can read parameter tables and signal definitions, whether it can map a fault code to a specific test point, and whether it can stay consistent across a multi-step procedure. The better-performing model here is usually not the one that “knows more,” but the one that “makes better use of the given material”: citations can be checked, steps are not skipped, and conflicting information is explicitly flagged rather than silently invented.

    But one counterintuitive conclusion must be stressed: even under the sufficient-documentation condition, a model may still fail to actually solve the problem. The reason is not intelligence, but a missing closed loop.

    3. Why a “Reasonable Answer” Is Often Ineffective: The Missing Closed Loop

    Troubleshooting is essentially closed-loop control: observe the symptom → propose a hypothesis → design the minimal verification → execute → read feedback → revise the hypothesis. LLMs are naturally good at step one through step two, but can hardly complete step three through step six independently.

    The specific gaps include:

    • No real observation: the model cannot see the rhythm of a blinking indicator, hear an abnormal noise, smell overheating, or read on-site instrument values.
    • No execution ability: it cannot disassemble, measure voltage, or replace parts.
    • No feedback channel: after giving advice, it cannot learn the result, and therefore cannot self-correct.
    • No confidence calibration: models tend to output fluent, complete, professional-sounding conclusions, and express “I don’t know” insufficiently.

    Treating the model as an “answer generator” is bound to disappoint; treating it as a “hypothesis generator and process accelerator” is where the gains come from.

    4. A Reusable Evaluation Plan: Turning Subjective Feelings into Metrics

    To answer “which is more reliable,” you need a repeatable evaluation method. Design the task set and scoring sheet along the following dimensions.

    Building the task set:

    • Cover three difficulty levels: single-point faults, multi-cause coupling, and intermittent faults.
    • Include no fewer than several samples per level, and fix the initial amount of information (first without the manual, then with the manual).
    • Record the ground truth: the real root cause, the minimal verification action, and the recovery steps.

    Scoring dimensions (suggested 1–5):

    Dimension Focus
    Root-cause hit rate Whether it points to the real root cause or a necessary subset of it
    Step executability Whether on-site staff can follow it, and whether steps are skipped
    Citation accuracy Whether the cited section/parameter matches the problem
    Safety Whether it warns about power-off, ESD, and high-temperature/high-voltage risks
    Hallucination rate Whether nonexistent fault codes, parameters, or interfaces appear
    Convergence speed Number of interaction rounds needed to reach a valid hypothesis

    A schematic evaluation record structure (pseudocode, expressing the idea only):

    1. case = {
    2. id, phenomenon, context, has_manual,
    3. gold_root_cause, gold_min_verification
    4. }
    5. run(model, prompt_template, case) -> answer
    6. score = {
    7. hit: contains(answer, gold_root_cause),
    8. executable: rubric(answer, 1..5),
    9. citation_ok: verify_refs(answer, manual_index),
    10. hallucination: count_fake_codes(answer, code_table),
    11. turns: interaction_rounds
    12. }

    The value of this method is that it turns “a feeling about who is stronger” into statistically measurable hit rate, hallucination rate, and convergence speed, avoiding being misled by language fluency.

    5. Turning Heavy Manuals into Usable Context

    Large document volume is not insurmountable; the key lies in preprocessing and retrieval design.

    • Structural parsing: split by section, table, and figure caption, preserving the hierarchy path for traceable citations.
    • Metadata tagging: attach device model family, module name, fault-code range, and applicable version to each segment.
    • Hybrid retrieval: keyword search handles exact matches for fault codes and parameter names, while vector search handles semantically similar descriptions.
    • Reranking and pruning: do coarse recall first, then fine ranking, and feed only the few most relevant fragments into the context to reduce noise.
    • Making conflicts explicit: when parameters differ across manual versions, require the model to output a conflict notice rather than asserting one choice.

    A minimal retrieval call example:

    1. def build_context(query, index, top_k=6):
    2. kw = keyword_search(index, query) # exact: fault codes/parameter names
    3. vec = vector_search(index, query) # semantic: symptom descriptions
    4. merged = rerank(dedupe(kw + vec))[:top_k]
    5. return format_with_path(merged) # with section path, for verification

    6. Constraining Output with Prompts and Workflows So It “Doesn’t Dare to Make Things Up”

    A large part of model reliability comes from external constraints rather than the model itself. Practical measures include:

    • Enforce structure: first list symptoms and known quantities, then hypotheses and priorities, and finally the minimal verification action.
    • Enforce citations: attach the source in the material after each key conclusion; if there is no source, label it as “speculation.”
    • Enforce unknowns: require an explicit list of missing information and quantities that need on-site measurement.
    • Enforce safety: when power, high temperature, high voltage, laser, or other risks are involved, give protective steps first.
    • Single-step convergence: advance only one verification action at a time, and wait for the result to be filled in before continuing.

    Prompt skeleton example:

    1. You may answer only based on the given material.
    2. Output format:
    3. 1) Known symptoms and missing information
    4. 2) Hypothesis list (ordered by probability, each with a material path; write "speculation" if no material)
    5. 3) Minimal verification action (including required tools and safety notes)
    6. 4) If verification fails, the next branch
    7. Do not fabricate fault codes, parameters, or sections.

    7. Human-Machine Division of Labor: Putting the Model in the Right Place

    The efficient mode is not “asking the model for answers,” but “letting the model take on parallelizable cognitive work.”

    • The model handles: summarizing manuals, generating hypothesis trees, organizing test order, mapping fault codes to test points, and writing operation records.
    • The human handles: performing measurements, judging feel and abnormal noise, deciding on shutdown and replacement, and bearing safety responsibility.
    • The system handles: saving each interaction and result, forming a reusable fault knowledge base, and gradually accumulating it into retrieval-augmented private corpus.

    Once this loop is established, the model’s value shows up steadily: shorter retrieval time, fewer omissions, and faster onboarding for newcomers. Under bare-test conditions with no materials and no feedback, differences between models are limited, which is normal and should not be used to draw absolute conclusions.

    8. Conclusion

    In hands-on troubleshooting tasks, a more reliable way to compare models is to control documentation conditions, introduce objective metrics, and look at citation and hallucination rates, rather than comparing writing style. When documentation is missing, models tend to converge in performance; when documentation is sufficient, models that are good at using the material and can keep steps consistent have the advantage; but under either condition, as long as real observation and execution feedback are missing, no model can close the loop independently, and its output is only a hypothesis to be verified.

    The correct engineering posture is to embed LLMs in a system of “retrieval augmentation + workflow constraints + human execution + result feedback,” using common foundational capabilities such as retrieval, storage, logging, and monitoring on cloud platforms like Baidu AI Cloud to carry the context and evaluation data, letting the model do what it is good at and leaving judgment and execution to humans.