Prompt tuning adapts a large language model to a task by training only a few dozen "virtual token" vectors that sit in front of the input, while every weight of the model stays frozen. When those learned vectors are mixed with a human-written instruction, the method is called hybrid prompt tuning. It stores cheaply, since each task costs a few megabytes. The catch is that the model's output still comes entirely from its frozen vocabulary head. A pointer-generator is the older fix for fidelity: at each step a small gate decides whether to generate a word from the vocabulary or to copy a token straight from the source text, using the model's attention over that text. On rare names and unseen answers, this copy route has repeatedly produced large gains. This proposal asks whether a pointer-generator gate of roughly 1,500 parameters, trained jointly with hybrid prompts on a frozen model, recovers the entity fidelity that full fine-tuning plus copying achieves.
The main technical difficulty is specific to hybrid prompts. A copy distribution is built from attention weights, and learned virtual tokens are known to attract a lot of attention, because steering attention is how they change the model's behavior. If they absorb that mass, the attention over the source becomes diluted, and so does the copy distribution. We therefore define pointing only over source tokens, renormalize the attention mass over those tokens, and learn which frozen attention heads to read. We then measure directly whether dilution is real and whether this correction matters.
Core Claim
The claim is that three things together close most of the gap between parameter-efficient adaptation and full fine-tuning on answers that must be reproduced verbatim from the source: continuous prompts, a frozen backbone, a copy gate, and a pointer computed from renormalized source-only attention. The prediction is concentrated in one place. On questions whose answers never appear in training (the "No Overlap" split of NaturalQuestions) and on rare-entity answers, a copy-augmented prompt-tuned model should beat deep prompt tuning without copying by a clear margin. On frequent, overlapping answers the two should be roughly tied. If the gain is not concentrated there, the mechanism is not doing what we claim.
Relation to Prior Work
Two papers supply the parts of the method. Get To The Point defines the copy mixture. The final probability of a token $w$ is $P(w) = p_{gen} P_{vocab}(w) + (1-p_{gen}) \sum_{i: w_i = w} a_i$, where $p_{gen}$ is a per-step gate in $[0,1]$ and $a_i$ is the attention weight on source token $i$. FiD-PGN showed that reusing the cross-attention of Fusion-in-Decoder makes this gate tiny, adding 1,537 parameters to a 220M model. It raised NaturalQuestions exact match from 48.5 to 51.4 and gained 9.6 points on No-Overlap questions. We reuse that gate unchanged. The difference is that FiD-PGN fine-tunes the entire backbone, and we freeze it.
The prompt side comes from P-Tuning, which trains continuous prompts through a small prompt encoder, and P-Tuning v2, which inserts prompts at every layer and matches fine-tuning on extractive QA across model scales. We use the hybrid template syntax formalized in OpenPrompt. None of these adds a copy route, and none studies what virtual tokens do to attention over the source.
The two closest pieces of work each cover half of the combination. PGC-T5 pairs discrete, rule-based prompts with a copy gate on CoQA, reaching 90.4 F1 and 74.8 generative F1. It fine-tunes all of T5, however, and has no learned prompt vectors. LargePiG turns a frozen decoder-only model into a pointer-generator at decoding time with no training. It estimates the copy probability from how far intermediate-layer predictions diverge from the final layer. Because nothing is trained, it cannot learn from task data when copying is appropriate, and it was never tested with soft prompts in the input.
Two papers constrain the design. See et al. report that copy models drift toward stitching source phrases together, so we must track abstractiveness as well as accuracy. Dr. Summarize had to add a hand-set generator penalty to force copying of medical terms. A learned gate should make that manual knob unnecessary, and we check whether it does.
Research Program
We build the method on two backbones: a frozen T5-base Fusion-in-Decoder model for encoder-decoder models, and a frozen LLaMA-2-7B for decoder-only models.
The input is a hybrid template. Virtual tokens come first, then a short discrete instruction, then the retrieved passages or dialogue, which we call the source. Deep prompts in the P-Tuning v2 style are inserted at every layer.
At each decoding step the pointer is computed in three stages. First, the source-only attention of every frozen head is renormalized over source positions only, excluding virtual tokens and template text. Second, these are mixed with a learned softmax weight over heads, which costs one scalar per head per layer. Third, the result is scattered onto the vocabulary. The gate $p_{gen}$ is a logistic function of the decoder state and the attention-weighted source representation, as in FiD-PGN. For decoder-only models, "cross-attention" is the attention from the current position to the source span.
The prompts, the head weights, and the gate are trained end to end with the standard likelihood loss. The backbone receives no gradient.
The analysis part of the program measures attention dilution directly. We record the fraction of attention mass that lands on virtual tokens, per layer and per head, before and after prompt tuning. We then correlate that fraction with copy errors, meaning cases where the correct answer span is in the source but receives low pointer mass. The ablation that turns off renormalization tests whether dilution affects accuracy or is merely visible.
Baselines
The naive reference is the frozen model with only the discrete instruction and no training. It shows how much any adaptation buys. No reported result was found on Lacuna for this configuration on NQ or CoQA, so we will measure it.
The strongest parameter-efficient competitor is P-Tuning v2 deep prompts on the same frozen backbone with the same hybrid template and no copy route. It is strong because frozen transformers already copy through attention, and P-Tuning v2 reports parity with fine-tuning on extractive QA. No numeric result was found on Lacuna for it on SQuAD. It receives the same data, the same number of training steps, and the same hyperparameter search budget as our method, with its prompt length tuned over the same grid. Beating it means a statistically reliable gain on the No-Overlap and rare-entity strata, across three seeds, without losing ground on the overlap stratum.
The strongest overall system is full fine-tuning plus copying. FiD-PGN reports 51.4 exact match on NaturalQuestions and a 9.6-point No-Overlap gain, from A Copy-Augmented Generative Model for Open-Domain Question Answering. PGC-T5 reports 90.4 F1 and 74.8 generative F1 on CoQA, from Prompt Guided Copy Mechanism for Conversational Question Answering. We reproduce both on our retrieval setup so the comparison is on the same data. Success here does not mean beating them. It means recovering most of FiD-PGN's No-Overlap gain over plain FiD while training under 1% of the parameters.
The training-free competitor is LargePiG decoding applied on top of the P-Tuning v2 model. It is run with the layer choices its authors recommend and tuned on the same dev set.
Two ablations isolate our key ingredients. One trains the copy gate without source-only renormalization, which tests the dilution hypothesis. The other freezes the gate at a constant value tuned on the dev set, a learned analogue of Dr. Summarize's fixed penalty, which tests whether a per-token decision is needed at all.
Why not just…?
Why not just use deep prompt tuning, since frozen models already copy through attention? This is the most serious threat, and it may partly win. The evidence against it being sufficient is indirect. FiD-PGN's large No-Overlap gain came on top of a model that could also attend to its source, which suggests an explicit copy route adds something beyond implicit copying. That result was obtained with a fully fine-tuned backbone, though, and learned prompts might steer a frozen model toward copying on their own. The stratified comparison settles the question. If P-Tuning v2 matches our method on No-Overlap and rare-entity answers, the copy gate is unnecessary, and we will report that result.
Why not just apply LargePiG to a prompt-tuned model and skip training a gate? Composing the two costs nothing, which is exactly why it must be beaten. Its copy probability comes from layer disagreement inside pre-trained weights, a signal learned before the soft prompts existed. It may also be distorted by those prompts. Our analysis of attention on virtual tokens and a head-to-head evaluation on the same strata will show whether the learned gate adds anything beyond this heuristic.
Why not just fine-tune everything with a copy gate, as FiD-PGN and PGC-T5 do? On accuracy alone, full fine-tuning will probably win by a small amount. The case for our method is storage and multi-task deployment: one frozen backbone serving many tasks, with a few megabytes per task. We report the accuracy cost per task honestly rather than claiming parity.
Why not just insert extracted salient phrases into the prompt, as SigExt does? Salient Information Prompting reports ROUGE-1 gains of up to 5.3% with no training. The same paper documents "over-obedience": Mistral-7B inserted keyphrases while dropping the source's negations. A pointer copies tokens in the context where they occur. We test this with a negation-preservation check on the summarization secondary task.
Proposed Experiments
The primary benchmarks are NaturalQuestions and TriviaQA with retrieved passages, using the No-Overlap split. We also define a rare-entity stratum by answer frequency in the training set. CoQA serves as the conversational setting, reported with overall F1 and generative F1.
The secondary benchmark is CNN/DailyMail. It checks for the over-extraction failure noted by See et al. by reporting ROUGE together with the rate of novel n-grams in the summaries. For reference points, See et al. report 39.53 ROUGE-1 and LOTUS reports 45.31 (Latent Prompt Tuning). For the decoder-only model we use SQuAD, where LargePiG was evaluated.
Three decisive checks apply. The first is whether the gain over P-Tuning v2 is concentrated in the No-Overlap and rare-entity strata. The second is whether removing renormalization increases copy errors in proportion to the attention mass that lands on virtual tokens. The third is whether the learned gate matches or beats a tuned constant gate while keeping the novel n-gram rate within a few points of the no-copy baseline. If all three hold, a copy route of a few thousand parameters is a principled addition to hybrid prompt tuning. If the first fails, the conclusion is that learned prompts already make frozen models copy well enough.
References
- Get To The Point: Summarization with Pointer-Generator Networks
- A Copy-Augmented Generative Model for Open-Domain Question Answering
- GPT Understands, Too
- P-Tuning: Prompt Tuning Can Be Comparable to Fine-tuning Across Scales and Tasks
- OpenPrompt: An Open-source Framework for Prompt-learning
- Prompt Guided Copy Mechanism for Conversational Question Answering
- LargePiG: Your Large Language Model is Secretly a Pointer Generator
- Dr. Summarize: Global Summarization of Medical Dialogue by Exploiting Local Structures
- Salient Information Prompting to Steer Content in Prompt-based Abstractive Summarization
- Latent Prompt Tuning for Text Summarization