> In Figure 3, experiments are conducted for draft temperatures $> 1.0$. However typically, target model temperature is often set to 1.0 or less than 1.0. Given this, I was expecting draft temperatures also to be $<= 1.0$. I was wondering how these draft temperatures were chosen? Would it be possible to say how the gap between the proposed approach and previous approaches vary as the target model temperature varies from 0.0 to 1.0?
Our proposed IS scheme outperforms the baselines in terms of block efficiency for most temperature parameters. However it only provides improvements in the token rates when the block efficiency improvement is large enough. Indeed, when there is a "big enough" gap between the target and the draft model we can better demonstrate how the various methods are able to close it. This motivated the choice of the temperature parameters in our experiments. We have also added Fig. 4 in Section 5 in the main paper based on your suggestion. In this new experiment we vary the target model temperature from 0.2 to 1.0 and the draft model temperatures are set to 1.0. We did experiment setting temperatures of the draft model below 1, but the gains in acceptance rate were not big enough (c.f. Table 2), so there wasn't enough "room" to demonstrate gains with better schemes.
> Theorems 2 and 3 provide a nice characterization of acceptance probability. However, given two distributions $p$, $q$, evaluating the condition seems to require $2^\text{vocabulary size}$ number of computations. Is there a faster way to evaluate these quantities?
We did not focus on actual computation of the acceptance probability, as our proposed truncated LP scheme does not require this computation for implementation. We do compute the optimal acceptance probability in Table 2. Here we first apply top-k sampling with $k=5$, so the resulting vocabulary is small and an exhaustive search can be applied.
>There are some approximate ways to solve the optimal transport by Sinkhorn methods e.g., https://amsword.medium.com/a-simple-introduction-on-sinkhorn-distances-d01a4ef4f085. I was wondering if these ideas are applicable here?
We believe that a direct application of the Sinkhorn method to the optimal transport formulation in the K-draft setting of Sun et al [1] may still be slow in practice. In particular, the cost matrix associated with the optimal transport formulation will have $\Omega(n^K)$ non-zero entries, where $n$ denotes the alphabet size. As a result each iteration of the Sinkhorn algorithm could have a computational cost $\Omega(n^K)$, which may not result in improvements to the token rate.
[1] Ziteng Sun et al., Spectr: Fast speculative decoding via optimal transport. Advances in Neural Information
Processing Systems, 36, 2024.
>Architectures in ML, typically refer to neural architectures. Given several works which propose different drafting methods for speculative decoding, I was thinking ``canonical architectures" refers to some new drafters. It might be good to clarify this distinction early on in the paper.
We have replaced the term "canonical architecture" with "canonical decomposition" in most of the paper.
>Can you please expand on what token rate means? Is it the number of tokens / second?
Yes we define it as follows:
$$
\mathrm{Token~Rate} = \frac{\text{Number of Decoded Tokens}}{\text{Total Time Elapsed (seconds)}}.
$$
Instead of reporting the absolute value of token rate, in our experiments we report the percentage improvement in the token-rate with respect to the single draft baseline, to make it easier to note the improvement from having multiple drafts.