paper-with-me

Papers

STEM: Scaling Transformers with Embedding Modules

2026-01-15 · Ranajoy Sadhukhan, Sheng Cao, Harry Dong, Changsheng Zhao, Attiano Purpura-Pontoniere, Yuandong Tian, Zechun Liu, Beidi Chen arxiv

Fine-grained sparsity promises higher parametric capacity without proportional per-token compute, but often suffers from training instability, load balancing, and communication overhead. We introduce STEM (Scaling Transformers with Embedding Modules), a static, token-indexed approach that replaces the FFN up-projection with a layer-local embedding lookup while keeping the gate and down-projection dense. This removes runtime routing, enables CPU offload with asynchronous prefetch, and decouples capacity from both per-token FLOPs and cross-device communication. Empirically, STEM trains stably despite extreme sparsity. It improves downstream performance over dense baselines while reducing per-token FLOPs and parameter accesses (eliminating roughly one-third of FFN parameters). STEM learns embedding spaces with large angular spread which enhances its knowledge storage capacity. More interestingly, this enhanced knowledge capacity comes with better interpretability. The token-indexed nature of STEM embeddings allows simple ways to perform knowledge editing and knowledge injection in an interpretable manner without any intervention in the input text or additional computation. In addition, STEM strengthens long-context performance: as sequence length grows, more distinct parameters are activated, yielding practical test-time capacity scaling. Across 350M and 1B model scales, STEM delivers up to ~3--4% accuracy improvements overall, with notable gains on knowledge and reasoning-heavy benchmarks (ARC-Challenge, OpenBookQA, GSM8K, MMLU). Overall, STEM is an effective way of scaling parametric memory while providing better interpretability, better training stability and improved efficiency.

📄 PDF Abstract BibTeX arXiv:2601.10639

Code (0)

등록된 구현이 없습니다.

Tasks

knowledge editing

Similar Papers 제목 키워드 기반

Vanilla Group Equivariant Vision Transformer: Simple and Effective

2026-02-08 · Jiahong Fu, Qi Xie, Deyu Meng, Zongben Xu arxiv

Incorporating symmetry priors as inductive biases to design equivariant Vision Transformers (ViTs) has emerged as a promising avenue for enhancing their performance. However, existing equivariant ViTs often struggle to b…

Growing Transformers: Modular Composition and Layer-wise Expansion on a Frozen Substrate

2025-07-08 · A. Bochkov

The prevailing paradigm for scaling large language models (LLMs) involves monolithic, end-to-end training, a resource-intensive process that lacks flexibility. This paper explores an alternative, constructive approach to…

Continual LearningMixture-of-ExpertsMMLU

Simulating Hard Attention Using Soft Attention

2024-12-13 · Andy Yang, Lena Strobl, David Chiang, Dana Angluin

We study conditions under which transformers using soft attention can simulate hard attention, that is, effectively focus all attention on a subset of positions. First, we examine several subclasses of languages recogniz…

Hard Attention

Feature embedding in click-through rate prediction

2022-09-20 · Samo Pahor, Davorin Kopič, Jure Demšar

We tackle the challenge of feature embedding for the purposes of improving the click-through rate prediction process. We select three models: logistic regression, factorization machines and deep factorization machines, a…

BenchmarkingClick-Through Rate PredictionPrediction

Learning to Recall with Transformers Beyond Orthogonal Embeddings

2026-03-16 · Nuri Mert Vural, Alberto Bietti, Mahdi Soltanolkotabi, Denny Wu arxiv

Modern large language models (LLMs) excel at tasks that require storing and retrieving knowledge, such as factual recall and question answering. Transformers are central to this capability because they can encode informa…

Question Answering