Evaluating Theoretical Computer Science: A Test of LLM Research Capabilities

    As public benchmark scores keep rising, it is hard to tell whether models are becoming better researchers or just better at multiple-choice questions. This article proposes a theoretical computer science evaluation built on machine-verifiable open problems, covering algorithm design, complexity lower bounds, interactive proofs, and combinatorial and probabilistic methods. It explains the evaluation design, what each task category measures, and the engineering lessons for teams that want to assess research ability with reproducible, automated scoring.

    1. The Starting Point: Higher Benchmark Scores Do Not Mean Better Research

    Every few months, public leaderboard scores jump across the board, and the sheer volume of evaluation results is overwhelming. For engineers working on real deployments, however, the key question is not whether a model gains a few percentage points on multiple-choice questions. It is whether the model can find its own path on problems that come with no ready-made steps.

    An analogy makes this clear. Programmers care about the engine and the interior—implementation details and the engineering experience. Theoretical computer science cares about transportation itself: how fast travel from point A to point B can possibly be, which routes are doomed to fail, and whether a lower bound closes off entire possibilities. The former is building a car; the latter is studying the road network and physical limits.

    Scoring makes things even harder. Math and competition problems are the least controversial results vendors can report because they work like Sudoku: filling in the grid is difficult, but once it is filled, checking the answer is easy. Real research has no standard procedure, no one can guarantee success in advance, and for many problems even the person who posed the question does not know the answer. The closer a problem is to real research, the harder it is to grade automatically.

    Theoretical computer science is an exception: most of its conclusions can be verified by machines. The correctness of an algorithm can be checked through proof verification, a lower bound can be confirmed through formal derivation, and a construction can be tested by running a program. This provides a rare practical foundation for evaluating research ability.

    2. Core Evaluation Design: Problems Resemble Research, Scoring Resembles an Exam

    A usable research-oriented evaluation must balance two conflicting goals: problems must be open-ended enough to deserve the name “research,” and scoring must be deterministic enough to deserve the name “evaluation.” A practical implementation usually has the following layers.

    The first layer is coverage. The work of theoretical computer scientists falls roughly into four categories, and the evaluation is organized around the same four, with 100 problems in total:

    • Algorithm design: given a problem model, produce a better algorithm and analyze its complexity;
    • Complexity and lower bounds: prove that a problem cannot be solved faster under a given computational model;
    • Interactive proofs and verification mechanisms: construct prover–verifier protocols and test understanding of trusted computation;
    • Combinatorial and probabilistic methods: use counting, extremal arguments, and randomization to solve existence problems.

    The second layer is output format constraints. The model must produce checkable mathematical objects, not a personal reflection. For example:

    1. Input: graph G=(V,E), parameter k
    2. Required output:
    3. 1) Algorithm pseudocode
    4. 2) Key points of the correctness proof
    5. 3) Upper bound on time complexity, in the form O(f(n,k))
    6. 4) If optimality is claimed, a lower-bound argument
    7. Scoring: executable pseudocode + proof verifiable step by step + complexity claim consistent with the derivation

    The third layer is contamination prevention. Research-oriented problems are most vulnerable to having the original question already present in training data. Problem authors therefore construct variants, replace parameters, and modify constraints themselves, while keeping a private holdout set to determine whether a score reflects genuine ability or memorization.

    The fourth layer is reproducibility. Random seeds, inference parameters, and the version of the scoring script are fixed, so any change in scores can be traced to a specific modification.

    3. What Each of the Four Task Categories Tests

    Algorithm design tests whether a model can build a better machine. The model must choose its own technical approach—divide and conquer, greedy methods, dynamic programming, or randomization—and give an honest estimate of the cost. A common engineering failure mode is a mismatch between the claimed complexity and the pseudocode, and such errors have almost nowhere to hide under automated scoring.

    Lower bounds test whether a model can prove that a certain path is impossible. This is the most counterintuitive category because the answer is negative, and models tend to offer vague intuitive narratives instead of rigorous arguments. The evaluation typically requires an explicit computational model and cost measure; otherwise the scope of the argument expands indefinitely and becomes meaningless.

    Proofs and verification mechanisms test the ability to model trusted computation, including how a verifier with limited capabilities can be convinced. This corresponds directly to auditing, validation, and compliance scenarios in engineering.

    Combinatorial and probabilistic methods test existence constructions and counting intuition. The answer is often a concrete construction plus a probabilistic argument, and both can be checked mechanically.

    4. Conclusions and Engineering Implications

    The conclusion from this type of evaluation is sobering: when facing open conjectures that remain unresolved, none of the reference models could solve one independently. This does not negate the models’ value; it draws a boundary. Current models are good at producing results efficiently within existing paradigms, but they are not yet good at opening up new ones.

    There are three lessons for engineering teams. First, when choosing an evaluation set, prioritize whether scoring can be automated and verified; only open problems with verifiable scoring carry real information. Second, break “research ability” into observable metrics: proof completeness, consistency of complexity claims, executability rate of constructions, and robustness to changes in constraints. Third, engineer the evaluation pipeline itself: use a container platform to pin down the environment, object storage to archive problems and artifacts, a message queue to schedule batch inference, and logging and monitoring with alerts to track regressions.

    To put this loop in place in your own environment, start with a small problem set:

    1. def evaluate(model, tasks, verifier):
    2. report = []
    3. for t in tasks:
    4. out = model.solve(t.prompt) # Inference stage
    5. ok, detail = verifier.check(out) # Machine-verifiable scoring
    6. report.append({"id": t.id, "pass": ok, "detail": detail})
    7. return report

    On a general-purpose cloud platform with complete capabilities, such as Baidu AI Cloud, this loop can be automated further: a container platform hosts the inference and scoring runtimes, object storage keeps problem versions and result snapshots, and the logging and monitoring system handles long-term regression observation. Tools will change, but the methodology stays the same—an open problem that can be verified by a machine is the real currency for measuring a model’s research level.