MeKi: Memory-based Expert Knowledge Injection for Efficient LLM Scaling

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ding, Ning, Liu, Fangcheng, Kim, Kyungrae, Hao, Linji, Lee, Kyeng-Hun, Ko, Hyeonmok, Tang, Yehui
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918321127948288
author Ding, Ning
Liu, Fangcheng
Kim, Kyungrae
Hao, Linji
Lee, Kyeng-Hun
Ko, Hyeonmok
Tang, Yehui
author_facet Ding, Ning
Liu, Fangcheng
Kim, Kyungrae
Hao, Linji
Lee, Kyeng-Hun
Ko, Hyeonmok
Tang, Yehui
contents Scaling Large Language Models (LLMs) typically relies on increasing the number of parameters or test-time computations to boost performance. However, these strategies are impractical for edge device deployment due to limited RAM and NPU resources. Despite hardware constraints, deploying performant LLM on edge devices such as smartphone remains crucial for user experience. To address this, we propose MeKi (Memory-based Expert Knowledge Injection), a novel system that scales LLM capacity via storage space rather than FLOPs. MeKi equips each Transformer layer with token-level memory experts that injects pre-stored semantic knowledge into the generation process. To bridge the gap between training capacity and inference efficiency, we employ a re-parameterization strategy to fold parameter matrices used during training into a compact static lookup table. By offloading the knowledge to ROM, MeKi decouples model capacity from computational cost, introducing zero inference latency overhead. Extensive experiments demonstrate that MeKi significantly outperforms dense LLM baselines with identical inference speed, validating the effectiveness of memory-based scaling paradigm for on-device LLMs. Project homepage is at https://github.com/ningding-o/MeKi.
format Preprint
id arxiv_https___arxiv_org_abs_2602_03359
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle MeKi: Memory-based Expert Knowledge Injection for Efficient LLM Scaling
Ding, Ning
Liu, Fangcheng
Kim, Kyungrae
Hao, Linji
Lee, Kyeng-Hun
Ko, Hyeonmok
Tang, Yehui
Machine Learning
Artificial Intelligence
Computation and Language
Scaling Large Language Models (LLMs) typically relies on increasing the number of parameters or test-time computations to boost performance. However, these strategies are impractical for edge device deployment due to limited RAM and NPU resources. Despite hardware constraints, deploying performant LLM on edge devices such as smartphone remains crucial for user experience. To address this, we propose MeKi (Memory-based Expert Knowledge Injection), a novel system that scales LLM capacity via storage space rather than FLOPs. MeKi equips each Transformer layer with token-level memory experts that injects pre-stored semantic knowledge into the generation process. To bridge the gap between training capacity and inference efficiency, we employ a re-parameterization strategy to fold parameter matrices used during training into a compact static lookup table. By offloading the knowledge to ROM, MeKi decouples model capacity from computational cost, introducing zero inference latency overhead. Extensive experiments demonstrate that MeKi significantly outperforms dense LLM baselines with identical inference speed, validating the effectiveness of memory-based scaling paradigm for on-device LLMs. Project homepage is at https://github.com/ningding-o/MeKi.
title MeKi: Memory-based Expert Knowledge Injection for Efficient LLM Scaling
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2602.03359