Large Model "God-and-Demon Duality": Why LLM Performance Varies Across Tasks

    This article explains why new large language model releases often receive polarized reviews: strong results on short, well-defined tasks but unreliable behavior on long-running, multi-step workflows. It breaks down four engineering mismatches behind this pattern—context and state management, output readability, autonomy boundaries, and evaluation dimensions—and presents practical patterns for wrapping an unstable model in a stable system, including task decomposition with acceptance gates, state persistence and checkpoint recovery, validation-first execution, and cost control through routing and monitoring. Readers will learn how to evaluate models using their own task distribution and metrics such as success rate, human intervention rate, cost per task, and readability.

    1. The Phenomenon: Why One Release Gets Two Extreme Verdicts

    New general-purpose large models are now iterated at a rapid pace, with flagship versions and everyday workhorse versions often launched together. The flagship emphasizes complex reasoning and professional scenarios, while the everyday version emphasizes cost per task and throughput. After such a launch, reviews tend to split. Some users see clear progress in office document generation, UI and 3D output, and computer-use tasks. Other developers find that the model “goes missing midway” on long workflows and pushes back to humans the problems it was supposed to solve.

    Breaking the reviews apart, the “god” side concentrates on single-turn or short-chain tasks: templated document generation, spreadsheet cleanup, UI beautification, generating 3D structures from drawings, and GUI operation. These tasks have short context, clear goals, and strong verifiability, so the model can often get them right in one pass. The “demon” side concentrates on long-chain tasks: scenarios that require continuous execution for tens of minutes or even hours, span multiple files and tools, and require the model to locate its own errors along the way. This is not simply a matter of capability level; it is a mismatch between the distribution of capabilities and the structure of the task.

    2. Root Causes: Four Engineering-Level Mismatches

    2.1 Context Management and State Retention

    The information volume of a long task far exceeds what a single context window can reasonably hold. As the execution trace keeps growing, early constraints get diluted, and the model tends to “re-confirm the environment,” which is why it asks the user about internal paths, variable names, or the location of intermediate artifacts. The engineering answer is not to expect the model to “remember everything” but to externalize state: write the goal, constraints, completed steps, and artifact list into a structured task file, and load only the necessary fragment at each step.

    2.2 Output Readability and Communication Cost

    Overly defensive wording, lengthy explanations, and mixed colloquial expressions significantly increase the cost of human-machine collaboration. A more developer-friendly approach is to constrain the output contract at the system level: state the conclusion and artifact paths first, then add necessary notes; limit the length; and prohibit unfounded disclaimers. An illustrative constraint can be written as:

    1. Output rules:
    2. 1. The first line contains only the conclusion or artifact paths;
    3. 2. Notes must not exceed 5 lines, organized as "what was done / what the result is / what the risks are";
    4. 3. Uncertain information must be marked as pending confirmation and must not be guessed;
    5. 4. Do not output task-irrelevant hints or disclaimers.

    2.3 Autonomy and Responsibility Boundaries

    “Pushing problems back to the user whenever something goes wrong” is essentially a lack of an executable failure-handling strategy. The reliable approach is to define an escalation path in advance: retry first, then switch approaches, then narrow the scope, and only then request human intervention. It also specifies which categories of problems require human decisions, such as those involving external side effects, irreversible operations, or permission boundaries.

    2.4 Evaluation Dimensions

    A composite intelligence index, multi-step professional task benchmarks, and cost per task are three different dimensions. A model can rank high overall yet behave unstably on specific long workflows; the price per token can drop, yet the total cost per task may not fall year over year because the number of retries increases. Selection must return to your own task distribution and run small-scale benchmarks.

    3. Practical Approach: Packaging an Unstable Model into a Stable System

    3.1 Task Decomposition and Gates

    Split long tasks into independently verifiable subtasks, each with defined inputs, outputs, and acceptance conditions; a subtask that fails acceptance does not proceed to the next step.

    1. tasks = [
    2. {"name": "Parse requirements", "accept": "Number of requirement items >= 3 and includes acceptance criteria"},
    3. {"name": "Generate skeleton", "accept": "Directory structure and file list are complete"},
    4. {"name": "Implement features", "accept": "All unit tests pass"},
    5. {"name": "Self-check and report", "accept": "Output change summary and residual risks"},
    6. ]

    3.2 State Persistence and Checkpoint Resume

    Write task state to external storage, such as object storage or local files, and persist it after each committed step. After an interruption, execution can resume from the most recent checkpoint, avoiding the situation of “running for two hours without knowing whether anything was produced.”

    3.3 Validation Before Trust

    For code tasks, use compilation and tests as hard gates; for document tasks, use template field validation; for 3D or UI tasks, use rendered screenshots and manual spot checks. If validation fails, roll back rather than letting the model keep “explaining.”

    3.4 Cost Control

    In a general cloud environment, spending can be controlled by caching inputs, batching, using message queues to smooth peaks, and routing by task tier (simple tasks go to a low-cost everyday model, complex tasks go to the flagship model). Monitoring, alerting, and logging services can track retry rates and cost per task, forming a continuous optimization loop. If you use the relevant general capabilities of Baidu AI Cloud, you can likewise build an observable, recoverable execution foundation with a general combination such as “object storage + message queue + container platform + logging and monitoring.”

    4. Selection Advice and Conclusion

    When facing a model with “god-and-demon duality,” the right attitude is to treat it as a highly capable but unstable executor and use engineering means to constrain its boundaries: short-chain tasks benefit directly, while long-chain tasks require externalized state, stronger validation, and a clear escalation path. For evaluation, build your own task set and record five metrics: success rate, human intervention rate, cost per task, and readability score. Make decisions with data rather than leaderboards.