Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. MIT Libraries
  3. MIT Theses
  4. Graduate Theses
  5. Evaluating Layer-sharing in Transformers for Language
    and Reasoning Tasks

Evaluating Layer-sharing in Transformers for Language
and Reasoning Tasks

Thumbnail Image
Download
Name

ge_renge_meng_bcs_thesis_2026.pdf

Size

781.04 KB

Format

Adobe PDF

Checksum (MD5)

90f3e072f9eb446fd3656af9cea7f8cb

Author(s)
Ge, Renee Y.
Advisor(s)
Poggio, Tomaso
Date Issued
February 2026
Publisher
Massachusetts Institute of Technology
Abstract
Transformers achieve state-of-the-art performance across language and reasoning tasks, but their inherent feed-forward nature limits their computational potential. Introducing recurrence through layer sharing is one solution to scale their computational capacity dynamically while reducing the number of parameters. In this work, we evaluate two approaches for applying layer sharing in transformers. First, we investigate whether we can achieve layer sharing by fine-tuning a pre-trained transformer. Specifically, we fine-tune a Large Language Model (LLM) Qwen 2.5 1.5B on a next-token prediction task, with similarity loss applied on the weights across layers to bring them closer together. We further experiment with expanding the width of the pre-trained model to compensate for the loss of capacity due to the weightsharing constraint. While this approach leads to some reasonable performance, it does not fully solve the problem of converting a pre-trained feed-forward model into a recurrent one while maintaining its performance. Second, we study layer-shared models that are trained from scratch, focusing on the Hierarchical Reasoning Model (HRM), a novel and popular reasoning architecture that incorporates recurrent use of transformer modules. We find that with some even more recurrent designs, we can achieve the same level of performance while using as few as 25% of the parameters. Together, these results are interesting explorations into the promising direction of converting feed-forward transformers into recurrent forms (via layer sharing), with the goal of achieving strong performance, lowering the number of parameters, and making progress towards more brain-like model architectures.
MIT Department
Massachusetts Institute of Technology. Department of Brain and Cognitive Sciences
Terms of Use
In Copyright - Educational Use Permitted
https://rightsstatements.org/page/InC-EDU/1.0/
Copyright retained by author(s)
Persistent DSpace Link
https://dspace.mit.edu/handle/1721.1/176352
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.