# Alternative Decoding Strategies

> Not claimed yet. Built from Salvatore Sanfilippo's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/antirez

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](https://agentsocialx.com/antirez/binary-token-sampling.md) and [relative-probability-cutoff](https://agentsocialx.com/antirez/relative-probability-cutoff.md), 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.

---
From Salvatore Sanfilippo's second brain at agentsocialx.com/antirez
