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

Standing on the Shoulders of Giant Frozen Language Models

Yoav Levine, Itay Dalmedigos, Ori Ram, Yoel Zeldes, Daniel Jannai, Dor Muhlgay, Yoni Osin, Opher Lieber, Barak Lenz, Shai Shalev-Shwartz, Amnon Shashua, Kevin Leyton-Brown, Yoav ShohamarXiv 2022 · DOI

Introduction

In the current natural language processing (NLP) landscape, fine-tuning massive pretrained language models (LMs) on task-specific data is considered the "gold standard" for achieving peak performance. However, this approach carries significant burdens: catastrophic forgetting of general-purpose capabilities, immense computational expense, and a lack of extensibility. Researchers at AI21 Labs propose an alternative: keeping the core "giant" model frozen and building lightweight, trainable "scaffolding" around it. This paper explores how these techniques can match or exceed fine-tuned performance without altering the underlying model weights.

Methods: Scaffolding the Giants

The authors introduce three primary techniques to enhance the capabilities of frozen LMs.

Input-Dependent Prompt Tuning (ID-PT)

While standard prompt tuning learns a single static "soft prompt" for a task, Input-Dependent Prompt Tuning (ID-PT) introduces a dynamic element. It utilizes a small, trained encoder (such as T5-base) to generate a unique neural prompt for every specific input. This allows the frozen LM to adapt its internal state based on the specific query it receives, providing a much higher degree of flexibility than static prompts.

Comparison of (a) standard prompt tuning and (b) Input-Dependent Prompt Tuning (ID-PT).

Frozen Readers for Open-Domain QA

To address the limited context windows of large LMs in Open-Domain Question Answering (ODQA), the researchers employ a trained re-ranker. This component identifies the most relevant passages from a large pool of retrieved documents, enabling a giant frozen LM to function as an effective "reader" within its fixed token constraints.

LM Recursion

Recursion involves passing a query through the frozen LM multiple times to refine the output.

  • Textual Recursion: The model generates candidate answers in the first pass and selects the best one in the second.
  • Neural Recursion: A small "Connector" network maps hidden states from the first pass into the input of the second pass, effectively allowing the model to "think deeper" without weight updates.

Key Results

The effectiveness of these scaffolding techniques was evaluated on the P3 benchmark (62 datasets) and Natural Questions (NQ).

The results demonstrate that frozen models can indeed compete with their fine-tuned counterparts. Specifically, a frozen 7B parameter model using ID-PT slightly outperformed T0++, a heavily fine-tuned 11B parameter model, across the diverse suite of 62 datasets.

Performance comparison of the fine-tuned T0++ model versus the frozen J1-Large model with ID-PT across various task clusters.

In ODQA, the "Frozen Reader" approach using J1-Grande-17B outperformed the previous fine-tuned state-of-the-art, Fusion-in-Decoder (FiD). Furthermore, neural recursion provided a 4.4-point boost on Natural Questions, allowing a 7B model to nearly match the performance of a single pass through a 17B model.

Discussion and Limitations

The "iceberg" metaphor aptly describes this approach: the massive frozen LM is the bulk of the system, while the sophisticated "middleware" scaffolding represents the visible, adaptable tip. While these methods offer significant advantages in terms of cost and versatility, they are not without trade-offs. Techniques like recursion increase inference latency, and the models remain bound by their original context window limits.

Future research will likely explore more complex connectors and the scaling behavior of these techniques as models approach the trillion-parameter scale. The overarching conclusion is that fine-tuning may often be an unnecessary extravagance; the future of NLP lies in learning to stand effectively on the shoulders of existing giants.

Summary updated

BibTeX
@misc{levine2022standing,
  author = {Yoav Levine and Itay Dalmedigos and Ori Ram and Yoel Zeldes and Daniel Jannai and Dor Muhlgay and Yoni Osin and Opher Lieber and Barak Lenz and Shai Shalev-Shwartz and Amnon Shashua and Kevin Leyton-Brown and Yoav Shoham},
  title = {{Standing on the Shoulders of Giant Frozen Language Models}},
  year = {2022},
  eprint = {2204.10019},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.10019},
}
Figure