{
  "id": 507,
  "kind": "paper",
  "title": "More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations",
  "summary": "MoA mixes a small activation dictionary (GELU/SiLU/ReLU²/etc.) with lightweight per-token gates on shared FFN projections; LA is the input-independent linear-combination ablation. Finite-width theory: fixed-activation FFN ⊊ LA ⊊ MoA. Pretrains dense Llama 0.12B–0.5B (AdamW, cosine, 20/100 TPP) and LlamaMoE 0.25B–2B (Muon, WSD, ~100 tokens/active param). Type-II one-MoA/qd-MoA beat well-tuned SwiGLU/Muon baselines by >0.01 terminal loss with ~1.03–1.13× wall-clock and negligible params; LlamaMoE-2B zero-shot avg 42.20→42.86/42.96. Also helps MAE ViT-B. No official code on abs.",
  "body": "",
  "notes": "Primary: arxiv abs (cs.LG/AI/stat.ML). ByteDance Seed / Peking University; correspondence wangmingze.999@bytedance.com, zhongshu@bytedance.com. No official code on abs. HF has no paper page (API 404). Discord posted abs. Pretrains on an unnamed high-quality corpus; no standalone public dataset release, so no datasets_local row. ArXiv license widget not visible in converted abs HTML, so paper license left blank.",
  "url": "https://arxiv.org/abs/2605.26647",
  "links": [],
  "authors": [
    "Mingze Wang",
    "Jinbo Wang",
    "Yikuan Xia",
    "Kai Shen",
    "Shu Zhong"
  ],
  "tags": [
    "moa",
    "mixture-of-activations",
    "swiglu",
    "ffn",
    "bytedance-seed",
    "muon",
    "llama-moe"
  ],
  "topics": "FFN activations, token-adaptive mixing, LLM pretraining",
  "venue": "arXiv / ByteDance Seed / Peking University",
  "publisher": "",
  "source": "",
  "language": "",
  "access": "",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-01T16:45:04.296Z",
  "verified_at": null,
  "attrs": {
    "scale": "Dense 0.12B/0.25B/0.5B, seq 1024, bs 512, 20 or 100 TPP; MoE 0.25B–2B (A0.11B–A0.62B), 32 experts top-4 + 1 shared; MAE ViT-B/16 800 epochs bs 4096",
    "purpose": "Raise FFN expressivity by mixing a dictionary of activations with input-dependent gates while sharing linear projections",
    "time_period": "2026-05-26 (arXiv 2605.26647 v1); 31 pages."
  },
  "enrichment": {
    "s2": {
      "venue": "arXiv.org",
      "paper_id": "f9d48eea158fbac6d299bb6feb83482bebe158c3",
      "published": "2026-05-26",
      "fetched_at": "2026-10-03T14:56:31.055Z",
      "citation_count": 3,
      "reference_count": 47,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2605.26647",
      "title": "More Expressive Feedforward Layers: Part I. Token-Adaptive Mixing of Activations",
      "authors": [
        "Mingze Wang",
        "Jinbo Wang",
        "Yikuan Xia",
        "Kai Shen",
        "Shu Zhong"
      ],
      "comment": "31 pages",
      "updated": "2026-08-28",
      "abstract": "Feedforward network (FFN) layers account for a large fraction of parameters and nonlinear expressivity in Transformer-based large language models (LLMs). Despite the evolution from ReLU and GELU to gated variants such as SwiGLU, most FFN designs still use a single fixed activation function, applying the same nonlinear transformation to all tokens. In this work, we propose Mixture of Activations (MoA), a token-adaptive FFN design that mixes a dictionary of activation functions using lightweight input-dependent gates while sharing the same linear projections. As an input-independent counterpart, we also introduce learnable activations (LA), which form linear combinations of activation functions for both ReLU-type and SwiGLU-type FFNs. Theoretically, we establish strict finite-width expressive separations among fixed-activation FFNs, LA, and MoA: LA strictly contains fixed-activation FFNs, while MoA strictly contains LA, with the additional expressivity arising from input-dependent nonlinear hybridization. Empirically, we evaluate MoA through extensive pre-training experiments on dense and MoE language models ranging from 0.12B to 2B parameters under different token budgets, optimizers, and learning rate schedules. MoA consistently achieves lower terminal loss and exhibits more favorable scaling behavior than well-tuned baselines, with minimal parameter and computational overhead. These results suggest that token-adaptive activation mixing is a simple and effective mechanism for improving FFN expressivity in LLMs.",
      "published": "2026-05-26",
      "categories": [
        "cs.LG",
        "cs.AI",
        "stat.ML"
      ],
      "fetched_at": "2026-10-03T14:56:31.055Z"
    }
  },
  "enriched_at": "2026-10-03T14:56:31.095Z",
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "526",
    "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/507",
  "markdown": "https://papers.projxon.ai/entries/507.md",
  "api": "https://papers.projxon.ai/api/entries/507",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1219,
      "kind": "paper",
      "title": "Why Adaptive Optimizers Underestimate Rare Tokens",
      "summary": "In the softmax output layer, a rare token gets a small positive logit gradient on most steps and a much larger negative gradient on the few steps when it is the target. SGD simply adds these contributions; coordinate-wise adaptive methods (Adam, RMSProp, sign descent) divide each update by a running magnitude estimate that is largest immediately after the token appears. Two effects: (i) whole output layer — characterizes which optimizers preserve the mean output embedding: every method linear in past gradients does, as do Kronecker-factored/orthogonalized methods (Shampoo, Muon); Adam, Adafactor, Lion, sign descent do not (exact step-by-step expressions given); (ii) individual rare tokens — the normalization shifts the training fixed point below the token's true data frequency. Closed forms: sign descent lowers the logit of every token occurring in fewer than half of minibatches at a constant expected rate; for RMSProp with periodic arrivals, if a token is absent for at least two consecutive minibatches its equilibrium probability is strictly below data frequency for every learning rate, ratio tending to k/(2(e^(k/2)-1)). SGD and AMSGrad retain the unbiased fixed point. Tested in a unigram model and a small LM trained from a known generating distribution: with random arrivals the bias exceeds the periodic formula, and biased-fixed-point optimizers fit the generating distribution worse. Directly relevant to the user's LLM pretraining work — rare-token underestimation from Adam is an optimizer choice, not a data problem.",
      "url": "https://arxiv.org/abs/2609.37535",
      "authors": [
        "Sangsidhya Kar"
      ],
      "tags": [
        "adam",
        "adaptive-optimizers",
        "rare-tokens",
        "softmax",
        "fixed-point",
        "shampoo",
        "muon",
        "rmsprop",
        "lion",
        "pretraining"
      ],
      "venue": "arXiv:2609.37535 (cs.LG), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00: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/1219",
      "markdown": "https://papers.projxon.ai/entries/1219.md",
      "api": "https://papers.projxon.ai/api/entries/1219"
    },
    {
      "id": 509,
      "kind": "paper",
      "title": "PowLU: An Activation Function for Stable Pre-Training of LLMs",
      "summary": "PowLU(x)=x·x^{m/(√x+1)}·sigmoid(x) for x>0 (same as SwiGLU for x≤0); m=3 default. Proved continuous, differentiable, monotone for 0<m<10, and ~linear (not quadratic) as x→+∞. Scaling-law MoE 26M–368M activated matches SwiGLU loss. Ling 7.9B/600B tokens and 124B/800B stay competitive vs SwiGLU and SwiGLU-Clip on knowledge/reasoning/math/code while cutting outliers and FP8 loss spikes after ~76k steps. No official code on abs.",
      "url": "https://arxiv.org/abs/2605.25704",
      "authors": [
        "Peijie Jiang",
        "Yuqi Feng",
        "Cunyin Peng",
        "Qian Zhao",
        "Jia Liu",
        "KunLong Chen",
        "Zhiqiang Zhang",
        "Jun Zhou"
      ],
      "tags": [
        "powlu",
        "swiglu",
        "activation",
        "training-stability",
        "ling",
        "ant-group",
        "moe",
        "fp8"
      ],
      "venue": "arXiv / Ling Team / Ant Group",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:04.296Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 5,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/509",
      "markdown": "https://papers.projxon.ai/entries/509.md",
      "api": "https://papers.projxon.ai/api/entries/509"
    },
    {
      "id": 567,
      "kind": "paper",
      "title": "Liger Kernel: Efficient Triton Kernels for LLM Training",
      "summary": "Open-source Triton kernels (RMSNorm, LayerNorm, RoPE, SwiGLU/GeGLU, CrossEntropy, FusedLinearCrossEntropy) using fusion and input chunking. Reports ~20% higher training throughput and ~60% less GPU memory vs HuggingFace implementations. 4×A100 Alpaca seq-512: Llama 3-8B +42.8% throughput / −54.8% memory at batch 64; Qwen2 +25.5% / −56.8% at batch 48. Also Gemma, Mistral, Phi-3. AutoLigerKernelForCausalLM plus HF Trainer/TRL/Axolotl/LLaMA-Factory hooks. Code https://github.com/linkedin/Liger-Kernel.",
      "url": "https://arxiv.org/abs/2410.10989",
      "authors": [
        "Pin-Lun Hsu",
        "Yun Dai",
        "Vignesh Kothapalli",
        "Qingquan Song",
        "Shao Tang",
        "Siyu Zhu",
        "Steven Shimizu",
        "Shivam Sahni",
        "Haowen Ning",
        "Yanning Chen"
      ],
      "tags": [
        "liger",
        "triton",
        "fused-kernels",
        "rmsnorm",
        "rope",
        "swiglu",
        "flce",
        "linkedin",
        "llm-training"
      ],
      "venue": "arXiv / LinkedIn",
      "source": "",
      "license": "CC BY 4.0",
      "published_year": 2024,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 155,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/567",
      "markdown": "https://papers.projxon.ai/entries/567.md",
      "api": "https://papers.projxon.ai/api/entries/567"
    },
    {
      "id": 526,
      "kind": "paper",
      "title": "Demystifying Manifold Constraints in LLM Pre-training",
      "summary": "Introduces MACRO, a single-loop Riemannian spectral-SGD (Muon-style msign on the tangent-space gradient plus retraction) with O(T^{-1/4}) stochastic nonconvex rate. Spectral sphere bounds worst-case activation scale; Frobenius sphere bounds average-case (radius r√D_out). Without learnable RMSNorm, Muon NaNs at large LR while MACRO-spec stays stable (330M Qwen3-like val 2.739 vs normalized MACRO-spec 2.714). Constraints lock relative LR η_rel=cη and rotational equilibrium from step 1, replacing decoupled weight decay. On standard (RMSNorm) Qwen3-like 120M–1B above Chinchilla, MACRO-spec matches or slightly beats Muon/MuonH/SSO with exact Riemannian updates. No official code on abs.",
      "url": "https://arxiv.org/abs/2605.04418",
      "authors": [
        "Kang An",
        "Jiaxiang Li",
        "Donald Goldfarb",
        "Shiqian Ma"
      ],
      "tags": [
        "macro",
        "muon",
        "manifold-constraints",
        "spectral-sphere",
        "frobenius-sphere",
        "rmsnorm",
        "weight-decay",
        "rice",
        "columbia"
      ],
      "venue": "arXiv / Rice University / Columbia University",
      "source": "",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/526",
      "markdown": "https://papers.projxon.ai/entries/526.md",
      "api": "https://papers.projxon.ai/api/entries/526"
    },
    {
      "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": 1127,
      "kind": "paper",
      "title": "daVinci-LLM: Towards the Science of Pretraining",
      "summary": "Argues pretraining sets the capability ceiling and is under-studied due to industry secrecy vs academic compute limits. Releases daVinci-LLM under a fully-open paradigm (pipelines, training process, exploration). Uses Data Darwinism L0–L9 taxonomy for data processing; trains a 3B model from scratch on 8T tokens with a two-stage adaptive curriculum shifting from foundational to reasoning-intensive data. Linked Hub release SII-GAIR-NLP/davinci-llm-data (gated) covers L3–L5 subsets; code at GAIR-NLP/daVinci-LLM.",
      "url": "https://arxiv.org/abs/2603.27164",
      "authors": [
        "Yiwei Qin",
        "Yixiu Liu",
        "Tiantian Mi",
        "Muhang Xie",
        "Zhen Huang",
        "Weiye Si",
        "Pengrui Lu",
        "Siyuan Feng",
        "Xia Wu",
        "Liming Liu",
        "Ye Luo",
        "Jinlong Hou",
        "Qipeng Guo",
        "Yu Qiao",
        "Pengfei Liu"
      ],
      "tags": [
        "pretraining",
        "data-darwinism",
        "open-llm",
        "curriculum",
        "gair",
        "davinci-llm",
        "8t-tokens"
      ],
      "venue": "arXiv / Shanghai AI Lab / GAIR-NLP / SII",
      "source": "arxiv",
      "license": "paper arXiv; dataset CC-BY-4.0 (Hub)",
      "published_year": 2026,
      "added_at": "2026-10-02T23:40:42.683Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1127",
      "markdown": "https://papers.projxon.ai/entries/1127.md",
      "api": "https://papers.projxon.ai/api/entries/1127"
    }
  ]
}
