Building LLMs Like LEGO: Two-dimensional Architecture Reassembly of Large Language Models

Xingyu Wu, Yu Zhou, KC Tan


Abstract
Pretrained large language models (LLMs) are typically reused as indivisible artifacts, adapted, merged, or ensembled as a whole. In this study, we show that LLMs can instead be structurally recomposed as modular building blocks to create new architectures without access to original training data. We introduce architecture-level reassembly as a new reuse paradigm, in which Transformer blocks from heterogeneous models are treated as reusable components. This idea is formalized through a two-dimensional reassembly space that supports both vertical recombination across depth and horizontal composition within layers. To make this space tractable, we propose a chromosome-based architectural encoding and perform a bi-level multi-objective evolutionary optimization over vertical structure and horizontal composition. To resolve representation incompatibility across heterogeneous blocks, we introduce lightweight glue layers trained via data-free knowledge distillation, enabling valid information flow without modifying pretrained parameters. Our results demonstrate that architecture-level reassembly unlocks a new dimension of flexibility in model reuse, pointing toward a modular and evolutionary view of LLM design.
Anthology ID:
2026.acl-long.2081
Volume:
Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)
Month:
July
Year:
2026
Address:
San Diego, California, United States
Editors:
Maria Liakata, Viviane P. Moreira, Jiajun Zhang, David Jurgens
Venue:
ACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
44939–44956
Language:
URL:
https://preview.aclanthology.org/ingest-acl/2026.acl-long.2081/
DOI:
Bibkey:
Cite (ACL):
Xingyu Wu, Yu Zhou, and KC Tan. 2026. Building LLMs Like LEGO: Two-dimensional Architecture Reassembly of Large Language Models. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 44939–44956, San Diego, California, United States. Association for Computational Linguistics.
Cite (Informal):
Building LLMs Like LEGO: Two-dimensional Architecture Reassembly of Large Language Models (Wu et al., ACL 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl/2026.acl-long.2081.pdf
Checklist:
 2026.acl-long.2081.checklist.pdf