Can LLMs Do Research? A TCS-Based Benchmark for Evaluating Research Capability

    This article proposes a practical, reproducible methodology for evaluating whether frontier large language models have the potential to do research, using theoretical computer science (TCS) as the evaluation domain. It explains why conventional benchmarks fail to measure research ability, why TCS fits the task, and how a 100-question framework maps to four core research actions: problem formalization, algorithm construction, lower-bound and impossibility proofs, and claim verification. It also covers scoring and statistics practices, engineering implementation details, and the key principle that verification cost must be far lower than generation cost. Teams working on model selection, internal evaluation platforms, or R&D productivity measurement can use this methodology as a reference.

    Introduction: When “AI Can Do Math” Is Settled, the Harder Question Begins

    The topic of “AI producing large volumes of mathematical manuscripts” has been discussed repeatedly lately. Supporters argue that formal proofs can be checked automatically by machines, making mathematics the easiest domain for validating large language models. Skeptics point out that model outputs are mixed with many unverifiable errors, and that quantity does not equal quality. The real focus of the debate is not “whether models can write proofs,” but a more engineering-oriented question: can we build a low-cost, automated evaluation method that resists memorization and determines whether a model has the potential to do research?

    This article takes “evaluating the all-domain theoretical computer science research capability of frontier large language models” as its prototype, abstracts it into a practical evaluation methodology, and offers it as a reference for teams doing model selection, building internal evaluation platforms, or measuring R&D productivity.

    1. Why Traditional Leaderboards Fail to Measure Research Capability

    The Essential Difference Between Solving Problems and Doing Research

    Most questions in conventional benchmarks are like “cooking by following a recipe”: inputs and outputs are clearly specified, solution steps appear extensively in training data, and scoring only requires comparing the final answer. Research is the opposite: there are no given steps, no known answers, and even the person posing the question may not know the conclusion. Mixing such questions into a leaderboard yields scores that reflect memory and pattern matching rather than exploration ability.

    Grading Cost Explodes with Output Length

    Research tasks often produce outputs dozens of pages long. Relying on humans to review every page makes costs uncontrollable; looking only at the conclusion makes it easy to be fooled by derivations that appear rigorous but contain hidden flaws. For an evaluation to hold up, verification cost must be significantly lower than generation cost.

    Data Contamination Skews High Scores

    Public question banks end up in training data, so models may memorize answers instead of learning to derive them. Key design points for contamination resistance include: newly created questions, undisclosed answers, and prioritizing question types where “the conclusion can be verified by a program but the derivation cannot be memorized.”

    2. Why Choose Theoretical Computer Science as the Evaluation Domain

    Theoretical computer science (TCS) studies computation itself: lower and upper bounds of problems, complexity hierarchies, and the boundaries of algorithmic feasibility. It sits at the intersection of mathematics and computer science, with abstract subjects and conclusions presented as proofs, which satisfies three conditions:

    • Objective answers: correctness does not depend on subjective preference;
    • Machine-verifiable: many conclusions can be turned into executable checking procedures;
    • Broad coverage: from combinatorial optimization to communication complexity, it maps to the daily actions of real research.

    An analogy: engineers care about how to tune the engine and interior, while TCS cares about traffic itself—the theoretical fastest time from point A to point B, and which roads are bound to be impassable. What an evaluation should test is exactly this “boundary judgment ability.”

    3. Evaluation Framework Design: 100 Questions, Four Research Actions

    A reproducible framework can be designed as 100 questions mapped to four categories of a researcher’s daily work, 25 questions each:

    1. Problem formalization: turn a computationally described problem in natural language into a rigorous mathematical formulation with clear definitions and input/output contracts. Scoring looks at whether definitions are complete, boundaries are covered, and ambiguities exist.
    2. Algorithm construction: given a problem, produce an algorithm and complexity analysis. Scoring looks at correctness, whether the complexity upper bound holds, and whether special cases are missed.
    3. Lower-bound and impossibility proofs: prove that a class of algorithms cannot do better. Scoring looks at whether reductions are valid and whether assumptions are abused.
    4. Claim and verification: given a conclusion and a derivation, determine whether it is true or false and point out where the flaws are. Scoring looks at localization accuracy and whether the reasoning holds.

    The first two categories can be graded automatically with “programmatic differential testing plus static checks.” The latter two can draw on formal verification ideas, handing propositions and proof steps to machines for checking, reducing human involvement to reviewing disputed samples.

    The scheduling logic of the evaluation is shown below (language-agnostic):

    1. for task in suite:
    2. output = model.solve(task.prompt)
    3. if task.type in {formalize, construct}:
    4. score = run_checker(output, task.hidden_tests)
    5. else:
    6. proof = normalize(output)
    7. score = formal_verifier.check(proof) # pass / fail / timeout
    8. log(task.id, score, latency, token_cost)

    The key point is: the scoring function must be a program, not another model’s “feeling.” Using a model as the judge introduces new unverifiability, which contradicts the original intent of the evaluation.

    4. Scoring and Statistics: Don’t Let One Total Score Hide Problems

    • Report by dimension: score formalization, construction, lower bounds, and verification separately to avoid a total score masking weaknesses.
    • Confidence intervals: when the number of questions is limited, report intervals rather than a single point to reduce noisy misjudgments.
    • Distinguish “can’t” from “not rigorous”: count “wrong conclusion,” “proof has holes,” and “timed out and incomplete” separately; the three correspond to completely different capabilities.
    • Cost dimension: record latency and token consumption at the same time, since research scenarios are extremely sensitive to cost.

    5. Practical Engineering Implementation

    1. Question bank governance: questions require two-person review before entering the bank, answers are kept out of training data, questions are rotated regularly, and a private holdout set is retained.
    2. Sandboxed execution: all checks run in isolated containers with resource and network limits to prevent untrusted outputs from affecting the host.
    3. Observability: use a unified logging service and monitoring/alerting system to track task success rate, timeout rate, and fluctuations, with automatic version rollback on anomalies.
    4. Data and compute foundation: questions, proof drafts, and check results are stored separately in object storage and structured storage; batch evaluations use a container platform for elastic scaling, with task queues smoothing peaks.
    5. Human-machine collaboration: automated grading handles scale, while experts only handle samples the machine marks as “uncertain,” forming a closed-loop iteration.

    If an organization already has a need for a self-built evaluation system, it can build the above pipeline based on general capabilities provided by Baidu AI Cloud (container platform, object storage, logging service, monitoring and alerting, etc.), without binding to any proprietary interfaces.

    6. Conclusion: Give Research Capability a Verifiable Yardstick

    Evaluating large language models with machine-gradable theoretical computer science questions is valuable not because it adds another leaderboard, but because it turns “research capability” from a subjective impression into a quantifiable, reproducible, and continuously trackable metric. For developers, this means model selection has a basis closer to real research scenarios; for organizations, this means R&D productivity measurement can escape the illusion of “being good at solving problems.” Only when verification cost is far lower than generation cost are we truly qualified to discuss how far AI is from “doing research.”