# Poster 29226

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/29226

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Thank you for your interest in our paper, Optimize Multi-Token Joint Decoding with Auxiliary Model for Latent Model Inference and Zongyuanxing from University of California, Los Angeles. We all know that latent model has become more and more popular nowadays. However, the time and energy consumption of latent model inference also increases significantly.
Not only because the number of parameters increase rapidly, but also because the emergence of reasoning language model, which requires generating a very long chain of thoughts before giving the final answer. So improving the inference efficiency becomes very important to real-world applications. Semantic coding is proposed to accelerate large-scale inference by exploiting a small.
Accelerate bank-bank model. It uses a small model to generate K graph tokens and then use the large model to write it in parallel. Then it will assemble an additional token to parameterize the first projected token. Although spectral coding achieves better efficiency,
Thus, in terms of both energy and time, and without compromising the output quality, we aim to do one step further. We aim to not only improve the efficiency of decoding, but also improve the output quality compared to greedy decoding or standard multinomial sampling. To achieve our goal, we first consider a hypothetical decoding algorithm called multi-token joint decoding, or MTJD.
We know that grid decoding at each step generates one additional token based on its conditional probability. When MTD generalizes the idea by sampling multiple tokens based on their joint conditional likelihood, we theoretically and empirically prove that MTD will have better output quality and complexity than the grid decoding. However, the issue of MTD is it is not efficient.
Sampling k tokens from their joint likelihood requires exponential size of samples space. To address this issue, we borrow the idea of the posterior coding. Specifically, we use a small model to generate k draft tokens via base sampling.
The key drives opens give us case substitutions, and we'll accept each period substitutions if and only if the ratio between the target likelihood and the threat likelihood is larger than a predefined threshold. Then we'll select the longest accepted substitutions and send out an additional token from the target distribution P. This will give us the output token for that one iteration of our approximate and multi-token assisted decoding algorithm.
We can directly prove that the perplexity ratio between the approximate MTD algorithm and the exact MTJD algorithm can be bounded. To verify the performance of our decoding algorithm, we test our model using a three model, also a three base model and a three instruction tuned model. We test our method on Spider, MTD bench.
As you may know, data centers may measure the speed, energy, as well as the output quality for deep learning algorithms. Here are the main results of our paper compared to the vanilla style of coding. Our method improves output quality by 25%, achieve an average of 1.42 times speed up, and consumes 1.44 times less energy.
That's all for my talk today and if you're interested in our paper feel free to read it online and check our Github repo. Thank you.
