Theoretical Computer Science Benchmarks: Testing LLM Research Capability
High benchmark scores do not necessarily show that a large language model can conduct research. This article examines theoretical computer science as a test bed for research-oriented evaluation, outlines four task categories, and presents a generation–verification–aggregation pipeline. It also covers verifier versioning, repeated sampling, data contamination checks, and cloud deployment for reproducible, ongoing evaluation.
1. Beyond the Hype: From Solving Problems to Doing Research
A research team recently released a collection of mathematical manuscripts generated by large language models (LLMs). Grouped into hundreds of related “result families,” the manuscripts covered more than a dozen areas, including number theory, theoretical computer science, geometry, and mathematical physics. The release prompted sweeping claims on social media that AI had effectively conquered mathematics.
A subsequent preprint, coauthored by a recipient of a leading international computer science award and the founder of an LLM startup, brought the discussion back to a more concrete question. On a research-oriented problem set spanning theoretical computer science, none of the evaluated models independently resolved an unsolved open conjecture.
These findings are not necessarily contradictory. They measure different capabilities: producing apparently well-formed mathematical text and advancing a genuine research problem without a supplied solution path. The latter is research capability; most public leaderboards primarily assess performance on problems with established answers.
2. Why High Benchmark Scores Do Not Establish Research Capability
2.1 Benchmark Saturation and Recipe-Based Problem Solving
Mainstream benchmarks tend to have stable problem types, solution patterns, and scoring rules. After exposure to enough similar examples, a model can rely on pattern matching:
Identify the problem type → apply a familiar template → produce the expected answer.
This resembles cooking from a recipe: the steps are available, and the result has a known reference point.
Research is different. There may be no prescribed procedure or known answer. Even the person posing the question may not know whether the proposed statement is true.
2.2 Verification Cost Is the Real Bottleneck
A model can generate hundreds of pages of purported proofs within minutes. Checking them manually takes time that grows linearly—or worse—with their length. A decisive error might be hidden in a single interchange of quantifiers on page 70.
Without a reliable evaluator, assessment risks becoming a vote on plausibility rather than a measurement of correctness. Leaderboard scores then become much harder to trust.
2.3 Data Contamination
Preprint repositories, problem collections, and course notes frequently enter training corpora. A common failure mode is that both a problem and its solution appear in the training data.
Research-oriented evaluation must therefore assume that a model may have encountered a task before and include safeguards against mistaking recall for discovery.
3. Why Theoretical Computer Science Is a Useful Test Bed
Theoretical computer science (TCS) studies computation itself: how quickly a problem can be solved, which approaches face unavoidable limitations, and whether an established lower bound can be improved.
At the intersection of mathematics and computer science, it investigates algorithms, complexity, communication, coding, games, and randomness. Its principal outputs are proofs.
Several characteristics make TCS attractive for verifiable evaluation:
- Machine-checkable results: Formal proof checkers or combinatorial verification programs can evaluate suitable claims and constructions without subjective scoring. This depends on expressing the task and its answer in a form the verifier can check.
- Clear correctness criteria: Explicit constructions, counterexamples, and complexity bounds often have sharply defined requirements. As with a completed puzzle, finding an answer may be difficult even when checking a suitable answer is comparatively straightforward.
- Generated tasks and variants: Parameterized variations can be derived from a problem, helping distinguish general reasoning from memorization.
For appropriately designed tasks, these properties make it possible to combine research-level difficulty with automated scoring. They do not remove the need to build a reliable verifier for each task.
4. Designing the Problem Set: Four Task Categories
The benchmark described in the source contains 100 problems organized around four types of activity familiar to TCS researchers. Broadly, these can be understood as:
- Construction: Given an existence claim, explicitly construct an object that satisfies the requirements, such as an algorithm, code, graph structure, or counterexample.
- Proof: Establish an upper or lower bound through a derivation that can be checked step by step.
- Decision: Determine whether a statement is true or false and justify the answer. These tasks also test whether a model can reject a false premise.
- Formalization and connections: Convert an informal description into precise definitions, or identify a reduction connecting it to an established result.
The central design constraint is that tasks must resemble real research while remaining assessable. They should not supply a solution strategy, but their answers should be expressible in a form that supports verification.
Open conjectures are tracked separately to probe the upper limit of capability rather than contribute to an average score.
5. Scoring Engineering: A Minimal Reproducible Pipeline
A research-oriented evaluation pipeline can be organized into three stages:
Generation → verification → aggregation
The evaluator should remain independent of the model being tested.
# Pseudocode: evaluation loop using a verifiable scorerdef evaluate(model, tasks, verifier, k=4):records = []for t in tasks:outs = [model.solve(t.prompt) for _ in range(k)]flags = [verifier(t, o) for o in outs] # Automated scoring; returns boolrecords.append({"task_id": t.id,"category": t.category, # One of four task categories"pass": any(flags), # pass@k"pass_rate": sum(flags) / k, # Consistency across samples"avg_tokens": mean(len(o) for o in outs),})return aggregate(records) # Category pass rates + open problems solved
This is an architectural sketch rather than a complete implementation. In particular, len(o) measures the length of the returned object; actual token accounting must reflect the model output representation.
Several engineering practices are essential:
- Version the verifier: Keep tasks and verification logic under version control together. Treat any scoring change as a new evaluation version.
- Sample multiple times: A single attempt can be strongly affected by randomness. Report both success within k attempts and the fraction of attempts that pass.
- Report cost and length alongside accuracy: Include token consumption and inference time so that verbose answers are not mistaken for better reasoning.
- Archive failures: Incorrect proofs are valuable inputs for regression testing and prompt iteration.
The pipeline separates two questions that are often conflated: whether a model can produce a correct answer at least once, and whether it can do so consistently.
6. Cloud Deployment: Turning Evaluation into an Ongoing Service
Moving from a one-off experiment to continuous evaluation typically requires several general cloud capabilities:
- Object storage for task sets, verifier images, and historical results.
- Container infrastructure to scale inference and verification jobs.
- Message queues to absorb workload spikes and support retries.
- Logging, monitoring, and alerts to track pass-rate drift, timeouts, and unexpected costs.
The source describes combining these general service categories on Baidu AI Cloud, together with centralized permission and quota management, to create an isolated, traceable evaluation environment. For an overseas deployment, the availability of the relevant services and regions should be checked in the official documentation rather than assumed.
Practical operating guidelines include:
- Separate evaluation tasks from training data. Keep the datasets physically isolated and run contamination checks periodically. Retesting on rewritten or parameterized variants can help identify suspicious score changes. A sharp drop is a warning sign of possible leakage, not proof by itself.
- Maintain baseline and regression tracks. Run the full baseline whenever the model or prompt changes, and retain failed cases as a dedicated regression set.
- Report open problems separately. Record whether each open problem was solved rather than folding these results into the average score. Otherwise, aggregate metrics can obscure the model’s capability ceiling.
These practices make results easier to reproduce, compare, and investigate over time.
7. Conclusion
There is a verification gap between generating convincing text and demonstrating research capability.
Theoretical computer science is a useful testing ground not because it is more fashionable than other disciplines, but because carefully selected tasks can have precise, machine-checkable acceptance criteria.
For developers, the transferable approach is straightforward: choose verifiable tasks, manage evaluators as code, use repeated sampling and contamination checks, and operate evaluation as a continuous pipeline.
A 100-problem benchmark on which no evaluated model independently resolves an open conjecture provides a meaningful boundary—not a verdict that progress is impossible. Knowing where current capabilities stop is essential to deciding what to improve next.
