Flextron: Many-in-One Flexible Large Language Model
Ruisi Cai, Saurav Muralidharan, Greg Heinrich, Hongxu Yin, Zhangyang, Wang, Jan Kautz, Pavlo Molchanov

TL;DR
Flextron introduces a flexible, elastic large language model architecture that enables rapid, resource-efficient adaptation to various deployment constraints without additional fine-tuning, improving performance and efficiency.
Contribution
It presents a novel nested elastic architecture and training framework that transforms existing LLMs into adaptable models with minimal additional training.
Findings
Outperforms state-of-the-art elastic networks on GPT-3 and LLaMa-2.
Requires only 7.63% of original pretraining tokens for adaptation.
Supports rapid, fine-tuning-free deployment customization.
Abstract
Training modern LLMs is extremely resource intensive, and customizing them for various deployment scenarios characterized by limited compute and memory resources through repeated training is impractical. In this paper, we introduce Flextron, a network architecture and post-training model optimization framework supporting flexible model deployment. The Flextron architecture utilizes a nested elastic structure to rapidly adapt to specific user-defined latency and accuracy targets during inference with no additional fine-tuning required. It is also input-adaptive, and can automatically route tokens through its sub-networks for improved performance and efficiency. We present a sample-efficient training method and associated routing algorithms for systematically transforming an existing trained LLM into a Flextron model. We evaluate Flextron on the GPT-3 and LLama-2 family of LLMs, and…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Attention Is All You Need · Cosine Annealing · Linear Layer · Adam · Dropout · Weight Decay · Multi-Head Attention · Dense Connections
