Mutating Gemma 4 31B Dense in to a native Gemma 4 additive-MoE model
Summary
A proof-of-concept training script enables converting Gemma 4 31B dense model into an additive-MoE architecture, inspired by a Korean-specific finetune from JDONE-Research.
Similar Articles
Rebuilding Gemma 4 31b... better... As 26b...
A developer is rebuilding Gemma 4 31b into a smaller 26b model by removing weak SWA layers, adding attention-based residual networks (from Moonshot), and using topK logit targets for retraining, aiming for better long context and performance.
I finished upcycling of gemma4-12B
Solon-MoE-22B-A17B is a sparse Mixture-of-Experts model upcycled from Gemma4-12B-IT, with 22B total parameters and 17B active, preserving the original dense model for flexible inference and training.
Google Gemma 4 12B
Google's Gemma 4 12B model enables local multimodal AI using an encoder-free architecture.
Benchmarked Dense gemma-4-31b-it vs MoE gemma-4-26b-a4b-it to see if the cost reduction holds up in practice
A practical benchmark comparing Gemma dense (31B) and MoE (26B) models shows MoE is 25.5% faster and 20% cheaper per query with identical quality, validating theoretical cost savings.
@analogalok: my 8 GB VRAM gaming laptop is absolutely going to hate me for this. but I still did it. ran a 31b dense model (Gemma 4 …
User runs Gemma 4 31B dense model on 8GB VRAM gaming laptop at ~3 tokens/sec using llama.cpp with MTP speculative decoding, demonstrating feasibility of running a 31B dense model on consumer hardware and proposing agentic workflows where a fast MoE model routes to this slower dense model for hard tasks.