arXiv AI

COMPAS: Difficulty-Aware Joint Search for Optimizing Code Generation

arXiv:2608. 04336v1 Announce Type: cross Abstract: Code generation systems make each LLM call with a model, a prompt, and decoding settings.

arXiv AI
5d ago

Simplicity Goes Far: Auditing Prompt Optimizers with Demonstration-Conditioned Prompt Search

The paper introduces Demonstration-Conditioned Prompt Search (DCPS), a generate‑and‑select control that freezes the prompt generator and evaluates candidates on validation data using randomly sampled demonstrations. DCPS matches the performance of more complex prompt optimizers—such as PPO in StablePrompt and GEPA in DSPy—while using significantly fewer rollouts and lower API costs. The study shows that much of the benefit of advanced optimizers comes from the generate‑and‑select step, with additional mechanisms helping mainly on open‑ended or reasoning‑heavy tasks.

By Bohe Chen
arXiv Computation and Language
Nov 5

LLM Agents Already Know When to Call Tools -- Even Without Reasoning

The paper introduces When2Tool, a benchmark of 18 environments that categorizes tasks by whether a tool call is necessary, covering computational scale, knowledge boundaries, and execution reliability. It evaluates two training‑free baselines—Prompt‑only and Reason‑then‑Act—finding they inadequately control tool usage. By probing hidden states, the authors discover that models can predict tool necessity with high accuracy, leading to the Probe&Prefill method that reduces unnecessary tool calls by 38% with minimal accuracy loss.

By Chung-En Sun, Linbo Liu, Ge Yan, Zimo Wang, Tsui-Wei Weng
arXiv AI
Oct 9

How Should a Prompt Optimizer Spend a Tight Budget? BudgetAPO with Noise-Adaptive Evaluation

The paper introduces BudgetAPO, a single‑stage prompt optimizer designed for tight‑budget scenarios where only a few hundred model calls are feasible. BudgetAPO adapts the evaluation slice size to each task’s noise level, uses a fixed slice to turn accept/reject decisions into paired comparisons, and applies a reflective operator to jointly rewrite reasoning strategy and output format. Across seven benchmarks and five subject models, BudgetAPO outperforms existing methods, ranking first on every subject and requiring far fewer calls to achieve comparable or superior performance.

By Haoyue Liu, Zhichao Wang, Huanyu Yan, Xiaoying Tang
arXiv Computation and Language
Nov 4

SWE-Opt: A Benchmark for Evaluating LLMs on Performance-Oriented Repository-Level Optimization

SWE-Opt is a new benchmark that evaluates large language models (LLMs) on repository‑level software performance optimization. It is built from 102 expert‑written optimizations from open‑source projects and measures runtime, peak memory, and Time‑Weighted Memory Usage (TWMU) under varied input data, execution conditions, and noise‑aware measurements. The study finds that current LLMs achieve few runtime gains and almost no memory improvements, whereas expert implementations deliver a 15.5× speedup and 171.3× memory reduction.

By Ezgi Sar{\i}kayak, Wenchao Gu, Hesham Ghonim, Chunyang Chen
arXiv AI
Jun 18

Breaking the Solver Bottleneck: Training Task Generators at the Learnable Frontier

arXiv:2606. 18284v1 Announce Type: cross Abstract: The limiting resource for training agents via reinforcement learning (RL) is increasingly frontier task supply: valid, solvable tasks just difficult enough to train the current model.

By Lorenz Wolf, Connor Watts, Roger Creus Castanyer, Geoffrey Bradway, Maxwill Lin, Augustine N. Mavor-Parker, Matthew Daborn-Sargent
arXiv Computation and Language
Nov 2

Lineage Is Memory: Parent Inheritance and Feedback Disclosure in Short-Budget LLM-Guided Optimization

The paper investigates how iterative language‑model optimizers improve prompts and programs by evaluating candidates, exposing failing cases to a proposer model, and retaining revisions that enhance performance. By conducting 1,750 pre‑registered experiments across nine benchmarks, the authors disentangle the effects of parent inheritance (keeping a surviving parent) from feedback disclosure (providing failure summaries) under equal computational budgets. They find that greedy parent inheritance alone drives most optimization gains, outperforming seed‑reset strategies even when the latter receive comprehensive failure summaries or larger proposer models, and that the cost of proposer reflection is minimal compared to validation and minibatch gating.

By Shanglin Yang, Zhan Shi