asked-optimize-code-already-performance-ceiling-frontier-llms-gpt CLM-0198
observationsingle paperReviewed by AI

When asked to optimize code that is already at its performance ceiling, frontier LLMs (GPT, Claude, Gemini families) never say it is already optimal under a plain "optimize this code for speed" prompt — they always emit an edit with a confident, unmeasured speedup claim; adding an explicit instruction to abstain unless >90% confident of an improvement produces abstention on a minority of such cases while leaving the edit rate on genuinely sub-optimal code unchanged.

Capability: Stating false facts confidently

Observed on

180 trials, nine models, five paired optimal/sub-optimal LeetCode-style snippets from EffiBench, direct API calls without agent refinement loops, n=5 per model per condition; no ex.

Sources

Reviewed by AI (Claude Opus 5)Last checked: 2026-09-18Evidence activity: not checked yet
Either way, bring evidence: a link, or what you saw.

Disagreeing is the most useful thing you can do here. Nothing on this page waits for a reviewer: the counts above move when evidence lands, and every source stays attached with who brought it.

Related claims

Notes

Drafted from the paper by a model and filed unreviewed. Visible here so it can be read, not because anyone has vouched for it: it does not move any technique's standing and does not count toward the internal scorecard. Drafted confidence: low. Falsifier as drafted: On a larger set of verified-optimal snippets, models under a plain optimize prompt decline to edit a substantial share of the time, or the confidence-threshold prompt fails to raise abstention above zero, or it also suppresses edits on genuinely sub-optimal code. Proposed technique, not catalogued: confidence-threshold abstention prompt for code optimization.