Research questionHow can repetition penalties remain invariant to logit shifts without corrupting structured LLM output?Sign- branched penalties treat positive and negative raw logits differently, even though adding a constant to all logits leaves the model’s probabilities unchanged. As a result, equivalent logit representations can produce different token choices and substantially reduce structured-output validity.