Quantifying Feature Predictability: Entropy's Role

Information theory uses entropy to quantify uncertainty; continuous feature spaces generally exhibit lower entropy (higher predictability) than discrete token spaces, although transforming continuous to discrete can incur information loss. [3, 9, 12]

The top 3

  1. 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.
  2. Feature Predictability: How EAGLE Reduces Entropy for Draft Models: While continuous features can inherently carry ambiguity, the EAGLE framework actively reduces their entropy by incorporating the next sampled token into the draft model. This targeted approach resolves 'feature uncertainty,' making feature-level predictions significantly more predictable and robust compared to relying solely on individual tokens.
  3. Lower Feature Entropy: Boosting Speculative Decoding Acceptance Rates: The quantifiable reduction in feature entropy directly enhances the performance of speculative decoding by increasing the acceptance rate of draft tokens. More predictable features lead to fewer rejections by the target model, translating into substantial inference speedups, often exceeding 25% and achieving 2-3x throughput gains.

Sources

Open the full topic