Evaluating the Research Capabilities of Large Language Models in Theoretical Computer Science

    This article argues that research ability is not the same as problem-solving ability, and that public leaderboards often reward familiarity with question types rather than genuine progress on unknown problems. It explains why theoretical computer science makes a stricter testbed—most of its conclusions can be checked by machines or rigorous rules—and proposes an evaluation covering four kinds of research work: problem formulation, proofs and counterexamples, algorithm design with complexity analysis, and open-ended exploration. It also covers exam design and contamination prevention, scoring with error analysis and reproducibility, how to interpret results, and the boundaries and misuse of such evaluations.

    Research ability and problem-solving ability are not the same thing. Public leaderboards usually provide standard answers, fixed steps, and outputs that can be compared automatically. When a model’s score rises, it often only proves that the model is more familiar with the question types, formats, and common techniques. Real research has no path written in advance: the boundaries of a problem may be vague, intermediate lemmas may not hold, and the final conclusion may be unknown to everyone when the work begins. If evaluation only checks whether the final number matches, it will mistake “restating a known solution” for “independently advancing an unknown problem.”

    Theoretical computer science is well suited as a stricter touchstone because most of its conclusions can be verified by machines or by rigorous rules. Whether a reduction preserves hardness, whether a proof derives its conclusion from its premises, and whether a set of complexity bounds is consistent with the algorithm analysis usually do not depend on subjective impression. This is similar to Sudoku: the construction process can be laborious, but once it is complete, clear rules can determine correctness. So when using this field to measure frontier large language models, the focus should not be on producing another collection of competition practice problems, but on covering the several kinds of work researchers actually do day to day, and on making the grading criteria as verifiable as possible.

    Four Kinds of Research Work the Evaluation Should Cover

    The first kind is problem formulation. Researchers must first turn vague requirements into precise definitions: what the inputs and outputs are, what computational model is allowed, how the success condition is stated, and which assumptions are acceptable. A common failure here is not miscalculation but quietly changing the problem: dropping boundary conditions, replacing the worst case with the average case, or writing a decision problem as an optimization problem without stating the objective function. The evaluation should check the completeness of the definition, its equivalence to the original problem, and whether the key assumptions are stated explicitly.

    The second kind is proofs and counterexamples. Given a proposition, the model can either attempt a proof or construct a counterexample showing the proposition is false. Scoring cannot rely only on natural language that “looks like a proof.” Each step should be traceable to a known lemma, a definition, or the previous step; if a counterexample is used, a concrete instance must be given and verified item by item to satisfy the premises and violate the conclusion. Formal proof systems or independent checking programs can serve as judges, but the evaluation design itself should not be tied to any single tool—as long as the checking rules are public and repeatable.

    The third kind is algorithm design and complexity analysis. A task can ask for the algorithm idea, a correctness argument, time and space bounds, and where those bounds sit relative to known results: whether they reproduce a classic upper bound or obtain the same conclusion under weaker assumptions. Here one must distinguish “remembering the name of a textbook algorithm” from “being able to reduce the problem to a suitable subproblem.” Complexity notation must be consistent with the computational model, and one cannot jump arbitrarily among comparison models, randomized models, and approximation algorithms without declaring it.

    The fourth kind is open-ended exploration. Some problems have no standard answer, and what is tested is the ability to propose candidate conjectures, design falsifiable intermediate goals, identify where a proof gets stuck, and explain the most informative next attempt. Such tasks cannot be judged right or wrong by a single number and should use an auditable rubric: whether the conjecture is self-consistent, whether it gives a checkable special case, whether it states failure conditions clearly, and whether it avoids treating an unproven claim as a proven fact. During manual review, reasons for disagreement should be recorded, so that “fluent writing” does not substitute for “the logic holds.”

    Exam Design and Contamination Prevention

    Questions should be layered by difficulty and knowledge dependency, rather than piling up obscure terminology. Each question should make public: the task type, the input, the known results that may be used, the prohibitions, the output format, and the grading points. If the goal is to measure research rather than memory, it is better to use newly combined problems: transferring a classic technique to a slightly altered model, or requiring a re-proof under given constraints, rather than restating the original conclusion of some paper.

    Training data contamination is the main threat. Merely changing numbers, proper nouns, or the order of narration often fails to block memorization. More robust approaches include: keeping the questions confidential before release, recording the construction process, retesting with multiple equivalent phrasings, and checking whether the model still “recites” the original proof when a key condition is missing. At the same time, keep a small portion of fully public example problems to illustrate the grading standard and avoid a black-box leaderboard.

    The sample size should cover the subfields, but there is no need to pursue an unlimited number of questions. Theoretical computer science varies greatly internally; graph theory, logic, foundations of cryptography, approximation algorithms, and communication complexity cannot substitute for one another. When reporting results, present them by subfield and by task type rather than giving only a single total score. A total score is suited to ranking and promotion, not to diagnosing capability gaps.

    Scoring, Error Analysis, and Reproducibility

    Automatic scoring is suited to parts with a unique or verifiable answer: whether a definition contains the required fields, whether a counterexample passes the checker, whether a complexity expression falls within the allowed set, and whether a proof passes formal verification. Natural-language proofs need a “step checklist plus spot checks.” It is advisable to split a proof into three categories—claims, justifications, and reasoning relations—and to record missing justification or circular reasoning as separate errors, without letting a later correct conclusion cancel out an earlier logical gap.

    Error analysis is more valuable than ranking. Typical errors include: swapping quantifiers, ignoring uniformity or adversary capability, writing an existence proof as a constructive proof, reversing the direction of a reduction, using a heuristic example in place of a general proof, and fabricating lemma names when uncertain. The report should give the distribution of error types and attach a few anonymized failure samples, so readers can judge whether the model is “close to correct” or “reliably producing seemingly rigorous nonsense.”

    Reproducibility requires a fixed inference setup: temperature, number of samples, whether multiple rounds of self-correction are allowed, and whether checker feedback is provided must all be stated. Allowing the model to revise its answer based on the automatic checker’s errors measures “closed-loop solving”; disallowing feedback measures “one-shot generation.” Both are meaningful, but they cannot be compared on the same leaderboard. Multi-round correction should also limit the number of rounds and the content of prompts, to prevent evaluators from unintentionally writing the answer structure into the feedback.

    The following pseudocode expresses a platform-agnostic grading flow. It only expresses the control logic and does not correspond to any vendor interface:

    1. for task in exam:
    2. output = model.solve(task, config)
    3. if task.kind in {definition, counterexample, bound}:
    4. score = checker.verify(task, output)
    5. else:
    6. steps = decompose(output)
    7. score = rubric.grade(steps)
    8. if audit_sample(task):
    9. score = human_reconcile(score, steps)
    10. record(task.domain, task.kind, score, error_tags(output))

    How to Interpret the Results

    A high score means the model more often produces verifiable evidence under the given constraints; it does not mean the model can independently choose research directions, nor that it remains reliable without a checker. A low score should not be simply understood as “completely clueless”: if the errors concentrate on quantifiers and reduction direction, the model has surface-level terminology but lacks proof discipline; if the errors concentrate on problem rewriting, it needs more constrained task descriptions rather than more open-ended instructions.

    For engineering teams, the purpose of this kind of evaluation is model selection and process design, not a replacement for peer review. Models can be used for literature review, definition drafts, enumeration of special cases, and first drafts of proof steps, but key lemmas, safety-relevant reductions, and conclusions intended for publication must still be reviewed by people with domain competence. Checker feedback, version pinning, and error tags should become part of the daily development workflow, not something used once when a leaderboard is released.

    For research institutions, publishing the method matters more than publishing slogans: the principles of question generation, contamination detection, subfield coverage, the agreement between automatic and manual scoring, and the difference between the “with feedback” and “without feedback” settings should all be reproducible by a third party. Keeping the questions private can protect the evaluation from memorization, but the grading rubric and error taxonomy must be public, otherwise the results cannot be discussed.

    Boundaries and Misuse

    Do not generalize the verifiability of a single field into “the model already has general research ability.” The strength of theoretical computer science is that its conclusions are often checkable; its weakness is that it cannot represent instrument error, data bias, and non-formalizable judgment in experimental science. Nor should one construct questions with only trick traps and no research substance just to increase discrimination. The goal of the evaluation is to see whether the model can advance reasoning under clear rules, not whether it can guess the question-setter’s preferences amid ambiguous wording.

    Finally, results should expire as models, questions, and checkers are updated. Citing old scores to compare new systems, or ranking across experiments with different feedback rounds, produces uninterpretable gaps. Treating the evaluation as a measuring instrument under continuous maintenance—periodically calibrating difficulty, updating contamination detection, and publishing error types—is what gives the phrase “research level” an operational meaning, rather than another undiagnosable total-score leaderboard.