{
  "id": 777,
  "kind": "paper",
  "title": "BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?",
  "summary": "Introduces BigO(Bench), a benchmark for evaluating LLMs on understanding and generating code with specified time/space complexity. Includes tooling to infer algorithmic complexity of any Python function from profiling, plus 3,105 coding problems and 1,190,250 solutions from Code Contests annotated with inferred complexity labels, runtime, and memory footprints across input sizes. Finds token-space reasoning models are unrivaled at code generation but not at complexity understanding, hinting they may not generalize to tasks with no training-time reward.",
  "body": "",
  "notes": "Discovery: shared by Pierre Chambon (@PierreChambon6, FAIR/Meta AI & INRIA) in an X thread on 2026-09-29 presenting 3 papers on code optimization: https://x.com/PierreChambon6/status/2104966972043657560 | Method: complexity inference tooling from profiling measurements; evaluation of SOTA models on complexity-constrained generation. | Submitted 2025-03-19 (v1), revised 2026-09-22 (v3).",
  "url": "https://arxiv.org/abs/2503.15242",
  "links": [],
  "authors": [
    "Pierre Chambon",
    "Baptiste Roziere",
    "Benoit Sagot",
    "Gabriel Synnaeve"
  ],
  "tags": [
    "benchmark",
    "code-complexity",
    "code-generation",
    "big-o",
    "code-contests"
  ],
  "topics": "code generation, complexity analysis, benchmarking",
  "venue": "arXiv",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "public",
  "license": "",
  "published_year": 2025,
  "added_at": "2026-09-29T00:00:00.000Z",
  "verified_at": "2026-09-29T00:00:00.000Z",
  "attrs": {},
  "enrichment": {
    "s2": {
      "paper_id": "2c0a2131e86a8dcc523632202310094e94b40eec",
      "published": "2025-03-19",
      "fetched_at": "2026-10-03T14:57:49.436Z",
      "citation_count": 11,
      "reference_count": 0,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2503.15242",
      "title": "BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?",
      "authors": [
        "Pierre Chambon",
        "Baptiste Roziere",
        "Benoit Sagot",
        "Gabriel Synnaeve"
      ],
      "updated": "2026-09-22",
      "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.",
      "published": "2025-03-19",
      "categories": [
        "cs.CL",
        "cs.AI",
        "cs.CC"
      ],
      "fetched_at": "2026-10-03T14:57:49.436Z"
    }
  },
  "enriched_at": "2026-10-03T14:57:49.465Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "858",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/777",
  "markdown": "https://papers.projxon.ai/entries/777.md",
  "api": "https://papers.projxon.ai/api/entries/777",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 710,
      "kind": "benchmark",
      "title": "Astra vs. Fable 5.1 under a neutral Code quality panel | VulcanBench",
      "summary": "Per the Discord link embed: VulcanBench-SWE v4 rescores the same 230 runs with Code quality weighted at 33%, judged for a human reader by Muse Spark 1.3 and Grok 4.6 under a frozen, calibrated protocol — comparing Astra vs Fable 5.1.",
      "url": "https://vulcanbench.com/benchmarks/swe-v4-astra-fable51-v34.html",
      "authors": [],
      "tags": [
        "benchmark",
        "code-quality",
        "swe",
        "model-comparison"
      ],
      "venue": "VulcanBench",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/710",
      "markdown": "https://papers.projxon.ai/entries/710.md",
      "api": "https://papers.projxon.ai/api/entries/710"
    },
    {
      "id": 691,
      "kind": "paper",
      "title": "AI4AI-Bench: Benchmarking LLM Agents in Algorithmic Design for Recursive Self-Improvement",
      "summary": "A benchmark isolating whether LLM agents can design training algorithms — the core capability recursive self-improvement turns on. Ten frozen research repositories span ten training-algorithm families; in each task an agent gets 4 hours on one B300 to rewrite the training algorithm, and its code is rerun from scratch for up to 12 hours and scored by a fixed evaluator hidden from the agent against the repo's original algorithm. Scores are normalized so 0 is an uninformative model, 0.1 is the shipped algorithm, and 1.0 is the task optimum.",
      "url": "https://arxiv.org/abs/2608.20318",
      "authors": [
        "Yizhe Chi",
        "Wenyi Li",
        "Deyao Hong",
        "Xiaoqiu Wang",
        "Mingju Gao",
        "Kaisen Yang",
        "Bingxiang He",
        "Youjie Zheng",
        "Calvin Xiao",
        "Qinhuai Na"
      ],
      "tags": [
        "benchmark",
        "agents",
        "recursive-self-improvement",
        "training-algorithms",
        "evaluation"
      ],
      "venue": "arXiv (cs.AI)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 7,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/691",
      "markdown": "https://papers.projxon.ai/entries/691.md",
      "api": "https://papers.projxon.ai/api/entries/691"
    },
    {
      "id": 862,
      "kind": "paper",
      "title": "AgentWorld: Benchmarking Long-Horizon Collaboration of Multi-agent LLMs",
      "summary": "Existing multi-agent benchmarks test competitive settings, short-horizon interactions under 20 steps, or simply aggregate individual performance — failing to isolate genuine collaboration. AgentWorld is a benchmark of 100 human-annotated tasks (plus 100 augmented variants) for long-horizon multi-agent collaboration: tasks span 50+ interaction rounds in a rich MMORPG sandbox and require 3-20 agents with asymmetric roles and abilities to coordinate through communication, joint planning, and resource sharing under a blackbox setting where each agent acts independently without access to others' internal states. To quantify collaboration effectiveness beyond binary task success, it introduces Causal Collaboration Effectiveness (CCE), a graph-based metric tracing causal dependencies between agent actions to measure what fraction of a team's effort actually contributed to the outcome. Experiments with Gemini 3 Flash, Claude Haiku 4.5, GPT-5 Mini, and DeepSeek R1-70B: even the best model achieves only 52.0% task success, with systematic failure modes including communication breakdowns, role confusion, and inability to maintain shared plans across rounds. Fully open-source.",
      "url": "https://arxiv.org/abs/2609.31590",
      "authors": [
        "Raphael Shu",
        "Yusen Zhang",
        "Young Min Cho",
        "Jin Mo Yang",
        "Yuan Yuan",
        "Wenliang Zheng",
        "Sharath Chandra Guntuku",
        "Lyle Ungar",
        "Zhou Yu",
        "Rui Zhang"
      ],
      "tags": [
        "agentworld",
        "multi-agent-llm",
        "benchmark",
        "collaboration-effectiveness",
        "cce",
        "coordination",
        "long-horizon-tasks",
        "sandbox"
      ],
      "venue": "arXiv:2609.31590 (cs.MA), submitted 25 Sep 2026; published as a COLM 2026 conference paper",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/862",
      "markdown": "https://papers.projxon.ai/entries/862.md",
      "api": "https://papers.projxon.ai/api/entries/862"
    },
    {
      "id": 692,
      "kind": "code",
      "title": "AI4AI-Bench",
      "summary": "Official implementation of the AI4AI-Bench benchmark for recursive self-improvement via training-algorithm design. Ten tasks span generation, alignment, reasoning, unlearning, pruning, RL, reward modeling, and model merging. Each run separates open-ended exploration (up to 4h, agent produces a source patch) from reproducible measurement (fresh formal retraining up to 12h, up to 3 checkpoints, frozen validation and final evaluation). Apache-2.0; 41 stars, 3 forks as of late September 2026.",
      "url": "https://github.com/Einsia/AI4AI-Bench",
      "authors": [
        "Einsia (Yizhe Chi et al.)"
      ],
      "tags": [
        "benchmark",
        "agents",
        "recursive-self-improvement",
        "open-source"
      ],
      "venue": "GitHub",
      "source": "github",
      "license": "Apache-2.0",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 41,
      "page": "https://papers.projxon.ai/entries/692",
      "markdown": "https://papers.projxon.ai/entries/692.md",
      "api": "https://papers.projxon.ai/api/entries/692"
    },
    {
      "id": 729,
      "kind": "paper",
      "title": "ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks",
      "summary": "ProgramDistill (KAIST/Microsoft) is a benchmark and pipeline that turns working web apps into verifiable coding tasks: it mines 1,975 replay-verified behaviors from 26 live apps and constructs 4,063 tasks with no human labeling, asking coding agents to infer missing behavior from a live reference and reimplement it. GPT-6 Astra leads at 49.2% on full-application reconstruction; the associated dataset is public on Hugging Face.",
      "url": "https://microsoft.github.io/debug-gym/blog/2026/09/programdistill/",
      "authors": [
        "Jeonghye Kim",
        "Minseon Kim",
        "Young Jin Kim",
        "Matheus Pereira",
        "Marc-Alexandre Côté",
        "Alessandro Sordoni",
        "Xingdi Yuan",
        "Zhengyan Shi"
      ],
      "tags": [
        "benchmark",
        "coding-agents",
        "swe",
        "evals",
        "web"
      ],
      "venue": "arXiv:2609.18805",
      "source": "web",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/729",
      "markdown": "https://papers.projxon.ai/entries/729.md",
      "api": "https://papers.projxon.ai/api/entries/729"
    },
    {
      "id": 695,
      "kind": "paper",
      "title": "The Illusion of What If: Evaluating the Breakdown of Counterfactual Reasoning in LLMs",
      "summary": "Presents WhatIfBench, a diagnostic benchmark, and PRISM, an evaluation framework, to assess how large language models handle counterfactual ('what if') reasoning. The study characterizes where LLM counterfactual reasoning breaks down.",
      "url": "https://www.alphaxiv.org/abs/2608.27953",
      "authors": [
        "Zhejiang University",
        "Alibaba Group",
        "and City University of Hong Kong (individual author names not verified)"
      ],
      "tags": [
        "counterfactual-reasoning",
        "evaluation",
        "benchmark"
      ],
      "venue": "alphaXiv (arXiv:2608.27953)",
      "source": "web",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/695",
      "markdown": "https://papers.projxon.ai/entries/695.md",
      "api": "https://papers.projxon.ai/api/entries/695"
    }
  ]
}
