In one line: Adapts pretrained decoder-only Gemma checkpoints into encoder-decoder models by copying weights and continuing with UL2 or PrefixLM; adaptation beats pretraining from scratch on PT and IT scores from about 400M parameters up (scratch wins most scores at the two smallest sizes), and after instruction tuning 9B-9B beats Gemma 2 9B by 4.9 points and 2B-2B beats Gemma 2 2B by 7.1, single runs at similar inference FLOPs but about twice the parameters. T5Gemma 2 carries the recipe to Gemma 3 and, pretrained, scores 81.7 on RULER 32K at 4B-4B against Gemma 3 4B's 66.8, a lead that narrows to 5.9 at 128K and reverses there after post-training.
How far to trust it: Believe the recipe and its direction: copied decoder weights plus a bidirectional encoder match the source model after pretraining and beat it after tuning, at matched inference cost. Treat the size of the wins as single runs from models with about twice the parameters, and the long-context lead as real at 32K but narrowing by 128K. The evidence, judged.
Filed as one page rather than two because the second paper is the same recipe extended, and reading them separately would repeat the method twice.
The idea in one sentence: turn a pretrained decoder-only LLM into an encoder-decoder by copying its weights into both halves (the encoder only switches its attention mask from causal to bidirectional, and cross-attention is the one new part), then keep pretraining for up to 2T tokens: at about the same inference FLOPs, the adapted model is level with its source after pretraining and ahead after instruction tuning (2B-2B: 46.1 against Gemma 2 2B's 39.0), and a 9B encoder with a 2B decoder answers at the 2B model's latency.
You need: encoder-decoder, prefix LM and UL2 as families and objectives, from Families and objectives; logit distillation from Distillation and small language models.
One decoder-only checkpoint fills both halves; only cross-attention is new
Gemma 2 2B, decoder-only
26 layers, 2.6B parameters
Encoder: a copy
no new weights: only the mask changes; reads the input once
Decoder: a copy plus one part
2B-2B: cross-attention starts from the self-attention weights; 9B-2B: random, trained alone for 1,000 steps first
Then: continue training on Gemma 2's data, up to 2T tokens, with PrefixLM plus distillation from the source model (or UL2); then the usual SFT and RLHF. T5Gemma 2 runs the same recipe on Gemma 3, with images fed to the encoder and the decoder's two attentions merged into one.
Redrawn from Figure 1 and §3 of the first paper (both papers are under arXiv's non-exclusive licence, so their figures are not reproduced). Mask icons: lower triangle causal, full square bidirectional. The same recipe, layer by layer on the real configurations, is Fig. 1 in Idea.
The decoder-only architecture won, but the argument was never settled on the merits (§2). An encoder-decoder (a bidirectional encoder that reads the input, with no autoregressive constraint on something you only read, and a causal decoder that writes the output and reads the encoder through cross-attention; the family is drawn on Families and objectives) also allows independent sizing of the two halves: a large encoder with a small decoder when understanding the input matters more than generating the output, as in summarisation, which "doesn't need to generate any new information" (§3.1).
The blocker was cost: nobody would pretrain a competitive encoder-decoder from scratch when strong decoder-only checkpoints already existed at every size. So the question is narrower and more useful:
The question: can you adapt an existing decoder-only checkpoint into an encoder-decoder, cheaply, and end up ahead (§1)?
Architecture (§3.1). As close to the source model as possible, so initialisation is mostly a copy. The encoder is the decoder-only model with self-attention switched from causal to bidirectional. Each decoder block keeps its feed-forward network and self-attention and adds a cross-attention with the same heads and head size, attending to the whole encoder output. Testbed: Gemma 2 2B and 9B, plus four small decoder-only models pretrained in mT5 sizes, S, B, L and XL (Table 1).
Initialisation (§3.2). The encoder is fully initialised from the checkpoint, since it introduces no new weights; the decoder's feed-forward and self-attention come from the corresponding layers. Cross-attention is the only genuinely new part:
Fig. 1 runs the recipe on the real checkpoints' configurations: one slab per layer (26 in Gemma 2 2B, 42 in 9B, 18 in Gemma 3 270M), each split into self-attention (blue), cross-attention (purple; orange while random) and feed-forward (green), widths to scale by the layer's parameters within each mode; embedding tables are the yellow bases. The mask plate on each stack is its attention mask: lower triangle causal, full square bidirectional. The T5Gemma 2 mode adds the two parameter-saving changes described further down.
Counts recomputed from the configs; they match Hugging Face's counts of the released T5Gemma checkpoints to 0.01%, and of T5Gemma 2 to 0.1% (its vision encoder taken as the paper's 417M) (the recount). The embedding tables and the vision encoder are drawn at a fixed size, not to scale.
An encoder-decoder needs an input and a separate target. Two classical objectives are compared, and they do not agree (§3.3):
Data. The Gemma 2 pretraining mixture (8T tokens) cut into 4096-4096 input-target pairs for PrefixLM and 8192-8192 for UL2; adaptation runs on up to 2T tokens. SFT and RLHF follow Gemma 2's recipe, with the learning rate retuned (§4).
Evaluation, three scores: a PT score averaged over 22 benchmarks for pretrained models, an IT score over 10 for instruction-tuned ones, and SuperGLUE, fine-tuned with a classification head on the last token of the encoder (of the decoder, for decoder-only), as the test of "contextual representations". Generation is greedy throughout (§4).
PT: BoolQ, SIQA, PIQA, ARC-c and ARC-e, MMLU, MMLU Pro, HellaSwag, Winogrande, TruthfulQA, AGIEval, BBH, DROP, GPQA, GSM8K, HumanEval, Lambada, MATH-500, MBPP, NQ, TriviaQA, WMT23, zero- or few-shot. IT: GSM8K, MMLU, MMLU Pro, MBPP, HumanEval, MATH-500, BBH, GPQA Diamond, WMT23, MGSM, with task instructions. SuperGLUE: COPA, WiC, WSC, RTE, MultiRC, CB and BoolQ as classification, dev-set accuracy, with learning rate, batch size and dropout grid-searched per task.
Adaptation converges fast. Balanced models come close to their source's PT score "after only tens of billions of tokens"; 9B-2B is slower, since its cross-attention starts random, but climbs past Gemma 2 2B towards 9B (Figure 2). Decoded from the figure: at 42B tokens 2B-2B is 1.3 points short of Gemma 2 2B, and it passes it at about B (9B-9B passes 9B at about B; curves). More tokens help some tasks a lot, such as GSM8K and DROP (§5).
The objective choice splits by what you want. UL2 gives better representations and wins SuperGLUE at most scales (11 of 14 pairs, Table 2(b)); PrefixLM with distillation gives better generative models and wins most PT and IT pairs (9 of 14), by up to 3.6 points at 9B-2B. The rest of the paper uses PrefixLM. There is no free combination: merging the two checkpoints gave similar or much worse models, and switching objectives for the last 10% of training gave mixed results (Figure 5).
The gain arrives after instruction tuning, not before. Adapted models are comparable or slightly better than their decoder-only counterparts after pretraining, and substantially better after instruction tuning (Table 2):
| Pair | PT: Gemma 2 → adapted | gain | IT after RLHF: Gemma 2 → adapted | gain |
|---|---|---|---|---|
| 9B-9B against Gemma 2 9B | 61.7 → 63.1 | +1.4 | 59.6 → 64.5 | +4.9 |
| 2B-2B against Gemma 2 2B | 47.9 → 49.7 | +1.8 | 39.0 → 46.1 | +7.1 |
| XL-XL against XL (SFT) | 39.7 → 39.5 | −0.2 | 23.5 → 30.7 | +7.2 |
IT compares RLHF models (the adapted SFT models lead by 3.3 and 7.4). Below 2B the adapted models trail on PT by 0.2 to 0.7 (S-S, L-L, XL-XL; B-B is +0.2) while still gaining on IT (§5).
Not every task moves the same way. After pretraining Gemma 2 9B wins 8 of 17 tasks against 9B-9B, mostly knowledge recall (ARC-C by 4.1, while losing Winogrande by 4.4); after RLHF the encoder-decoder wins 10 of 11, trailing only on WMT23, by 0.9 (Table 3, per task).
Encoder-decoder wins SuperGLUE everywhere: all 24 comparisons in Table 2(b) (six sizes, both objectives, pretrained and tuned), by at least 1.2 points, which the paper attributes, "likely", to bidirectional self-attention.
Our cost model, illustrative: at batch size 1 each generated token streams the decoder's weights (with cross-attention and softmax) from memory once, bytes / bandwidth; reading the prompt costs 2 × parameters × tokens FLOPs at peak. Hardware: one TPU v5e, 819 GB/s and 197 bf16 TFLOP/s (Google Cloud); the paper does not name its hardware, and KV-cache reads and overheads are left out, so compare ratios. Measured points: Figure 4, decoded.
The asymmetric result is the one to remember. At matched inference FLOPs the encoder-decoders sit on the quality-efficiency frontier (Figure 3); since FLOPs are not latency, the paper also timed GSM8K queries at batch size 1 (Figure 4).
About the same: ms against ms (1.05×), with GSM8K accuracy 73.8 against 58.0, decoded from the figure's vector data. The 9B encoder reads the question once, in parallel; every one of the answer's tokens then costs only the 2B decoder plus its cross-attention. The animation beside this section runs it.
The animation answers one question with each model, step by step; the sliders set the prompt and answer lengths, and the bars under it compare all four models with the paper's measured latencies.
The model gets the shape (9B-2B near 2B, far from 9B) but not every detail: measured, 2B-2B is faster than Gemma 2 2B ( against ms), which a per-token cost cannot explain; answer lengths, which the paper does not report, may differ.
48.57: up 0.67 from 47.9, still 1.13 below the adapted model, so "the additional pretraining compute can't fully explain the improvements" and the authors credit the encoder-decoder's inductive bias. One run, one size, PT score only: the larger IT gain was never tested against the same control (§6).
T5Gemma 2 repeats the adaptation on Gemma 3 (270M, 1B, 4B) with UL2 and drops distillation: UL2 with and without it were within 0.4 points, not worth the data-loading overhead (§1, Table 3). The block is Gemma 3's (GQA with QK-norm, RMSNorm, RoPE, local and global layers 5:1). It adds three things and tests a fourth, merged attention, which ships and has its own section below (§2):
One rejected variant: cross-attention only on global-attention layers cost 1.3 points (Table 1).
The paper describes it as "one cross-attention sub-layer every six decoder layers", an obvious saving. The recount says it was not one in six: its 4,233M parameters are exactly the baseline minus cross-attention on 13 of Gemma 2 2B's 26 layers, Gemma 2's one-in-two pattern (one in six would be 4,106M). All four ablations ran on Gemma 2 2B with PrefixLM and distillation for 400B tokens, not on the shipped Gemma 3 and UL2 setup.
Sizes (Table 2). With merged attention the decoder has exactly the encoder's weights, so each model is two copies of a Gemma 3 stack, one shared embedding and the vision encoder: 270M-270M is 417M + 168M + 100M + 100M, 1B-1B is 417M + 302M + 2 × 698M, 4B-4B is 417M + 675M + 2 × 3,209M. Recounted from Gemma 3's configs and checked against the released weights (786.0M, 2,116.0M and 7,508.9M parameters on Hugging Face).
Setup (§3). Gemma 3's pretraining mixture (multilingual web, code, maths, images), turned into UL2 data of at most 16K input and 16K target tokens with five denoisers mixed 1:1:1:1:4: mean span 3 at 15% corruption, 12 at 50%, 32 at 15%, 32 at 50%, and one long prefix-style task (span three quarters of the input, 75% corrupted, one span). Image data uses prefix LM only (everything up to the last image is input). About 2T tokens, batch 4.2M tokens, cosine learning rate with 100 warmup steps, gradient clipping at 1.0, weight decay, a learning-rate grid search per size, and the final checkpoint averaged over the last five (saved 10K steps apart). Post-training is "slight": distillation only, "much less compute" than Gemma 3's, no RL, so its results are a lower bound.
Why distillation was dropped (Table 3). PrefixLM with distillation was the worst of three at both 270M and 1B; UL2 and UL2 with distillation were within 0.4 points (1B-1B: 40.2 with, 39.8 without; 270M-270M: 30.5 and 30.6). With the first paper's mixed results, the authors conclude that distillation's value depends on teacher and student capacity, and drop it for its "expensive data loading overhead".
Merged attention: one module with shared weights does the decoder's self- and cross-attention at once, over the encoder output concatenated onto the decoder's input, with one softmax. It saves 6.5% of parameters for about 0.3 points (recount: 368.1M, 6.58%) and makes the decoder a Gemma 3 decoder again, which eases initialisation.
Try: real arithmetic on small random weights (seeded). The left grid is the mask M; pick a decoder row and compare the merged softmax with the two separate softmaxes of a standard decoder block. Change the temperature of the encoder side to see the shared mass move.
Single head, d = 8, dh = 4, m = 4 decoder tokens, n = 6 encoder tokens, entries drawn from a standard normal (Box-Muller, seeded). "Encoder relevance" adds a constant to every encoder logit, standing in for how well the query matches the input. Separate attention here reuses the same weights for its cross-attention (as the balanced T5Gemma recipe initialises it), normalises each softmax to 1 and adds the two outputs through two residual branches; merged attention has one distribution over all 9 visible tokens. Illustrative inputs; the equations are the paper's.
Fig. 2 follows the widget in the answer above: change its row, the encoder relevance or the weights and the stage redraws with them. Illustrative inputs; the equations are the paper's.
Long context is the strongest single result in the line (Table 4). Pretrained, T5Gemma 2 4B-4B scores 81.7 on RULER 32K against Gemma 3 4B's 66.8, and 57.6 against 51.7 at 128K; 270M-270M scores 57.3 against Gemma 3 270M's 21.3, though pretrained only at 16K. The first T5Gemma (Gemma 2, 8K context) scores about 0.
Smaller: +5.9 at 128K (MRCR: +2.9 at 32K, +2.0 at 128K). After post-training the 4B-4B is behind at RULER 128K (39.5 against 46.9) and the 1B-1B falls from 35.1 to 6.4 (Table 5). The paper claims "consistently improved long-context performance (up to 128K)", true for pretrained models; the old summary's "advantage grows with context length" is not. And Gemma 3 270M and 1B have 32K windows (config), so 128K is beyond them.
The authors' explanation: encoder parameters are spent only on reading the input, bidirectionally, and cross-attention attends to "high-level representations of the input" (§4).
Text-only models become multimodal. Gemma 3 270M and 1B are text-only, yet with SigLIP in front of the encoder they score 35.1 and 49.8 on the multimodal average; the 1B-1B trails Gemma 3 4B by only 8.7 points (6.9 on long context) "despite being much smaller" (§4). Much smaller means about half, 2.12B parameters against 4.30B, not the old summary's "a quarter".
Pretrained, comparable; post-trained, ahead. Per capability, T5Gemma 2 minus Gemma 3 at the same size, in the chart beside this section.
Pretrained, the two small models clearly beat their sources and 4B-4B is on par (−1.6 on reasoning, +0.4 to +6.4 elsewhere); after the light post-training T5Gemma 2 leads in every category (§4). EmbeddingGemma comes from this line: its paper adapts a 300M Gemma 3 with the T5Gemma recipe and UL2 and initialises from that encoder (EmbeddingGemma §2); the T5Gemma 2 paper calls it a user of its checkpoints (§5).
What holds up.
What is weaker.
It is the first serious modern test of the architecture question T5 originally answered. T5 measured encoder-decoder above decoder-only in 2019 (T5) and the field went decoder-only anyway, for few-shot prompting at scale. This line redoes the measurement at 2025 scale and the answer holds, with the honest qualification that the advantage concentrates in fine-tuned and long-context settings rather than raw pretraining scores.
Adaptation makes the architecture question cheap to ask: no from-scratch budget is needed to try an encoder-decoder, which is why this could change what people build. The recipe is not Gemma-specific; the authors name LLaMA, Qwen and DeepSeek, and note that "in theory" models from different families could be paired (§3.1).
Asymmetric sizing is the underexploited idea. A large encoder with a small decoder is the right shape wherever the input is long and the output short (extractive and retrieval-augmented QA, classification, routing, reranking), and a decoder-only model structurally cannot offer it. The 9B-2B is a proof of concept; the paper lists more unbalanced setups, 27B, other families and dense with MoE pairings as future work (§7), and T5Gemma 2 released only balanced models.
Long context is where the architecture earns its keep, at least at 32K: encoder parameters are spent only on reading, and cross-attention retrieves from a high-level representation instead of re-scanning raw tokens, the same intuition as the latent-context compression line (Latent Context Language Models) from the other direction.
Downstream, the encoder half is reused for what encoders are good at. EmbeddingGemma (about 300M parameters) starts from a T5Gemma-adapted encoder (EmbeddingGemma).
The recipe, run end to end at toy scale: pretrain small decoder-only models, copy them into encoder-decoders exactly as §3.2 says, and train every variant the paper ablates under the same budget. These are real PyTorch runs (src/train.py, CPU, two threads, fixed seeds); the curves below are the training log's own held-out evaluations, not a smoothed plot. Nothing runs in your browser: the toy's point is the comparison between runs, which needs the training itself.
Try: switch runs on and off. Every adaptation run starts from the same pretrained checkpoints and gets the same 1,000 steps (batch 64, AdamW, learning rate 2 × 10−3 with 100 warmup steps and cosine decay; the paper instead tunes the rate for encoder-decoders). Exact match means all 12 output digits right, on 2,000 held-out inputs.
The chart beside this text shows each run's held-out exact match against its adaptation step; the table under it gives the steps to 90% and 99%.
Every adapted run first drops to 0%, then climbs; scratch reaches 99% first, at step 225
The source models: a "small" decoder-only (d = 64, 2 layers, 4 heads) and a "big" one (d = 128, 3 layers), trained as causal language models on whole sequences (input, operation, output) for 1,500 steps. Both learn the task completely, the big one faster (99% at step 550 against 725), each with the sudden jump typical of such algorithmic tasks.
Both source models learn the task with a sudden jump; the big one sooner
Every table that carries the two papers' arguments, transcribed by script from the arXiv HTML with the printed precision kept (mk_tables.py), and the first paper's figures decoded from their vector SVGs (decode_figs.py: tick labels are text in the SVG, so each point is read exactly, not by eye). Every derived number on this page is recomputed in recompute.py.
Closed blocks hold the long tables (parameter recount, Figure 5, T5Gemma 2's ablations and every benchmark); the charts that carry the argument stay open.
Recount from the configs (inputs/configs.json): per layer, attention d(2h + 2hkv)dhead, feed-forward 3d dff, norms; cross-attention like attention with keys and values reading the encoder's width. "Released" is Hugging Face's count of each checkpoint's weights (inputs/hf_params.json). Defaults reproduce the released T5Gemma totals to within 0.01% and T5Gemma 2's to within 0.1% (the vision encoder is taken as the paper's 417M, and the paper's 675M embedding for 4B-4B is 671.3M by the config), independently.
Table 2. Grey: Gemma 2 or the decoder-only small model of the same size (none for 9B-2B); blue: adapted with PrefixLM plus distillation; purple: adapted with UL2. IT numbers for Gemma 2 2B and 9B are RLHF models (the paper prints them in brackets); for the adapted 2B-2B, 9B-2B and 9B-9B the chart shows SFT, with RLHF in the label. The paper notes PT and IT scores average different tasks and cannot be compared with each other.
Table 3, PrefixLM models, sorted by the difference (encoder-decoder minus decoder-only, in points). Averages recomputed from the rows reproduce the printed ones, except Gemma 2 2B's RLHF average (39.1 recomputed, 39.0 printed, a rounding difference).
Table 4: adaptation (PrefixLM) minus scratch (PrefixLM, 8T tokens), per score. Sizes are the paper's non-embedding counts without cross-attention. SG is SuperGLUE for SFT models.
Figure 2, every logged point decoded from the SVG; the dashed lines are Gemma 2 2B (47.9) and 9B (61.7). The last decoded points (, , ) differ from Table 2's 49.7, 55.0 and 63.1 by up to half a point: the table reports a selected checkpoint.
Figure 3 and Figure 4, decoded. Inference FLOPs per sequence, as the paper estimates them for 4096-4096 tokens (encoder-decoder) against 8192 (decoder-only); each balanced encoder-decoder sits at 0.88 to 0.95 of its decoder-only source's FLOPs. Latency is milliseconds per GSM8K query at batch size 1, RLHF models.
Figure 5, decoded: change in score from switching. The text says UL2-then-PrefixLM "improves IT performance, but suffers from reduction in PT and SuperGLUE"; the decoded bars agree on IT (5 of 7 sizes up) but show PT and SuperGLUE up at about half the sizes, so "very mixed", the paper's other phrase, is the accurate one. No bar exceeds 1.4 points in either direction.
T5Gemma 2 Table 1 (T5Gemma 2B-2B on Gemma 2, PrefixLM with distillation, 400B tokens) and Table 3. Parameters as printed, model (embedding); the recount column reproduces each from Gemma 2 2B's config.
Table 4 and Table 5 as printed. Shaded: the better of each Gemma 3 and T5Gemma 2 pair at the same source size. Gemma 3 270M and 1B and the first T5Gemma are text-only (no multimodal scores); DocVQA and InfoVQA are marked approximate by the paper. Recomputed category averages match the printed ones to within 0.1.
Every link opens in a new tab. Reading time of the resources below: 4h 53m.
Biao Zhang, Fedor Moiseev, Joshua Ainslie, Paul Suganthan, Min Ma, Surya Bhupatiraju, Fede Lebron, Orhan Firat, Armand Joulin, Zhe Dong (Google). ICML 2025, April 2025 (arXiv v1, 8 April 2025): the method paper, called T5Gemma when the weights were released. Read Sections 3, 5 and 6; the discussion section is where the ablations that matter live (bidirectional attention, cross-attention warmup, adaptation against from scratch). Abstract page, PDF.
(45 min)
Biao Zhang, Paul Suganthan, Gaël Liu, Ilya Philippov, Sahil Dua, Ben Hora, Kat Black, Gus Martins, Omar Sanseviero, Shreya Pathak, Cassidy Hardin, Francesco Visin, Jiageng Zhang, Kathleen Kenealy, Qin Yin, Xiaodan Song, Olivier Lacombe, Armand Joulin, Tris Warkentin, Adam Roberts (Google DeepMind). technical report, December 2025 (arXiv v1 16 December, v2 23 December 2025): shorter, and the one to read if you care about long context or multimodality. Tables 4 and 5 are the whole argument. Abstract page, PDF.
(45 min)
the released checkpoints load in Transformers (T5Gemma and T5Gemma 2 model classes); the adaptation training code itself is not released.
(15 min)
T5Gemma 2 model card: 270M encoder, 270M decoder, UL2, pretrained only; text and image in, text out.
(10 min)
S, B, L, ML, XL, 2B-2B, 9B-2B and 9B-9B, each with PrefixLM and UL2 versions, pretrained and instruction-tuned.
(5 min)
Biao Zhang, Yong Cheng, Siamak Shakeri, Xinyi Wang, Min Ma et al., arXiv 2510.26622: the same group's scaling study, the companion that argues the architecture case on scaling grounds rather than on a released model.
(45 min)
Google Developers Blog, 9 July 2025: the fast version if you only want the shape of the result, with the release of the first-generation weights.
(10 min)
Google blog, 18 December 2025: the announcement of T5Gemma 2: tied embeddings, merged attention, 128K context, images.
(8 min)
Google, arXiv 2509.20354: the downstream user: an embedding model initialised from the encoder of a Gemma 3 model adapted with the T5Gemma recipe (Section 2).
(30 min)
Tay et al., arXiv 2205.05131: the mixture-of-denoisers objective both papers adapt with, and its own encoder-decoder against decoder-only comparison.
(45 min)
Hugging Face docs and source: the reference implementation of merged attention: keys and values of the decoder and the encoder concatenated into one softmax, with the cross-attention mask never windowed.
(20 min)
2019: the original encoder-decoder against decoder-only result being retested, the span corruption that UL2 extends, and the tied embeddings T5Gemma 2 returns to. Its page animates the three attention masks.
2025: the compute-matched encoder against decoder comparison from the representation-learning side; T5Gemma is the same question from the generation side.
2024: the other route to bidirectional prompt processing, a bidirectional pass inside a decoder-only model instead of splitting the model in two.
2026: the complementary answer for long inputs, compressing the context into latents for a decoder rather than restructuring the model around an encoder.
2020: the reason the field went the other way (few-shot prompting of one decoder stack), and the capability neither T5Gemma paper tests.
2017: the encoder-decoder this adapts back to, run live at toy scale on its page.
2018: the bidirectional encoder on its own; SuperGLUE as the test of representations.
the lab page: where T5Gemma sits in the Gemma family, and when to pick it.
the Gemma family and the encoder-decoder lineage.
UL2, adaptation, PrefixLM plus distillation.
EmbeddingGemma downstream, and the long-input, short-output shape of retrieval QA.
SuperGLUE, RULER and MRCR, the suites the comparisons rest on.
local and global (sliding-window) attention layers, GQA and QK-norm, the Gemma block both papers start from.
This page is one row of the Papers database; its properties (Paper, Takeaway, Topics, Year) live there.