Length Penalty

Noun · AI & Machine Learning

Definitions

  1. A decoding parameter or scoring adjustment that discourages or encourages longer outputs when selecting among generated sequences. Length penalties are used to balance brevity and completeness in generation tasks.

    In plain English: A setting that influences whether AI outputs tend to be shorter or longer.

    Example: "They tuned the length penalty so summaries stopped ending abruptly but did not drift into rambling paragraphs."

Related Terms