n-gram-memory

Tag

Cards List
#n-gram-memory

Forking: Sudden Overfitting Under Replay

arXiv cs.LG ↗ · 2026-10-03 Cached

The paper discovers "forking," a generalization failure in NanoGPT autoresearch where training and validation loss sharply diverge at epoch boundaries when models with an over-encoding n-gram memory branch are trained under data replay. It mechanistically explains the phenomenon and cautions about unintended side effects of techniques produced by autoresearch agents.

0 favorites 0 likes
#n-gram-memory

FactorEngram: Factorized N-gram Memory with Basis-Level Gating for Language Models

Hugging Face Daily Papers ↗ · 2026-09-28 Cached

FactorEngram proposes a factorized n-gram memory with basis-level gating for language models, improving language modeling and downstream tasks by enabling context to modulate individual memory components.

0 favorites 0 likes
#n-gram-memory

Qwengram-0.8B: I transferred Qwen3.8 Flash-Next’s n-gram memory into Qwen3.5-0.8B — 5.05% lower validation perplexity

Reddit r/LocalLLaMA ↗ · 2026-09-25

The author transferred pretrained PLE n-gram memory from Qwen3.8-Flash-Next to Qwen3.5-0.8B, achieving a 5.05% reduction in validation perplexity without fine-tuning the backbone. Key findings include the effectiveness of dynamic gating and reader training for memory injection.

0 favorites 0 likes
← Back to home

Submit Feedback