English

LPC-SM: Local Predictive Coding and Sparse Memory for Long-Context Language Modeling

Computation and Language 2026-04-11 v1 Artificial Intelligence Neural and Evolutionary Computing

Abstract

Most current long-context language models still rely on attention to handle both local interaction and long-range state, which leaves relatively little room to test alternative decompositions of sequence modeling. We propose LPC-SM, a hybrid autoregressive architecture that separates local attention, persistent memory, predictive correction, and run-time control within the same block, and we use Orthogonal Novelty Transport (ONT) to govern slow-memory writes. We evaluate a 158M-parameter model in three stages spanning base language modeling, mathematical continuation, and 4096-token continuation. Removing mHC raises the Stage-A final LM loss from 12.630 to 15.127, while adaptive sparse control improves the Stage-B final LM loss from 12.137 to 10.787 relative to a matched fixed-ratio continuation. The full route remains stable at sequence length 4096, where Stage C ends with final LM loss 11.582 and improves the delayed-identifier diagnostic from 14.396 to 12.031 in key cross-entropy. Taken together, these results show that long-context autoregressive modeling can be organized around a broader division of labor than attention alone.

Keywords

Cite

@article{arxiv.2604.03263,
  title  = {LPC-SM: Local Predictive Coding and Sparse Memory for Long-Context Language Modeling},
  author = {Keqin Xie},
  journal= {arXiv preprint arXiv:2604.03263},
  year   = {2026}
}
R2 v1 2026-07-01T11:53:12.547Z