Evaluating LLMs for Research: Why Theoretical Computer Science Is a More Reliable Benchmark

    Benchmark scores for large language models keep climbing, but high scores do not equal research capability. This article explains why most benchmarks fail to measure real research, and why theoretical computer science (TCS) offers a more reliable testbed: its results can be machine-verified, its difficulty spans textbook results to open conjectures, and unpublished answers resist contamination. It outlines a four-category evaluation design, a verification-first scoring approach, and practical lessons for enterprises building reproducible evaluation pipelines and human-in-the-loop workflows.

    1. The Starting Point: Prolific Leaderboards, Missing Research Capability

    Over the past two years, LLM leaderboards have been refreshed roughly every two months, with scores steadily climbing. Yet an increasingly obvious problem remains: high scores do not equal research capability. Most benchmarks measure the ability to “solve problems correctly within a known solution framework,” whereas real research work differs in three fundamental ways:

    1. Unclear problem boundaries: Research tasks often lack a complete specification of inputs and outputs. Researchers may even have to define what counts as “solved.”
    2. No predefined solution path: Doing exercises is like cooking from a recipe, with steps and acceptance criteria already provided. Research has no recipe; no one knows in advance which path to take or whether it will work.
    3. Answers may be unknown: For many open problems, even the person posing the question does not know the answer, so there is no ground truth to grade against.

    Grading cost makes things harder. A model may output hundreds of pages of derivation in a single response, making manual page-by-page verification nearly impossible. A claim such as “we have cracked a long-standing conjecture” is far harder to verify than to generate. A batch of AI-generated mathematical manuscripts previously released by a cloud vendor—aggregated by topic into hundreds of result families and spanning more than a dozen areas including number theory, geometry, and mathematical physics—sparked heated debate over whether AI had already replaced mathematical research. One consensus in the academic community is that AI’s biggest weakness in most fields is producing errors that are hard to verify, with mathematics and theoretical computer science as the exception: the correctness of a proof can be checked automatically by a machine. This is similar to Sudoku: filling it in is hard, but once it is filled, a quick scan tells you whether it is right.

    This “verifiability” is the breakthrough point for designing research-oriented evaluations.

    2. Why Theoretical Computer Science as the Evaluation Testbed

    Theoretical Computer Science (TCS) sits at the intersection of mathematics and computer science. Its subject of study is not concrete machines, code, or engineering implementations, but “computation” itself: how fast a problem can be solved at minimum, how many resources it requires at least, and which paths are in principle doomed to fail. Engineering practice is more like driving, concerned with the engine and interior; TCS studies traffic itself—the theoretical minimum time to travel from point A to point B, and whether routes exist that can never be traversed.

    There are three core reasons for choosing TCS as the evaluation testbed:

    • Machine-verifiable conclusions: Most results are presented as mathematical proofs or constructive algorithms, and correctness can be determined by formal checking or automated verification, avoiding subjective scoring.
    • Continuous difficulty gradient: Difficulty ranges widely from textbook-level results to open conjectures, testing both fundamentals and the upper limit.
    • Strong answer secrecy: Answers to open problems are not publicly known, making it hard for models to score by memorizing questions from training data, which provides better resistance to data contamination.

    3. Evaluation Design: Four Task Types Mapping to Four Real Research Activities

    A usable research-oriented evaluation typically contains about a hundred problems divided into four categories, each corresponding to a form of daily work for theoretical computer scientists. The following is a generalized design illustration:

    1. Reconstruction and proof of known results: Given a proposition, produce a complete derivation that can be verified step by step. Tests fundamentals and rigor of expression.
    2. Constructive design: Produce an algorithm or data structure that satisfies specific complexity constraints, along with a correctness argument and complexity analysis. Tests the ability to “build it.”
    3. Complexity lower bounds and impossibility: Prove that a problem cannot be solved faster under a given model, or point out that a class of methods must fail. Tests the judgment to say “this cannot work.”
    4. Open-problem research: Present a long-standing open problem and observe whether the model can produce new, verifiable progress. Tests the real upper limit of research.

    Scoring should adopt a layered “verifiability first” mechanism. The following illustrative pseudocode expresses its decision logic:

    1. def score(response, task):
    2. if task.type == "open_problem":
    3. # Open problems: only verifiable new progress counts; natural-language claims are not accepted
    4. return verify_formal_proof(response) if has_formalization(response) else 0
    5. if task.type in ("proof", "lower_bound"):
    6. # Proof tasks: checked line by line by a formal checker or automated verification pipeline
    7. return verifier.check(response.proof) # returns 0/1 to avoid disputes over partial credit
    8. if task.type == "construction":
    9. # Construction tasks: check correctness first, then verify the complexity upper bound
    10. ok = verifier.check_correctness(response.algorithm)
    11. return ok and verifier.check_complexity(response.algorithm, task.bound)
    12. return 0

    Key design principles include:

    • Only pose problems a machine can grade: The more a problem resembles real research, the harder it is to score; the value of TCS is unifying “research-like” with “gradable.”
    • Reject natural-language self-assessment: A model claiming “I proved it” earns no points; it must produce a checkable formal artifact.
    • Record process and result separately: Track “conclusion accuracy” and “derivation verifiability rate” separately, so a coincidentally correct conclusion does not mask flaws in the process.
    • Contamination-resistant design: Prioritize problems whose answers are not public, and rotate the problem set regularly.

    4. Conclusions and Takeaways: A Sobering but Clear Direction

    The conclusions from this type of evaluation are sobering: facing open conjectures that remain unresolved to this day, none of the tested frontier models can complete a solution on its own. This contrasts with the narrative that “AI has finished off mathematics,” and shows that the two are not contradictory—models’ ability to solve problems and reconstruct proofs within existing frameworks is indeed improving rapidly, but the gap between “can do exercises” and “can do research” remains significant.

    Practical takeaways for enterprises can be summarized in four points:

    1. Align evaluation with the role: If the goal is to assess whether a model can handle analysis, derivation, and solution-argumentation work, introduce automatically verifiable tasks rather than relying only on general Q&A scores.
    2. Build a reproducible pipeline: Put the problem set, verifiers, and scoring scripts under version control, fix the environment with a container platform, archive each evaluation’s artifacts in object storage, and use logging and monitoring with alerts to track the stability and regressions of evaluation runs.
    3. Read metrics in layers: Distinguish “accuracy,” “verifiability rate,” “average reasoning steps,” and “timeout rate”; a single aggregate score easily hides real weaknesses.
    4. Human-machine collaboration, not full automation: Grade verifiable tasks automatically where possible, and keep expert review for open tasks, forming a closed loop of “machine pre-screening + human final review.”

    Ultimately, the goal of evaluation is not to rank models, but to answer an engineering question: under given cost constraints, which types of tasks are most cost-effective to hand to a model. Building an evaluation system anchored on verifiability is currently the most pragmatic path to turning “research capability” from a slogan into a measurable metric, and can serve as a general methodology for AI capability selection and continuous regression testing in cloud service scenarios such as Baidu AI Cloud.