TL;DR
SiameseNorm introduces a two-stream Transformer architecture that effectively reconciles the long-standing Pre- and Post-Norm trade-off, enhancing performance and stability across diverse models and modalities.
Contribution
It proposes SiameseNorm, a novel two-stream architecture coupling Pre- and Post-Norm-like pathways, compatible with existing training recipes and applicable across various Transformer-based models.
Findings
Consistently improves performance across language, vision, and diffusion models.
Maintains training stability while enhancing model accuracy.
Effective across models from 400M to 15B parameters.
Abstract
The long-standing tension between Pre- and Post-Norm remains an open problem in Transformer architecture, reflecting a fundamental trade-off between training stability and representational capacity. Prior attempts to combine their strengths have made progress, but often show limited robustness across training settings, restricting their broader applicability. We revisit this dilemma, showing that single-stream architectures struggle to reconcile Pre-Norm's stable identity-gradient propagation with Post-Norm's normalization of the main residual path. To address this structural tension, we propose SiameseNorm, a simple yet effective two-stream architecture that remains compatible with Pre-Norm training recipes. SiameseNorm couples Pre-Norm-like and Post-Norm-like streams through shared residual blocks, allowing each residual block to receive optimization signals from both pathways with…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Security and Verification in Computing · Physical Unclonable Functions (PUFs) and Hardware Security
