Distributional Alignment as a Criterion for Designing Task Vectors in In-Context Learning
Jihoon Kwon, Jiwon Choi, Jy-yong Sohn
NeurIPS 2026
TL;DR. When compressing demonstrations in ICL into task vectors, the key design principle is to align the task-vector predictive distribution with next-token probability distribution of ICL
Abstract. In-context learning (ICL) allows large language models (LLMs) to adapt to new tasks through demonstrations, yet it suffers from escalating inference costs as context length increases. While task vectors offer a promising alternative by compressing demonstrations into compact hidden-state representations, their quality has been evaluated only through downstream task accuracy. This indirect criterion provides limited insight into how to design more effective task vector extraction methods. In this paper, we posit that inference using task vectors should align their predictive distribution with that of ICL. To quantify this, we introduce , a metric that measures the discrepancy in next-token probabilities between task vector-based and ICL-based inference. Our empirical analysis reveals that serves as a performance proxy, exhibiting a strong negative correlation with downstream accuracy. Motivated by this, we develop Linear Task Vector (LTV), a method designed to minimize via a closed-form linear mapping that estimates demonstration effects through regression. Across eight classification benchmarks and five LLMs, LTV consistently outperforms existing task vector baselines, improving average accuracy by 9.2% while reducing inference latency. We further show that LTV outperforms the baselines on regression tasks. Moreover, we investigate the transferability of LTV across different model scales; an aspect that has remained nascent in task vector research. Specifically, we empirically show that task vectors from a larger model can enhance a smaller model's performance by 6.4%, suggesting a new utility for extracted task representations.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper focuses on task vectors for in-context learning and reveals that serves as a reliable performance proxy, exhibiting a strong negative correlation with downstream accuracy. Motivated by this, this paper further develops the Linear Task Vector method to minimize via a closed-form linear mapping. Experimental results on eight classification datasets consistently outperform existing baselines. In fact, I reviewed this paper at ICML and recognized its contributions. However, due to ICML's time constraints, I realized that the authors would not be able to see my further comments.
Strengths:
- Clear motivation.
- The method is simple and effective.
- Experimental results across multiple LLMs show effectiveness.
Weaknesses:
-
Reviewers 7wVq and x7Ja pointed out some experimental weaknesses. I also noticed that reviewers at ICML raised similar issues.
-
Reviewer EHiD offered some suggestions for clarifying this paper, and the paper may need to more clearly articulate its contributions.
After rebuttal:
The authors provided a strong rebuttal that adequately addressed the reviewers' concerns. The motivation for this paper is clear, the methodology is simple and effective, and the evaluation is comprehensive.
Final justification
Most reviewers recognized the contributions of this work and provided positive evaluations. The authors provided a strong rebuttal that adequately addressed the reviewers' concerns. The authors should incorporate all additional experimental results into the final version. I recommend accepting this paper.
Read meta-review
Meta-review
This paper focuses on task vectors for in-context learning and reveals that serves as a reliable performance proxy, exhibiting a strong negative correlation with downstream accuracy. Motivated by this, this paper further develops the Linear Task Vector method to minimize via a closed-form linear mapping. Experimental results on eight classification datasets consistently outperform existing baselines. In fact, I reviewed this paper at ICML and recognized its contributions. However, due to ICML's time constraints, I realized that the authors would not be able to see my further comments.
Strengths:
- Clear motivation.
- The method is simple and effective.
- Experimental results across multiple LLMs show effectiveness.
Weaknesses:
-
Reviewers 7wVq and x7Ja pointed out some experimental weaknesses. I also noticed that reviewers at ICML raised similar issues.
-
Reviewer EHiD offered some suggestions for clarifying this paper, and the paper may need to more clearly articulate its contributions.
After rebuttal:
The authors provided a strong rebuttal that adequately addressed the reviewers' concerns. The motivation for this paper is clear, the methodology is simple and effective, and the evaluation is comprehensive.
Final justification
Most reviewers recognized the contributions of this work and provided positive evaluations. The authors provided a strong rebuttal that adequately addressed the reviewers' concerns. The authors should incorporate all additional experimental results into the final version. I recommend accepting this paper.
3 comments
Additional Results and Clarifications
Additional Empirical Validation
| Question or requested validation | Our response | Main result | Addressed in |
|---|---|---|---|
| Controlled comparison under the same data budget | We evaluated all task-vector baselines from the submitted manuscript and LTV on eight benchmarks using the same pool of 256 queries with LLaMA-3.1-8B. The baselines used query labels, whereas LTV did not. | LTV continued to outperform every task-vector baseline included in the submitted manuscript. | x7Ja, R3-4 |
| Comparison using I2CL’s original coefficient training | We trained I2CL’s scaling coefficient using its standard tuning protocol and compared it with LTV using the same fixed and as in the submitted manuscript, across five models and eight classification benchmarks. | LTV performed better on Qwen-2.5-7B, Qwen-3-8B, and LLaMA-3.1-8B, while I2CL performed better on LLaMA-2-7B and LLaMA-2-13B. | x7Ja, R3-2; UHpk, R4-4 |
| Applicability to generative tasks | We studied LTV extensions for multi-token generation on WMT14 En→Fr, XSum, and GSM8K. | On every task, either LTV or an LTV extension outperformed zero-shot inference. The best variant improved translation by 2.11 BLEU, summarization by 3.12 ROUGE-1, and mathematical reasoning by 6.23 percentage points. | 7wVq, R2-2 |
| Isolating the benefit and cost of LTV’s linear design | We compared LTV with a two-layer MLP, LoRA, and LoReFT using the same hidden-state MSE objective and analyzed their extraction costs. | LTV improved over zero-shot inference by approximately 12 percentage points. Nonlinear and optimization-based methods provided an additional 2–3 percentage points over LTV but incurred additional extraction costs. | EHiD, R1-3; UHpk, R4-2 |
| Variability in cross-model transfer and the TREC performance drop | We reported per-task means and standard deviations for 72B→7B transfer and analyzed them in relation to the ICL performance of the large and small models. | TREC was the only task on which the large model underperformed the small model under ICL. We found that this difference likely led to negative transfer. | x7Ja, R3-3; UHpk, R4-5 |
| Broader -accuracy correlation analysis | We extended the analysis to eight classification benchmarks, two representative models, and four task-vector methods. | Of the 64 correlation measurements, 60 had a Pearson correlation coefficient of at most . | UHpk, R4-3 |
| Comparison with recent task-vector methods | We added comparisons with Learnable-TV and Learned-TV using the same setting of 30 labeled demonstrations. | LTV achieved an average accuracy of 75.46, compared with 73.26 for Learned-TV and 57.86 for Learnable-TV. | 7wVq, R2-1 |
| Sensitivity to prompt construction | We varied the prompt template, label verbalizers, and demonstration ordering, repeating each experiment five times. | Average accuracy remained generally stable across these variations. | x7Ja, R3-1 |
Improvements to the Explanation and Presentation
| Planned improvement | How we will revise the paper | Addressed in |
|---|---|---|
| Clarify the motivation for proposing | We compare the prediction equations for zero-shot, ICL, and task-vector inference to explain the role of a task vector and will add this explanation explicitly to Section 4.1. | EHiD, R1-1 |
| Strengthen the intuition for deriving the MSE proxy and LTV from | We explain that the difference between the two output distributions originates from the difference between their hidden states, making hidden-state alignment a natural way to reduce the distributional discrepancy. We will present this intuition before the formal derivation. | EHiD, R1-2 |
Rebuttal Summary for the Area Chair
Summary of Responses
We sincerely thank the reviewers and the Area Chair (AC) for their careful assessment. Their comments helped us explain the paper’s central contributions more clearly and provide additional evidence for the strengths of our method (LTV). The AC highlighted two areas on which our response should focus: strengthening the empirical validation, as raised by Reviewers 7wVq and x7Ja, and clarifying the paper’s contributions and presentation, as suggested by Reviewer EHiD. In addition, following the AC’s previous suggestion, we conducted an additional evaluation under a 10-shot setting and report the results at the end.
We addressed a range of empirical questions. The following are the main results:
- Controlled comparison under the same data budget: We re-evaluated every task-vector baseline from the submitted manuscript and LTV using the same number of training queries. The baselines used query labels, whereas LTV did not. Under this setting, LTV continued to outperform every task-vector baseline included in the submitted manuscript.
- Comparison using I2CL’s original training protocol: We trained I2CL’s coefficient using its original tuning protocol and compared it with LTV using the same fixed and as in the submitted manuscript. Across five models and eight classification benchmarks, LTV achieved higher average accuracy on three of the five models and retained its overall advantage.
- Extension to generative tasks: We studied how LTV performs when extended to multi-token generation on translation (WMT14 En→Fr), summarization (XSum), and mathematical reasoning (GSM8K). On every task, either LTV or an extension of LTV outperformed zero-shot inference. These results support the potential of extending our core idea and LTV methodology to generative tasks.
We also explained how we will improve the presentation of the paper in two ways:
- Clarifying the motivation for : We directly compared the prediction equations for zero-shot, in-context learning (ICL), and task-vector inference to explain the role of a task vector. We will add this explanation explicitly to Section 4.1.
- Strengthening the intuition for deriving LTV from : We explained that the difference between the output distributions of ICL and task-vector inference originates from the difference between their hidden states. This provides the intuition that aligning the hidden states is a natural way to reduce the distributional discrepancy. In the revision, we will present this intuition before introducing the mean squared error (MSE) proxy and the mathematical derivation of LTV.
Strengths Highlighted Across the Reviews
The reviewers highlighted the following strengths:
- A clear and useful problem formulation: The paper defines the goal of a task vector as reproducing the predictive distribution of ICL rather than merely improving downstream accuracy. The reviewers viewed this reframing as an important conceptual contribution (
EHiD,7wVq,x7Ja,UHpk). - The practical value of , derived from a well-motivated problem formulation: measures the difference between the next-token distributions of task-vector inference and ICL without requiring labels. The reviewers found it intuitive and practical because it provides a design criterion that downstream accuracy alone cannot offer (
EHiD,7wVq,x7Ja,UHpk). - A simple and efficient method: LTV has a closed-form ridge-regression solution, requires no iterative training, achieves near-zero-shot inference latency, and improves average performance over prior task-vector methods (
7wVq,x7Ja,UHpk). - Broad evaluation: The submitted paper evaluates eight classification benchmarks and five language models, along with regression, latency, robustness, hyperparameter, and cross-model transfer analyses (
EHiD,7wVq,x7Ja). - Academic and practical relevance: Reviewer
x7Jaemphasized the potential value of this work to both academia and industry and noted that the evaluation supports a technically substantive contribution.
- Rating
- 2/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies task vectors (TVs) for in-context learning (ICL): the effect of demonstrations is compressed into a hidden-state vector and injected at inference to replace the demonstration prefix. The authors propose dNTP, a label-free metric measuring the KL divergence between the next-token distribution of ICL and TV inference, and show it correlates negatively with accuracy. They then propose Linear Task Vector (LTV), which uses ridge regression to fit a closed-form linear map from the zero-shot hidden state to the ICL residual. On eight classification benchmarks and five LLMs, LTV reports the best average accuracy, the lowest dNTP, and near-zero-shot latency, with extra results on regression and cross-scale transfer.
Strengths and weaknesses
Strengths And Weaknesses Strengths. The paper is clearly written and the three inference modes are formalized cleanly. The idea of judging TV quality by distributional alignment with ICL, rather than only accuracy, is sensible and label-free. The closed-form ridge solution is simple and gives zero-shot-level inference latency, and the main tables include error bars.
Weaknesses. (1) The core justification (Proposition 5.1) is only a one-directional upper bound with unestimated constants, so minimizing the MSE proxy does not provably reduce dNTP; this link is not validated empirically. (2) The linear assumption is justified mainly by convenience, and the gap to a non-linear extractor is not quantified in the main text. (3) The dNTP-accuracy correlation is shown on only four benchmarks and two models, far narrower than the eight-benchmark, five-model evaluation of LTV. (4) Baselines are not fully matched: I2CL runs without its trained scaling coefficient, while LTV uses grid-searched hyperparameters. (5) The cross-scale transfer is uneven (drops 13.16% on TREC) and lacks error bars. (6) The scope is limited to single-layer additive injection on classification.
Questions
Questions
- Please empirically show the link between the MSE proxy and dNTP: plot dNTP against L_MSE for LTV across benchmarks, and report how tight Proposition 5.1 is (including the constants C1, C2 if estimable).
- Please add a main-text comparison between LTV and at least one non-linear extractor under the same budget, so the cost of the linear restriction is quantified.
- Please extend the dNTP-accuracy correlation study to the full eight benchmarks and five models, and to the regression tasks, to confirm dNTP is a general proxy.
- Please report I2CL with its trained scaling coefficient, and report LTV without grid search (fixed lambda and N), so the comparison is fully matched.
- Please report error bars and a per-task analysis for the 72B->7B transfer (Table 5), and explain the TREC drop. I will raise Quality and Significance if items 1, 2, and 4 are addressed convincingly.
Limitations
Partially addressed. The authors note the linear simplification and the I2CL fairness choice, but do not discuss the one-directional nature of Proposition 5.1, the restriction to classification with single-layer additive injection, or the uneven transfer. No significant negative societal impact is expected.
Formatting concerns
no
2 comments
Rebuttal
To Reviewer 4 [UHpk]
Thank you for recognizing the clear presentation of our paper, the motivation behind our metric for evaluating task vectors, and the simplicity and efficiency of our proposed method. We also appreciate your constructive feedback on the theoretical and empirical aspects of our work.
Below, we respond to each of the points you raised.
[R4-1]: Empirically show the link between the MSE proxy and dNTP including the constants C1, C2.
Recall that Proposition 5.1 states
In response to the reviewer's request, we empirically validated the link between and . Specifically, for the eight benchmarks reported in Table 1, we examined whether reducing the proxy objective is accompanied by a reduction in , by comparing both quantities for zero-shot inference mode and LTV mode. The results are summarized in Table R4.1.
Table R4.1. Changes in and for zero-shot inference mode and LTV mode, tested on eight benchmarks.
| Dataset | : Zero-shot → LTV | : Zero-shot → LTV |
|---|---|---|
| SST-2 | 0.225 → 0.133 | 118.6 → 37.8 |
| SST-5 | 0.903 → 0.406 | 135.3 → 41.4 |
| MR | 0.242 → 0.120 | 126.3 → 35.5 |
| Subj | 0.246 → 0.165 | 142.6 → 42.4 |
| TREC | 1.552 → 0.316 | 144.8 → 49.6 |
| HateSpeech18 | 0.322 → 0.092 | 138.4 → 41.5 |
| AG News | 0.320 → 0.092 | 108.8 → 40.6 |
| DBPedia | 0.965 → 0.144 | 140.0 → 55.2 |
| Average | 0.597 → 0.183 | 131.9 → 43.0 |
As shown in Table R4.1, applying the task vector extracted by LTV reduced both quantities on all eight benchmarks. The two quantities ( and ) decrease together on every benchmark, providing empirical evidence that the proposed proxy behaves as intended in practice.
We also followed the reviewer's suggestion to estimate the constants appearing in Proposition 5.1. As shown in its proof, corresponds to the operator norm of the LM-head submatrix associated with the task's label set. We computed for the Llama-3.1-8B model, which is used for the analyses in our submitted manuscript.
The constant is the Lipschitz constant of the log-softmax mapping with respect to the norm. We can derive the upper bound , where denotes the number of labels in the task. Accordingly, we used as an upper bound on for each benchmark. The resulting values are summarized in Table R4.2.
Table R4.2. Estimated values of the constants appearing in Proposition 5.1 for each benchmark.
| Dataset | ||||
|---|---|---|---|---|
| SST-2 | 2 | 1.03 | 1.41 | 1.46 |
| SST-5 | 5 | 1.13 | 2.23 | 2.53 |
| MR | 2 | 1.03 | 1.41 | 1.46 |
| Subj | 2 | 1.03 | 1.41 | 1.46 |
| TREC | 6 | 1.00 | 2.44 | 2.45 |
| HateSpeech18 | 2 | 1.09 | 1.41 | 1.55 |
| AG News | 4 | 0.92 | 2.00 | 1.85 |
| DBPedia | 14 | 1.14 | 3.74 | 4.29 |
| Average | 4.6 | 1.05 | 2.01 | 2.13 |
Across the eight benchmarks, ranges from 1.47 to 4.30, with an average value of 2.14. These results indicate that the constants remain moderate in magnitude across the evaluated tasks. We will include these results in the appendix of the revised manuscript.
[R4-2]: Add a main-text comparison between LTV and at least one non-linear extractor.
In our submitted manuscript, we added the comparison between LTV and a non-linear extractor in Appendix A.7. We will move this to the main body, in the revised manuscript.
In Appendix A.7, we compared three mapping functions: (1) a constant mapping, (2) the linear mapping used in LTV, and (3) a nonlinear two-layer MLP. We conducted experiments on Llama-3.1-8B model. The results are summarized in Table R4.3.
Table R4.3. Accuracy and computational cost of each mapping under the same extraction budget, averaged over the eight classification benchmarks.
| Method | Avg. Acc. (%) ↑ | Extraction Time (s) ↓ | Inference Time (vs Zero-shot) ↓ |
|---|---|---|---|
| ICL | 82.66 | – | – |
| Zero-shot | 63.47 | – | 1.000x |
| Constant Mapping | 55.72 | 40.21 | 1.000x |
| Linear Mapping (Ours) | 75.46 | 42.66 | 1.001x |
| 2-layer MLP based Mapping | 77.45 | 88.13 | 1.003x |
As shown in Table R4.3, the non-linear 2-layer MLP mapping improves average accuracy over LTV by 2.54%, which quantifies the cost of the linear restriction. This gain, however, comes at roughly twice the extraction cost, since the MLP requires iterative optimization whereas the linear mapping is obtained in closed form. The constant mapping, in contrast, reaches only 55.72%. We will move these results into the main text of the revised manuscript.
[R4-3]: Please extend the dNTP-accuracy correlation study.
We thank the reviewer for the valuable suggestion. Due to the limited rebuttal period, we report additional correlation analyses for two representative models, Qwen-2.5-7B and LLaMA-3.1-8B (see Table R4.3 and Table R4.4 below), covering all eight classification benchmarks and four representative methods. We agree that extending this analysis to all five models and the regression tasks would provide a more comprehensive validation of as a general proxy. We will conduct these follow-up experiments and include the additional results in the revised manuscript.
Table R4.4. Correlation between and downstream accuracy across eight classification benchmarks for Qwen-2.5-7B.
| Baseline | AGNews | DBPedia | MR | SST-2 | SST-5 | HateSpeech18 | TREC | Subj |
|---|---|---|---|---|---|---|---|---|
| Function Vector | -0.75 | -0.94 | -0.76 | -0.97 | 0.57 | 0.41 | 0.29 | -0.69 |
| Task Vector | -0.96 | -0.93 | -0.92 | -0.97 | -0.54 | -0.73 | -0.46 | -0.91 |
| State Vector | -0.91 | -0.52 | -0.15 | -0.53 | -0.77 | -0.82 | -0.32 | -0.87 |
| I2CL | -0.59 | -0.97 | -0.84 | -0.96 | -0.37 | -0.04 | -0.94 | -0.89 |
Table R4.5. Correlation between and downstream accuracy across eight classification benchmarks for LLaMA-3.1-8B
| Baseline | AGNews | DBPedia | MR | SST-2 | SST-5 | HateSpeech18 | TREC | Subj |
|---|---|---|---|---|---|---|---|---|
| Function Vector | -0.91 | -0.76 | -0.69 | -0.91 | -0.55 | -0.87 | -0.80 | -0.59 |
| Task Vector | -0.92 | -0.95 | -0.93 | -0.72 | -0.23 | -0.65 | -0.39 | 0.26 |
| State Vector | -0.98 | -0.96 | -0.96 | -0.39 | -0.80 | -0.82 | -0.52 | -0.35 |
| I2CL | -0.32 | -0.84 | -0.59 | -0.83 | -0.76 | -0.57 | -0.68 | -0.38 |
Across 8 benchmarks, 2 models, and 4 methods (a total of 64 correlation measurements), 60 out of 64 exhibit a negative correlation (Pearson's correlation ) between and downstream accuracy.
[R4-4]: Please report I2CL with its trained scaling coefficient.
We additionally evaluated I2CL using its original training and validation protocol and compared it against LTV with the same fixed and as used in the main paper. The results are reported for five models in our response to [R3-2] (Tables R3.2–R3.6). Please refer to [R3-2] in our response to Reviewer 3 [x7Ja] for the full results and discussion.
[R4-5]: Please report error bars for Table 5, and explain the TREC drop.
Following the reviewer's request, we share Table 5 of the submitted manuscript revised to include error bars, and provide our analysis of the resulting performance changes.
On the error bars
We report the complete per-task results of the cross-model transfer experiment (Table 5) with error bars in Table R4.6. Each entry is the mean ± standard deviation over five runs with different demonstration sets.
Table R4.6. Per-task accuracy (%) for the cross-model transfer experiment (Qwen2.5-72B → Qwen2.5-7B). Mean ± standard deviation over five runs with different demonstration sets.
| Models | Methods | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|
| Small Model (Qwen2.5-7B) | Zero-shot | 74.20 | 73.20 | 61.20 | 62.20 | 55.40 | 20.00 | 56.80 | 67.20 | 58.77 |
| ICL | 83.24(±2.70) | 83.48(±4.06) | 80.60(±1.32) | 92.88(±0.24) | 95.00(±0.87) | 46.60(±2.86) | 76.00(±6.77) | 87.04(±1.48) | 80.61(±0.30) | |
| LTV | 78.48(±4.78) | 77.24(±1.88) | 72.28(±2.69) | 87.56(±4.13) | 89.00(±7.43) | 33.16(±2.60) | 66.52(±8.36) | 84.32(±4.02) | 73.57(±2.30) | |
| Large Model (Qwen2.5-72B) | Zero-shot | 72.00 | 68.00 | 70.40 | 92.00 | 90.60 | 36.00 | 53.00 | 73.00 | 69.38 |
| ICL | 88.08(±1.09) | 95.64(±0.62) | 82.80(±1.37) | 93.88(±0.27) | 96.44(±0.15) | 46.12(±1.59) | 95.80(±0.66) | 75.44(±7.05) | 84.28(±1.29) | |
| LTV | 81.40(±1.37) | 88.92(±1.92) | 77.20(±1.59) | 91.48(±0.37) | 94.36(±1.04) | 37.16(±2.77) | 91.92(±1.32) | 77.24(±3.79) | 79.96(±0.23) | |
| Transferred LTV(72B → 7B) | LTV | 83.24(±1.16) | 92.68(±1.80) | 76.48(±1.87) | 91.36(±0.46) | 92.36(±1.14) | 42.48(±2.65) | 90.24(±1.51) | 71.16 (±5.88) | 80.00(±1.19) |
Table R4.6 shows that the transferred task vector improves the small model's average accuracy from 73.57 (±2.30) to 80.00 (±1.19). The improvement of 6.43 percentage points is substantially larger than one standard deviation, indicating that the gain is consistent across different demonstration sets. Interestingly, the transferred LTV not only approaches the performance of the large model's LTV, but also inherits its lower variance across runs.
On the per-task analysis and the TREC drop
We find that the performance gain from the transferred task vector tends to follow the ICL performance of the large model. For example, the two largest gains, Subj (+23.7) and DBPedia (+15.4), occur exactly on the two tasks where the large model's ICL advantage over the small model is largest (+19.8 and +12.2, respectively). TREC, in contrast, is the only dataset on which the large model performs worse in ICL than the small model (75.44 vs. 87.04). Consequently, the transferred representations may be less effective for TREC, resulting in negative transfer.
In the revised manuscript, we will update Table 5 to include these error bars and add this per-task analysis to the discussion.
Dear Reviewer, This is a gentle reminder regarding our rebuttal. If you have a chance, we would greatly appreciate it if you could take a look and share any comments. Thank you for your time.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Authors study task vectors for ICL and propose distributional alignment as a criteria for designing and evaluating them.
The authors introduce , which is a metric that measures the KL divergence between the next token distribution produced by the standard ICL and the one produced by the task vector inference. Authors also show that this metric correlates with downstream accuracy.
They then propose Linear Task Vector (LTV), which is a closed-form ridge regression method estimating the hidden state shift induced by demonstrations. At the end, experiments are presented across classification, regression, and cross-model transfer. They show that LTV improves over prior task vector baselines while keeping the inference efficient.
Strengths and weaknesses
This is a really strong paper that will be highly useful for both industry and academia.
The framing of task vectors to not only improve accuracy, but to reproduce the predictive distribution induced by ICL, is a significant contribution. Also, the proposed metric, , is intuitive, well-motivated, and practical. I'd say that the authors made excellent use of this idea by deriving LTV, a simple closed-form method that avoids iterative training and adds very little inference overhead. The empirical evaluation is broad and convincing. By comparing against several task vector baselines across various LLMs and datasets, while reporting latency, hyperparameter checks, regression, and cross-model transfer experiments, the authors have ensured the contribution is technically solid rather than narrowly tuned.
On the other hand, The comparison protocol is not perfectly clean. LTV uses unlabeled training queries to fit the regression, while some baselines rely on labeled validation examples for layer or head selection. Additionally, I2CL was run with default rather than tuned coefficients. While this does not invalidate the results, it makes the exact fairness of the comparison harder to judge. I also noticed that LTV still trails full ICL by a significant margin. The method is best viewed as a strong compressed ICL or task vector method, rather than a replacement for full ICL. The authors should state this more directly for the sake of transparency. The method and metric are most convincing for short-output classification. While the regression results are useful, longer generation, reasoning, summarization, and dialogue remain open areas. The cross-model transfer result is promising but currently narrow, as it is dependent on shared tokenizers.
I would like to see a controlled comparison where all methods are given the same unlabeled query pool, alongside a separate comparison where each baseline is run with its standard tuning protocol.
Questions
- How sensitive are and LTV to prompt templates, label verbalizers, and demonstration ordering?
- Would it make sense to report a comparison where each baseline is run with its standard validation/tuning protocol?
- Why does cross-model transfer hurt TREC while helping most other datasets?
- Can the authors add a controlled comparison where all task-vector methods use the same unlabeled query pool available to LTV?
Limitations
Yes
Final justification
I recommend Accept. The rebuttal addressed my main concerns through additional sensitivity studies, a tuned I2CL comparison, and a controlled evaluation using the same query pool. These results strengthen the empirical case while also presenting a more nuanced comparison across models. Some limitations remain, particularly the gap from full ICL and the limited evidence for longer-form generation, but they do not outweigh the paper’s practicality. My positive assessment remains unchanged.
Formatting concerns
N/A
3 comments
Rebuttal
To Reviewer 3 [x7Ja]
We sincerely thank the reviewer for the strong endorsement of our work and for highlighting its potential value to both academia and industry.
We particularly appreciate your recognition of our central contribution in reframing the goal of task vectors, the intuitive and practical nature of , the development of LTV from this perspective, and the breadth and strength of our empirical evaluation.
Below, we respond to each of your questions and suggestions.
[R3-1]: How sensitive are LTV to prompt templates, label verbalizers, and demonstration ordering?
We thank the reviewer for raising this important question. In the submitted manuscript, we followed the prompt templates and label verbalizers adopted in prior work. Following the reviewer's suggestion, we conducted additional sensitivity analyses by varying (1) prompt templates, (2) label verbalizers, and (3) demonstration ordering.
Specifically, for the prompt-template analysis, we modified the original template by either removing newline characters or converting the template text to uppercase. For the label-verbalizer analysis, we replaced the original labels positive/negative with good/bad. For the demonstration-order analysis, we randomly permuted the order of the demonstrations. We conducted all sensitivity analyses on LLaMA-3.1-8B model. Each experiment was repeated five times with different demonstration sets, and we report the mean accuracy and standard deviation. The results are summarized in Tables R3.1–R3.3.
Table R3.1. Performance of LTV under different prompt templates.
| Variant | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| LTV (Ours) | 82.84 (±2.5) | 93.36 (±1.4) | 70.44 (±6.0) | 88.68 (±1.0) | 90.08 (±1.2) | 38.20 (±3.4) | 67.16 (±11.4) | 72.88 (±7.2) | 75.46 |
| No newline | 83.92 (±2.0) | 90.72 (±1.99) | 72.64 (±2.2) | 86.96 (±1.2) | 82.92 (±4.1) | 39.00 (±1.1) | 83.20 (±2.6) | 71.16 (±5.8) | 76.32 |
| Uppercase | 84.28 (±1.2) | 92.24 (±2.11) | 72.16 (±3.7) | 90.04 (±0.7) | 88.44 (±0.9) | 39.84 (±2.8) | 81.36 (±5.2) | 72.04 (±4.3) | 77.55 |
Table R3.2. Performance of LTV under different label verbalizers.
| Variant | MR | SST-2 |
|---|---|---|
| Original task labels (positive/negative) | 88.68 (±1.0) | 90.08 (±1.2) |
| Alternative task labels (good/bad) | 87.52 (±2.0) | 89.56 (±1.4) |
Table R3.3. Performance of LTV under different demonstration orderings on LLaMA-3.1-8B.
| Variant | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| LTV (Ours) | 82.84 (±2.5) | 93.36 (±1.4) | 70.44 (±6.0) | 88.68 (±1.0) | 90.08 (±1.2) | 38.20 (±3.4) | 67.16 (±11.4) | 72.88 (±7.2) | 75.46 |
| Permuted | 81.68 (±2.7) | 93.16 (±0.9) | 71.72 (±3.9) | 88.64 (±0.5) | 90.88 (±0.7) | 40.60 (±2.3) | 71.96 (±5.8) | 69.48 (±8.1) | 76.02 |
Across all three sensitivity analyses, the overall average accuracy remains stable across variants. These results suggest that LTV is robust to moderate variations in prompt templates, label verbalizers, and demonstration ordering. We will include these additional analyses in the revised manuscript.
[R3-2]: Would it make sense to report a comparison where each baseline is run with its standard validation/tuning protocol?
Following the reviewer's suggestion, we additionally evaluate I2CL using the standard validation and tuning protocol described in its original paper. We note that all other baselines in the submitted manuscript were already evaluated following their respective standard validation and tuning protocols. We compare I2CL with LTV across five models used in the submitted manuscript.
Table R3.4. Comparison between I2CL and LTV on Qwen-2.5-7B.
| Methods | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| I2CL | 83.12 (±2.9) | 83.08 (±1.5) | 53.92 (±3.4) | 87.88 (±1.2) | 91.04 (±1.7) | 34.96 (±4.1) | 50.52 (±1.1) | 65.56 (±9.5) | 68.76 |
| LTV (Ours) | 77.32 (±6.7) | 90.68 (±2.2) | 75.24 (±1.2) | 90.56 (±1.3) | 91.76 (±1.7) | 31.32 (±4.2) | 80.68 (±5.6) | 83.40 (±6.2) | 77.62 |
Table R3.5. Comparison between I2CL and LTV on Qwen-3-8B
| Methods | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| I2CL | 81.48 (±2.9) | 87.48 (±0.3) | 73.60 (±2.4) | 88.68 (±1.3) | 90.76 (±1.6) | 40.00 (±2.3) | 58.72 (±8.6) | 71.44 (±8.6) | 72.10 |
| LTV (Ours) | 77.80 (±2.1) | 94.20 (±1.7) | 76.04 (±3.4) | 86.72 (±6.3) | 90.40 (±2.2) | 39.40 (±7.1) | 90.00 (±2.2) | 81.96 (±4.6) | 79.57 |
Table R3.6. Comparison between I2CL and LTV on LLaMA-2-7B
| Methods | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| I2CL | 82.88 (±3.3) | 89.60 (±2.4) | 72.04 (±2.4) | 90.40 (±1.7) | 88.40 (±1.7) | 46.24 (±2.2) | 81.64 (±3.1) | 66.76 (±8.6) | 77.25 |
| LTV (Ours) | 83.96 (±4.4) | 88.84 (±1.6) | 55.72 (±5.2) | 91.20 (±2.5) | 90.12 (±0.9) | 38.68 (±2.0) | 50.32 (±0.3) | 70.68 (±5.4) | 71.19 |
Table R3.7. Comparison between I2CL and LTV on LLaMA-2-13B
| Methods | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| I2CL | 85.80 (±4.2) | 91.92 (±0.8) | 75.27 (±3.4) | 90.35 (±1.6) | 92.24 (±1.1) | 46.72 (±1.7) | 86.76 (±2.4) | 73.48 (±9.0) | 80.46 |
| LTV (Ours) | 86.68 (±1.7) | 93.20 (±0.5) | 72.08 (±2.2) | 90.20 (±2.0) | 88.96 (±2.1) | 41.88 (±2.2) | 78.76 (±2.7) | 83.92 (±6.3) | 79.46 |
Table R3.8. Comparison between I2CL and LTV on LLaMA-3.1-8B
| Methods | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| I2CL | 84.60 (±2.5) | 84.60 (±4.2) | 50.08 (±0.2) | 87.52 (±1.4) | 87.92 (±0.4) | 38.80 (±4.8) | 70.80 (±2.9) | 70.28 (±9.1) | 71.83 |
| LTV (Ours) | 82.84 (±2.5) | 93.36 (±1.4) | 70.44 (±6.0) | 88.68 (±1.0) | 90.08 (±1.2) | 38.20 (±3.4) | 67.16 (±11.4) | 72.88 (±7.2) | 75.46 |
As shown in Tables R3.4–R3.8, LTV achieves higher average accuracy than I2CL on Qwen-2.5-7B (77.62 vs. 68.76), Qwen-3-8B (79.57 vs. 72.10), and LLaMA-3.1-8B (75.46 vs. 71.83). In contrast, I2CL performs better on LLaMA-2-7B (77.25 vs. 71.19) and LLaMA-2-13B (80.46 vs. 79.46). We will include these additional comparisons in the revised manuscript.
[R3-3]: Why does cross-model transfer hurt TREC while helping most other datasets?
We find that the performance gain from the transferred task vector tends to follow the ICL performance of the large model. For example, the two largest gains shown in Table 5 in the submitted manuscript, Subj (+23.7) and DBPedia (+15.4), occur exactly on the two tasks where the large model's ICL advantage over the small model is largest (+19.8 and +12.2, respectively). TREC, in contrast, is the only benchmark on which the large model performs worse in ICL than the small model (75.44 vs. 87.04). Consequently, the transferred representations may be less effective for TREC, resulting in negative transfer.
[R3-4]: Can the authors add a controlled comparison where all task-vector methods use the same unlabeled query pool available to LTV?
We thank the reviewer for the suggestion. To provide a controlled comparison, we re-evaluated all task-vector baselines using the same pool of 256 queries available to LTV. Importantly, LTV does not use query labels, whereas the other baselines use the corresponding labels when constructing their task vectors. Due to the limited rebuttal period, we conducted this additional experiment on one representative model, LLaMA-3.1-8B, across all eight benchmarks. The results are reported in Table R3.9 below.
Table R3.9. Controlled comparison on LLaMA-3.1-8B when all task-vector methods use the same pool of training queries.
| Method | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| Zero-shot | 75.00 | 69.00 | 60.60 | 82.20 | 86.80 | 25.60 | 59.20 | 49.40 | 63.47 |
| ICL | 87.16 (±1.1) | 97.68 (±0.7) | 74.32 (±7.2) | 94.52 (±0.4) | 94.20 (±1.0) | 48.32 (±1.0) | 85.96 (±4.7) | 79.08 (±6.5) | 82.66 |
| Function Vector | 76.48 (±0.8) | 70.20 (±0.3) | 64.76 (±0.9) | 82.76 (±0.5) | 87.44 (±0.4) | 25.60 (±0.9) | 59.80 (±0.4) | 68.92 (±0.7) | 67.00 |
| Task Vector | 82.84 (±3.4) | 83.76 (±0.7) | 71.16 (±2.2) | 87.00 (±3.0) | 88.32 (±1.5) | 35.36 (±2.1) | 61.20 (±0.5) | 68.92 (±0.9) | 72.32 |
| State Vector | 82.96 (±2.1) | 80.96 (±1.5) | 67.40 (±2.4) | 90.72 (±0.7) | 85.84 (±2.1) | 36.44 (±1.4) | 68.68 (±0.3) | 67.40 (±1.8) | 72.55 |
| I2CL | 76.76 (±0.3) | 72.60 (±0.3) | 62.24 (±0.4) | 85.24 (±0.2) | 90.80 (±0.2) | 32.48 (±0.3) | 62.28 (±0.1) | 49.00 (±0.5) | 66.42 |
| LTV (Ours) | 82.84 (±2.5) | 93.36 (±1.4) | 70.44 (±6.0) | 88.68 (±1.0) | 90.08 (±1.2) | 38.20 (±3.4) | 67.16 (±11.4) | 72.88 (±7.2) | 75.46 |
As shown in Table R3.9, LTV achieves the highest average accuracy among the task-vector methods, with an average of 75.46. We will include this controlled comparison in the revised manuscript.
Thank you for the detailed response and additional experiments. The new results substantially address my questions. I noticed that the sensitivity analyses suggest that LTV is reasonably robust to moderate changes in prompt templates, label verbalizers, and demonstration ordering. Also, the evaluation of I2CL using its standard tuning protocol provides a more informative comparison and shows a nuanced result that LTV performs better on three of the five evaluated models, while I2CL performs better on the two LLaMA-2 models. I appreciate that the authors have reported these results transparently.
I'd like to note that the explanation of the negative transfer on TREC is plausible and is supported by the observation that the larger model itself has lower ICL performance than the smaller model on this dataset.
I encourage the authors to incorporate these results and qualifications into the revised manuscript, particularly the limitations relative to full ICL and the current scope of the method for longer-form generation. The authors' rebuttal strengthens the empirical support and addresses my main concerns. My positive assessment of this work remains unchanged.
We sincerely appreciate the reviewer's response, and we are glad to hear that our clarifications have addressed your concerns. We will incorporate these results into the revised manuscript, along with a discussion of the limitations relative to full ICL, as you noted.
We would also like to kindly point the reviewer to our response to Reviewer 2 [7wVq] under [R2-2], where we additionally explored longer-form generation and reported the corresponding results.
Thank you again for your thoughtful and constructive feedback throughout this discussion.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work addresses the central challenge of designing effective task vectors for in-context learning without relying solely on downstream accuracy as the evaluation criterion. The paper proposes a new metric, dNTP, which measures the distributional discrepancy between task-vector inference and standard ICL, and demonstrates that this metric strongly correlates with downstream performance. Building on this insight, the authors introduce Linear Task Vector (LTV), which formulates task vector extraction as a linear regression problem with a closed-form solution. Extensive experiments on multiple classification datasets, regression tasks, and cross-model transfer demonstrate improvements over existing task vector methods while maintaining low inference latency.
Strengths and weaknesses
Strengths
- The paper presents a clear and well-structured story, where the motivation, proposed metric, theoretical analysis, and method are tightly connected.
- Introducing dNTP as an explicit criterion for evaluating task vectors is an interesting perspective that provides more insight than relying solely on downstream accuracy.
- The proposed LTV is simple, computationally efficient, and admits a closed-form solution while achieving consistent improvements over existing task vector methods across multiple benchmarks.
- The experimental study is relatively comprehensive, including classification, regression, latency analysis, robustness studies, and cross-model transfer.
Weakness
- The experimental comparison is not fully up-to-date. Several recent 2025 task-vector approaches, such as Learning Task Representations from In-Context Learning and Adaptive Task Vectors, are closely related to this work but are not included in the empirical comparison, making it difficult to assess the true state-of-the-art performance.
- While the paper evaluates classification and simple regression tasks, the effectiveness of LTV in more realistic generative scenarios (e.g., long-form generation, summarization, or reasoning) remains unexplored. Given that task vectors are increasingly applied to general LLM inference beyond classification, incorporating experiments on generative tasks would substantially enhance the practical impact and relevance of this work.
Questions
See Weakness.
Limitations
See Weakness.
Formatting concerns
No
2 comments
Rebuttal
To Reviewer 2 [7wVq]
Thank you for your positive assessment of our work, particularly your recognition of the clear presentation, the value of our metric as an explicit evaluation metric, the simplicity and efficiency of our method, and the breadth of our experimental evaluation.
Below, we respond to your two questions regarding the experimental comparisons and the evaluation on generative tasks.
[R2-1]: The experimental comparison is not fully up-to-date. Several recent 2025 task-vector approaches, such as Learning Task Representations from In-Context Learning and Adaptive Task Vectors, are closely related to this work but are not included in the empirical comparison, making it difficult to assess the true state-of-the-art performance.
We thank the reviewer for pointing out recent task vector methods. We identified Learning Task Representations from In-Context Learning as Learnable-TV [1] and Adaptive Task Vectors as ATV [2], and tried to conduct additional experiments to address this comment.
We first note that ATV [2] is not directly comparable to our setting. Unlike our work, which extracts task vectors from the hidden-state changes induced by in-context learning (ICL), ATV trains a separate small language model to generate task vectors for a large language model. As a result, it does not operate under the same task-vector setting considered in our paper. Therefore, we instead compare against the recent baselines Learnable-TV [1] and Learned-TV [3].
In this experiment, following the experimental setting of the submitted manuscript, we evaluate all methods using 30 labeled demonstrations together with 256 unlabeled queries. Both LTV and Learnable-TV use the 30 labeled demonstrations and the 256 unlabeled queries, whereas Learned-TV uses only the 30 labeled demonstrations, as it is designed to operate solely on labeled examples. We tested on LLaMA-3.1-8B model across 8 classification benchmarks used in the submitted manuscript. The results are summarized in Table R2.1.
Table R2.1. Comparison of LTV with Learnable-TV [1] and Learned-TV [3].
| Methods | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| Zero-shot | 75.00 | 69.00 | 60.60 | 82.20 | 86.80 | 25.60 | 59.20 | 49.40 | 63.47 |
| ICL | 87.16 | 97.68 | 74.32 | 94.52 | 94.20 | 48.32 | 85.96 | 79.08 | 82.66 |
| Learnable-TV [1] | 54.50 | 67.70 | 58.50 | 67.00 | 73.40 | 29.50 | 58.00 | 48.30 | 57.86 |
| Learned-TV [3] | 85.90 | 87.10 | 71.30 | 84.70 | 87.50 | 32.00 | 67.10 | 60.50 | 73.26 |
| LTV (Ours) | 82.84 | 93.36 | 70.44 | 88.68 | 90.08 | 38.20 | 67.16 | 72.88 | 75.46 |
As shown in Table R2.1, LTV consistently outperforms Learnable-TV across all eight benchmarks and achieves a higher average accuracy than Learned-TV (75.46 vs. 73.26). We note that both Learnable-TV and Learned-TV were originally evaluated in settings with substantially more labeled data than the 30 labeled demonstrations considered here. While Learned-TV remains relatively robust under this reduced-label setting, the performance degradation of Learnable-TV suggests that it is more dependent on having sufficient labeled data for effective optimization. These additional experiments demonstrate that LTV remains competitive with recent task-vector methods under the experimental setting used in the submitted manuscript. We will include these comparisons in the revised manuscript.
[R2-2]: While the paper evaluates classification and simple regression tasks, the effectiveness of LTV in more realistic generative scenarios (e.g., long-form generation, summarization, or reasoning) remains unexplored. Given that task vectors are increasingly applied to general LLM inference beyond classification, incorporating experiments on generative tasks would substantially enhance the practical impact and relevance of this work.
We agree that extending LTV to long-form generation is an important direction. To address the reviewer's question, we conducted a study on three representative generative tasks - translation, summarization, and reasoning - and we share the results and analysis below.
We begin by discussing what changes when we move to generation tasks. Recall that LTV learns by regression on the hidden-states only at the first prediction position, and injects the resulting task vector only before predicting the first output token. For classification, it was enough to align the next-token distribution at the first answer token with ICL. For generation, two things change:
- Generation is no longer a single-step prediction. Thus, the predictive distribution under task-vector inference must be aligned with that of ICL at every decoding step : .
- The prediction is no longer restricted to a small set of label tokens; instead, it is made over the entire vocabulary.
A natural extension of LTV for multi-token generation is to generalize each of these two components: extend the regression to fit using hidden states from all decoding positions, or extend the injection of the task vector to all token positions (in both cases, is still obtained by a single ridge regression). Combining the two axes gives four variants, written as :
| Variant | Data used to fit | When the task vector is injected |
|---|---|---|
| (LTV in the submitted manuscript) | first-token position only | once, before the first token |
| first-token position only | at every decoding step | |
| all positions of the ICL generation | once, before the first token | |
| all positions of the ICL generation | at every decoding step |
We used the Llama-3.1-8B model and experimented on three tasks: translation WMT14 En→Fr (BLEU), summarization XSum (ROUGE-1/2/L), and mathematical reasoning GSM8K (8-shot chain-of-thought, accuracy). As in the paper, fitting uses only 256 unlabeled training queries, and every number is averaged over three runs with different demonstration sets. The results are summarized in Table R2.2.
Table R2.2. Performance on the generative tasks.
| Method | WMT14 En→Fr (BLEU) | XSum (ROUGE-1) | GSM8K (Acc. %) |
|---|---|---|---|
| Zero-shot | 28.35 (±0.74) | 22.89 (±0.07) | 22.33 (±1.26) |
| ICL | 35.68 (±0.68) | 36.12 (±0.52) | 49.67 (±1.86) |
| (same as LTV) | 30.46 (±0.81) | 26.01 (±0.59) | 20.44 (±0.95) |
| 30.11 (±1.13) | 25.81 (±0.53) | 20.44 (±0.95) | |
| 29.90 (±0.66) | 25.85 (±0.25) | 28.56 (±1.18) | |
| 17.17 (±0.57) | 20.99 (±0.90) | 1.56 (±0.29) |
Table R2.2 shows that even the simplest extension improves over zero-shot on all three tasks. With the best variant of each task, translation improves by +2.1 BLEU (28.35 → 30.46), summarization by +3.1 ROUGE-1 (22.89 → 26.01), and reasoning by +6.2 points (22.33 → 28.56). These results suggest that our method has the potential to be applied to generative tasks.
We will add the full set of experiments and analyses to the appendix of the revised manuscript, and state this direction as future work.
References:
[1] Saglam et al., "Learning Task Representations from In-Context Learning," Findings of ACL 2025 (arXiv:2502.05390)
[2] Kang et al., "Adaptive Task Vectors for Large Language Models," arXiv:2506.03426 (2025)
[3] Yang et al., "Task Vectors, Learned Not Extracted: Performance Gains and Mechanistic Insight," ICLR 2026 (arXiv:2509.24169)
Dear Reviewer, This is a gentle reminder regarding our rebuttal. If you have a chance, we would greatly appreciate it if you could take a look and share any comments. Thank you for your time.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces dNTP, a label-free metric measuring how closely a task vector's next-token distribution matches that of full in-context learning, and shows it correlates strongly with downstream accuracy across benchmarks and models. Building on this, the authors then derive an upper bound on dNTP and minimize it in closed form via ridge regression, yielding the "Linear Task Vector (LTV)". LTV outperforms prior task-vector baselines on a range of tasks and show that the LTV transfers effectively across model scales.
Strengths and weaknesses
Strength The main contribution is conceptual and cleanly executed. The paper frames the goal of a task vector as reproducing the predictive distribution of ICL, then validates a tractable, gradient-free approximation of that objective. Defining a label-free metric (dNTP) that tracks accuracy is useful in its own right. The empirical validation is fairly broad and this helps supports the generality of the method.
Weaknesses My reservations are about presentation and scoping rather than the core empirical result, but together they limit how easily a reader can absorb and situate the contribution. There are three core issues.
Presentation: First, the structure undersells the contribution. Section 3 (related work and background) spends close to three pages re-deriving standard ICL and next-token-prediction mechanics already familiar to this audience, so the reader needs to wade through known material before reaching the core contribution.
Separating dNTP and LTV: Second, the two core contributions, dNTP as a metric and LTV as a method that bounds it, are logically separable (e.g., you can accept dNTP without accepting LTV's linearity assumption). However, in the paper they are presented as an unbroken chain of equations from Eq. 9 to Eq. 14, which makes it the method somewhat more difficult to follow where the metric ends and the method begins. The paper also gives little intuition for why bounding hidden-state MSE controls the output-distribution KL divergence. This was the part I found hardest to follow.
Framing of contribution: Third, the "optimization-free" framing rests on a dichotomy I did not find convincing. Many of the methods the paper labels optimization-free still optimize an objective implicitly. Function vectors, for instance, are constructed by selecting the attention heads with the highest causal-mediation scores. LTV is no different, fitting a closed-form ridge solution under an assumed linear relationship between the latent task representations and the divergence from the ICL output distribution. The paper justifies this linearity assumption largely through the efficiency and optimization-free properties it affords, but the assumption's role in the method's success is hard to isolate. Linearity may genuinely be an important and useful assumption, or it may simply be necessary so that the method be called optimization-free. Relaxing the linearity assumption, or comparing against an explicitly optimized (LoReFT-style) intervention, would separate these.
Questions
-
(Section 3 length.) Could Sections 3.1 to 3.3 be condensed to a few sentences with citations, using the freed space to expand the motivation for dNTP in Section 4.1? I think this would strongly improve the clarity of the work overall.
-
(Separating metric from method.) Could you present dNTP and LTV as two separable claims/contributions with additional exposition to help provide the reader with greater intuition for why bounding hidden-state MSE controls the output-distribution KL divergence? This is the point I found hardest to follow, and clarifying it would raise my Clarity assessment.
-
(Optimization-free framing.) A comparison against at least one explicitly optimized task-vector intervention (LoReFT-style), or an ablation that relaxes LTV's linearity assumption, would help show how much of the advantage of the LTV method is specific to the linear, optimization-free formulation. I recognize this may be a bigger ask, but I do think this would help strengthen the impact of the work.
Limitations
yes
Final justification
The authors largely addressed my initial concerns about the clarity of the work, and have also run additional experiments in response to concerns raised by other reviewers. I believe these changes strengthen the work overall.
Formatting concerns
n/a
4 comments
Rebuttal
To Reviewer 1 [EHiD]
We sincerely thank the reviewer for recognizing that our main contribution is conceptual and cleanly executed, that is useful as a metric in its own right, and that our empirical validation is fairly broad. We also appreciate your constructive feedback on how to improve the paper’s structure and framing so that readers can more easily understand and situate our contributions. We believe your suggestions will be very helpful in improving the paper.
Below, we respond to each of your questions and suggestions regarding the presentation, framing, and additional experiments.
[R1-1]: (Section 3 length.) Could Sections 3.1 to 3.3 be condensed to a few sentences with citations, using the freed space to expand the motivation for dNTP in Section 4.1? I think this would strongly improve the clarity of the work overall.
We agree that shortening the background and using additional space to provide a more detailed motivation for the proposed metric would better highlight the main contributions of the paper. In the revised manuscript, we will condense the descriptions of the LLM, the task, zero-shot, and ICL in Sec. 3.1–3.3.
In addition, as per the reviewer's suggestion, we will add a paragraph that provides the motivation for introducing in Sec. 4.1. In this new paragraph, we will first compare the prediction equations for the three inference modes (Equation 4, 5, and 8 in the submitted manuscript) to clarify the role of the task vector. Specifically, we will explain that the purpose of using task vector is to adjust the zero-shot prediction so that it becomes more similar to the prediction produced by ICL. In other words, the injected task vector moves the prediction from toward , producing the prediction distribution . By describing the role of the task vector through the relationship among these three predictive distributions, we believe that can be introduced more naturally.
[R1-2]: (Separating metric from method.) Could you present dNTP and LTV as two separable claims/contributions with additional exposition to help provide the reader with greater intuition for why bounding hidden-state MSE controls the output-distribution KL divergence? This is the point I found hardest to follow, and clarifying it would raise my Clarity assessment.
We agree that giving the reader an intuition for why bounding the mean squared error (MSE) between and (the output hidden states of ICL and task vector inference, respectively) can control would make the key idea much easier to follow. In the current manuscript, Sec. 5.1 states our goals and then moves directly into the paragraph "Formulation of the proxy optimization problem," where the derivation begins. As a result, the intuition behind it may be hard to follow.
To address this, we will add a new paragraph, "Intuition for our approach from the proposed metric," right before that paragraph. Specifically, we will describe the following three points in order.
- The two distributions compared by (Equation 9), namely (Equation 5) and (Equation 8), differ only in the hidden state fed into the LM head: for ICL and for task vector inference. Consequently, the gap between the two output distributions arises entirely from the gap between these two hidden states.
- Since the LM head is a fixed linear map, the closer and are, the smaller the difference between the two predictive distributions becomes; and when the two hidden states are identical, the model makes exactly the same prediction. This shows that aligning the output distributions naturally reduces to aligning the two states in the hidden space.
- Recalling from equation 4 and equation 8 that the hidden state of the TV mode is , we will briefly point out that matching to amounts to setting . In other words, the proposed metric itself tells us what a task vector should aim for.
After presenting this intuition, the following paragraph will formally derive the proxy objective and justify it. This way, readers can first grasp the idea intuitively and then follow the formal derivation.
[R1-3]: (Optimization-free framing.) A comparison against at least one explicitly optimized task-vector intervention (LoReFT-style), or an ablation that relaxes LTV's linearity assumption, would help show how much of the advantage of the LTV method is specific to the linear, optimization-free formulation. I recognize this may be a bigger ask, but I do think this would help strengthen the impact of the work.
We agree that comparing LTV with both non-linear mappings and explicitly optimized task-vector interventions provides a clearer understanding of the role of the linear, optimization-free formulation.
To organize the comparison, we consider two complementary directions.
- To relax LTV's linearity assumption, we replace the linear mapping with a 2-layer MLP while optimizing the same objective between the hidden states of ICL and task-vector inference.
- To examine the effect of learning the task-vector intervention through parameter-efficient fine-tuning (PEFT), we apply a LoReFT-style intervention and optimize it using the same objective.
As already reported in Appendix A.7 of the submitted manuscript, we had evaluated both the 2-layer MLP mapping and LoRA, another widely used PEFT method. Following the reviewer's suggestion, we additionally conducted the LoReFT-style experiment and summarize all results together in Table R1.1.
Table R1.1. Comparison of LTV with non-linear mapping and PEFT methods.
| Method | AGNews | DBPedia | HateSpeech18 | MR | SST-2 | SST-5 | Subj | TREC | AVG. |
|---|---|---|---|---|---|---|---|---|---|
| Zero-shot | 75.00 | 69.00 | 60.60 | 82.20 | 86.80 | 25.60 | 59.20 | 49.40 | 63.47 |
| ICL | 87.16 | 97.68 | 74.32 | 94.52 | 94.20 | 48.32 | 85.96 | 79.08 | 82.66 |
| LTV (Linear Mapping) | 82.84 | 93.36 | 70.44 | 88.68 | 90.08 | 38.20 | 67.16 | 72.88 | 75.46 |
| 2-layer MLP Mapping | 82.80 | 92.60 | 62.00 | 90.60 | 91.00 | 41.40 | 82.00 | 77.20 | 77.45 |
| LoRA | 84.52 | 84.16 | 72.04 | 87.20 | 88.84 | 49.24 | 84.84 | 78.48 | 78.67 |
| LoReFT | 88.20 | 97.40 | 63.90 | 93.90 | 93.80 | 48.50 | 66.80 | 73.10 | 78.20 |
As shown in Table R1.1, LTV improves the average accuracy of zero-shot inference from 63.47 to 75.46. Relaxing the linearity assumption with a 2-layer MLP further increases the average accuracy to 77.45, while optimization-based PEFT methods, namely LoRA and LoReFT, achieve average accuracies of 78.67 and 78.20, respectively. These results suggest that relaxing the linearity assumption or introducing optimization provides additional gains. However, the improvement from replacing the linear mapping with a non-linear mapping is relatively modest (+1.99), indicating that a large fraction of the benefit already comes from approximating the ICL hidden state itself. We will include these comparisons in the revised manuscript.
Dear Reviewer, This is a gentle reminder regarding our rebuttal. If you have a chance, we would greatly appreciate it if you could take a look and share any comments. Thank you for your time.
I thank the authors for their detailed response. With my concerns about the clarity of the work now largely addressed, I will increase my score.
We truly appreciate the reviewer's response, and we are glad that our responses have addressed your concerns. Thank you again for your constructive feedback throughout this discussion and for reconsidering your score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
In addition, following the AC’s previous suggestion, we evaluated all task-vector methods under a 10-shot setting (10 labeled demonstrations), as summarized in
Table R0.1. We did not include a 5-shot evaluation because several benchmarks contain five or more classes, making it difficult to construct prompts with at least one demonstration per class.Table R0.1.Comparison on LLaMA-3.1-8B when all task-vector methods use the 10 demonstrations.As shown in
Table R0.1, LTV achieved the highest average accuracy (74.89), outperforming all existing task-vector baselines.