paper-with-me

홈 › Papers

AlgoBench: Benchmarking Algorithmic Adaptation in Code Generation

2026-06-30 · Xinyuan Song, Zekun Cai, Liang Zhao arxiv

High pass rates on established programming benchmarks such as HumanEval and LiveCodeBench do not always show whether a model can reason about algorithms. Many fixed benchmarks eventually become part of the public training ecosystem through released problem statements, editorials, and generated solutions, allowing later models to improve partly by exposure rather than by stronger algorithmic ability. We introduce ALGOBENCH, a framework that automatically builds novel algorithmic problems from known competitive-programming problems through structured constraint-shifting transformations. Each accepted ALGOBENCH variant is traceable to a source problem, but must make the original reference algorithm fail. Beyond pass@$k$, we introduce complexity-aware metrics -- including OPTT, OPTS, TRAPRATE, GAPT, and CONSENS -- to test whether a solution is not only functionally correct but also asymptotically suitable for the generated problem. Experiments across multiple LLMs and prompting strategies show that performance drops sharply on ALGOBENCH variants, retrieval can increase reuse of the old algorithm, and many correct-looking solutions fail to meet the required complexity. Error analysis shows that failures are mainly algorithmic rather than implementation-level, suggesting that ALGOBENCH evaluates adaptation beyond functional correctness.

📄 PDF Abstract BibTeX arXiv:2607.00062

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Exposing Weaknesses of Large Reasoning Models through Graph Algorithm Problems

2026-02-06 · Qifan Zhang, Jianhao Ruan, Aochuan Chen, Kang Zeng 외 arxiv

Large Reasoning Models (LRMs) have advanced rapidly; however, existing benchmarks in mathematics, code, and common-sense reasoning remain limited. They lack long-context evaluation, offer insufficient challenge, and prov…

MMCode: Benchmarking Multimodal Large Language Models for Code Generation with Visually Rich Programming Problems

2024-04-15 · Kaixin Li, Yuchen Tian, Qisheng Hu, Ziyang Luo 외

Programming often involves converting detailed and complex specifications into code, a process during which developers typically utilize visual aids to more effectively convey concepts. While recent developments in Large…

BenchmarkingCode GenerationVisual Reasoning

CodeIF: Benchmarking the Instruction-Following Capabilities of Large Language Models for Code Generation

2025-02-26 · Kaiwen Yan, Hongcheng Guo, Xuanqing Shi, Jingyi Xu 외

With the rapid advancement of Large Language Models (LLMs), the demand for robust instruction-following capabilities in code generation tasks has grown significantly. Code generation not only facilitates faster prototypi…

BenchmarkingCode GenerationInstruction Following

Benchmarking Reinforcement Learning via Stochastic Converse Optimality: Generating Systems with Known Optimal Policies

2026-03-18 · Sinan Ibrahim, Grégoire Ouerdane, Hadi Salloum, Henni Ouerdane 외 arxiv

The objective comparison of Reinforcement Learning (RL) algorithms is notoriously complex as outcomes and benchmarking of performances of different RL approaches are critically sensitive to environmental design, reward s…

Reinforcement Learning

A Framework and Benchmarking Study for Counterfactual Generating Methods on Tabular Data

2021-07-09 · Raphael Mazzine, David Martens

Counterfactual explanations are viewed as an effective way to explain machine learning predictions. This interest is reflected by a relatively young literature with already dozens of algorithms aiming to generate such ex…

Benchmarkingcounterfactual