Skip to content
AI-generated research idea🔴Hard💡Moderate InnovationRelated work found

Decoupling FFN Capacity via Sparse MoE and Evaluating Reasoning and Knowledge Benchmarks

Pair dynamic cross-layer head routing with sparse mixture-of-experts feed-forward layers and evaluate on reasoning and coding benchmarks to resolve capacity trade-offs.

Time

a couple of months

Compute level

Large cluster

Resources

TPU v5p-128 pod or multi-node GPU cluster for 2.8B/MoE pretraining on The Pile, plus standard single-GPU setup for SFT and evaluation

What the paper used

JAX/MaxText pretraining on TPU v5p pods (v5p-16 for 432M/7B tokens, v5p-32 for 778M/14B and 1.4B/26B tokens, v5p-128 for 2.8B/300B tokens) on The Pile, plus single NVIDIA A800-80GB inference benchmarks.

Prerequisites

Mixture-of-Experts routing, LLM pretraining and supervised fine-tuning, reasoning/code evaluation harnesses

Scope

new model architecture

The Gap

In Section 3.2, Section 5.2 (Table 2), and Appendix D.1 (Table 6), LoomFormer matches baseline Transformer parameter budgets by shrinking FFN_x hidden width by ~22-24% (e.g., 10,240 to 7,808 at 2.8B) to fund FFN_M and port generators, and evaluates only on 10 short-context multiple-choice/completion tasks and FLAN perplexity.

“matching the Transformer’s parameter budget by adjusting FFN widths at an approximately 2:1 ratio between FFNx and the FFNM write branch.”
From the paper, Section 3.2, page 5. Matched against the PDF text.

Limitation

Reducing FFN_x width constrains parametric feed-forward capacity—consistent with LoomPythia-2.8B trailing Pythia-12B and even mHC-Pythia-2.8B on 5-shot ARC-C (35.1 vs. 36.5 and 35.5) and trailing Pythia-12B on PIQA and HellaSwag—while leaving multi-step math, code generation, and instruction fine-tuning untested.

Proposed Solution

Replace dense FFN_x (and optionally FFN_M) with fine-grained sparse Mixture-of-Experts (MoE) layers to expand factual and reasoning capacity at fixed active FLOPs, and evaluate both dense and MoE LoomFormer checkpoints after SFT on reasoning, math, coding, and knowledge benchmarks (GSM8K, MATH, HumanEval, MMLU).

Why This Matters

Combining dynamic circuit rewiring with sparse MoE capacity could overcome the FFN parameter trade-off on knowledge-intensive tasks while verifying whether per-token head rewiring improves multi-step reasoning.

How to Get Started

How to test it: Test whether an active-FLOP-matched MoE LoomFormer outperforms an iso-FLOP MoE Transformer++ baseline on ARC-C, MMLU, GSM8K, and HumanEval after SFT on FLAN/math/code mixtures; stop if MoE LoomFormer fails to exceed MoE Transformer++ by >= 1.5 points on average across reasoning/knowledge tasks.

  1. Fine-tune the released LoomPythia-2.8B, mHC-Pythia-2.8B, and Pythia-2.8B/12B checkpoints on an instruction/reasoning dataset (e.g., FLAN + OpenMathInstruct/CodeAlpaca) and benchmark on MMLU, GSM8K, and HumanEval.
  2. Design an iso-active-parameter MoE LoomFormer configuration (e.g., 8-choose-2 fine-grained experts in FFN_x) matching a standard MoE Transformer++ baseline.
  3. Pretrain both MoE models at Medium/Large active-parameter scales on The Pile (or FineWeb-Edu) and compare scaling curves and load-balancing stability.
  4. Evaluate zero/few-shot and post-SFT performance on ARC-C, MMLU, GSM8K, and HumanEval to quantify how MoE capacity interacts with per-token circuit rewiring.

Code linked to this paper on Hugging Face: github.com/Caiyun-AI/LoomFormer

Suggested by AI. Adapt it to your setup.

Has This Been Done?

Related work found

A wide range of papers like MoE-LLaVA, MoE++, and ResMoE explore sparse Mixture-of-Experts architectures and their efficiency, but none evaluate them in the context of dense-versus-MoE LoomFormer checkpoints across standard reasoning benchmarks.

We searched OpenAlex and arXiv for “Mixture of Experts dynamic residual connections reasoning benchmark evaluation” and “Decoupling FFN Capacity via Sparse MoE and Evaluating Reasoning and Knowledge Benchmarks” and an AI compared the idea with the top 10 results. A small search can miss relevant work.

Source Paper

Rewirable Circuits in Transformers with Loom Attention

Da Xiao, Qingye Meng, Shengping Li +1 more · 2026

The paper introduces loom attention and LoomFormer, a dual-stream Transformer architecture that makes inter-head circuits dynamically rewirable at every token rather than fixed by static virtual weights. By routing head outputs and inputs vertically through a shared per-token matrix memory alongside standard horizontal token attention, LoomFormer achieves the language modeling and downstream accuracy of Transformers trained with over 3x compute and recent residual-stream baselines trained with 1.7-2.8x compute at only 2.0-3.7% extra forward FLOPs.

Related Ideas

Is this a good idea?

Share onXLinkedIn