Modern large language models (LLMs) keep the feed-forward network (FFN) intermediate width identical across every layer, a convention inherited from the original Transformer. Yet mechanistic work suggests layers at different depths do qualitatively different work, raising a natural question: are the
Measuring Layer-wise Intrinsic Dimensionality of FFNs in LLMs via PCA
A new analysis applies principal component analysis to measure the intrinsic dimensionality of feed-forward network (FFN) layers across depth in large language models, questioning the standard Transformer convention of holding FFN intermediate width identical at every layer. The work builds on mechanistic interpretability findings that layers at different depths perform qualitatively different functions, and asks whether that variation shows up in the effective dimensionality of FFN representations.
Measure per-layer intrinsic dimensionality with PCA before fixing a uniform FFN width, and size intermediate layers to the dimensionality each depth actually uses.
more in playbook: Fine-tuning and dataRun your AI side-project on zahid.host
EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.