When Generation Is No Longer Scarce: The Engineering of Discrimination in AI Systems

    As AI dramatically lowers the cost of generating content, the real bottleneck shifts to discrimination: distinguishing valid progress from fluent, self-consistent language. This article examines why generation alone is not enough, why cross-domain analogies do not automatically become valid proofs, and why the generation-verification asymmetry only holds under certain conditions. It then lays out a practical engineering framework for developers: replacing generation pipelines with evidence pipelines, building layered discrimination mechanisms, defining stopping rules for long-running research agents, and validating the discriminators themselves. The goal is not systems that always produce answers, but systems that can explain why an answer holds, under what conditions, and when to stop answering.

    1. If an AI Keeps Working on a Hard Problem, Where Exactly Is the Difficulty?

    Imagine an experiment: a developer provisions ample storage, equips an intelligent agent with literature retrieval, text reading, and program execution capabilities, and asks it to continuously work on a long-standing open mathematical conjecture. The system keeps collecting material, organizing definitions, proposing lemmas, assembling proofs, and revising failed approaches.

    This scenario is not absurd. It decomposes research activity into steps that existing technology can partially handle: information retrieval, knowledge organization, candidate generation, computational experiments, and process logging.

    But the fact that these steps can run continuously does not mean the final conclusion will hold. A system can produce large volumes of “proofs” every day without ever delivering a valid argument that survives step-by-step scrutiny.

    Two overcorrections should be avoided here. We cannot conclude that AI is inherently incapable of solving major mathematical problems just because current systems fail frequently. Nor can we conclude that a system is close to a breakthrough just because it produces professional, fluent derivations.

    The question genuinely worth asking is: when candidate answers can be mass-produced, what does the system rely on to distinguish valid progress from linguistic self-consistency?

    This is not only a question for mathematical research. It is the same question faced by intelligent coding, enterprise knowledge Q&A, data analysis, and automated decision-making.

    2. “Generation Is Solved” Is a Trend Observation, Not a Technical Fact

    AI has significantly reduced the cost of content generation, but generation at different levels varies greatly in difficulty.

    The first level is generating formally complete content, such as a piece of code, a report, or a derivation. The barrier for this kind of task has dropped noticeably.

    The second level is generating content that satisfies constraints: code must handle edge cases, a report must be consistent with its source materials, a derivation must follow from its premises. This still requires substantial verification.

    The third level is generating genuinely new knowledge or new methods. This demands not only coherent expression but also results that were previously unknown and can be independently validated.

    Therefore, “everything left is discrimination” works best as an engineering reminder: outputs are increasingly cheap to obtain, but trustworthy outputs remain expensive. It does not mean generation capability has hit its ceiling, nor that all tasks share the same primary bottleneck.

    For formulaic writing, generation may already be cheap enough. For discovering new algorithms, designing complex systems, and tackling open scientific problems, producing high-quality candidates is itself still hard. But regardless of how candidates are produced, verification is unavoidable at the end.

    3. Why Cross-Domain Association Does Not Automatically Become a Valid Proof

    Models can place concepts from different domains into the same chain of reasoning, which is valuable for exploration. But three levels must be distinguished:

    • Surface similarity: two passages use similar words or structures.
    • Structural correspondence: a definable mapping exists between two objects.
    • Transferable inference: the correspondence is sufficient to carry a conclusion from one side to the other.

    Many striking cross-domain explanations only complete the first level while directly claiming the third.

    For example, the fact that two problems can both be described as “energy minimization” does not mean they share the same solution space, constraints, or convergence properties. A conclusion that holds in finite dimensions cannot be extended to infinite dimensions without justification.

    A mathematical proof requires each of these connections to carry its own logical weight: Are the objects defined consistently? Does the mapping exist? Are the premises satisfied? Can the limiting processes be interchanged? Is the argument quietly assuming what it is trying to prove?

    Engineering is similar. “Both systems use event-driven architecture” does not imply they have the same consistency guarantees. “The solution works in the test environment” does not prove it is safe and reliable in production.

    Models are good at proposing connections; reliable systems must check whether those connections hold.

    At the same time, models should not be casually dismissed as “only recombining existing text.” Deriving conclusions that never appeared verbatim in the training material can itself produce new results. What matters is not whether a result existed in the training data, but whether it has been independently verified.

    4. The Generation-Discrimination Asymmetry Holds Only Under Conditions

    People often say that finding an answer is hard while checking it is easy. This holds for some tasks but cannot be generalized indefinitely.

    4.1 Tasks with explicit rules are easier to verify automatically

    For example, given an integer factorization, multiplication can check its correctness; given a formalized proof, a proof checker can verify it step by step against explicit rules.

    The common feature of these tasks is that inputs, outputs, and legality conditions are relatively clear.

    Even here, however, the boundaries of verification matter. A proof checker confirms the validity of a derivation within a formal system; it does not automatically confirm that the natural-language problem was formalized correctly. If the proposition was written incorrectly at the start, the machine may rigorously prove a conclusion different from the actual goal.

    4.2 Software tasks usually have only incomplete verification criteria

    Code that compiles only shows it satisfies certain syntactic and type constraints; passing tests only shows it behaves as expected on the inputs covered.

    If the tests do not include permission isolation, race conditions, failure recovery, or resource exhaustion scenarios, the system may still contain serious defects.

    Software verification therefore relies on multiple complementary mechanisms rather than a single score:

    • Static analysis catches certain structural problems.
    • Unit tests validate local behavior.
    • Integration tests check component collaboration.
    • Property-based testing covers broader input relationships.
    • Security reviews analyze attack paths.
    • Runtime monitoring detects deviations in real environments.

    4.3 Open-ended problems may have no low-cost judge

    Strategic plans, scientific hypotheses, and artistic works often lack an immediate, unique, and complete criterion of correctness.

    For these tasks, “are the facts reliable,” “is the reasoning sufficient,” “is the goal appropriate,” and “is the result valuable” must be discussed separately. They cannot be compressed into one vague quality score.

    Discrimination is therefore not a single action but a set of verification mechanisms matched to the nature of the task.

    5. From Generation Pipelines to Evidence Pipelines

    Traditional AI applications often follow a simple flow:

    Input → model generation → return result.

    For low-risk assisted writing, this may be adequate. But for executable code, business analysis, or advice with real consequences, evidence and verification stages should be added:

    Requirement clarification → constraint definition → candidate generation → independent checking → risk triage → human confirmation or controlled execution → result collection.

    The most important change is that the unit of output shifts from “an answer” to “an answer with its supporting evidence.”

    A candidate result suitable for a production workflow should at minimum state:

    • Objective: what problem it attempts to solve.
    • Assumptions: which known conditions it depends on.
    • Basis: what materials, data, or derivations were used.
    • Verification: what checks have been performed, and their outcomes.
    • Boundaries: which cases remain uncovered.
    • Status: whether it is an exploratory result, a result pending review, or one that meets the agreed acceptance criteria.

    This structure cannot guarantee absolute correctness, but it significantly reduces the situation where “the tone is confident while the basis is unclear.”

    6. How Developers Can Build Layered Discrimination Mechanisms

    Layer 1: Rewrite natural-language requirements as checkable constraints

    “Build a reliable API” is too vague. A better task definition specifies:

    Which input types are allowed, how missing fields are handled, who can access which data, what is returned on failure, whether idempotency protection is needed, and which operations must leave audit records.

    Requirements that cannot be checked automatically should still be turned into review checklists rather than left in the prompt.

    One point deserves special attention: if the requirements themselves are ambiguous, generating more code usually only enlarges the scope of rework.

    Layer 2: Assign different errors to different checkers

    Do not let a single language model serve as the judge for everything.

    Syntax problems go to syntax-checking mechanisms; numerical results should be re-derived through independent computation where possible; data query results are compared against source records; access control is verified through explicit policies and tests.

    Language models can assist by spotting omissions, explaining failures, and proposing counterexamples, but they cannot replace all deterministic checks.

    Having another model re-read the answer sometimes helps, but it does not constitute independent evidence. If two judgment processes share similar blind spots, they may endorse the same error simultaneously.

    Layer 3: Prefer hunting for counterexamples over repeated self-confirmation

    “Please confirm the above solution has no problems” tends to induce the system to keep defending its original conclusion.

    More valuable questions include:

    • What input would make this implementation fail?
    • Which assumption, if it fails, requires the conclusion to be withdrawn?
    • Are there real scenarios that violate the default assumptions?
    • Can a minimal counterexample be constructed?
    • Which check could distinguish between two competing explanations?

    In coding tasks, discovered counterexamples should be固化 into tests; in analysis tasks, counterexamples should be converted into statements about scope of applicability; in research tasks, failed approaches and their exact reasons for failure should be recorded.

    Layer 4: Determine automation boundaries by risk

    Low-risk, reversible content organization can allow a high degree of automation.

    Operations involving funds, permissions, sensitive data, or critical system configuration should face higher thresholds: restricted execution privileges, change previews, approval steps, and rollback paths.

    Two kinds of authority should be clearly distinguished: a system being able to propose an operation does not mean it can execute that operation directly.

    The degree of automation should be determined by the sufficiency of verification and the potential loss—not by the fluency of the output.

    7. Long-Running Research Agents Need Stopping Rules

    When an agent runs for a long time, the easiest metric to optimize is “how much content was produced.” But length, number of attempts, and runtime are not reliable proxies for research progress.

    More reasonable progress indicators include:

    • Whether a vague problem has been turned into a precise proposition.
    • Whether a key ambiguity has been eliminated.
    • Whether a valid counterexample has been constructed.
    • Whether a reusable local result has been proven.
    • Whether a class of candidates has been ruled out through experiments.
    • Whether a segment of argument has been converted into an independently checkable form.

    The system should also have stopping or escalation conditions. When successive rounds of search only produce the same kind of failure, when key premises remain unverifiable, or when candidates become highly repetitive, the system should pause expansion and move toward redefining the problem or requesting expert involvement.

    Otherwise, continuous operation may simply keep amplifying the same set of wrong assumptions.

    Adding storage and compute can raise exploration throughput, but it cannot automatically fix vague goals, missing criteria, and distorted feedback.

    8. The Discrimination System Itself Must Also Be Validated

    Placing a generative model in front and a scoring model behind does not inherently constitute a trustworthy architecture.

    Discriminators can be influenced by presentation: a wrong answer with confident wording, tidy structure, and dense citations may score higher than a plainly expressed correct answer.

    Developers therefore need evaluation sets containing typical errors, edge cases, and adversarial examples, while tracking:

    • The rate at which wrong results are accepted.
    • The rate at which correct results are rejected.
    • Whether the system can recognize insufficient evidence.
    • Performance differences across risk categories.
    • Stability after the data distribution shifts.

    If the system provides confidence scores, it is also necessary to check whether confidence matches actual accuracy. A model expressing that it is “very certain” is not itself proof of reliability.

    In addition, examples used for debugging the system should be kept separate from the final evaluation set, to avoid the system merely adapting to a fixed set of problems after repeated tuning.

    9. The Final Deliverable Is Not an Answer, but a Bounded, Trustworthy Result

    AI has changed the cost structure of knowledge work. In the past, people often could not generate enough candidates due to lack of time; now, more and more teams face the opposite problem: too many candidates and insufficient review capacity.

    But this does not mean creation no longer matters, nor that discrimination can fully replace exploration. High-quality generation determines the value of the candidate space; high-quality discrimination determines which candidates survive. The two advance together through feedback.

    For developers, the more actionable principles are:

    If something can be generated, attach its evidence wherever possible. If something can be verified, do not rely on language alone. If it cannot be adequately verified, state the uncertainty explicitly. Once real actions are involved, let permissions, approvals, and rollback carry the final responsibility.

    A truly mature intelligent system is not one that always gives an answer, but one that can explain why an answer holds, under what conditions it holds, and when it should stop answering.