Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Roberts, Nicholas, Guo, Samuel, Gao, Zhiqi, GNVV, Satya Sai Srinath Namburi, Cromp, Sonia, Wu, Chengjun, Duan, Chengyu, Sala, Frederic
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2406.00894
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916977476370432
author Roberts, Nicholas
Guo, Samuel
Gao, Zhiqi
GNVV, Satya Sai Srinath Namburi
Cromp, Sonia
Wu, Chengjun
Duan, Chengyu
Sala, Frederic
author_facet Roberts, Nicholas
Guo, Samuel
Gao, Zhiqi
GNVV, Satya Sai Srinath Namburi
Cromp, Sonia
Wu, Chengjun
Duan, Chengyu
Sala, Frederic
contents While Transformers underpin modern large language models (LMs), there is a growing list of alternative architectures with new capabilities, promises, and tradeoffs. This makes choosing the right LM architecture challenging. Recently proposed hybrid architectures seek a best-of-all-worlds approach that reaps the benefits of all architectures. Hybrid design is difficult for two reasons: it requires manual expert-driven search, and new hybrids must be trained from scratch. We propose Manticore, a framework that addresses these challenges by automating the design of hybrid architectures while reusing pretrained models to create pretrained hybrids. Our approach augments ideas from differentiable Neural Architecture Search (NAS) by incorporating simple projectors that translate features between pretrained blocks from different architectures. We then fine-tune hybrids that combine pretrained models from different architecture families -- such as the GPT series and Mamba -- end-to-end. With Manticore, we enable LM selection without training multiple models, the construction of pretrained hybrids from existing pretrained models, and the ability to program pretrained hybrids to have certain capabilities. Manticore hybrids match existing manually designed hybrids, achieve strong performance on Long Range Arena, and improve on pretrained transformers and state space models on various natural language tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2406_00894
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Pretrained Hybrids with MAD Skills
Roberts, Nicholas
Guo, Samuel
Gao, Zhiqi
GNVV, Satya Sai Srinath Namburi
Cromp, Sonia
Wu, Chengjun
Duan, Chengyu
Sala, Frederic
Machine Learning
Artificial Intelligence
Computation and Language
While Transformers underpin modern large language models (LMs), there is a growing list of alternative architectures with new capabilities, promises, and tradeoffs. This makes choosing the right LM architecture challenging. Recently proposed hybrid architectures seek a best-of-all-worlds approach that reaps the benefits of all architectures. Hybrid design is difficult for two reasons: it requires manual expert-driven search, and new hybrids must be trained from scratch. We propose Manticore, a framework that addresses these challenges by automating the design of hybrid architectures while reusing pretrained models to create pretrained hybrids. Our approach augments ideas from differentiable Neural Architecture Search (NAS) by incorporating simple projectors that translate features between pretrained blocks from different architectures. We then fine-tune hybrids that combine pretrained models from different architecture families -- such as the GPT series and Mamba -- end-to-end. With Manticore, we enable LM selection without training multiple models, the construction of pretrained hybrids from existing pretrained models, and the ability to program pretrained hybrids to have certain capabilities. Manticore hybrids match existing manually designed hybrids, achieve strong performance on Long Range Arena, and improve on pretrained transformers and state space models on various natural language tasks.
title Pretrained Hybrids with MAD Skills
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2406.00894