CALSI: Context-Aware Layer Skipping Inference for On-Device LLM Serving

The large language model (LLM) based on the Transformer architecture and its derived various applications have greatly changed people’s lives. Considering some concerns such as privacy and network conditions, deploying LLM on smart devices has gradually become a research focus. In order to reduce the huge computation and storage overhead of LLMs, many works have studied model compression technology to reduce the model computation and parameter amount, thereby reducing the inference latency. This paper analyzes the characteristics of the on-device LLM service, including small batch size and latency focus, etc. We find the inefficiency of existing model compression technologies and new optimization opportunities, i.e., allocating different layers for different input tokens based on the task QoS requirements. Then we propose CALSI, a context-aware layer skipping LLM inference system for on-device serving. In the offline profiling phase, we analyze the importance of different layers of the model to different tokens and train a lightweight gated predictor. Then, we map the latency QoS requirements of different tasks with the predictor threshold. During the online inference phase, we adaptively allocate the layers that need to be computed to the specific token and design a KV cache delayed computation management mechanism to solve the KV cache missing problem caused by layer skipping. Experiments on real devices show that CALSI can achieve up to 24.1% latency reduction. CALSI has good generalization ability on various models and datasets and is compatible with other existing complementary optimization techniques.

Link
https://www.semanticscholar.org/paper/b55f24c3e3257011b8dc6ea308c4f54242ab7e53
Found by
Semantic Scholar
Authors
Pu-Han Luo, Mu Yuan, Ning-Kang Zhang, Rui-Guang Zhong, Jun-Yang Zhang, Cheng-Chen Hu, Xiangyang Li
Categories
dataset
Published
2026-10-01
Last seen by the radar
2026-10-03
Citations
0
Influential citations
0
Radar score
26.75 / 100 (how it is scored)
Why it scored so
Matched: dataset; Primary record: Semantic Scholar
Related links
https://doi.org/10.1109/TMC.2026.3697502
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar