NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Residual Connections Relay Generalization but Not Memorization in Transformers

Rishi Singhal, Jung-Eun KimOpenReview 2026 · Submission to ICLR 2026 · Rejected

Abstract

Residual connections are one of the main components in transformers, helping stabilize training and improve optimization, yet it remains unclear how they influence memorization, a behavior that transformers are known to exhibit, especially in overparameterized regimes. Therefore, in this work, we investigate the impact of residual connections on memorization in transformers. Our analysis shows that residual connections do not influence memorization; instead, their removal primarily impairs learning, which is a novel finding. Furthermore, we find that residual connections in early layers are significantly more important for performance than those in later layers. To explain these findings, we perform a gradient flow and output margin analysis, demonstrating how residual connections support learning dynamics without propagating memorization.
BibTeX
@misc{singhal2026residual,
  author = {Rishi Singhal and Jung-Eun Kim},
  title = {{Residual Connections Relay Generalization but Not Memorization in Transformers}},
  year = {2026},
  url = {https://openreview.net/forum?id=BJdxM2ING5},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure