{
  "id": 1365,
  "kind": "paper",
  "title": "Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute",
  "summary": "Corbenic AI's Sietse Schelpe reports a serving-side \"long-term memory\" layer for frozen LLMs: the public package galahad-kv, loaded into vLLM 0.31.0 via a KV-transfer plug-in, writes each ~16,000-token block's KV state to encrypted local NVMe (MRLNCRY1 format, AES-256-GCM) on first processing and later restores it byte-exact with zero recompute; only one block is ever resident, so GPU memory stays flat. On 50,000,000 tokens of real public text (3,125 blocks; WildChat/code/arXiv/FineWeb-Edu mix, mutated against pretraining contamination) served on a single NVIDIA H100: all 100 probed blocks restored from the encrypted store with no recompute at every depth from 0 to ~49.5M tokens, on both Gemma 4 12B (bf16) and Gemma 4 31B (FP8). A restore is 2.8×/4.3× faster than recomputing the same block (0.266s vs 0.760s; 0.347s vs 1.475s) and uses 8.8×/12.3× less GPU energy, with restore latency depth-independent. On facts planted millions of tokens earlier (with same-format decoys), the 12B model answered 82/100 and the 31B 98/100, with zero hallucinations and zero fabrications on 20 negative controls. Store: 1.86 TB (12B, 36.4 KiB/token) and 6.25 TB (31B FP8, 134 KiB/token) — the small footprint leans partly on Gemma 4's mostly sliding-window attention, which the paper notes it benefits from rather than introduces. The evaluation follows a cheat-resistant protocol (blind ingest, per-block needles, decoys, encrypted-store audit, separate engine-vs-model metrics). Limitations are explicit: this is KV reuse at any depth, not a wider attention window — one block is resident and restored on demand, never attended jointly; there is no learned retrieval; writing is a one-time cost measured at 20,839/10,700 tok/s deposit throughput; the store must be local NVMe.",
  "body": "",
  "notes": "Discovery: @fly51fly X post 2026-10-13 ~5:05 PM ET (status 2110114680119378196) — a new entry from this account for once (its prior four shares all enriched existing catalog entries). Full text verified against arXiv HTML v1. Relevance: (1) KV-cache/long-context — serving-infra answer to his context-memory bottleneck: terabytes of local NVMe + exact restore-graft vs the architecture-side compression of MSAR (queued #11) and shared-memory looped transformers (queued #3/1563) — complementary, not competing. (2) The 50M claim is real deposited-and-restored context (100/100 probes, audited stores) but retrieval-window accounting: only one 16k block is ever attended; record this explicitly as the limit, per the paper itself. (3) Pretraining: none — frozen weights, pure serving layer; the paper frames this as \"what changes is the set of facts the model can act on,\" not the model itself. (4) Prior chain: fourth Galahad report (arXiv:2609.39358, 2607.23806, 2607.14431) — earlier scales 97k → 6M → 50M. (5) vs catalog ID 583 (Infini-attention): orthogonal approaches to far-past context — in-weights compressive memory vs serving-side durable KV persistence; the paper does not cite Infini-attention. Caveats: single-author commercial-product paper (Corbenic AI product, patent pending, free-license package) — all figures author-reported on their own fleet, no independent reproduction at catalog time; the byte-exact logit-level gate is in the companion Taliesin paper, not re-established here; NVML energy figures near counter resolution (ratios reliable, absolute joules wider band). Cluster: KV-cache/long-context, inference serving/economics, long-term memory. | License: CC BY 4.0 (arXiv). Package galahad-kv is public on PyPI with a free license noted in the paper; repo URL not stated in the paper; patent pending noted in the colophon.",
  "url": "https://arxiv.org/abs/2610.10845",
  "links": [],
  "authors": [
    "Sietse Schelpe (Corbenic AI)"
  ],
  "tags": [],
  "topics": "",
  "venue": "arXiv:2610.10845 (cs.CL)",
  "publisher": "",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-14T00:00:00.000Z",
  "verified_at": "2026-10-14T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "fly51fly",
    "legacy_paper_id": "1672"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:52:53.666Z",
  "updated_at": "2026-11-01T12:52:53.666Z",
  "page": "https://papers.projxon.ai/entries/1365",
  "markdown": "https://papers.projxon.ai/entries/1365.md",
  "api": "https://papers.projxon.ai/api/entries/1365",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 549,
      "kind": "paper",
      "title": "Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory",
      "summary": "Mem0 incrementally extracts facts from message pairs (summary + last m=10 turns) then ADD/UPDATE/DELETE/NOOP against top-s=10 similar memories via GPT-4o-mini tool calls. Mem0^g stores entity–relation triplets in Neo4j. On LOCOMO (10 convos, ~600 turns / 26k tokens, ~200 Qs each), Mem0 J 66.88 overall vs OpenAI memory 52.90 / Zep 65.99 / full-context 72.90; single-hop J 67.13 and multi-hop 51.15 lead. Graph variant best on temporal (J 58.13) and competitive open-domain (75.71 vs Zep 76.60). p95 total latency 1.44s (91% below full-context 17.1s) at 1764 retrieved tokens vs 26k. Code https://github.com/mem0ai/mem0; research https://mem0.ai/research.",
      "url": "https://arxiv.org/abs/2504.19413",
      "authors": [
        "Prateek Chhikara",
        "Dev Khant",
        "Saket Aryan",
        "Taranjeet Singh",
        "Deshraj Yadav"
      ],
      "tags": [
        "mem0",
        "agent-memory",
        "locomo",
        "graph-memory",
        "rag",
        "neo4j",
        "latency"
      ],
      "venue": "arXiv / Mem0",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 722,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/549",
      "markdown": "https://papers.projxon.ai/entries/549.md",
      "api": "https://papers.projxon.ai/api/entries/549"
    },
    {
      "id": 835,
      "kind": "paper",
      "title": "How Much Is an AI Token Worth? Scaling Laws for Wild AI-Generated Web Text",
      "summary": "Measures how 'wild' AI-generated web text affects LM pretraining: after FineWeb quality filtering, 27.5% of June 2026 web tokens are labeled AI-generated by Pangram, rising to 31.1% by August. Pretrains 800 language models varying the ratio of added AI tokens to human tokens and fits scaling laws to held-out losses on both human and AI-generated text. For data-starved models, adding AI tokens initially lowers loss on human text, but the benefit saturates and quickly reverses into harm; for models trained on high budgets of human text, AI tokens raise loss almost immediately while the same number of fresh human tokens keeps lowering it. Standard scaling laws (e.g. Hoffman/Chinchilla 2022) fail to predict this behavior, so the authors propose a new scaling law with separate benefit and harm terms that lets the value of an AI token change sign and reduces to Chinchilla in the absence of AI text; fit on smaller models it predicts the effect on models up to 3.6x larger with 41% lower error than the best existing law over all AI ratios. Recommendations: filter AI text when the target is human text, repeat human text before expanding the training dataset with AI-generated web text, and report validation loss on human and AI text separately; AI text remains valuable when the target is AI text. Releases WildAI, an 83B-token corpus with AI, topic, and format labels, plus all 800 models and code.",
      "url": "https://arxiv.org/abs/2609.40295",
      "authors": [
        "Jenna Russell",
        "Ben Glickenhaus",
        "Katherine Thai",
        "John Wieting",
        "Mohit Iyyer",
        "Max Spero",
        "Bradley Emi"
      ],
      "tags": [
        "ai-generated-text",
        "wild-ai-text",
        "pretraining",
        "scaling-laws",
        "chinchilla",
        "synthetic-data",
        "data-filtering",
        "wildai"
      ],
      "venue": "arXiv 2026-09-30 (cs.CL, cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": true,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/835",
      "markdown": "https://papers.projxon.ai/entries/835.md",
      "api": "https://papers.projxon.ai/api/entries/835"
    },
    {
      "id": 665,
      "kind": "paper",
      "title": "HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models",
      "summary": "NeurIPS 2024 (cite Gutiérrez et al.; arXiv 2405.14831). Hippocampal indexing: LLM extracts a schemaless KG (neocortex), Personalized PageRank spreads activation from query entities (hippocampus) for single-step multi-hop retrieval. Up to +20% vs then-SOTA RAG on multi-hop QA; single-step HippoRAG matches or beats iterative IRCoT at 10–30× cheaper and 6–13× faster; combining them helps further. Also handles integration scenarios existing RAG misses. Discord/X is a 2026 hype recap by @N01ennn quoting their “How to be a Memory Engineer” X article (Stanford/Microsoft/Anthropic/Nvidia lenses); the substantial artifact is this 2024 paper. MIT code OSU-NLP-Group/HippoRAG. OSU + Stanford.",
      "url": "https://arxiv.org/abs/2405.14831",
      "authors": [
        "Bernal Jiménez Gutiérrez",
        "Yiheng Shu",
        "Yu Gu",
        "Michihiro Yasunaga",
        "Yu Su"
      ],
      "tags": [
        "hipporag",
        "rag",
        "knowledge-graph",
        "pagerank",
        "neurips-2024",
        "osu",
        "x"
      ],
      "venue": "arXiv / NeurIPS 2024",
      "source": "arxiv",
      "license": "MIT (github.com/OSU-NLP-Group/HippoRAG)",
      "published_year": 2024,
      "added_at": "2026-08-14T19:50:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 392,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/665",
      "markdown": "https://papers.projxon.ai/entries/665.md",
      "api": "https://papers.projxon.ai/api/entries/665"
    },
    {
      "id": 1430,
      "kind": "paper",
      "title": "TokenGate: Adapting LLMs for Fast and Memory-Efficient Prefill with Learned Token Pruning",
      "summary": "Problem: a transformer processes every input token through every layer, so long-context prefill (quadratic attention, linear MLP + KV growth) dominates serving cost. Prior work splits into training-free token-pruning heuristics (attention-score based; limited speedup before accuracy degrades) and architectural conditional compute (needs pretraining from scratch). TokenGate instead retrofits a trained model. Mechanism: a gate module sits inside one layer L (L=1 in the main experiments; multiple gates generalize). A small scoring MLP reads each prunable token's normalized post-attention residual at layer L and emits a scalar, RMS-normalized across the sequence into an importance score b_j; a top-K selector forwards S = top-K prunable tokens ∪ the non-prunable set (instructions, the question, answer/decoded tokens — in the code API, everything outside a marked {state} document span). Pruned tokens' residual streams stop at L: layers above L never process them and never generate KV entries for them, so the method is both prefill-compute skipping and upper-layer KV-cache reduction (layers ≤ L keep full KV by default; pruning those too is optional). The trainability trick is token-gated attention: in layers above the gate, each kept key's attention logit gets an additive bias softplus(γ^{ℓh})·b_j (head-wise learnable gains), under a temperature τ scaled by log(kept rank)/log(original position) (SSMax-inspired) that recalibrates softmax sharpness after pruning and generalizes across budgets — this gives gradients through the non-differentiable top-K, the same way MoE routers learn. Implemented as a FlashAttention-based kernel (custom FA2 key-bias kernel in the repo; FlexAttention fallback). Training: NOT from scratch and no sparsity/auxiliary loss — LoRA co-adaptation (r=16, α=32 on Q/V projections; backbone otherwise frozen; Muon for the gate matrices) plus gate parameters, plain next-token CE. Each step averages a full-context loss (K = all prunable tokens; anchors full-context accuracy and gives pruned tokens gradient) with a pruned loss at K ~ LogUniform(1, |𝒫|/2), so one trained gate serves every budget K at inference; the scoring MLP is zero-initialized. Training contexts 2k–16k tokens; a step costs 1.3× standard SFT but converges in fewer steps on 4 of 5 tasks, so total training time is comparable to or below LoRA SFT (mean 0.8× A100-hours at 1.7B). Results (Qwen3-1.7B, five tasks — NIAH 16k, RepoBench-P mean 11k/max 39k, 2WikiMultihopQA mean 7.5k, MultiNews, BioDEX): Pareto-dominant on all five; TTFT 1.4–11.3× faster and peak prefill memory 1.5–3.4× lower at no accuracy degradation vs the LoRA-fine-tuned full-context model, and up to 6.4× faster / ~2× lower memory than the best prior pruning baseline at matched accuracy (baselines: FastKV, SlimInfer, DASH, GemFilter; sparse-attention FlexPrefill, MInference). Launch-figure numbers at matched accuracy: NIAH TTFT 425→37 ms (11.3×; best prior 235 ms), peak memory 2.4→0.7 GB (3.4×); RepoBench TTFT 286→72 ms (3.9×; best prior 201 ms), memory 1.6→0.6 GB (2.8×). A more typical operating point: 2WikiMultihopQA at 95% of full-context accuracy = 3.0× faster, 2.7× less memory. Extrapolation: a gate trained at 16k holds accuracy at 32k/64k/128k with TTFT speedup rising to ~13× (memory reduction flat ~3.43×, since peak memory is dominated by the below-gate full forward). Ablations: the learned selector beats random-K and FastKV's attention-score selector at the same layer by wide margins; co-adaptation independently helps (random-K on the TokenGate-trained model beats random-K on the plain fine-tuned model — training redistributes information into kept tokens); learned keep-patterns are task-dependent (answer keywords for QA, phrase-final stopwords for summarization). Repo's held-out test table (batch 1, one H100): NIAH-16k @K=2000 accuracy 1.000 vs raw base 0.993 at 6.3× TTFT, still 1.000 at K=100 (8.1×); a 32k haystack demo answers the needle with 144 of 32,191 tokens retained above the gate. Hybrid architectures: on Qwen3.5-2B (24 layers; full attention at layers 3,7,11,…,23, Gated DeltaNet elsewhere) TokenGate can sit inside DeltaNet layers 1–2 — where attention-heuristic pruners cannot operate at all (FastKV can only prune at full-attention layers) — reaching up to 7.8× faster prefill within 6% of standard accuracy; at layer 3 it gives 3.8× lower TTFT at no accuracy loss, 2.1× better than the best FastKV run; token-gated attention applies only in full-attention layers above the gate, and DeltaNet layers above run on kept tokens only, their recurrent state built from kept tokens. Decoding (appendix): generated tokens attend to kept + generated tokens in layers above the gate, full context at/below it, with the gate bias precomputed once at prefill as a constant per-key bias — all headline claims are prefill/TTFT claims, no decode-speed claim. NOT GateSkip: the OpenReview/ICLR-2026 GateSkip paper (\"What Layers When,\" Laitenberger et al., HU Berlin/UvA/UT Nuremberg, arXiv 2510.13876) is a different work by different authors — residual gates for token-wise layer skipping (15–50% FLOP savings), uncited here.",
      "url": "https://arxiv.org/abs/2610.26754",
      "authors": [
        "Liana Patel",
        "Rishabh Ranjan",
        "Carlos Guestrin — Stanford University",
        "Ion Stoica",
        "Matei Zaharia — UC Berkeley. (Patel: LOTUS/ACORN/DeepScholar data-systems line",
        "Zaharia/Stoica orbit.)"
      ],
      "tags": [],
      "venue": "arXiv cs.CL preprint v1, submitted 19 Oct 2026 (no venue stated)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-21T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1430",
      "markdown": "https://papers.projxon.ai/entries/1430.md",
      "api": "https://papers.projxon.ai/api/entries/1430"
    },
    {
      "id": 1111,
      "kind": "paper",
      "title": "The AI Index 2025 Annual Report",
      "summary": "Stanford HAI AI Index Report 2025 (457 pages; April 2025; DOI arXiv 2504.07139). Co-directors Yolanda Gil & Raymond Perrault; Research Manager/EIC Nestor Maslej. New coverage of AI hardware, inference costs, publication/patent trends, corporate RAI practices, and AI in science/medicine. Highlights include sharp gains on MMMU/GPQA/SWE-bench, $109.1B U.S. private AI investment in 2024, and rising global AI regulation/investment. Licensed CC BY-ND 4.0.",
      "url": "https://hai-production.s3.amazonaws.com/files/hai_ai_index_report_2025.pdf",
      "authors": [
        "Nestor Maslej",
        "Loredana Fattorini",
        "Raymond Perrault",
        "Yolanda Gil",
        "Vanessa Parli",
        "Njenga Kariuki",
        "Emily Capstick",
        "Anka Reuel",
        "Erik Brynjolfsson",
        "John Etchemendy",
        "Katrina Ligett",
        "Terah Lyons",
        "James Manyika",
        "Juan Carlos Niebles",
        "Yoav Shoham",
        "Russell Wald",
        "Toby Walsh",
        "Armin Hamrah",
        "Lapo Santarlasci",
        "Julia Betts Lotufo",
        "Alexandra Rome",
        "Andrew Shi",
        "Sukrut Oak"
      ],
      "tags": [
        "ai-index-2025",
        "stanford-hai",
        "annual-report",
        "policy",
        "benchmarks",
        "investment",
        "responsible-ai",
        "cc-by-nd-4.0",
        "arxiv-2504.07139"
      ],
      "venue": "Stanford Institute for Human-Centered AI (HAI) / AI Index Steering Committee",
      "source": "pdf",
      "license": "CC BY-ND 4.0 (Attribution-NoDerivatives 4.0 International)",
      "published_year": null,
      "added_at": "2026-09-02T15:53:00.000Z",
      "has_dataset_profile": false,
      "license_class": "restricted",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1111",
      "markdown": "https://papers.projxon.ai/entries/1111.md",
      "api": "https://papers.projxon.ai/api/entries/1111"
    },
    {
      "id": 1077,
      "kind": "model",
      "title": "Naive-N0.5-Flash: Building Frontier AI with AI",
      "summary": "NaiveAI open-weight 309B MoE (15.5B active; 48 layers) built via AI-centered R&D on MiMo-V2.5. Hybrid SWA (128-token window) + DeepSeek Sparse Attention (DSA top-2048, GQA4) with no full-attention layers; native 1M context. Continued pretraining 3.25T tokens (indexer warmup 50B + sparse CPT 3T + decay/SFT 200B). NaiveRT inference (mega-kernel fusion, PDL, speculative decoding) claims ~50 tok/s Standard and up to ~2,000–2,122 tok/s Ultrafast on 8 GPUs. Weights + inference code MIT; HF NaiveAI/Naive-N0.5-Flash (+ FP8); API pricing $0.10/$0.40/$0.01 per M input/output/cache-read. Strong coding / agent / AutoResearch evals (SWE-Bench Pro, Terminal-Bench, PaperBench, etc.).",
      "url": "https://huggingface.co/NaiveAI/Naive-N0.5-Flash",
      "authors": [
        "NaiveAI Team"
      ],
      "tags": [
        "moe",
        "naive-ai",
        "open-weights",
        "mit",
        "coding",
        "long-context"
      ],
      "venue": "NaiveAI",
      "source": "huggingface",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-09-28T00:40:50.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 1497,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1077",
      "markdown": "https://papers.projxon.ai/entries/1077.md",
      "api": "https://papers.projxon.ai/api/entries/1077"
    }
  ]
}
