mlsanityData to 14 Oct 2026

LoKiFormer: Locality-aware Attention with Decoupled Knowledge Memory for Efficient Large Language Model Pretraining

arXiv 2608.12419 ↗First posted 12 Aug 2026cs.LGcited by 0

On the map: Mixture-of-experts → MoE large language models

Abstract (arXiv)

Large language models (LLMs) have achieved remarkable breakthroughs across various applications. However, their architectures remain inefficient in pretraining due to two main limitations: (i) self-attention lacks an explicit inductive bias for locality, leading to redundant modeling of sequence-internal local information; (ii) mixture-of-experts (MoE) implicitly couples knowledge storage with computational pathways, hindering flexible access to sequence-external global knowledge. To overcome these limitations, we propose LoKiFormer, a novel LLM architecture that augments the standard decoder with two dedicated modules: 1) Local Fusion Attention (LFA), which incorporates a convolutional fusion to attention, explicitly capturing local patterns and allowing the attention to operate on more informative representations; 2) Knowledge Memory Module (KMM), which introduces a parametric key-value memory that explicitly stores global knowledge in addressable slots, decoupling storage from computation and enabling direct knowledge retrieval. Together, these modules enable LoKiFormer to achieve more efficient and effective integration of information at both levels. Experimental results show that LoKiFormer converges 1.33x faster in pre-training than baseline models, underscoring its superiority over existing LLM architectures.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 57 of its 66 references that are in the map. First posted on arXiv 12 Aug 2026.

Builds on

57 of 66 references.

Closest ancestors · 10

Same direction, newest first

  1. 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models12 Jan
  2. 2024Qwen2.5 Technical Report19 Dec
  3. 2024Hunyuan-Large: An Open-Source MoE Model with 52 Billion Activated Parameters by Tencent4 Nov
  4. 2024Skywork-MoE: A Deep Dive into Training Techniques for Mixture-of-Experts Language Models3 Jun
  5. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model7 May
  6. 2024Dense Training, Sparse Inference: Rethinking Training of Mixture-of-Experts Language Models8 Apr
  7. 2024DeepSeekMoE: Towards Ultimate Expert Specialization in Mixture-of-Experts Language Models11 Jan
  8. 2024Mixtral of Experts8 Jan
  9. 2022Sparse Upcycling: Training Mixture-of-Experts from Dense Checkpoints9 Dec
  10. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan

Other references · 47

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  10. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  11. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  12. 2020Longformer: The Long-Document Transformercited by 3,413
35 more
  1. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  2. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  4. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  5. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  6. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  7. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  8. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  9. 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
  10. 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 708
  11. 2023A Comprehensive Overview of Large Language Modelscited by 648
  12. 2022Mixture-of-Experts with Expert Choice Routingcited by 623
  13. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  14. 2023CMMLU: Measuring massive multitask language understanding in Chinesecited by 449
  15. 2024InternLM2 Technical Reportcited by 397
  16. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
  17. 2024HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Modelscited by 281
  18. 2023Augmenting Language Models with Long-Term Memorycited by 189
  19. 2024RedPajama: an Open Dataset for Training Large Language Modelscited by 182
  20. 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 140
  21. 2023Skywork: A More Open Bilingual Foundation Modelcited by 112
  22. 2023LLM360: Towards Fully Transparent Open-Source LLMscited by 104
  23. 2022StableMoE: Stable Routing Strategy for Mixture of Expertscited by 100
  24. 2024MEMORYLLM: Towards Self-Updatable Large Language Modelscited by 93
  25. 2025A Comprehensive Survey of Mixture-of-Experts: Algorithms, Theory, and Applicationscited by 91
  26. 2024MAP-Neo: Highly Capable and Transparent Bilingual Large Language Model Seriescited by 67
  27. 2023WanJuan: A Comprehensive Multimodal Dataset for Advancing English and Chinese Large Modelscited by 50
  28. 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
  29. 2024Tool-Planner: Task Planning with Clusters across Multiple Toolscited by 33
  30. 2023DialogBench: Evaluating LLMs as Human-like Dialogue Systemscited by 31
  31. 2023Sparse Modular Activation for Efficient Sequence Modelingcited by 20
  32. 2023ChineseWebText: Large-scale High-quality Chinese Web Text Extracted with Effective Evaluation Modelcited by 16
  33. 2025LM2: Large Memory Modelscited by 13
  34. 2024Core Context Aware Transformers for Long Context Language Modelingcited by 11
  35. 2025Curse of High Dimensionality Issue in Transformer for Long-context Modelingcited by 5

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Beyond KV Caching: Shared Attention for Efficient LLMs
  2. 2025SR-KI: Scalable and Real-Time Knowledge Integration into LLMs via Supervised Attention
  3. 2026Titan-Llama: Retrofitting Pre-trained LLMs with External Neural Memory Modules
  4. 2024Star Attention: Efficient LLM Inference over Long Sequences
  5. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
  6. 2026MKA: Memory-Keyed Attention for Efficient Long-Context Reasoning
  7. 2026On-Demand Attention: Language Models Know When to Recall
  8. 2024Loki: Low-rank Keys for Efficient Sparse Attention