Dynamic FFNs Improve Representation Learning in Transformer Pretraining

Zain Sarwar, Supriyo Chakraborty, Berkcan Kapusuzoglu, Ashwinee Panda, Benjamin Thérien, Milind Naphade, Sambit SahuOpenReview 2027 · Submission to ICLR 2027 · Withdrawn · OpenReview

Its authors withdrew this paper, so there is no full text to read or summarize.

Abstract

Modular architectures allow different inputs to invoke different computations, but existing approaches often couple this flexibility with increased model capacity. We ask how far input-dependent modularity can take us when parameter and compute budgets are held fixed. We introduce $\textbf{D}$ynamic $\textbf{F}$eed$\textbf{f}$orward $\textbf{N}$etworks (DFFNs), which reorganize a standard Transformer feedforward block into a shared static FFN and a set of routed low-rank Submodules (SMs). A learned router selects an SM for each token, providing input-dependent computation without increasing the parameter or compute budget of the dense FFN. Across multiple model scales, DFFN consistently improves language modeling and downstream performance over matched dense Transformers. Controlled experiments further show that these gains depend on learned input-dependent routing rather than simply the presence of the submodules. Together, our results show that modularity can improve Transformer pretraining without relying on increased model capacity.
BibTeX
@misc{sarwar2027dynamic,
  author = {Zain Sarwar and Supriyo Chakraborty and Berkcan Kapusuzoglu and Ashwinee Panda and Benjamin Thérien and Milind Naphade and Sambit Sahu},
  title = {{Dynamic FFNs Improve Representation Learning in Transformer Pretraining}},
  year = {2027},
  url = {https://openreview.net/forum?id=7iLSAaJb3Z},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2027},
}

Loading related content...

Figure