NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Depth Exploration for LLM Decoding

Weisi Yang, Zipeng Sun, Stephen Xia

NeurIPS page · Open on the map

Category: LLM Reasoning, Memory & RAG › Efficient Language Model Scaling · Type: new method · Keywords: depth exploration decoding, LLM inference, early exit, speculative decoding, throughput optimization

Summary

Depth Exploration Decoding (DEX) introduces a lossless decoding algorithm that explores multiple candidate depths in parallel, reducing computation while preserving equivalence to standard autoregressive decoding.

Explained to a 5-year-old

A computer program writes sentences one word at a time, using a big model for each word. Even though it often knows the next word after only a few calculations, it still runs the whole model every time. The new idea lets the program try many early guesses at the same time and check which one is right. It keeps the correct guess and throws away the wrong ones, so it saves time. This makes the program faster while still writing the same correct sentences.

Explained to a 5-year-old, longer

A computer program called a language model writes words one after another, like finishing a story. To decide the next word, it runs a big set of calculations that take a lot of time. Sometimes the program already knows the next word after only a few of those calculations. But the old way still runs all the calculations every time, even if it already knows the answer. The new idea is like having many friends guess the next word at the same time. Each friend uses a different amount of calculations, some quick, some slower. The program checks all the guesses against a final, more careful check. It keeps the guess that matches the final check and drops the others. This way it saves the time of running the full calculations for every word. It still writes the exact same correct words as before, so nothing is lost. The program can be faster, especially for big models used in chatbots or translators. By trying many guesses together, it makes better use of the computer’s power.

For a technical reader

DEX introduces a lossless decoding scheme that explores multiple candidate depths in parallel, validating each against the final-depth model before committing the final token. By maintaining a lattice of branch states and collapsing it after each commit, the algorithm retains only reusable computations, thereby reducing per-token cost compared to single-depth exit strategies. The expand-commit-collapse loop guarantees equivalence to standard autoregressive decoding while exploiting early-exit redundancy. Experiments on both early-exit-trained and vanilla LLMs show that DEX outperforms depth-selection baselines and matches the throughput of speculative and distributed decoding methods. As the granularity of explored depths increases, DEX’s efficiency improves, demonstrating a scalable way to harness the underused depth axis of LLM inference.

Problem

Autoregressive LLM decoding processes each token through the full model, even though many tokens become predictable early, leading to wasted computation. Existing depth-adaptive methods choose a single exit depth, which can be suboptimal, causing either wasted compute or fallback to the full model.

Method

The approach explores multiple candidate depths in parallel at each token position, validates them against the final-depth model, commits the final-depth token, and collapses the exploration lattice to retain reusable branch states, thereby reducing per-token compute while maintaining equivalence to standard decoding.

Results

The approach outperforms depth-selection baselines and matches the throughput of speculative and distributed decoding methods, and its performance improves as more depths are explored.

Contributions

It introduces a lossless decoding algorithm that replaces single-depth selection with parallel depth exploration and demonstrates scalability across both early-exit-trained and standard LLMs.

Practical relevance

This work enables faster and more efficient LLM inference, allowing practitioners to reduce computational costs while maintaining exact decoding guarantees.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction