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

Keqin Xie
3/12/2026
cs.CLcs.AIcs.NE

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xie2026lpcsm,
  title  = {LPC-SM: Local Predictive Coding and Sparse Memory for Long-Context Language Modeling},
  author = {Keqin Xie},
  year   = {2026},
  eprint = {2604.03263},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.03263v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.03263.svg)](https://codeofpaper.com/paper/2604.03263)

Discussion