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
Compute level
Resources
What the paper used
Prerequisites
Scope
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.”
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.
- 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.
- 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.
- Pretrain both MoE models at Medium/Large active-parameter scales on The Pile (or FineWeb-Edu) and compare scaling curves and load-balancing stability.
- 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?
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.
- MoE-LLaVA: Mixture of Experts for Large Vision-Language Models · 2026 · 549 citations
- MoE++: Accelerating Mixture-of-Experts Methods with Zero-Computation Experts · 2025 · 80 citations
- ResMoE: Space-efficient Compression of Mixture of Experts LLMs via Residual Restoration · 2025 · 33 citations
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 AttentionDa 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
- Graph-Compatible Dynamic Sparse Attention for End-to-End Prefix CaptureTideway: Phase-Aware Tiered Memory Management for MoE Inference on Consumer Devices🟡Fairly easy
- Sparse Scaling via Multimodal Mixture-of-ExpertsNextFlow: Unified Sequential Modeling Activates Multimodal Understanding and Generation🟠Medium
- Frequency- and Batch-Aware Expert Cache Replacement Beyond Global LRUFreeToken: Efficient Edge-Native MoE Serving with Bandwidth-Adaptive Execution🟡Fairly easy
- Hybrid Sliding-Window and Fixed-State Depth Memory for Deeply Looped TransformersLoopback Transformer: Towards a Unified View of Residual Looped Transformers🔴Hard
- Process-Supervised Reasoning-Targeted Distillation for Routing-Replaced MoEsThe Other Half of the Memory Wall: Serving 35B MoEs from SSD with Trained Routing Prediction🟠Medium