  Oracle-MoE: Locality-preserving Routing in the Oracle Space for Memory-constrained Large Language Model Inference









Figure 12. Attention scores on randomly sampled data of Wizard-of-Wikipedia(upper)and Synthetic-Persona-Chat(bottom) in

DeepSeekMoE-16B from layers 5,10,15,20.









Figure 13. Semantic groups obtained by the Oracle-MoE method on Wizard-of-Wikipedia and Synthetic-Persona-Chat across different

DeepSeekMoE-16B layers with semantic groups from the same sequence or user interaction are colored the same.









Figure 14. Attention scores on randomly sampled data of Wizard-of-Wikipedia(upper) and Synthetic-Persona-Chat(bottom) in Qwen1.5-

MoE-A2.7B from layers 5,10,15,20.









Figure 15. Semantic groups obtained by the Oracle-MoE method on Wizard-of-Wikipedia and Synthetic-Persona-Chat across different

Qwen1.5-MoE-A2.7B layers with semantic groups from the same sequence or user interaction are colored the same.





                                                              17

