Evaluating LLMs: Why Theoretical Computer Science Makes the Ultimate Test Benchmark

    As AI models generate hundreds of mathematical manuscripts, a new benchmark built around theoretical computer science reveals a persistent gap between benchmark scores and genuine research capability. This article explains why existing leaderboards fail to measure research skills, why TCS serves as an ideal evaluation ground with machine-verifiable proofs, and how its four task types—judging claims, constructing counterexamples, producing proofs or algorithms, and formalization—break research work into scorable actions. It also outlines a reusable benchmark construction workflow, key design principles, how to interpret results correctly, and practical engineering guidance for building a repeatable evaluation pipeline on cloud infrastructure.

    1. The Starting Point: Solving Problems Is Not Doing Research

    A research team, together with universities and research institutions, recently released a benchmark for evaluating frontier large language models on theoretical computer science. It was co-authored by a Turing Award winner and a researcher who founded an LLM startup. The approach is straightforward: hand the strongest current models an exam and see how they perform.

    The timing is notable. Shortly before this, a cloud vendor and a research community released hundreds of model-generated manuscripts, grouped by topic into several “result families” spanning more than a dozen areas, including number theory, theoretical computation, geometry, and mathematical physics. Whether models can already replace mathematical research became a heated discussion. Some mathematicians told the media that models share a common flaw across most fields: they produce errors that cannot be verified. Mathematics, especially proofs, is different—correctness can be checked automatically by a machine. It is like Sudoku: filling in the grid is hard, but checking whether it is correct afterward is easy. For this reason, the least controversial results from models tend to appear in mathematics-related areas.

    Yet the conclusion of this exam is remarkably restrained: when facing open conjectures that remain unresolved, none of the evaluated models could solve one independently.

    This contrast points to a single fact: there is a gap between rising benchmark scores and research capability that has not yet been crossed.

    2. Why Existing Leaderboards Fail to Measure “Research Ability”

    LLM evaluation cycles refresh roughly every two months, and leaderboards are plentiful. But the vast majority answer only one question: can the model solve problems?

    Solving problems is essentially following a recipe. The steps are given, the evaluation criteria are clear, the answer is usually unique, and highly similar samples can often be found in the training data. Research is the opposite:

    • There are no prescribed moves; the path must be designed by the researcher.
    • Success is unknown in advance, and failure is the norm.
    • For some problems, even the person who posed them does not know the answer.
    • Intermediate steps may be wrong while the conclusion happens to be correct, and vice versa.

    Grading cost makes things harder. A model can output hundreds of pages of derivation in one pass, and manual page-by-page verification is nearly impossible. When a model claims to have cracked a conjecture that has stood for decades, who vouches for it?

    Evaluation design therefore needs a different set of underlying assumptions: instead of testing “whether the answer looks right,” test “whether the process can be independently verified.”

    3. Why Theoretical Computer Science Is the Ideal Test Benchmark

    Theoretical computer science (TCS) studies “computation” itself rather than specific engineering implementations. Consider an analogy: programmers are like drivers who care about the engine and the interior, while TCS studies traffic—how fast you can get from point A to point B at best, and which roads are destined to be impassable. It sits at the intersection of mathematics and computer science, and its output consists mainly of theorems and proofs.

    There are three reasons it makes an ideal evaluation vehicle:

    1. Conclusions are machine-verifiable. The correctness of a proof can be checked step by step using formal methods or dedicated verifiers, turning grading from “subjective expert review” into “automatically executable validation.”
    2. Problem structures are clear. Directions such as complexity lower bounds, algorithm upper bounds, undecidability, and communication and query complexity all have well-defined models and quantitative objectives, making it easy to design discriminative problems.
    3. It is close to real research activity. A researcher’s daily work is not only solving problems but also judging, constructing, refuting, and specifying—all of which can be decomposed into scorable tasks.

    4. Four Task Types: Breaking Research Work into Scorable Actions

    The benchmark contains 100 problems divided into four categories, corresponding to four typical activities of a theoretical computer scientist. This classification is worth borrowing for any team building its own benchmark.

    (1) Judge whether a claim is true. Given a statement, the model must decide whether it holds, does not hold, or cannot be determined, and provide justification. This tests “mathematical taste”: whether the model can spot flaws in plausible-sounding statements.

    (2) Construct a counterexample. When a statement is false, the model must produce a concrete counterexample and verify that it satisfies all constraints. This tests construction ability, one of the most frequent and hardest-to-automate activities in research.

    (3) Provide a proof or algorithm. When a statement is true, the model must output a complete derivation, or an algorithm with complexity analysis. This tests the ability to turn intuition into a checkable argument.

    (4) Specification and formalization. The model must translate a problem described in natural language into a rigorous definition, or rewrite a proof into a form a verifier can accept. This tests the engineering ability to “turn a vague problem into a clear one”—precisely where LLMs most often lose points.

    Together, the four types cover the full loop of “read—judge—construct—argue—formalize,” avoiding the randomness of any single question type.

    5. A Reusable Benchmark Construction Method

    To implement a similar benchmark inside a company, the following workflow can be referenced:

    1. 1. Select: filter research-level questions that are public but whose answers are not obvious, ensuring no direct answers exist in training data
    2. 2. Define: for each question, specify model assumptions, quantitative objectives, and input/output specifications
    3. 3. Verifier: implement automatic validation for each task type (counterexample checking, proof checking, complexity accounting)
    4. 4. Baseline: set human researcher baselines (e.g., senior and entry-level tiers) and a random-guessing baseline
    5. 5. Isolation: store questions and verifiers separately to prevent answer leakage into training corpora
    6. 6. Regression: run the same set of questions on every model iteration, recording pass rates and per-question time

    Three key design principles apply:

    • Verifiability first. Questions that cannot be graded automatically are not suitable for the main leaderboard and can go into a manual spot-check pool.
    • Contamination prevention. Questions should be rotated regularly, and a portion of “private questions” should be retained for long-term tracking.
    • Process traceability. Record intermediate steps rather than only conclusions, making it easier to determine whether a model “guessed right” or “proved it right.”

    6. How to Read the Results Correctly

    The value of this kind of benchmark lies not in rankings but in exposing capability boundaries:

    • Low pass rates indicate that models cannot yet independently complete research-level tasks and still need humans to lead problem selection and route decisions.
    • The most points are lost on formalization tasks, indicating that “writing ideas rigorously” is the current main bottleneck.
    • Counterexample construction is stronger than proof construction, indicating that models’ search and verification abilities outperform long-chain reasoning.

    The practical takeaway for companies is that positioning LLMs as “research assistants” rather than “researchers” is more prudent. Practical uses include literature review, definition standardization, counterexample search, proof draft generation, and automatic validation, while leaving judgments about problem value and responsibility for final conclusions to humans.

    7. Engineering Implementation Recommendations

    To build similar capabilities in your own technology stack, you can combine general-purpose components:

    • Object storage to hold questions, verifiers, and historical results.
    • Message queues to decouple grading tasks and support large-scale concurrent validation.
    • Container platforms to provide isolated execution environments for untrusted code.
    • Logging services and monitoring alerts to track pass-rate fluctuations and abnormal latency.
    • Key and permission management to protect private question sets from leakage.

    With the general capabilities of cloud platforms such as Baidu AI Cloud, the above pipeline can be assembled relatively quickly into a repeatable evaluation workflow, shifting model iteration from “watching the leaderboard” to “watching verifiable metrics.”

    8. Conclusion

    Between solving problems and doing research lies not computing power but verifiability. Theoretical computer science offers a rare measuring stick: whether a conclusion is right or wrong can be checked automatically, and whether a process is good or bad can be examined step by step. Only when evaluation shifts from “does it look like the answer” to “can it be proven” will our judgment of model capability truly land.