Shannon Entropy: The Gold Standard for LLM Predictability

Shannon entropy is the universally accepted metric for quantifying unpredictability or 'surprise' in data, including LLM outputs. In LLM training, models aim to minimize cross-entropy loss, directly tying lower entropy to higher predictability and more efficient language representation.

Sources

Open the full topic