arxiv-2609-14839 SRC-0266 · paper

Efficiency Hallucination: Formalizing and Measuring Behavioral Calibration in LLM-Based Code Optimization

Created: 2026-09-13 · Ingested: 2026-09-18

https://arxiv.org/abs/2609.14839(opens in a new tab)

The integration of Large Language Models (LLMs) into automated code optimization introduces a critical reliability risk we term the Efficiency Hallucination: an LLM's tendency to issue non-functional mutations with unsubstantiated performance claims on already-optimized code. This is driven by the Evaluation Trap, wherein binary benchmarks incentivize unnecessary modifications over safely abstaining. We present a validation framework using classification penalty methods, evaluated across 180 optimization runs on nine models (GPT, Claude, Gemini) using EffiBench. Under standard prompts, models

Referenced by

Claims in this catalog that draw on this source, and whether as support or counterpoint.