LLM System Design Interview, issue 36, Apr 29, 2026
The Isomorphic MLP Trick
Senior AI Engineer interview at Meta, and the interviewer asks:
βYou are upgrading our legacy ReLU-based transformer to use modern SwiGLU activations. To keep the architecture consistent, you leave the feed-forward dimension up-projection ratio at the standard π Γ π_π¦π¨πππ₯. What subtle but massive architectural mistake have you just made regarding your parameter budget?β
Donβt say: βThere is no mistake. A 4x multiplier is the industry standard established by the original Transformer paper. SwiGLU just replaces the non-linearity function, so keeping the matrix dimensions exactly the same is the correct way to preserve the networkβs width.β
Why the standard π Γ π_π¦π¨πππ₯ feed-forward ratio is a trap for modern LLMs, and how to correctly calculate intermediate dimensions to avoid massive memory overhead.
The full answer, with the mechanism and the arithmetic, is for paid subscribers on Substack.