Top-b sampling: entropy-adaptive decoding beats Top-p on GPQA and cuts variance 10x

cneuralnetwork · x · 2026-10-26

A new decoding strategy called Top-b uses Shannon entropy to dynamically adjust the candidate token band: narrowing it when the model is confident, expanding it when uncertain. Tested on Gemma 3 4B against Top-k, Top-p, Min-p, Typical and EAGLE-2, Top-b hit 26.80% on GSM8K (vs 26.13% for Top-p) while reducing run-to-run variance by 10x, and topped GPQA Diamond at 22.85% with the lowest average generation entropy (0.1579). Key insight: without retraining, just changing how you sample from the distribution makes generations far more consistent.

Original post →

More from Models

Models channel →