I have considered ways to introduce variation in language-model output while preserving plausible continuations, and later described a speculative-decoding compromise for DwarfStar. These ideas sit alongside my work on binary token sampling and relative probability cutoff, which describe other approaches to varying token selection.
I described an image of Mistral-generated tokens in which the 32 highest-scoring tokens were represented as squares of different intensity, with blue = 1 and white = 0.
In my opinion, exploiting tokens with more perplexity could add variations that likely will not result in catastrophic errors or put the model on the wrong path.
I said that the context will change, producing yet more variability.
I said this image was generated thanks to MLX.
In the last version of DwarfStar, I called the approach “opportunistic DSpark.”
For opportunistic DSpark, I use non-greedy sampling with the usual temperature.
I characterized opportunistic DSpark as a compromise between speed and sampling correctness.