PulseAugur
EN
LIVE 07:16:39

LLM repetition penalty flaw corrupts structured output, paper finds

A new paper identifies a critical flaw in the widely used multiplicative repetition penalty in LLM inference, which branches based on the sign of raw logits. This arbitrary branching point leads to the penalty being ill-defined, as re-centering logits should not affect the output at a penalty of 1.0, yet it alters a significant percentage of tokens. Furthermore, this penalty corrupts structured output, drastically reducing the rate of valid JSON schema outputs from 97% to 23%. The paper proposes and demonstrates that applying the penalty to normalized log-probabilities instead of raw logits resolves both issues, with HuggingFace already shipping this operator. AI

IMPACT Fixing this repetition penalty flaw could improve the reliability of structured data generation from LLMs.

RANK_REASON Academic paper detailing a technical flaw in LLM inference infrastructure. [lever_c_demoted from research: ic=1 ai=1.0]

Read on arXiv cs.CL →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

LLM repetition penalty flaw corrupts structured output, paper finds

COVERAGE [1]

  1. arXiv cs.CL TIER_1 English(EN) · Peter Hollows ·

    Gauge dependence and structured-output corruption in sign-branched repetition penalties: measurements across models, inference stacks, and alternative repetition controls

    arXiv:2607.09791v1 Announce Type: cross Abstract: The multiplicative repetition penalty shipped across the LLM inference ecosystem (HuggingFace, vLLM, llama.cpp, and a dozen further engines) branches on the sign of each raw logit (divide positives by theta, multiply negatives). B…