- Rating
- 2
- Clarity
- 2
- Confidence
- 4
- Originality
- 3
- Quality
- 2
- Significance
- 2
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.
Paper formatting concerns
no
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 dNTP≤C1C2LMSE.
In response to the reviewer's request, we empirically validated the link between dNTP and LMSE. Specifically, for the eight benchmarks reported in Table 1, we examined whether reducing the proxy objective LMSE is accompanied by a reduction in dNTP, 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 dNTP and LMSE for zero-shot inference mode and LTV mode, tested on eight benchmarks.As shown in
Table R4.1, applying the task vector extracted by LTV reduced both quantities on all eight benchmarks. The two quantities (dNTP and LMSE) 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, C1 corresponds to the operator norm of the LM-head submatrix associated with the task's label set. We computed C1 for the Llama-3.1-8B model, which is used for the analyses in our submitted manuscript.
The constant C2 is the Lipschitz constant of the log-softmax mapping with respect to the ℓ2 norm. We can derive the upper bound C2≤K, where K denotes the number of labels in the task. Accordingly, we used K as an upper bound on C2 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.Across the eight benchmarks, C1C2 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.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.3andTable R4.4below), 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 dNTP 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 dNTP and downstream accuracy across eight classification benchmarks for Qwen-2.5-7B.Table R4.5.Correlation between dNTP and downstream accuracy across eight classification benchmarks for LLaMA-3.1-8BAcross 8 benchmarks, 2 models, and 4 methods (a total of 64 correlation measurements), 60 out of 64 exhibit a negative correlation (Pearson's correlation ≤−0.3) between dNTP 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 N 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.Table R4.6shows 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.