Pith. sign in

REVIEW 3 cited by

BigO(Bench) -- Can LLMs Generate Code with Controlled Time and Space Complexity?

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2503.15242 v2 pith:BA4DCPY7 submitted 2025-03-19 cs.CL cs.AIcs.CC

classification cs.CLcs.AIcs.CC
keywords complexitycodebenchbigomodelstimebenchmarkspace
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

We introduce BigO(Bench), a novel coding benchmark designed to evaluate the capabilities of generative language models in understanding and generating code with specified time and space complexities. This benchmark addresses the gap in current evaluations that often overlook the ability of models to comprehend and produce code constrained by computational complexity. BigO(Bench) includes tooling to infer the algorithmic complexity of any Python function from profiling measurements, including human- or LLM-generated solutions. BigO(Bench) also includes of set of 3,105 coding problems and 1,190,250 solutions from Code Contests annotated with inferred (synthetic) time and space complexity labels from the complexity framework, as well as corresponding runtime and memory footprint values for a large set of input sizes. We present results from evaluating multiple state-of-the-art language models on this benchmark, highlighting their strengths and weaknesses in handling complexity requirements. In particular, token-space reasoning models are unrivaled in code generation but not in complexity understanding, hinting that they may not generalize well to tasks for which no reward was given at training time.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Rethinking Technology Stack Selection with AI Coding Proficiency

    cs.SE 2025-09 conditional novelty 6.0 of 10

    AI coding proficiency, a new measure of how effectively LLMs use a given library, reveals large quality gaps between competing Python libraries, with winners varying by model.

  2. SIMCOPILOT: Evaluating Large Language Models for Copilot-Style Code Generation

    cs.LG 2025-05 conditional novelty 5.0 of 10

    A new benchmark for copilot-style code completion and infilling shows that top models differ by up to 50 points on realistic tasks despite near-identical HumanEval scores.

  3. LLM-Based Instance-Driven Heuristic Bias In the Context of a Biased Random Key Genetic Algorithm

    cs.NE 2025-09 conditional novelty 4.0 of 10

    An LLM-generated, per-instance bias vector improves a BRKGA on the NP-hard Longest Run Subsequence problem, with statistically significant gains on 15 of 35 instance groups, concentrated on complex instances.

Pith tools