Why AI Agents Score High on Benchmarks but Underperform in Production

    This article explains why high-scoring LLM agents often feel unreliable in real projects, a gap commonly described as "high scores, low capability." It breaks the problem into three areas—drifting goals during long-running tasks, redundant and evasive output, and weak design trade-offs—and analyzes their root causes. For each, it presents practical engineering fixes such as external task state machines, output contracts with post-generation compression, explicit design constraints, and example-driven review. It also covers observability metrics, regression evaluation sets, and a deployment checklist to help developers build stable, usable agent systems on top of existing models.

    Why LLM Agents Score High on Benchmarks but Underperform in Real Projects

    1. The Gap Between Benchmark Scores and Real-World Experience

    A recurring theme in recent industry discussions is that new general-purpose LLMs keep climbing the leaderboards, yet developers often find them “not that useful” in real projects. This gap is commonly summarized as “high scores, low capability.” It is not a single point of failure but the result of three overlapping problems:

    1. Weak progress on long-horizon tasks: In multi-step tasks that run for tens of minutes or even hours, the model tends to stop and repeatedly confirm trivial details, leaving the main objective stalled.
    2. Redundant output and off-target answers: A question that could be answered in one sentence gets expanded into several “comprehensive” paragraphs, diluting the key information.
    3. Insufficient aesthetic and engineering judgment: The model can “get it done” but struggles to “get it done well,” lacking judgment in interaction design, information hierarchy, and edge-case handling.

    It is worth stressing that these three points do not negate the model’s progress in areas such as 3D content generation, UI operation automation, and code generation. Rather, they point to a systematic gap between benchmark capability and product usability—a gap that must be closed through engineering design rather than simply waiting for the next model generation.

    2. Problem 1: Self-Doubt and Goal Drift in Long-Horizon Tasks

    2.1 Typical Behavior

    A pattern observed repeatedly is this: an agent working toward a clear goal (for example, “complete a refactor and verify it”) suddenly halts after running for a while and raises a low-value confirmation request that is almost unrelated to the main line—such as whether a certain asset file should be renamed. The user is forced to shift from “reviewer” to “babysitter,” constantly cleaning up after the agent.

    2.2 Root Causes

    • Goals are represented too vaguely: A natural-language goal lacks decidable completion conditions, so the model cannot tell whether it is “already done” and instead looks for small, confirmable actions to reduce uncertainty.
    • Context bloat dilutes attention: As history messages pile up during long tasks, the weight of early critical constraints is spread thin, and the model tends to handle the most recent, easiest-to-verify details.
    • No externalized state: Progress lives only in the conversation context; once the context is compressed, the task state is lost, and the model can only continue “by feel.”
    • Confirmation strategy is not tiered: All uncertainty is handled the same way—by “asking the user”—without distinguishing between “must ask,” “can decide autonomously,” and “should log and continue.”

    2.3 Engineering Fix: An External Task State Machine

    Upgrading the goal from “a paragraph” to “an executable state description” is the most effective way to suppress goal drift. At minimum, it should include: goal, constraints, acceptance criteria, step list, current status, and open questions.

    1. goal: Complete the refactor of module A and pass all unit tests
    2. constraints:
    3. - Do not change public interface signatures
    4. - Keep each change under 200 lines
    5. acceptance:
    6. - All unit tests pass
    7. - No new static-analysis warnings
    8. steps:
    9. - id: 1
    10. desc: Map the existing call chain
    11. status: done
    12. - id: 2
    13. desc: Extract shared logic
    14. status: in_progress
    15. open_questions:
    16. - id: q1
    17. desc: Log field naming style
    18. policy: decide_and_log # Decide autonomously and log it; do not interrupt the user

    Pair this with three runtime rules:

    • Interrupt the user only when an item marked must_ask appears in open_questions; decide_and_log items must be decided autonomously and written to a decision log.
    • Restate the “current goal + acceptance criteria” before each step to counter information loss from context compression.
    • Add “no-progress detection”: if several consecutive steps fail to advance the steps status, force a return to the goal level for replanning instead of continuing with peripheral confirmations.

    3. Problem 2: Taming Redundant Output and “Defensive” Phrasing

    3.1 Three Stages

    Extensive usage reveals an evolution path in output style:

    1. Coinage stage: A flood of unnatural abbreviations and invented terms pollutes natural technical writing.
    2. Defensive phrasing stage: The model tends to add heavy qualifiers, disclaimers, and symmetrical “on one hand / on the other hand” structures, growing monotonically.
    3. Unusable stage: Simple questions get expanded into multi-paragraph essays, with the conclusion buried at the end or missing entirely.

    A typical contrast: asked “why is the project slow,” a verbose answer spreads across four paragraphs without giving a reason, while the ideal answer is a single sentence—“Disk I/O is the bottleneck.”

    3.2 Root Causes

    • Training objective favors “coverage”: What gets rewarded is “looking thorough” rather than “high information density.”
    • Uncertainty avoidance: The model hedges with qualifiers to offset the risk of being wrong, at the cost of readability.
    • No output contract: The caller does not specify the structure or length of the answer, so the model improvises.

    3.3 Engineering Fix: Output Contract + Post-Compression

    Establishing a clear output contract on the calling side is more reliable than hoping the model will “self-regulate”:

    1. Answer rules:
    2. 1. State the conclusion first, then the evidence; keep the conclusion to no more than 2 sentences.
    3. 2. No disclaimers or symmetrical lead-ins.
    4. 3. If there is a single cause, output only that cause; if there are several, rank them by impact, up to 3.
    5. 4. When uncertain, output "Additional information needed: X" instead of long speculation.

    On the engineering side, you can add a post-compression pass: first let the model produce a draft, then run a low-temperature “compression pass” to trim it to the target length and verify it contains a conclusion sentence. Combined with structured output (for example, JSON Schema constraints on fields and enums), this can significantly reduce redundancy and off-target answers.

    1. {
    2. "conclusion": "Disk I/O is the bottleneck",
    3. "evidence": ["P99 random-read latency is high", "Cache hit rate is below expectations"],
    4. "confidence": "high"
    5. }

    4. Problem 3: From “It Runs” to “It’s Good”—Aesthetics and Trade-offs

    The gap between “can build it” and “builds it well” is essentially a lack of the ability to make trade-offs under constraints. Engineering can close this gap through three means:

    • Explicit design constraints: Write information hierarchy, interaction density, and accessibility as hard requirements, for example “keep only one primary call to action above the fold” and “error messages must include a fix suggestion.”
    • Example-driven guidance: Providing 2–3 positive examples and 1 negative example is far more effective than abstractly describing “have good taste.”
    • Two-stage review: After generation, add a “reviewer” role that scores each item against a checklist and writes back revisions, forming an internal loop.

    5. Observability and the Evaluation Loop

    Governance of these problems depends on measurement; otherwise, you cannot tell whether a change is effective. Four categories of metrics are recommended:

    Dimension Metric What it measures
    Task progress Step advancement rate, no-progress steps Goal drift
    Interaction cost Interruptions per unit task Whether the confirmation strategy is reasonable
    Expression efficiency Conclusion-first rate, word-count-to-information ratio Degree of redundancy
    Result quality First-pass rate, rework rate Real usability

    For implementation, you can combine general cloud product categories: use object storage to archive task states and decision logs, a message queue to decouple stage scheduling of long tasks, a container platform to host parallel evaluation jobs, and logging and monitoring/alerting services for metric dashboards and threshold alerts. Baidu AI Cloud offers the general capabilities in these categories and can serve as a foundation for building such an evaluation and scheduling pipeline; specific choices should be assessed against your own scale and compliance requirements.

    Building the evaluation set is equally critical: accumulate 100–300 task samples with reference answers from real projects, covering three scenarios—long-horizon tasks, simple Q&A, and UI generation—and run a full regression on every prompt or model-version change, avoiding “judging better or worse by feel.”

    6. Deployment Checklist

    1. Write a YAML/JSON state description for the target task, with clear acceptance criteria.
    2. Define a tiered confirmation strategy where only must_ask is allowed to interrupt the user.
    3. Fix the output contract on the calling side, and add post-compression and structured validation.
    4. Maintain a decision log that records the trade-offs the model makes on its own, for traceability.
    5. Build dashboards for the four metric categories and a regression evaluation set, forming a weekly iteration cadence.
    6. Introduce staged scheduling and failure retries for long tasks, avoiding a single long context carrying all state at once.

    7. Conclusion

    “High scores, low capability” is not a problem that will automatically disappear by waiting for the next model generation. It is a gap in four engineering capabilities: goal representation, context management, output contracts, and the evaluation loop. By turning vague goals into decidable states, constraining verbose output into structured conclusions, and breaking subjective aesthetics into checkable lists, developers and enterprises can build truly stable and usable agent systems on top of existing model capabilities.