Evaluating Large Language Models for Theoretical Computer Science Research
This article examines a benchmark of 100 problems designed to evaluate large language models on Theoretical Computer Science (TCS) tasks. It explains why high scores on popular leaderboards often measure problem-solving rather than research ability, breaks down the benchmark's four task categories, and shows how machine-verifiable results make large-scale evaluation practical. It also outlines the engineering infrastructure needed to run such evaluations and common pitfalls to avoid.
1. The Starting Point: Solving Problems Is Not the Same as Doing Research
In early November, a paper posted to a public preprint platform drew attention. The authors came from an AI startup and two university research institutions, and the team included a Turing Award winner and a founder of a large language model company. The paper introduced a full-domain evaluation suite for Theoretical Computer Science (TCS), using 100 problems to test some of the strongest current large language models.
To understand why this matters, start with a question that has long been blurred: model scores on various leaderboards keep climbing, but what does a rising score actually mean?
A useful analogy is driving. Programmers are more like drivers, focused on engine specs, interior features, and fuel consumption. TCS, by contrast, studies traffic itself—the theoretical fastest way to get from point A to point B, and which routes are physically impossible. It sits at the intersection of mathematics and computer science, and every problem revolves around “computation,” with proofs as the primary research method.
Judging these problems is similar to solving Sudoku: finding a solution is hard, but once the grid is filled in, checking whether it is correct is straightforward. For this reason, mathematics and theoretical reasoning tasks are the least controversial track for demonstrating AI capability. The problem is that most popular leaderboards only show that a model “can solve problems”; they do not reflect its “research level.”
Solving problems is essentially cooking from a recipe: the steps are ready-made, the flavor has a standard, and nobody adds chocolate to a pork dish. Research has no fixed steps, success or failure is unknown in advance, and even the person posing the problem may not know the answer. The closer a problem is to real research, the harder it is to grade. TCS is an exception—most of its conclusions can be verified by machines, which provides a rare practical entry point for “measuring research ability with verifiable tasks.”
2. Evaluation Framework: 100 Problems, Four Task Types
The evaluation suite contains 100 problems divided into four categories, corresponding to four types of daily work for TCS practitioners. The key to this design is not the number of problems, but how well the task distribution covers real research activity.
The first category is knowledge comprehension. It tests the model’s grasp of foundational definitions, classic results, and the structure of proofs in the field, answering whether it has the common-sense foundation of a researcher in this domain. Without this layer, all subsequent reasoning is built on air.
The second category is problem solving. Given a clearly bounded technical problem, the model must provide a conclusion and a derivation. This is closer to hands-on work than knowledge questions, but it still falls within the range where “a standard path exists.”
The third category is proof and construction. The model must provide a complete proof, or construct an object, algorithm, or counterexample that satisfies specific constraints. These tasks cannot be guessed through pattern matching; the logic must be internally consistent.
The fourth category is open research problems. The problem itself may have no known answer, and the model needs to propose conjectures, provide arguments, or explain why a certain path will not work. This layer is closest to real research and best at separating models by ability.
The four categories form a progression: from memory to reasoning, from reasoning to construction, and from construction to exploration. The value of the evaluation comes precisely from this gradient—single-dimension leaderboards saturate easily, while a multi-dimensional framework can expose the boundaries of capability.
3. Why Verifiability Is Central
The biggest obstacle to evaluating research ability is the cost of grading. If every problem depends on manual review by domain experts, the evaluation cannot iterate frequently. Verifiability turns this into an engineering problem.
Take formal verification as an example. Its decision logic can be abstracted as:
Input: proof object candidate produced by the model1. Parse candidate into a sequence of formal propositions2. Submit each step to the proof checker to verify inference rules3. If all steps pass -> judged as valid4. If any goal remains unclosed or a rule is misused -> judged as invalid, return the first failure location
This process brings three direct benefits: the judgment is objective, it can be executed repeatedly, and the failure location can be pinpointed. For model improvement, the third benefit is especially important—it turns an error from “something feels wrong” into “a rule was misused at step N,” making it possible to supplement training data in a targeted way.
It is worth emphasizing that verifiable does not mean simple. Checking a long proof chain can involve considerable computational cost, so the engineering implementation usually requires a layered strategy: first use lightweight checks to filter out obvious errors, then run full verification on those that pass.
4. Engineering Practice for Running the Evaluation
Actually running this kind of evaluation requires stable experimental infrastructure. Common capability categories include:
- Container platform: provides an isolated and reproducible runtime environment for each evaluation task, pins dependency versions, and avoids environment drift that would make results incomparable.
- Object storage: stores problems, model outputs, verification logs, and version snapshots, ensuring any result can be traced.
- Message queue: splits the hundred-problem workload into concurrent deliveries and balances the long-tail latency of the verification stage.
- Logging service and monitoring alerts: record the distribution of verification failures, timeout rates, and resource usage, making it possible to detect anomalies in the evaluation pipeline itself promptly.
On Baidu AI Cloud, these capabilities can be combined in a general cloud-native way. Together with unified job orchestration, this can solidify the “pose problem—answer—verify—archive” loop. The key design principle is that the problem version, model version, and verifier version must all be recorded at the same time; otherwise, any score loses comparability.
5. Common Pitfalls and Recommendations
Pitfall 1: equating high scores with research ability. Leaderboard saturation often only means the problems are not difficult enough or that training data already covers them. Maintain discriminative power with a held-out problem set and periodic problem rotation.
Pitfall 2: looking only at the final answer. Research ability shows in the process. Evaluate whether the proof is the shortest, whether the construction is optimal, and whether the model can correctly point out the contradiction when it fails.
Pitfall 3: ignoring the correctness of the grader itself. If the grader has flaws, evaluation conclusions will be systematically amplified, so the grader needs to be validated with an independent test set.
Pitfall 4: replacing continuous tracking with a one-time evaluation. Model iteration cycles have shortened to a few months, so evaluation must be automated and triggered on a schedule.
6. Conclusion
The significance of this work is that it pulls the question of “whether AI can do research” back from subjective debate onto a measurable, reproducible technical track. For developers, the transferable methodology is clear: find a domain where conclusions can be judged by machines, design a task set that covers the gradient of real work, and use an engineering pipeline to turn evaluation into a routine capability. For readers following AI progress, it also offers a more sober standard of judgment—look at the process, not just the score.
