LoKiFormer Boosts LLM Pretraining Efficiency with New Architecture

Qiuwu Chen, Zimo Liu, Yuchen Li, Ying Sun, Yifan Zhang, Zhijie Qiu, Zeng You, Ryan Dong, Simeng Ma, Yaofo Chen, Mingkui Tan· August 14, 2026 View original

Key takeaways

  • LLM pretraining is inefficient due to self-attention's locality bias and MoE's coupled knowledge.
  • LoKiFormer introduces Local Fusion Attention (LFA) for explicit local pattern capture.
  • A Knowledge Memory Module (KMM) decouples global knowledge storage from computation.
  • LoKiFormer achieves 1.33x faster pretraining convergence than baselines.

Who benefits

AI DevelopmentCloud ComputingSoftware DevelopmentResearch & Development

Summary

LoKiFormer is a novel LLM architecture designed to improve pretraining efficiency by addressing self-attention's lack of locality bias and MoE's coupled knowledge storage. It introduces Local Fusion Attention (LFA) for local patterns and a Knowledge Memory Module (KMM) for decoupled global knowledge retrieval.

Large Language Models (LLMs) have made significant advancements, but their pretraining process remains computationally intensive due to architectural inefficiencies. Specifically, standard self-attention mechanisms often redundantly model local information, lacking an explicit bias for locality. Additionally, existing Mixture-of-Experts (MoE) models implicitly link knowledge storage with computational pathways, which limits flexible access to global knowledge. This research introduces LoKiFormer, a new LLM architecture that tackles these issues. LoKiFormer integrates two key modules: Local Fusion Attention (LFA), which uses convolutional fusion to explicitly capture local patterns, allowing attention to focus on more informative representations. The second module is the Knowledge Memory Module (KMM), a parametric key-value memory that stores global knowledge in addressable slots, effectively decoupling knowledge storage from computation and enabling direct retrieval. These innovations allow LoKiFormer to integrate information more efficiently at both local and global levels, leading to faster pretraining convergence.

Why it matters

Professionals involved in developing or deploying large language models can benefit from more efficient pretraining, leading to reduced computational costs, faster model development cycles, and potentially more powerful models.

How to implement this in your domain

  1. 1Evaluate LoKiFormer's architectural principles for potential integration into custom LLM development.
  2. 2Investigate the benefits of decoupled knowledge memory for specific domain-adapted LLMs.
  3. 3Benchmark the pretraining speed and performance of models incorporating local fusion attention.
  4. 4Train AI infrastructure teams on optimizing LLM architectures for efficiency and knowledge management.

Original post by Qiuwu Chen, Zimo Liu, Yuchen Li, Ying Sun, Yifan Zhang, Zhijie Qiu, Zeng You, Ryan Dong, Simeng Ma, Yaofo Chen, Mingkui Tan

"arXiv:2608.12419v1 Announce Type: new Abstract: 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 induct…"

View on X

Originally posted by Qiuwu Chen, Zimo Liu, Yuchen Li, Ying Sun, Yifan Zhang, Zhijie Qiu, Zeng You, Ryan Dong, Simeng Ma, Yaofo Chen, Mingkui Tan on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses

More in AI Engineering & DevTools