arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.09723cs.LG
收藏

检索键值专家的混合

Mixture of Lookup Key-Value Experts

The School of Mathematics, Renmin University of China(中国人民大学数学学院)

Zongcheng Wang

AI总结:

本文提出MoLKV模型,通过上下文感知机制改进MoLE,降低验证损失,提升小规模任务性能。

摘要:

最近的研究已经开发出几种适用于终端用户设备推理的LLM架构,例如混合查找专家(MoLE)~\parencite{jie_mixture_2025}。MoLE的一个关键特点是每个token id都关联到一组专门的专家。对于给定的输入,只有与输入token id对应的专家会被激活。由于在推理过程中加载少量激活专家到RAM中的通信开销可以忽略不计,专家参数可以卸载到存储中,这使得MoLE适合资源受限的设备。然而,MoLE基于输入id的上下文无关专家选择机制可能限制模型性能。为了解决这个问题,我们提出了混合检索键值专家(MoLKV)模型。在MoLKV中,每个专家都构造成一个键值对。对于给定的输入,输入派生的查询与当前序列中缓存的键值专家进行交互,生成上下文感知的专家输出。这种上下文感知的机制缓解了MoLE的限制,并且实验结果表明,MoLKV在小规模评估中实现了显著降低的验证损失。

英文摘要:

Recent research has developed several LLM architectures suitable for inference on end-user devices, such as the Mixture of Lookup Experts (MoLE)~\parencite{jie_mixture_2025}. A key feature of MoLE is that each token id is associated with a dedicated group of experts. For a given input, only the experts corresponding to the input token id will be activated. Since the communication overhead of loading this small number of activated experts into RAM during inference is negligible, expert parameters can be offloaded to storage, making MoLE suitable for resource-constrained devices. However, MoLE's context-independent expert selection mechanism, based solely on input ids, may limit model performance. To address this, we propose the \textbf{M}ixture \textbf{o}f \textbf{L}ookup \textbf{K}ey-\textbf{V}alue Experts (\textbf{MoLKV}) model. In MoLKV, each expert is structured as a key-value pair. For a given input, the input-derived query interacts with the cached key-value experts from the current sequence, generating a context-aware expert output. This context-aware mechanism alleviates the limitation of MoLE, and experimental results demonstrate that MoLKV achieves significantly lower validation loss in small-scale evaluations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑