A 770M T5 trained on PaLM’s reasoning beat few-shot PaLM 540B on the ANLI benchmark
Made by Cheng-Yu Hsieh and eight co-authors
The result
The story
Serving a giant model is expensive: the authors note that a single 175-billion-parameter model needs at least 350 GB of GPU memory. Teams that need low latency often train a small task model instead, but that usually takes a lot of training data.

Researchers at Google and the University of Washington tested a shortcut on four academic benchmarks. The case here is ANLI, a natural-language-inference test: given a premise and a hypothesis, label the pair entailment, neutral or contradiction.
Borrowing the big model’s reasoning
They first prompted PaLM 540B with about ten worked examples, each an input, a short rationale and the answer, so that it wrote a rationale and an answer for every training example. They then trained a small T5 on two jobs at once: predict the label, and reproduce PaLM’s rationale, with a prefix telling it which job to do. At test time the T5 predicts only the label, so PaLM is not needed after training.
Large model
PaLM 540B
540B · Google
Prompted with about 10 chain-of-thought examples; not fine-tuned for this comparison
- Base
- PaLM (Chowdhery et al., 2022)
Data
ANLI, round 1
16,946 training, 1,000 validation, 1,000 test examples
ANLI (Nie et al., 2020), loaded from Hugging Face datasets
Human labels for training, plus a PaLM rationale for each training input
Small model
T5-Large, distilling step-by-step
770M · Google (T5)
Fine-tuned to predict the label and to generate PaLM’s rationale, with task prefixes [label] and [rationale]
- Base
- google/t5-v1_1-large (released code)
Training
Full fine-tune with a multi-task loss
Label prediction plus rationale generation
- Time
- Up to 10,000 steps at learning rate 5e-5, batch 64; wall time not reported
Not reported: cost.
Smaller, with less data
With the full training set, the 770M T5 beat PaLM’s few-shot chain-of-thought on ANLI, while the same T5 trained the standard way, on labels alone, fell short. Searching downward, the authors found it still beat PaLM using 80% of the training examples. PaLM is more than 700 times larger.
Evaluation
1,000 test items
- Test set
- ANLI round 1 test split
- Metric
- Accuracy
- How it was compared
- Same test items and accuracy function for PaLM’s answers and T5’s (released code). PaLM got about 10 chain-of-thought examples; its decoding settings are not stated. T5 results are averages of 4 runs.
The head-to-head accuracies appear only as points in plots, averaged over four runs, so no numbers are given here. A table with the smaller 220M T5 shows the size of the effect: ANLI accuracy rose from 43.58% with standard fine-tuning to 49.58% with PaLM’s rationales.
All the numbers
Show all numbersHide all numbersEvery model · Cost, latency and energy · 2 more results
Every model on the headline test
The paper shows these accuracies only as points on a plot, so this page prints no numbers.
Cost, latency and energy, as reported
- Cost
- Not reported
- Latency
- Not reported
- Energy
- Not reported
More from the source
Size ratio at which a T5 beat few-shot PaLM 540B, full labelled data
dataset model value e-SNLI T5-Base 220M over 2000x ANLI T5-Large 770M over 700x SVAMP T5-Large 770M over 700x CQA T5-XXL 11B over 45x dss: Section 4.2
220M T5 accuracy, standard fine-tuning vs distilling step-by-step (both small models; context only)
method e-SNLI ANLI CQA SVAMP Standard fine-tuning 88.38 43.58 62.19 62.63 Distilling step-by-step, rationales from GPT-NeoX 20B 89.12 48.15 63.25 63 Distilling step-by-step, rationales from PaLM 540B 89.51 49.58 63.29 65.5 dss: Tables 1 and 2
Worth knowing
- The head-to-head accuracies are only in plots; the source never states them as numbers.
- An older result (2023): PaLM 540B with few-shot prompting was a frontier setup then, but is not today’s frontier.
- Academic benchmarks, not a production workload. Google built both the small and the large model.
- Using only unlabelled data, the distilled model did not beat PaLM on SVAMP until extra unlabelled examples from ASDiv were added (Section 4.2).
1 more caveat
- The small model learns from PaLM’s own rationales, so it needs the large model once, at training time.
Weights on Hugging Face
The trained models are not published. The paper says only T5-Large (770M), initialized from publicly available pretrained weights on huggingface.co, without naming the repo. The authors’ code (github.com/google-research/distilling-step-by-step, README read 03 Oct 2026) loads the google/t5-v1_1-* checkpoints, so the link is google/t5-v1_1-large (verified on Hugging Face 03 Oct 2026, Apache-2.0).
Sources
- Hsieh et al., ‘Distilling Step-by-Step!’, arXiv 2305.02301 (Findings of ACL 2023)
- Google Research blog, 21 Sep 2023
- ACL Anthology, Findings of ACL 2023
- arXiv v1 3 May 2023 (v2 5 Jul 2023); Findings of ACL 2023 (July 2023); Google Research blog post 21 Sep 2023.