Third-party inference providers and enterprise LLM users may want to take a look at a new memory-saving technology from researchers at Seoul National University of Science and Technology (SeoulTech) that could enable them to build more advanced AI systems.
The Softmax-Approximated Training-Free Linear Attention with KV-Cache Eviction (SLAKE) framework uses GPU memory more efficiently. It addresses a key challenge in inference optimization: reducing memory requirements and bandwidth demands while maintaining model accuracy.
“With SLAKE, the model keeps a rough but useful picture of the entire context instead of losing parts of it outright, so far less information is lost than with conventional eviction, while memory use stays small and fixed,” Huibeom Kang, the paper’s first author, said in a statement.
In tests on Llama-3.1-8B with 128,000-token inputs, SLAKE accelerated decoding by up to 10x and end-to-end processing by approximately 5.8x. It also reduced peak GPU memory usage by 30.83%.
The researchers claim it outperforms other compression techniques such as H2O, PyramidKV and CAKE in most tested configurations, while keeping average accuracy within four percentage points of full-memory inference (based on LongBench-16 tests with a 256-token cache budget).
How does SLAKE achieve these results? Read on…
The KV Bottleneck
One of the primary memory bottlenecks on inference GPUs is the key-value (KV) cache, which stores intermediate representations of previously processed tokens. A single 128,000-token session on a 70-billion-parameter model can require approximately 40 GB of VRAM for its KV cache, depending on the model architecture and numerical precision.
Inference engines can prune less important tokens from that cache to save memory, but doing so risks losing critical details.
If a model later needs context that has already been jettisoned, it may provide an incomplete or incorrect answer. Recovering that context could require recomputing portions of the original prompt at considerable expense. But continually increasing the memory to accommodate an ever-expanding context will be expensive as well.
The researchers’ solution to this conundrum, as detailed in a paper appearing in the January 14, 2027, edition of Neurocomputing, combines two compression strategies that have been difficult to integrate: KV-cache eviction and linear attention.
KV-cache eviction scores the importance of tokens so that low-scoring tokens can be discarded to conserve memory. The downside? Losing some contextual information.
Linear attention compresses the sequence of tokens into a fixed-size state, retaining an approximate representation of the broader context. However, this introduces a compatibility challenge: It replaces the traditional Softmax function that models use to calculate attention weights. Softmax converts attention scores into normalized weights that sum to one. Adapting existing models to a different attention mechanism often requires additional training, an expensive and potentially impractical step.
Enter SLAKE
SLAKE promises to compress context memory without unduly sacrificing accuracy by using two novel mechanisms: Partially Taylor-Approximated Attention (PTAA) and Value-Aware Budget Scoring (VABS).
PTAA retains standard Softmax attention for high-value tokens but doesn’t discard the information associated with the others entirely. Those lower-priority tokens are instead represented in a fixed-size linear branch that uses a Taylor-series approximation and shares a normalization reference with the Softmax branch, eliminating the need for model retraining.
VABS is used to identify these high-value tokens, those worthy of their own spots in the KV cache. Traditionally, the results of an eviction algorithm can be skewed by attention sinks, such as tokens associated with common punctuation marks that receive disproportionately high attention despite carrying little semantic information. VABS addresses that limitation by considering both the contribution of token values to the attention output and how much approximating them would distort that output.
While large frontier labs have the resources to retrain their models, SLAKE may be particularly useful to independent inference clouds that lack the ability to retrain foundation models and don’t have the massive GPU resources of the hyperscalers.
SLAKE could make advanced AI more affordable to small businesses, schools and individuals, the researchers assert.

