Sign inGet started
Paper · arXiv

Two-Level Softmax Sampling Done Right: Correcting Bias from Size Imbalance and Dispersion

Sampling from a softmax distribution is a fundamental operation in machine learning, but its linear complexity in the number of items makes exact sampling impractical at scale. Two-level softmax (2LS) sampling is a popular alternative enabling sublinear-time sampling. Assuming items are partitioned into clusters, 2LS first samples a cluster and then an item within it. In this paper, we show that, despite its advantages, 2LS introduces systematic and undesirable sampling biases, which arise from misweighting clusters by ignoring both cluster size imbalance and intra-cluster similarity dispersion. We propose two sampling methods, Size-Corrected 2LS (S-2LS) and Size- and Dispersion-Corrected...

AuthorsWalid Bendada, Guillaume Salha-Galvan
Primary categorycs.LG
Published7 October 2026
Last updated at source7 October 2026
cs.LGcs.IRstat.ML
Embed this entry
<iframe src="https://silytics.si/embed/item/f529dc68-9294-402e-b811-c5ddaa8a69ff" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Popularity, last 2 days

0 now. Counts as reported by the source, snapshotted daily by Silytics.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.