image: SLAKE simplifies attention calculations for less important tokens and allocates memory to those that contribute most to the model's output. It works with existing pretrained models without requiring additional training.
Credit: Professor Hyun Kim from Seoul National University of Science and Technology, Korea
When we give a large language model (LLM), such as GPT-4, Llama, or Mistral, a task such as summarizing a lengthy research paper or a conversation, it first breaks the text into smaller units called tokens. The model then processes these tokens to understand the text and generate a response. Today's LLMs can process inputs exceeding 128,000 tokens. However, processing such long inputs places considerable demands on computing power and memory.
Two common approaches help reduce these demands. One discards less important tokens to save memory, while the other simplifies calculations of relationships between tokens to reduce computing requirements. However, discarding tokens can cause information loss, while simplifying calculations can affect model accuracy.
To overcome these limitations, a research team led by Professor Hyun Kim, alongside Dahun Choi and Huibeom Kang—who conducted the work at the Department of Electrical and Information Engineering at Seoul National University of Science and Technology (SeoulTech), Republic of Korea, and is now a machine learning researcher at ENERZAi—has developed Softmax-Approximated Training-Free Linear Attention with KV-Cache Eviction (SLAKE). Instead of discarding less important tokens entirely, SLAKE retains an approximate representation of their information while keeping the most important tokens intact.
This paper was made available online on October 1, 2026, and will be published in Volume 709 of the journal Neurocomputing on January 14, 2027.
“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,” explains Kang, the first author of the paper.
SLAKE uses two techniques to achieve this. The first, called Partially Taylor-Approximated Attention (PTAA), uses a Taylor-based mathematical approximation to simplify attention calculations for less important tokens while retaining conventional attention calculations for important ones. The second, called Value-Aware Budget Scoring (VABS), helps the model decide which tokens to keep in its limited memory by considering how much each token contributes to the final response.
By approximating some attention calculations while retaining the original mechanism for important tokens, SLAKE can use the weights of existing pretrained models. This allows it to work directly with these models without additional training or changes to their architecture.
The researchers tested SLAKE using a Llama-3.1-8B model. Compared with conventional processing, SLAKE generated responses up to 10 times faster and improved overall processing speed by about 5.8 times. It also used 30.8% less peak memory when handling inputs of 128,000 tokens. When tested on the LongBench-16 benchmark, which evaluates how well LLMs process and understand long inputs, SLAKE's average accuracy remained within four percentage points of a full-memory model that retained all information from the input without compressing or discarding any tokens.
By reducing computing and memory requirements while maintaining high accuracy, SLAKE could make AI services faster, less expensive to operate, and capable of running locally on memory-constrained devices such as smartphones and smart-home hubs—allowing personal data to be processed privately on-device.
“Our work could make long-context AI cheap and fast enough to be part of everyday life. AI assistants could read entire books, contracts, or medical histories in seconds and remember months of conversation. Because methods like SLAKE work without retraining, these gains can be applied to existing models right away, making advanced AI affordable for small businesses, schools, and individuals rather than only large tech companies,” says Kang.
Reference
Title of original paper: SLAKE: Softmax-approximated training-free linear attention with KV-Cache eviction for long-sequence LLMs
Journal: Neurocomputing
DOI: https://doi.org/10.1016/j.neucom.2026.135275
About the institute Seoul National University of Science and Technology (SEOULTECH)
Seoul National University of Science and Technology, commonly known as 'SEOULTECH,' is a national university located in Nowon-gu, Seoul, South Korea. Founded in April 1910, around the time of the establishment of the Republic of Korea, SEOULTECH has grown into a large and comprehensive university with a campus size of 504,922m2.
It comprises 10 undergraduate schools, 35 departments, 6 graduate schools, and has an enrollment of approximately 14,595 students.
Website: https://en.seoultech.ac.kr/
About the authors
Huibeom Kang is an ML Researcher at ENERZAi. He received his B.S. (2023) and M.S. (2025) degrees in Electrical and Information Engineering from Seoul National University of Science and Technology, where he researched lightweight Transformer architectures and efficient inference for vision transformers and large language models in Prof. Hyun Kim’s lab. He is the first author of SLAKE.
Professor Hyun Kim received his B.S., M.S., and Ph.D. degrees in Electrical Engineering and Computer Science from Seoul National University in 2009, 2011, and 2015, respectively. He joined Seoul National University of Science and Technology in 2018 and is currently an Associate Professor in its Department of Electrical and Information Engineering. His research focuses on algorithms, computer architecture, memory systems, and system-on-chip design for multimedia applications and deep neural networks. He has published over 140 papers, holds more than 32 patents, and has received several awards, including the 2023 Haedong Young Engineer Award.
Journal
Neurocomputing
Method of Research
Computational simulation/modeling
Subject of Research
Not applicable
Article Title
SLAKE: Softmax-approximated training-free linear attention with KV-Cache eviction for long-sequence LLMs
Article Publication Date
14-Jan-2027
COI Statement
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.