Home Tools Glossary Token Pruning
Technique

Token Pruning

Dynamic Token Pruning Technique

/toh-kuhn proon-ing/

An inference optimization technique that removes redundant or low-attention tokens from transformer layers to speed up execution.

In plain English
Token pruning acts like a smart editor that strips out filler words and repetitive phrases from long prompts during AI processing, speeding up generation significantly.
Real-world example
Accelerating inference throughput on long-context document summarization tasks.
Technical definition
Dynamic Token Pruning is an inference optimization technique that identifies and discards redundant or low-importance tokens across transformer layers based on attention weight scores. By reducing active sequence lengths during forward passes, it slashes computational overhead and accelerates generation speed.