Reproduce “PageGram: Multi-Head N-Gram Memory at the Read Cost of a Flat Table” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Leon Lehmann
PageGram co-locates multiple heads for each n-gram order in one page, requiring two page reads per token rather than 16. In a 61M-parameter decoder with equal-sized tables, it achieved held-out loss of 5.084, versus 5.151 for a flat table and 5.225 for Engram-style addressing. It beat both baselines on all five seeds, but this small-model result does not establish performance at larger scales.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.