{
  "id": 728,
  "kind": "paper",
  "title": "Memory Attention",
  "summary": "Memory Attention (Jiale Kang) replaces the Transformer's learned value projection with V = K + Norm(E[s]) — the sum of contextual keys and layer-specific token-indexed memory vectors. Under matched training budgets it beats standard attention on WikiText perplexity and downstream average while enabling CPU offloading of the memory tables, trading parameter storage for lookup-based capacity.",
  "body": "",
  "notes": "Method: Remove the learned value projection; instead retrieve a learned vector by token ID from a per-layer embedding table, RMSNorm it per token/head, and add it to the contextual key. Keep standard attention weighting/aggregation (RoPE applied to Q/K before values are formed). | Key findings: V = K + Norm(E[s]): values formed by adding layer-specific token-indexed memory to contextual keys; each layer has its own table, same token → same row across positions/contexts; At matched 10B-token training budgets: better WikiText perplexity and higher downstream average than standard attention, at the cost of more parameters; At inference, normalization folds into the tables → value construction is lookup + addition; MA-Offload: tables stored on CPU/SSD with prefetching, cutting GPU parameter storage; MA-Recall: reconstruct values from retained keys + memory to cut value-cache storage | Limitations: Single-author paper; more total parameters than baseline; latency cost of CPU offload depends on retrieval/transfer overlap with compute — not yet benchmarked at scale. | Related to Value Embedding, DeepEmbed, Per-Layer Embeddings, STEM, Engram — but replaces rather than supplements the value projection.",
  "url": "https://www.alphaxiv.org/abs/2609.28399",
  "links": [],
  "authors": [
    "Jiale Kang"
  ],
  "tags": [
    "attention",
    "memory",
    "architecture",
    "efficiency"
  ],
  "topics": "attention, memory, architecture, efficiency",
  "venue": "arXiv:2609.28399 (via alphaXiv)",
  "publisher": "",
  "source": "web",
  "language": "en",
  "access": "public",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-09-29T00:00:00.000Z",
  "verified_at": "2026-09-29T00:00:00.000Z",
  "attrs": {},
  "enrichment": {
    "s2": {
      "paper_id": "c63610fd12eb370cbd80a76402fff280bc1d88bd",
      "published": "2026-09-23",
      "fetched_at": "2026-10-03T14:57:49.131Z",
      "citation_count": 0,
      "reference_count": 14,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2609.28399",
      "title": "Memory Attention",
      "authors": [
        "Jiale Kang"
      ],
      "updated": "2026-09-23",
      "abstract": "Language models typically construct attention values from contextual hidden states, even when some of their content may be reusable across contexts. We investigate whether token-indexed memory can replace the dedicated value projection when complemented by contextual information. We propose Memory Attention (MA), which forms values by combining layer-specific token memory with contextual keys. The memory supplies token-specific representations, while the keys preserve context dependence. At inference, normalization can be folded into the memory tables, reducing value construction to lookup and addition. Token-indexed retrieval also enables CPU offloading with prefetching, reducing GPU parameter storage. Under matched training token budgets and with additional memory parameters, experiments across attention configurations show improved language modeling and average downstream performance.",
      "published": "2026-09-23",
      "categories": [
        "cs.LG"
      ],
      "fetched_at": "2026-10-03T14:57:49.131Z"
    }
  },
  "enriched_at": "2026-10-03T14:57:49.182Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "809",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/728",
  "markdown": "https://papers.projxon.ai/entries/728.md",
  "api": "https://papers.projxon.ai/api/entries/728",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 735,
      "kind": "paper",
      "title": "Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation",
      "summary": "Shares layers across recursion steps and routes individual tokens to different recursion depths, giving adaptive per-token compute: easy tokens get shallow passes, hard tokens recurse deeper. Experiments span 135M-1.7B parameter models.",
      "url": "https://arxiv.org/abs/2507.10524",
      "authors": [
        "Sangmin Bae",
        "Yujin Kim",
        "Reza Bayat",
        "Sungnyun Kim",
        "Jiyoun Ha",
        "Tal Schuster",
        "Adam Fisch",
        "Hrayr Harutyunyan",
        "Ziwei Ji",
        "Aaron Courville",
        "Se-Young Yun"
      ],
      "tags": [
        "architecture",
        "adaptive-compute",
        "recursion",
        "efficiency",
        "pretraining"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 138,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/735",
      "markdown": "https://papers.projxon.ai/entries/735.md",
      "api": "https://papers.projxon.ai/api/entries/735"
    },
    {
      "id": 707,
      "kind": "paper",
      "title": "MoBA: Mixture of Block Attention for Long-Context LLMs",
      "summary": "Proposes Mixture of Block Attention (MoBA), which applies mixture-of-experts principles to the attention mechanism: the model learns where to attend across blocks rather than using predefined sparse patterns like sink or window attention. It claims superior long-context performance with seamless switching between full and sparse attention, and has been deployed for Kimi's long-context serving.",
      "url": "https://arxiv.org/abs/2502.13189",
      "authors": [
        "Enzhe Lu",
        "Zhejun Jiang",
        "Jingyuan Liu",
        "Yulun Du",
        "Tao Jiang",
        "Chao Hong",
        "Shaowei Liu",
        "Weiran He",
        "Enming Yuan",
        "Yuzhi Wang",
        "Zhiqi Huang",
        "Huan Yuan",
        "Suting Xu",
        "Xinran Xu",
        "Guokun Lai",
        "Yanru Chen",
        "Huabin Zheng",
        "Junjie Yan",
        "Jianlin Su",
        "Yuxin Wu",
        "Neo Y. Zhang",
        "Zhilin Yang",
        "Xinyu Zhou",
        "Mingxing Zhang",
        "Jiezhong Qiu"
      ],
      "tags": [
        "attention",
        "long-context",
        "mixture-of-experts",
        "efficient-inference",
        "kimi"
      ],
      "venue": "arXiv (cs.LG)",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 215,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/707",
      "markdown": "https://papers.projxon.ai/entries/707.md",
      "api": "https://papers.projxon.ai/api/entries/707"
    },
    {
      "id": 1066,
      "kind": "idea",
      "title": "KV cache as GPU-memory bottleneck in Transformer serving (GQA/MQA, quantization, sliding window)",
      "summary": "Single long X note_tweet + diagram (2026-09-25) by @techNmak explaining that during inference model weights are mostly fixed while per-request KV state grows with every cached token across attention layers. Frames context length and concurrency as GPU-memory costs; notes GQA/MQA (fewer KV heads), KV quantization (fewer bytes), and sliding-window attention (bounded history) as levers; stresses caching avoids recomputing old K/V projections but full attention still reads the cache each decode step. Diagram gives KV bytes = 2×B×T×L×H_kv×d_k×s (example: 8K tokens ≈ 1 GiB at L=32, H_kv=8, d_k=128, FP16). Pure original explainer — no primary paper; one reply promo-linked github.com/kvcachestore/kvcdn-cli.",
      "url": "https://x.com/techNmak/status/2103488645642793165",
      "authors": [
        "Tech with Mak (@techNmak)"
      ],
      "tags": [
        "kv-cache",
        "llm-serving",
        "gpu-memory",
        "gqa",
        "mqa",
        "kv-quantization",
        "sliding-window",
        "attention",
        "prefill-decode",
        "technmak",
        "x-thread",
        "idea"
      ],
      "venue": "X / Tech with Mak",
      "source": "x",
      "license": "n/a (X post / educational graphic)",
      "published_year": 2026,
      "added_at": "2026-09-26T12:56: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/1066",
      "markdown": "https://papers.projxon.ai/entries/1066.md",
      "api": "https://papers.projxon.ai/api/entries/1066"
    },
    {
      "id": 823,
      "kind": "paper",
      "title": "High-Dimensional Learning Dynamics of Attention-Indexed Models",
      "summary": "ML theory paper on \"attention-indexed models,\" a framework for multi-layer and multi-head attention architectures in the high-dimensional limit. Core result: the population-loss landscape collapses into a finite set of trace order parameters, yet under online SGD the parameter trajectories are governed by an infinite hierarchy of coupled matrix moments (each SGD step mixes S_k with the gradient tensor, so degree-w moments couple to degree-(w+1); degree-M truncations approximate the exact trajectory with exponential precision O((C/s0)^M)). Parameterization is an active regularizer: direct optimization of an attention matrix S in R^(d x d) can stay trapped on an uninformative manifold; tied attention (S = WW^T) forces a positive initial trace and yields automatic symmetry-breaking with weak recovery in Theta(d^2 log d) samples; untied attention (S = UV^T) shows a fast-slow relaxation (fast pre-activation mean drift toward a critical manifold, then slow feature recovery only if the fast boundary layer broke student symmetry). Caveats: assumes online SGD with one-pass streaming Gaussian data (no finite-sample ERM or multi-pass token reuse) and analyzes effective bilinear interactions rather than full end-to-end multi-layer QKV co-evolution.",
      "url": "https://arxiv.org/abs/2609.03858",
      "authors": [
        "Yizhou Xu",
        "Margarita Sagitova",
        "Lenka Zdeborova",
        "Florent Krzakala"
      ],
      "tags": [
        "attention",
        "optimization-theory",
        "learning-dynamics",
        "ml-theory"
      ],
      "venue": "arXiv (2026-09-03), cs.LG / stat.ML; arXiv non-exclusive distribution license",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/823",
      "markdown": "https://papers.projxon.ai/entries/823.md",
      "api": "https://papers.projxon.ai/api/entries/823"
    },
    {
      "id": 852,
      "kind": "paper",
      "title": "Emergent One-Third Scaling Law as Attention Tries to Concentrate",
      "summary": "Proposes an origin for neural scaling laws: any softmax learning peaked distributions, regardless of its position in the model, develops logit magnitudes that grow as a power law with exponent 1/3, becoming a training bottleneck whose loss contribution decays with the same 1/3 exponent — so total loss obeys 1/3 scaling whenever at least one softmax learns peaked distributions. Toy models show the effect for both output selection and attention-like gating, with a 'loss universality' result (any reasonable loss yields the same law; nonlinearity is the key ingredient). In real LLMs (Pythia, OLMo), loss falls and attention's internal logits grow with exponents near 1/3 while the output head shows no such growth, pointing to attention heads — not the LM head — as the bottleneck driving 1/3 loss scaling. Bypassing the output softmax with MSE training, and using sigmoid/tanh gates, preserves the law.",
      "url": "https://arxiv.org/abs/2609.32100",
      "authors": [
        "Yizhou Liu",
        "Sara Kangaslahti",
        "Jeff Gore"
      ],
      "tags": [
        "one-third-scaling-law",
        "neural-scaling-laws",
        "attention",
        "softmax",
        "peaked-distributions",
        "logit-growth",
        "loss-universality",
        "pythia",
        "olmo",
        "massive-activations"
      ],
      "venue": "arXiv:2609.32100 (cs.LG), submitted 26 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-02T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/852",
      "markdown": "https://papers.projxon.ai/entries/852.md",
      "api": "https://papers.projxon.ai/api/entries/852"
    },
    {
      "id": 702,
      "kind": "post",
      "title": ">10x More Efficient Pretraining",
      "summary": "Magic's research update on compute-efficient pretraining toward trillion-parameter models. Their pretraining recipe — the multiplicative result of tens of changes across model architecture, optimizer, training objective, and data, plus fixing minor bugs — matches DeepSeek V4 Pro Base quality using ~50x fewer FLOPs (roughly half of GPT-3's pretraining compute, ~$0.5M on GB200). Scaling the same recipe 10x (~$4M) meaningfully outperformed all publicly available open-weight base models on perplexity evaluations; by their fitted scaling laws, training an equally capable model under DeepSeek V4 Pro's recipe would cost >$100M. Magic frames pretraining plus agentic RL plus long context as sufficient for superhuman coding agents; next steps are scaling RL with long context, RL against the model's own latent knowledge of its intent, and further pretraining improvements.",
      "url": "https://magic.dev/blog/pretraining",
      "authors": [
        "Magic"
      ],
      "tags": [
        "pretraining",
        "scaling-laws",
        "efficiency",
        "magic",
        "compute"
      ],
      "venue": "Magic blog",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-29T00: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/702",
      "markdown": "https://papers.projxon.ai/entries/702.md",
      "api": "https://papers.projxon.ai/api/entries/702"
    }
  ]
}
