Sharing random draws sped up language-model answers in tests
Researchers at Carnegie Mellon University let a small drafting model and the language model that checks its work use the same random draws. The change helps the smaller model spend its effort on drafts the larger model is more likely to accept. In one benchmark, the highest gain in text output per second was 24.6 per cent.
Artificial Intelligence··Night
AI image
Two models use the same draw
A smaller model can speed up a larger language model by drafting several possible continuations for it to check together. The larger model’s probabilities and a random draw then determine which text it accepts. In a single study, Carnegie Mellon University researchers Guanning Zeng and Andrea Zanette moved the draws before drafting. The smaller model can use that information to prioritise text that is more likely to pass the check.[1]
The comparison kept the drafting model fixed
The approach, called DICE, works with existing drafting models. The authors say it keeps the larger model’s probabilities for the generated text unchanged. They tried 16 pairs of drafting and main models across 18 configurations. Within each comparison, the drafting model’s weights and the software used to run it stayed fixed. The benchmarks covered tasks including translation, summarising and answering questions.[1]
The speed advantage vanished without random sampling
The largest gain on the SPEED-Bench benchmark was 24.6 per cent more pieces of text per second. In most experiments, NVIDIA H200 processors served requests individually. At the setting where the tested methods always took the most probable next piece of text, they ran at the same speed. The measured gains apply to the tested models and serving conditions.[1]