potentialpaper

SAFE-DRIFT: Data Selection for Supervised Fine-tuning with Controllable Off-Target Drifts

Yeo Jin Jung, Yating Liu, Lalchand Pandia, Claire Donnat

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. We propose SAFE-DRIFT, a data-selection framework for supervised fine-tuning that improves a target capability while controlling unwanted drift in the model's other behaviors. We formalize this as a constrained optimization problem that maximizes alignment with the target gradient, subject to a budget on off-target drift which we quantify using the Fisher information of a reference distribution. Under this objective, the optimal, closed-form update is a damped natural-gradient step that downweights reference-sensitive directions. To estimate these high-dimensional gradients and work within the right geometry, we further derive a scalable algorithm that approximates the Fisher information and the target gradient in a shared low-dimensional subspace and analyze how entanglement of the target and reference task can affect the update. We evaluate SAFE-DRIFT against state-of-the-art data selection methods across diverse domains including coding and medical question answering, yielding competitive target performance while reducing degradation on specified off-target behaviors.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The reviewers and I all agree this work targets a very important problem, i.e., data selection for post SFT and focus on the off-target shift issue.

Prioritized questions for rebuttal:

  1. all reviewers raised concerns about the computational complexity.
  2. how accurately the predicted quadratic drift corresponds to the drift after the complete training trajectory.
  3. the assumption of having a well-represented reference set is too strong and impractical. "SAFE" would be an over-claimed title.
  4. also compare with related work that address "off-target shift" or catastrophic forgetting when finetuning.
  5. validate on other model architectures
Final justification

The authors provided detailed responses. Unfortunately, the reviewers did not provide feedback. From my own reading, the authors provided additional complexity analysis and experiments as required. However, the concern on the need of well-represented reference set is still there. While the authors promised to revise the claim, I would recommend the authors to test the method with relaxed assumption if this method is robust to imperfect reference set. This is often the case in real world.

Area Chair Cy1u · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The reviewers and I all agree this work targets a very important problem, i.e., data selection for post SFT and focus on the off-target shift issue.

Prioritized questions for rebuttal:

  1. all reviewers raised concerns about the computational complexity.
  2. how accurately the predicted quadratic drift corresponds to the drift after the complete training trajectory.
  3. the assumption of having a well-represented reference set is too strong and impractical. "SAFE" would be an over-claimed title.
  4. also compare with related work that address "off-target shift" or catastrophic forgetting when finetuning.
  5. validate on other model architectures
Final justification

The authors provided detailed responses. Unfortunately, the reviewers did not provide feedback. From my own reading, the authors provided additional complexity analysis and experiments as required. However, the concern on the need of well-represented reference set is still there. While the authors promised to revise the claim, I would recommend the authors to test the method with relaxed assumption if this method is robust to imperfect reference set. This is often the case in real world.

1 comment
Authors · CommentOpenReview ↗

Summary of the rebuttal

We thank the Area Chair and the reviewers for their helpful suggestions to improve our manuscript. To summarize the scope of our new experiments, we have

  • Characterized the computational complexity of our method, and showed the complexity is similar to that of other baselines, LESS and Prismatic (Rev. 6G3e, [Q1])
  • Added results on the correlation of predicted and realized reference cost (Rev. 6G3e, [W1])
  • Expanded on Setting 2 to show how SAFE-DRIFT performs on composite reference tasks, showing that SAFE-DRIFT is amenable to complex reference tasks, if more behaviors need to be preserved (Rev. 6G3e, [L1])
  • Expanded our set of baselines to methods for catastrophic forgetting by adding 1) replay-based method to Prismatic and LESS (applied to Setting 1) and 2) additional KL divergence term to SFT loss (Rev. 6G3e, [Q4])
  • Added ablation studies over different model architectures and scales (Rev. 6G3e, [Q2])
  • Improved our sensitivity study of the low-rank approximation (Rev. 6G3e, [W2])

TLDR:

1. Computational Complexity We have (a) explicitly characterized it as a function of the different parameters of the problem, and (b) experimentally measured in 3 of our 4 experiments.

Explicit characterization of the computational complexity: Let pp be the number of trainable parameters, K=KR+KTK = K_R + K_T the projection rank, SS the selection budget, and m≥Sm\geq S the greedy shortlist size. With fixed caps mR,mCm_R, m_C for estimating the reference and residual task bases, and fixed KK, the computational burden of deriving features is:

Tfeature=O(NC(Cgrad+pK))+O(pmR2​+pmC2​+mR3​+mC3​),​T_{feature}=O(N_C(C_{\mathrm{grad}}+pK))+O(pm_R^2​+pm_C^2​+m_R^3​+m_C^3​),​

where CgradC_{\mathrm{grad}} is one per-example forward/backward pass. The selection operation has cost:

Tselect=O(SMK),T_{select}=O(SMK),

while subsequent fine-tuning costs O(ESCtrain)O(ESC_{train}) for EE epochs (where CtrainC_{train} denotes the cost of processing one selected example during downstream fine-tuning).

Experiments: We show that the costliest part of the method resides in the gradient computation for the candidate pool --- a step that is common to SAFE-DRIFT, LESS and Prismatic. Consequently, all 3 methods measure very similar FLOP counts. By contrast, random selection and DSIR require between 10 to 100 times less FLOPs.

2. Alignment between quadratic drift and realized drift: We reran Settings 2 and 3 over 9 and 18 values of ρ\rho, respectively, with five seeds per configuration. The reference-Fisher cost of the trained update tracks its realized KL divergence on held-out reference data in both settings: Spearman ρs=0.967\rho_s=0.967 in Setting 2 and ρs=0.670\rho_s=0.670 in Setting 3; the corresponding Pearson correlations are r=0.931 and r=0.971, both p<0.001. The reported correlations between ρ\rho and drift also concur with our analysis in the main text.

3. Scope of the guarantee. We agree that SAFE-DRIFT does not establish universal safety. It controls only the behaviors represented by a user-specified reference distribution and cannot protect unmeasured capabilities or failure modes. We will make this conditional scope explicit in the title, abstract, and throughout the paper. However, we do not view this as a fundamental flaw of the algorithm. In algorithmic fairness, for instance, subgroups of interest need to be pre-specified ahead of time.

4. Additional benchmarks: We experimented with two techniques:

  1. A replay-based method in setting 1, that shows that SAFE-DRIFT achieves a good balance of reference and target accuracies, achieving better performance both on target and reference task in this setting than the replay baselines.

  2. A KL-based term in setting 2 and 3: we augment LESS and Prismatic by adding to their SFT objective a KL regularization term on sampled reference examples. SAFE-DRIFT again provides a good tradeoff in both setting between reference preservation and target improvement.

5. Additional ablation: models, LoRA rank/SFT, and low-rank approximation

Additional Models/ LoRA ablation We evaluated SAFE-DRIFT on a second model family, Qwen2.5, at 1.5B, 3B, and 7B parameters for the experiment Setting 1. SAFE-DRIFT achieves the lowest predicted reference cost in all five configurations and the highest HumanEval performance among the data-selection methods on the two smaller Qwen models. Relative to training on the full candidate pool under the same LoRA setup, it reduces held-out reference KL by 31.1%–60.4%. Separately, we evaluated full-parameter SFT in Setting 2. The same target–reference trade-off persists: LoRA obtains higher target accuracy, whereas full SFT better preserves reference accuracy.

Low-Rank approximation results Figure 15 of the Appendix additionally shows that the results in Setting 1 are stable across the tested (KR,KT)(K_R,K_T). We further enriched this by running additional experiments in Setting 3, which show that changing KTK_T from 16 to 256 still produces results that are very correlated (0.97) across hyperparameter values.

Reviewer 1Yx1OpenReview ↗
Rating
4/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 proposes SAFE-DRIFT, a data-selection framework for supervised fine-tuning that explicitly balances target-task improvement against changes in selected off-target behaviors. The method defines off-target drift as the expected KL divergence between the base and fine-tuned models on a reference distribution. Under a local approximation, this drift becomes a quadratic form induced by the reference Fisher information matrix.

Strengths and weaknesses

Strengths

  1. Important problem formulation.
  2. Clear geometric interpretation.
  3. Thoughtful low-rank construction.
  4. Reasonably broad experimental settings.

Weaknesses

  1. A small estimated KL divergence on a narrow reference set does not imply that other capabilities or safety properties are preserved. The term “safe” therefore appears stronger than what the method establishes.
  2. The paper does not quantify how accurately the predicted quadratic drift corresponds to the drift after the complete training trajectory.
  3. The real-data experiments report downstream benchmark changes, but do not systematically compare predicted Fisher cost with realized KL divergence or downstream behavioral degradation across subsets. Such a correlation analysis is important to validate the central modeling assumption.
  4. All real experiments use one 7B OLMo-2 model family and LoRA adaptation. It is unclear whether the conclusions transfer to other architectures, larger models, full-parameter fine-tuning, or preference/RL-based adaptation.
  5. Per-example gradient extraction and low-rank basis construction can be expensive. The paper reports the hardware but does not provide end-to-end runtime, memory consumption, preprocessing cost, or scaling comparisons against the baselines.
Questions

See above.

Limitations

Yes.

Final justification

After reading the authors’ response and the additional experiments, my main concerns have been largely addressed, especially regarding realized drift, computational cost, and model-scale ablations. I therefore maintain a positive assessment.

Formatting concerns

NA

3 comments
Authors · CommentOpenReview ↗

Response to Reviewer 1Yx1: W1 & 5

We thank the reviewer for a detailed and constructive review.

[W1] That is indeed correct. This point was also posed by Reviewer 6G3e. Our manuscript does not indeed pretend to render the algorithm "universally safe", but rather, safe with respect to pre-specified failure modes. We do view this limitation of SAFE-DRIFT as the same limitation encountered in algorithmic fairness: fairness audits cannot enumerate every form of discrimination, every subgroup, or every future deployment context; nevertheless, explicitly measuring and constraining well-documented failure modes is still meaningful and necessary. The resulting guarantee is restricted to the groups and criteria that have been specified, rather than being a universal guarantee of fairness.

[W5] This is a good suggestion --- similarly raised by the other two reviewers. There are two computational bottlenecks in SAFE-DRIFT:

(a) Gradient constructions. We compute per-example gradients for the candidate pool and capped subsets of the target, reference, and Adam-warmup data. This scales linearly with the candidate-pool size NCN_C, and is also required by gradient-based baselines such as LESS and Prismatic. For large pools, candidates can be subsampled. For large models, we suggest using LoRA.

(b) The SAFE-DRIFT updates: Let pp be the number of trainable parameters, K=KR+KTK = K_R + K_T the projection rank, SS the selection budget, and m≥Sm\geq S the greedy shortlist size. With fixed caps mR,mCm_R, m_C for estimating the reference and residual task bases, and fixed KK, the computational burden of deriving features for each example is:

Tfeature​=​O(NC​(Cgrad+pK))+O(pmR2​+pmC2​+mR3​+mC3​),​T_{feature}​=​O(N_C​(C_{\mathrm{grad}}+pK))+O(pm_R^2​+pm_C^2​+m_R^3​+m_C^3​),​

where CgradC_{\mathrm{grad}} is one per-example forward/backward pass. The selection operation has cost:

Tselect=O(SMK),T_{select}=O(SMK),

while subsequent fine-tuning costs O(ESCtrain)O(ESC_{train}) for EE epochs (where CtrainC_{train} denotes the cost of processing one selected example during downstream fine-tuning). In our moderate-scale experiments, we use m=NCm=N_C. If SS is also a fixed fraction of NCN_C, the greedy selector is quadratic in NCN_C. For larger pools, we propose ranking all candidates once and applying greedy selection only to a fixed-size top-mm shortlist. With fixed caps, KK, and mm, the overall pipeline is linear in NCN_C. Model size enters primarily through CgradC_{grad} and pp; when using LoRA, pp is the number of adapter parameters rather than the full model dimension.

To empirically quantify this overhead, we reran several experiments with FLOP and runtime instrumentation (see below)

Measured Costs

Setting Optimizer / mode Model Method Select FLOPs Train FLOPs Total FLOPs Select share Runs
Setting 1 AdamW / LoRA OLMo-2-7B Random 0 7.24e15 7.24e15 0.0% 3
Setting 1 AdamW / LoRA OLMo-2-7B DSIR <1e8 4.13e15 4.13e15 <0.1% 3
Setting 1 AdamW / LoRA OLMo-2-7B LESS 5.54e16 6.05e15 6.14e16 90.2% 3
Setting 1 AdamW / LoRA OLMo-2-7B Prismatic 5.54e16 7.74e15 6.31e16 87.7% 3
Setting 1 AdamW / LoRA OLMo-2-7B SAFE-DRIFT 5.54e16 1.16e16 6.70e16 82.7% 3
Setting 1 AdamW / LoRA OLMo-2-13B Random 0 1.39e16 1.39e16 0.0% 3
Setting 1 AdamW / LoRA OLMo-2-13B DSIR <1e8 7.92e15 7.92e15 <0.1% 3
Setting 1 AdamW / LoRA OLMo-2-13B LESS 1.06e17 1.30e16 1.19e17 89.1% 3
Setting 1 AdamW / LoRA OLMo-2-13B Prismatic 1.06e17 1.48e16 1.21e17 87.8% 3
Setting 1 AdamW / LoRA OLMo-2-13B SAFE-DRIFT 1.06e17 2.19e16 1.28e17 82.9% 3
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct Random 0 3.056e15 1.122e16 0.0% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct DSIR 4.865e7 3.560e15 1.172e16 <0.1% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct LESS 1.219e17 3.568e15 1.337e17 91.2% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct Prismatic 1.219e17 3.035e15 1.331e17 91.6% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct SAFE-DRIFT 1.219e17 1.625e15 1.281e17 95.2% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct Random 0 4.420e15 1.586e16 0.0% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct DSIR 1.054e8 2.951e15 1.439e16 <0.1% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct LESS 4.988e17 5.405e15 5.156e17 96.7% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct Prismatic 4.988e17 4.371e15 5.161e17 96.6% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct SAFE-DRIFT 4.988e17 3.006e15 5.108e17 97.6% 5

Select share = select FLOPs / total FLOPs. Selection costs appear similar for LESS, Prismatic and SAFE-DRIFT as they all share the same expensive gradient computation step, that dominates the feature step.

Authors · CommentOpenReview ↗

Response to Reviewer 1Yx1: W2-3

W[2-3] These are very good points, that should serve as great sanity checks for our method. We have rerun several of our experiments to provide correlations values. To this end, we have performed a ρ\rho-parameter sweep (over 9 values of ρ\rho), and averaged the results over 5 seeds. The following table reports measured Spearman correlations:

  • Spearman ρ\rho–target characterizes the Spearman correlation between increasing ρ\rho and the target task accuracy. In both setting, we observe a positive correlation: larger ρ\rho tend to choose examples well aligned with the target.

  • Spearman ρ\rho–drift characterizes the Spearman correlation between increasing ρ\rho and the drift. As detailed in the text, in setting 2, a larger ρ\rho is also associated with a larger drift: for this setting, there exists a positive correlation between increasing accuracy and increasing drift. By contrast, in setting 3, increasing the accuracy supports a smaller drift.

  • Spearman KL–Fisher corresponds to the Spearman rank correlation between predicted reference Fisher cost realized held-out reference KL divergence. More specifically,

    a. Reference Fisher cost CC: quadratic cost on the selected parameter update: C=12Δ^θK⊤F^RΔ^θKC=\frac 12\hat \Delta \theta_K ^\top \hat{F}_R\hat \Delta \theta_K, denoting the predicted drift.

    b. Held-out reference KL: actual token-weighted KL divergence between the base and finetuned model: KL(pbase ∣ pft)\mathrm{KL}(p_{\text{base}} \ | \ p_{\text{ft}}) over held-out reference text, denoting the realized drift.

The strong positive correlations confirm that the Fisher objective is a reliable proxy for realized KL divergence.

Setting Optimizer Hyperparameters Seeds/cell Spearman ρ\rho–target Spearman ρ\rho–reference drift Spearman target–reference drift Spearman Fisher–held-out KL
Setting 2 Adam 9 5 0.753 0.483 0.561 0.967
Setting 3 Adam 18 5 0.672 -0.735 -0.820 0.670

Reference drift is defined as base reference accuracy minus updated-model reference accuracy. Thus, the negative Setting 3 correlations mean that target accuracy and reference accuracy increase together. For completeness, the Pearson Fisher–KL correlations are 0.9310.931 in Setting 2 and 0.9710.971 in Setting 3, both p<0.001p<0.001. In these two settings, increasing ρ\rho is associated with a larger target accuracy. This aligns with the entanglement analysis of the target and reference, as detailed in Section 3.3.

Authors · CommentOpenReview ↗

W4 model ablations

[W4] We thank the reviewer for raising this question.

Model Ablation Results Here, we present additional ablation results across two model families and five configurations: Qwen2.5 at 1.5B, 3B and 7B, and OLMo-2 at 7B and 13B for Setting 1. All runs except full use a 15% selection budget, three seeds, and a fixed LoRA rank, and low-rank approximation of Fisher and target gradients with KR=512K_R=512, KT=128K_T=128. We target performance, reference Fisher cost CC, and held-out reference KL. Overall, SAFE-DRIFT attains the lowest reference Fisher cost in all models: the quantity the method explicitly constrains is controlled uniformly across both families and scales. This translates into the lowest realized KL on Qwen 1.5B and OLMo 13B, and near-lowest on Qwen 7B, where it remains competitive on target accuracy. Lastly, SAFE-DRIFT achieves the best target performance on the smaller Qwen models but not on larger models. This is the trade-off the method is designed to make: exchanging some target gain for off-target drift when the target directions are entangled with the reference Fisher geometry. Relative to fine-tuning with full data, SAFE-DRIFT reduces the reference-Fisher cost by 10.2%-18% and the held-out reference KL by 31.1%–60% across configurations.

Model Budget Evaluation Random DSIR LESS Prismatic SAFE-DRIFT SAFE-DRIFT with Full Data
Qwen2.5-1.5B 15% HumanEval pass@1 ↑ 0.128 ± 0.023 0.133 ± 0.003 0.157 ± 0.083 0.165 ± 0.018 0.283 ± 0.020 0.327 ± 0.010
Qwen2.5-1.5B 15% Ref. Fisher cost, log⁡10C\log_{10} C ↓ −5.58 ± 0.04 −5.06 ± 0.06 −5.48 ± 0.06 −5.64 ± 0.04 −6.29 ± 0.04 −5.60 ± 0.05
Qwen2.5-1.5B 15% Held-out ref. KL ↓ 0.0049 ± 0.0001 0.0055 ± 0.0006 0.0057 ± 0.0005 0.0044 ± 0.0001 0.0044 ± 0.0003 0.0110 ± 0.0001
Qwen2.5-3B 15% HumanEval pass@1 ↑ 0.162 ± 0.028 0.175 ± 0.032 0.193 ± 0.017 0.129 ± 0.049 0.242 ± 0.053 0.248 ± 0.026
Qwen2.5-3B 15% Ref. Fisher cost, log⁡10C\log_{10} C ↓ −6.16 ± 0.03 −5.65 ± 0.06 −6.13 ± 0.03 −6.22 ± 0.01 −6.89 ± 0.03 −6.25 ± 0.06
Qwen2.5-3B 15% Held-out ref. KL ↓ 0.0031 ± 0.0003 0.0038 ± 0.0004 0.0042 ± 0.0008 0.0031 ± 0.0001 0.0036 ± 0.0002 0.0091 ± 0.0008
Qwen2.5-7B 15% HumanEval pass@1 ↑ 0.117 ± 0.041 0.089 ± 0.045 0.180 ± 0.055 0.103 ± 0.053 0.159 ± 0.044 0.269 ± 0.040
Qwen2.5-7B 15% Ref. Fisher cost, (log⁡10C\log_{10}C) ↓ −6.89 ± 0.02 −6.41 ± 0.04 −6.81 ± 0.02 −6.89 ± 0.02 −7.62 ± 0.03 −6.88 ± 0.13
Qwen2.5-7B 15% Held-out ref. KL ↓ 0.0038 ± 0.0003 0.0038 ± 0.0002 0.0039 ± 0.0006 0.0030 ± 0.0004 0.0037 ± 0.0001 0.0076 ± 0.0010
OLMo-2-7B 15% HumanEval pass@1 ↑ 0.130 ± 0.023 0.148 ± 0.021 0.117 ± 0.026 0.135 ± 0.013 0.125 ± 0.033 0.123 ± 0.010
OLMo-2-7B 15% Ref. Fisher cost, log⁡10C\log_{10} C ↓ −5.98 ± 0.08 −5.38 ± 0.06 −5.72 ± 0.13 −5.90 ± 0.08 −7.05 ± 0.15 −5.95 ± 0.07
OLMo-2-7B 15% Held-out ref. KL ↓ 0.0106 ± 0.0021 0.0110 ± 0.0005 0.0098 ± 0.0006 0.0129 ± 0.0031 0.0127 ± 0.0006 0.0209 ± 0.0021
OLMo-2-13B 15% HumanEval pass@1 ↑ 0.180 ± 0.043 0.182 ± 0.029 0.154 ± 0.025 0.194 ± 0.036 0.161 ± 0.031 0.185 ± 0.029
OLMo-2-13B 15% Ref. Fisher cost, log⁡10C\log_{10} C ↓ −6.88 ± 0.17 −6.23 ± 0.08 −6.71 ± 0.06 −6.69 ± 0.10 −7.95 ± 0.07 −6.83 ± 0.07
OLMo-2-13B 15% Held-out ref. KL ↓ 0.0097 ± 0.0013 0.0097 ± 0.0027 0.0087 ± 0.0011 0.0095 ± 0.0010 0.0084 ± 0.0013 0.0122 ± 0.0012

LoRA vs SFT updates. In our experiments, in the manuscript, LoRA defines the trainable parameter space. The main reason for this focus was that LoRA has become a widely used approach to practical parameter-efficient instruction tuning. Consequently, from a practical standpoint, we felt our result could interest a broad number of practitioners but, to the reviewer's point, there is no conceptual hurdle in deploying the procedure on a full SFT training run (aside from some potentially substantial computational costs).

As part of this rebuttal, we have experimented with a full SFT tuning of setting 2, compared to a LoRA one. Interestingly, the LoRA results show some improvement over the full SFT ones in terms of the target accuracy, while control of the reference distribution is best achieved for the full model.

Update Test MedQA Accuracy Test Reference Accuracy
LoRA 44.30% ± 1.42% 36.76% ± 3.58%
Full SFT 37.50% ± 3.87% 38.92% ± 2.42%
Reviewer 9KsMOpenReview ↗
Rating
4/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 proposes SAFE-DRIFT, a framework for supervised fine-tuning data selection. It aims to improve target-task performance while controlling the drift in non-target behaviors caused by fine-tuning. The authors model off-target drift as the KL change in the model output distribution over a reference distribution, and use the reference Fisher information to provide a second-order approximation of local drift.

Strengths and weaknesses

Strengths

  1. The problem is of strong practical significance.
  2. The theoretical framework is relatively complete.
  3. The relationship with existing methods is explained well.
  4. The experiments cover multiple scenarios.

Weaknesses

  1. The experimental gains are not stable enough. SAFE-DRIFT is not the best-performing method on several target metrics. In many cases, it appears to trade some target-task improvement for reduced off-target drift. Therefore, the paper should describe its target performance more cautiously, rather than implying that it comprehensively outperforms the baselines.
  2. The baselines are not comprehensive enough. The paper only compares against four data selection baselines: Random, LESS, DSIR, and Prismatic Synthesis. However, this problem is closely related to capability preservation after fine-tuning, safety drift, and forgetting, so more relevant baselines should be included.
  3. The choice of the reference set is too critical, but insufficiently discussed. The core assumption of SAFE-DRIFT is that the reference set can represent the non-target behaviors one wants to protect. The paper also acknowledges in its conclusion that if the reference distribution does not cover the capabilities that need to be protected, the observed drift may underestimate the true drift.
  4. The low-rank estimation method is complex, and its computational cost and stability need to be clarified further.
Questions

See Weaknesses

Limitations

See Weaknesses

Final justification

The rebuttal addresses my main concerns. The new baselines and analyses strengthen the empirical evidence, and the authors clarify the limited, reference-dependent scope of the method. Reference-set coverage and practical cost remain limitations, but I maintain my rating of 4.

Formatting concerns

No

4 comments
Authors · CommentOpenReview ↗

Response to Reviewer 9KsM:

We thank the reviewer for a careful reading and for identifying where our claims were stated too strongly. We here address W1 and 4 --- we are in the process of running experiments to address the two others.

[W1] We apologize if our message came across as "outperform[ing] the baselines". We meant to emphasize that SAFE-DRIFT is competitive with existing selectors on the original task (e.g., accuracy after SFT on the target problem) while providing better control of drift on a specified reference distribution. As the reviewer notes, navigating this trade-off is precisely the purpose of the method, and our figures are intended to display that trade-off rather than a uniform win. We are revising the abstract, introduction, and results discussion to look for passages where this might not have come across as intended. If the reviewer could point us to the specific passages they found misleading, we would be glad to correct them directly.

[W3] This is a good point --- our manuscript does not indeed pretend to render the algorithm "universally safe", but rather, safe with respect to pre-specified failure modes. We do view this limitation of SAFE-DRIFT as the same limitation encountered in algorithmic fairness: fairness audits cannot enumerate every form of discrimination, every subgroup, or every future deployment context; nevertheless, explicitly measuring and constraining well-documented failure modes is still meaningful and necessary. The resulting guarantee is restricted to the groups and criteria that have been specified, rather than being a universal guarantee of fairness.

However, to try to provide a bit more details as part of this rebuttal, we have also rerun an extended version of setting 2 where we define a composite reference task (based on several reference targets) and evaluate SAFE-DRIFT. Overall, SAFE-DRIFT remains effective when the reference distribution is constructed from multiple benchmarks, and that the performance of the model is not smothered as the reference task becomes more complex.

More specifically, let:

  • B = BBQ
  • T = TruthfulQA
  • K = MMLU/knowledge evaluation (non medical)
  • B_T protects BBQ and TruthfulQA.
  • B_K protects BBQ and MMLU.
  • T_K protects TruthfulQA and MMLU.
  • B_T_K jointly protects all three reference datasets. All four compositions optimize the same target task (MedQA accuracy). Datasets omitted from a composition are still evaluated, but they are not used to construct that SAFE reference constraint.

All values reported are delta from Base (method - Base) on the test set (with hyperparameters chosen on the validation set). Higher is better except KL, where lower is better. Ref GM corresponds to the geometric mean of the accuracies for the reference tasks that are being controlled; All-ref GM corresponds to the geometric mean of the accuracies over all reference tasks: B, T, and K.

B_T

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.090 +0.085 -0.105 +0.070 -0.062 -0.032 +5.17
Random +0.063 -0.049 -0.107 +0.061 -0.100 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 -0.117 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 -0.072 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 -0.098 -0.065 +5.46

B_K

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.086 +0.066 -0.093 +0.051 +0.058 -0.031 +5.16
Random +0.063 -0.049 -0.107 +0.061 +0.004 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 +0.009 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 +0.030 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 +0.005 -0.065 +5.46

T_K

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.094 +0.046 -0.103 +0.063 -0.066 -0.041 +5.29
Random +0.063 -0.049 -0.107 +0.061 -0.069 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 -0.083 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 -0.070 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 -0.071 -0.065 +5.46

B_T_K

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.078 +0.038 -0.098 +0.020 -0.048 -0.048 +5.13
Random +0.063 -0.049 -0.107 +0.061 -0.065 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 -0.078 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 -0.049 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 -0.065 -0.065 +5.46
Authors · CommentOpenReview ↗

Response to Reviewer 9KsM: W4

[W4] This is a very good point, and elements of this question were similarly raised by reviewer 6G3e.

From the low-rank estimation perspective: The reference Fisher/target gradient basis is used only to score and select candidates, and is an important step in ensuring our method remains tractable; Its approximation error is controlled by the spectral tail; with FR,KRF_{R,K_R}, the top-KRK_R truncation of FRF_R, for any ∥Δθ∥2≤ϵ\lVert \Delta\theta \rVert_2 \le \epsilon,

0≤12Δθ⊤(FR−FR,KR)Δθ≤12λKR+1ϵ2.0 \le \tfrac12 \Delta\theta^\top (F_R - F_{R,K_R}) \Delta\theta \le \tfrac12 \lambda_{K_R+1} \epsilon^2 .

The missing reference cost is therefore controlled by the spectral tail: the smaller the tail, the better the approximation. Empirically, we measured the cumulative spectral energy (squared singular-value energy) in Setting 1 over rank (mean over 3 seeds).

Empirically, we measured the cumulative spectral energy (squared singular-value energy) over rank in Setting 1 (mean over 3 seeds), and Setting 3 (mean over 3 seeds)

Setting / block 1 8 32 64 128 256 512 1024
Setting 1 — reference 0.133 0.257 0.414 0.525 0.654 0.794 0.924 1.000
Setting 1 — task 0.074 0.258 0.488 0.627 0.748 0.823 0.885 0.937
Setting 3 — reference 0.234 0.443 0.685 0.847 1.000 — — —
Setting 3 — task/candidate 0.118 0.279 0.448 0.564 0.704 0.862 0.9999 —

Note that in Setting 3, the target is computed over 128 reference and 512 task/candidate examples, which explains why the energy plateaus.

Thus, in Setting 1, the ranks used in the paper retains $92.4 \pm 0.2 $% of reference energy at KR=512K_R=512 and 74.8±1.274.8 \pm 1.2% of task energy at KT=128K_T=128. Figure 15 of the Appendix additionally shows that the results in Setting 1 are stable across the tested (KR,KT)(K_R,K_T). For setting 3, to enrich our ablation study, we also experimented with KR=64K_R=64 and KT∈{16,256}K_T \in \{16, 256\} as part of this rebuttal. Interestingly, the performance of the models is very stable despite the large approximation at KT=16K_T=16: across values of hyperparameters, the Pearson correlation between results at KT=16K_T=16 and KT=256K_T=256 is .978 (over means computed across 3 seeds), showing agreement between the two settings.

To provide intuition on how this generalizes, Figures 9 and 10 in the Appendix, for instance, compare the structured low-rank method with the full-rank one on a toy example with different spectrum distributions. For flatter gradient spectra, the rank needs substantially increased to capture the distribution. For spectra concentrated on a few eigenvalues, this approximation is anticipated to have less of an effect.

From the computational perspective: There are two computational bottlenecks in SAFE-DRIFT:

(a) Gradient constructions. We compute per-example gradients for the candidate pool and capped subsets of the target, reference, and Adam-warmup data. This scales linearly with the candidate-pool size NCN_C, and is also required by gradient-based baselines such as LESS and Prismatic. For large pools, candidates can be subsampled. For large models, we suggest using LoRA.

(b) The SAFE-DRIFT updates: Let pp be the number of trainable parameters, K=KR+KTK = K_R + K_T the projection rank, SS the selection budget, and m≥Sm\geq S the greedy shortlist size. With fixed caps mR,mCm_R, m_C for estimating the reference and residual task bases, and fixed KK, the computational burden of deriving features for each example is:

Tfeature​=​O(NC​(Cgrad+pK))+O(pmR2​+pmC2​+mR3​+mC3​),​T_{feature}​=​O(N_C​(C_{\mathrm{grad}}+pK))+O(pm_R^2​+pm_C^2​+m_R^3​+m_C^3​),​

where CgradC_{\mathrm{grad}} is one per-example forward/backward pass. The selection operation has cost:

Tselect=O(SMK),T_{select}=O(SMK),

while subsequent fine-tuning costs O(ESCtrain)O(ESC_{train}) for EE epochs (where CtrainC_{train} denotes the cost of processing one selected example during downstream fine-tuning). In our moderate-scale experiments, we use m=NCm=N_C. If SS is also a fixed fraction of NCN_C, the greedy selector is quadratic in NCN_C. For larger pools, we propose ranking all candidates once and applying greedy selection only to a fixed-size top-mm shortlist. With fixed caps, KK, and mm, the overall pipeline is linear in NCN_C. Model size enters primarily through CgradC_{grad} and pp; when using LoRA, pp is the number of adapter parameters rather than the full model dimension.

Authors · CommentOpenReview ↗

Computational Cost: empirical assessment

To further empirically quantify the computational overhead, we reran several experiments with FLOP and runtime instrumentation (see below)

Measured Costs

Setting Optimizer / mode Model Method Select FLOPs Train FLOPs Total FLOPs Select share Runs
Setting 1 AdamW / LoRA OLMo-2-7B Random 0 7.24e15 7.24e15 0.0% 3
Setting 1 AdamW / LoRA OLMo-2-7B DSIR <1e8 4.13e15 4.13e15 <0.1% 3
Setting 1 AdamW / LoRA OLMo-2-7B LESS 5.54e16 6.05e15 6.14e16 90.2% 3
Setting 1 AdamW / LoRA OLMo-2-7B Prismatic 5.54e16 7.74e15 6.31e16 87.7% 3
Setting 1 AdamW / LoRA OLMo-2-7B SAFE-DRIFT 5.54e16 1.16e16 6.70e16 82.7% 3
Setting 1 AdamW / LoRA OLMo-2-13B Random 0 1.39e16 1.39e16 0.0% 3
Setting 1 AdamW / LoRA OLMo-2-13B DSIR <1e8 7.92e15 7.92e15 <0.1% 3
Setting 1 AdamW / LoRA OLMo-2-13B LESS 1.06e17 1.30e16 1.19e17 89.1% 3
Setting 1 AdamW / LoRA OLMo-2-13B Prismatic 1.06e17 1.48e16 1.21e17 87.8% 3
Setting 1 AdamW / LoRA OLMo-2-13B SAFE-DRIFT 1.06e17 2.19e16 1.28e17 82.9% 3
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct Random 0 3.056e15 1.122e16 0.0% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct DSIR 4.865e7 3.560e15 1.172e16 <0.1% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct LESS 1.219e17 3.568e15 1.337e17 91.2% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct Prismatic 1.219e17 3.035e15 1.331e17 91.6% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct SAFE-DRIFT 1.219e17 1.625e15 1.281e17 95.2% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct Random 0 4.420e15 1.586e16 0.0% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct DSIR 1.054e8 2.951e15 1.439e16 <0.1% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct LESS 4.988e17 5.405e15 5.156e17 96.7% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct Prismatic 4.988e17 4.371e15 5.161e17 96.6% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct SAFE-DRIFT 4.988e17 3.006e15 5.108e17 97.6% 5

Select share = select FLOPs / total FLOPs. Selection costs appear similar for LESS, Prismatic and SAFE-DRIFT as they all share the same expensive gradient computation step, that dominates the feature step.

Authors · CommentOpenReview ↗

[W2] Additional baselines

[W2]: This is a good point, which we've tried to address in two ways.

Replay-based baseline We add the experience replay baseline which allow access to examples from reference task and train the model jointly with the current task. We vary the reference data at 10% and 20% of the training budget.

Method Δ HumanEval@1 ↑ Δ HumanEval@10 ↑ Held-out KL ↓ Replay %
DSIR 0.0516±0.00960.0516 ± 0.0096 0.1362±0.0040.1362 ± 0.004 0.019±0.0030.019 ± 0.003 10
DSIR 0.0429±0.01080.0429 ± 0.0108 0.126±0.0090.126 ± 0.009 0.0223±0.00070.0223 ± 0.0007 20
LESS 0.0217±0.00560.0217 ± 0.0056 0.087±0.0090.087 ± 0.009 0.0152±0.00170.0152 ± 0.0017 10
LESS 0.0243±0.00820.0243 ± 0.0082 0.0995±0.01530.0995 ± 0.0153 0.0181±0.00280.0181 ± 0.0028 20
Prismatic 0.0185±0.00090.0185 ± 0.0009 0.0793±0.0060.0793 ± 0.006 0.0197±0.0020.0197 ± 0.002 10
Prismatic 0.0134±0.00380.0134 ± 0.0038 0.075±0.0130.075 ± 0.013 0.023±0.0040.023 ± 0.004 20
SAFE-DRIFT 0.115±0.0040.115 ± 0.004 0.264±0.0310.264 ± 0.031 0.0127±0.00060.0127 ± 0.0006 0

Table: Setting 1 (OLMo-2-7B). Rehearsal (replay) baselines vs. SAFE-DRIFT. KL is measured on a held-out reference set disjoint from any replayed examples. Replay % = fraction of training budget spent on reference data. Best per column is shown in bold.

SAFE-DRIFT achieves the best target performance and the lowest reference drift, outperforming the rehearsal baselines on both metrics. Unlike replay, SAFE-DRIFT never trains on the reference set, using it only to define selection geometry.

KL-based baseline In Setting 2 and 3, we enhance Prismatic and LESS by using a KL-divergence penalty in the SFT loss: $LSFT(θ)+λEx∼Rtrain[1∣x∣∑tDKL(pθ0(⋅∣x<t),|,pθ(⋅∣x<t))]).\mathcal L_{\mathrm{SFT}}(\theta) + \lambda \mathbb E_{x\sim R_{\mathrm{train}}} \left[ \frac{1}{|x|} \sum_t D_{\mathrm{KL}} \left( p_{\theta_0}(\cdot\mid x_{<t}) ,\middle|, p_\theta(\cdot\mid x_{<t}) \right) \right]).$ The KL is computed between the full next-token predictive distributions of the base and updated models on sampled reference examples. We perform a sweep over λ∈{0,0.01,0.1,1}\lambda\in\{0, 0.01,0.1,1\}. Among the positive values of λ\lambda, increasing regularization is strongly associated with lower held-out reference KL. In Setting 2, the Spearman correlations between λ\lambda and held-out KL are (-0.949) for LESS and (-0.896) for Prismatic; in Setting 3, they are (-0.949) for both methods. Each correlation is computed over nine seed-level runs: three positive values of λ\lambda and three seeds. Thus, the KL penalty behaves as intended as a distributional-preservation mechanism. However, stronger regularization generally reduces or does not improve target-task accuracy.

The best performing methods in setting 2 and 3 are reported below with the expanded LESS and Prismatic baselines (where regularization parameters are chosen based on the geometric mean of the target and ref. accuracy validation set, similarly to that of SAFE-DRIFT). Overall, KL regularization seems like a strong preservation baseline, but with caveats. In Setting 2, regularized Prismatic preserves reference-task accuracy more effectively, whereas SAFE-DRIFT achieves a mean target gain comparable to DSIR, more than halving the reference drift; the two methods therefore occupy different target–reference trade-off points. In Setting 3, validation selects λ=0 for both LESS and Prismatic, consistent with the positive alignment between the target and reference tasks, but SAFE-DRIFT achieves better and more stable reference accuracy.

All accuracy values are percentage-point differences between method and base-model means. KL remains absolute.

Setting Method Selected config nn Δ\Delta test target Δ\Delta test reference Eval KL
Setting 2 DSIR - 5 +3.59±2.04 -8.10±3.58 4.210±0.528
Setting 2 LESS λ=0.1\lambda=0.1 3 +2.08±0.60 +0.73±1.26 1.974±0.224
Setting 2 Prismatic λ=1\lambda=1 3 +2.99±1.63 +0.89±2.07 1.534±0.025
Setting 2 SAFE hard constrained - 5 +3.36±1.42 -3.50±3.24 4.003±0.467
Setting 3, KT=256K_T=256 DSIR fixed 5 +4.65±1.18 +57.97±7.15 0.317±0.025
Setting 3, KT=256K_T=256 LESS λ=0\lambda=0 3 +6.77±1.18 +64.58±7.59 0.368±0.039
Setting 3, KT=256K_T=256 Prismatic λ=0\lambda=0 3 +4.55±0.97 +61.46±3.85 0.364±0.023
Setting 3, KT=256K_T=256 SAFE-DRIFT - 5 +4.51±1.10 +65.16±2.63 0.391±0.011

Table: Setting 2 and 3. Results are mean ± sample SD over all available seeds. Deltas are unpaired differences from each setting’s base-model mean.

Reviewer 6G3eOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose a data selection framework called Safe-Drift, which serves as objective data selection for supervised fine-tuning. The motivation of the framework is grounded and clearly explained: instead of simply collecting more data for the training pool, carefully selected subsets are often more effective for supervised fine-tuning. Samples that are beneficial for the SFT are characterized as samples that improve the target task without inducing off-target drift, i.e., not degrading model performance on other tasks. The samples are classified by the gradient direction, finding samples that improves the target objective, while avoiding unnecessary along off-target directions. The training objective is formalized as constrained optimization problem.

Strengths and weaknesses

Strength:

  • The author openly discusses the limitations of their work, giving a balanced and more realistic view of their methods proposed
  • The paper is well-written, the problems and the motivation, intuition and the mathematical derivations are clear and easy to understand
  • Extensive results in appendix Weakness:
  • ρ seems to be an important hyper-parameter, that can greatly influence the performance, any also kind of varies depending on the optimizer (Adam/sgd) or dataset
  • Low-rank approximation is necessary (understandable), however, this kind of approximation does influence the sft performance / unable to capture the whole update induced by sft
  • The target gradient as the mean of the sample mean seems to only capturing the mean data, it would kind of assume that you have very clean and useful data, without outlier and all pointing to the same direction, does not seem to be really feasible for real sft problems
Questions
  • How computational efficient is the approach? How does it scale with a growing dataset (reference, training and target), can you give me measurements? As in reality, SFT datasets can be quite huge
  • Also, how does it scale with the model scale? As the tested models are either toy (linear model or 7B models), currently the sota llms are growing into the trillion scale, does it also remotely work there?
  • Any ways to demonstrate the realistic gain of safe-drift? A bit building upon the above questions, let’s say in reality given the same compute, if we simply increase the training data pool as compared to running this method (and building a much smaller pool), how does they compare?
  • The baseline methods (dsir, less, etc.) are data selection that aimed to optimize the target task performance, naturally not having the objective of off-target drift, so safe-drift is the first method to have this kind of objective? if not, adding more relevant baselines are necessary
Limitations
  • The author mentioned the potential limitations of their method, as it relies on two assumptions: the reference set should cover the all the behavior that we want to preserve and it works only as single pass (useful for SFT). I believe the second limitation does not undermine the contribution of this work, as SFT has been extensively used and only targeting that can still have a great relevance, but the first limitation is real one, as building a reference set that covers the whole model behavior is extremely difficult
  • The general applicability seems to be an issue for me
Formatting concerns

no noticed

6 comments
Authors · CommentOpenReview ↗

Answer to Reviewer 6G3e's weaknesses W1

We thank the reviewer for their careful and constructive feedback. We first address the highlighted weaknesses, with new measurements.

[W1] This is an excellent observation: ρ\rho is not a universal hyperparameter. To provide a bit of intuition for its practical significance, in the paragraph after Eq.(6), we show how ρ\rho has a clear operational meaning as the reference-drift budget that the user is willing to accept. Consequently, ρ\rho can be understood as trying to navigate a trade-off, between allowing target-aligned updates (higher values of ρ\rho) and limiting off-target drifts (lower values of ρ\rho). Figure 4 of our main text provides an illustration of this behavior. SGD and Adam apply updates to the model differently, which is why they reach the drift budget at different points. We have also launched another set of experiments on various settings, and are able to visualize the tradeoff induced by ρ\rho between target accuracy and off-target drift. The following table summarizes the current status of our experiments:

Setting Optimizer Hyperparameters Seeds/cell Spearman ρ\rho–target Spearman ρ\rho–reference drift Spearman target–reference drift Spearman Fisher–held-out KL
Setting 2 Adam 9 5 0.753 0.483 0.561 0.967
Setting 3 Adam 18 5 0.672 -0.735 -0.820 0.670

Reference drift is defined as base reference accuracy minus updated-model reference accuracy. Thus, the negative Setting 3 correlations mean that target accuracy and reference accuracy increase together. For completeness, the Pearson Fisher–KL correlations are 0.9310.931 in Setting 2 and 0.9710.971 in Setting 3, both p<0.001p<0.001. In these two settings, increasing ρ\rho is associated with a larger target accuracy. This aligns with the entanglement analysis of the target and reference, as detailed in Section 3.3.

Practically, we propose two strategies for setting ρ\rho:

(a) Fixed setting. Use the interpretation that ρ/2\sqrt{\rho/2} is a (rough) upper bound on the increase in probability of any undesirable output under the fine-tuned model.

(b) Data-driven setting. Treat ρ\rho as a hyper-parameter and select it on a validation set, which reveals how much of a trade-off a given ρ\rho actually buys on that particular dataset and optimizer. We propose adding this discussion in the appendix in the next version of our algorithm.

Authors · CommentOpenReview ↗

Answer to the reviewer's weaknesses and questions

[W3] The mean target gradient does not assume that all target examples are clean or point in the same direction. gT=∇θLT(θ0)=Ez∼T[∇θℓ(z;θ0)]g_T=\nabla_\theta L_T(\theta_0)=\mathbb E_{z\sim T}[\nabla_\theta\ell(z;\theta_0)] is the gradient of the population target risk. The sample mean is its unbiased plug-in estimator. Heterogeneity among target examples thus is not an issue: if two target examples have opposing gradients, they will cancel out.

We also note that we assume the target set is of high quality. It is small and deliberately curated to encode the capability the practitioner wants (as in LESS). It is the candidate pool that we assume is large and of mixed quality, and selecting a good/ reliable subset of training examples from it is precisely the problem we address.

However, to the reviewer's point, in very adversarial settings with extreme outliers, we could try to robustify the procedure (e.g. using the trimmed mean the gradients for a specific coordinate) — a potentially interesting extension of our method.

[Q1-Q2] There are two computational bottlenecks in SAFE-DRIFT: (a) Gradient constructions. We compute per-example gradients for the candidate pool and subsets of the target, reference, and Adam-warmup data. This scales linearly with the candidate-pool size NCN_C, and is also required by gradient-based baselines (LESS and Prismatic). For large pools, candidates can first be subsampled. For large models, we suggest using LoRA.

(b) The SAFE-DRIFT updates: Let pp be the number of trainable parameters, K=KR+KTK = K_R + K_T the projection rank, SS the selection budget, and m≥Sm\geq S the greedy shortlist size. With fixed caps mR,mCm_R, m_C for estimating the reference and residual task bases, and fixed KK, the computational burden of deriving features is:

Tfeature​=​O(NC​(Cgrad+pK))+O(pmR2​+pmC2​+mR3​+mC3​),​T_{feature}​=​O(N_C​(C_{\mathrm{grad}}+pK))+O(pm_R^2​+pm_C^2​+m_R^3​+m_C^3​),​

where CgradC_{\mathrm{grad}} is one per-example forward/backward pass. The selection operation has cost:

Tselect=O(SMK),T_{select}=O(SMK),

while subsequent fine-tuning costs O(ESCtrain)O(ESC_{train}) for EE epochs (where CtrainC_{train} denotes the cost of processing one selected example during downstream fine-tuning). In our moderate-scale experiments, we use m=NCm=N_C. If SS is also a fixed fraction of NCN_C, the greedy selector is quadratic in NCN_C. For larger pools, we propose ranking all candidates once and applying greedy selection only to a fixed-size top-mm shortlist. With fixed caps, KK, and mm, the overall pipeline is linear in NCN_C. Model size enters mostly through CgradC_{grad} and pp;

To empirically quantify this overhead, we reran several experiments with FLOP and runtime instrumentation (see below)

Measured Costs

Setting Optimizer / mode Model Method Select FLOPs Train FLOPs Total FLOPs Select share Runs
Setting 1 AdamW / LoRA OLMo-2-7B Random 0 7.24e15 7.24e15 0.0% 3
Setting 1 AdamW / LoRA OLMo-2-7B DSIR <1e8 4.13e15 4.13e15 <0.1% 3
Setting 1 AdamW / LoRA OLMo-2-7B LESS 5.54e16 6.05e15 6.14e16 90.2% 3
Setting 1 AdamW / LoRA OLMo-2-7B Prismatic 5.54e16 7.74e15 6.31e16 87.7% 3
Setting 1 AdamW / LoRA OLMo-2-7B SAFE-DRIFT 5.54e16 1.16e16 6.70e16 82.7% 3
Setting 1 AdamW / LoRA OLMo-2-13B Random 0 1.39e16 1.39e16 0.0% 3
Setting 1 AdamW / LoRA OLMo-2-13B DSIR <1e8 7.92e15 7.92e15 <0.1% 3
Setting 1 AdamW / LoRA OLMo-2-13B LESS 1.06e17 1.30e16 1.19e17 89.1% 3
Setting 1 AdamW / LoRA OLMo-2-13B Prismatic 1.06e17 1.48e16 1.21e17 87.8% 3
Setting 1 AdamW / LoRA OLMo-2-13B SAFE-DRIFT 1.06e17 2.19e16 1.28e17 82.9% 3
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct Random 0 3.056e15 1.122e16 0.0% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct DSIR 4.865e7 3.560e15 1.172e16 <0.1% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct LESS 1.219e17 3.568e15 1.337e17 91.2% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct Prismatic 1.219e17 3.035e15 1.331e17 91.6% 5
Setting 2 AdamW / LoRA OLMo-2-7B-Instruct SAFE-DRIFT 1.219e17 1.625e15 1.281e17 95.2% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct Random 0 4.420e15 1.586e16 0.0% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct DSIR 1.054e8 2.951e15 1.439e16 <0.1% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct LESS 4.988e17 5.405e15 5.156e17 96.7% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct Prismatic 4.988e17 4.371e15 5.161e17 96.6% 5
Setting 3 AdamW / LoRA OLMo-2-7B-Instruct SAFE-DRIFT 4.988e17 3.006e15 5.108e17 97.6% 5

Select share = select FLOPs / total FLOPs. Selection costs appear similar for LESS, Prismatic and SAFE-DRIFT as they all share the same expensive gradient computation step, that dominates the feature step.

Authors · CommentOpenReview ↗

Answers to Q3 and L1

[Q3] This is an interesting question. Our answer would be: in settings where the candidate pool is excellent, more data would certainly help, and there is probably no real need for SAFE-DRIFT, which tries to select high-quality gradients. However, in settings where the candidate pool is more weakly informative, more data is not expected to necessarily improve the model. This is in fact the setting chosen for LESS and prismatic. In our answer "W4 model ablations" to reviewer 1Yx1, for instance, we show that updating on the whole dataset does not necessarily yield the best performance.

[L1] This is a good point --- our manuscript does not indeed pretend to render the algorithm "universally safe", but rather, safe with respect to pre-specified failure modes. We do view this limitation of SAFE-DRIFT as the same limitation encountered in algorithmic fairness: fairness audits cannot enumerate every form of discrimination, every subgroup, or every future deployment context; nevertheless, explicitly measuring and constraining well-documented failure modes is still meaningful and necessary. The resulting guarantee is restricted to the groups and criteria that have been specified, rather than being a universal guarantee of fairness.

However, to try to provide a bit more details as part of this rebuttal, we have also rerun an extended version of setting 2 where we define a composite reference task (based on several reference targets) and evaluate SAFE-DRIFT. Overall, SAFE-DRIFT remains effective when the reference distribution is constructed from multiple benchmarks, and that the performance of the model is not smothered as the reference task becomes more complex.

More specifically, let:

  • B = BBQ
  • T = TruthfulQA
  • K = MMLU/knowledge evaluation (non medical)
  • B_T protects BBQ and TruthfulQA.
  • B_K protects BBQ and MMLU.
  • T_K protects TruthfulQA and MMLU.
  • B_T_K jointly protects all three reference datasets. All four compositions optimize the same target task (MedQA accuracy). Datasets omitted from a composition are still evaluated, but they are not used to construct that SAFE reference constraint.

All values reported are delta from Base (method - Base) on the test set (with hyperparameters chosen on the validation set). Higher is better except KL, where lower is better. Ref GM corresponds to the geometric mean of the accuracies for the reference tasks that are being controlled; All-ref GM corresponds to the geometric mean of the accuracies over all reference tasks: B, T, and K.

B_T

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.090 +0.085 -0.105 +0.070 -0.062 -0.032 +5.17
Random +0.063 -0.049 -0.107 +0.061 -0.100 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 -0.117 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 -0.072 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 -0.098 -0.065 +5.46

B_K

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.086 +0.066 -0.093 +0.051 +0.058 -0.031 +5.16
Random +0.063 -0.049 -0.107 +0.061 +0.004 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 +0.009 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 +0.030 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 +0.005 -0.065 +5.46

T_K

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.094 +0.046 -0.103 +0.063 -0.066 -0.041 +5.29
Random +0.063 -0.049 -0.107 +0.061 -0.069 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 -0.083 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 -0.070 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 -0.071 -0.065 +5.46

B_T_K

Method Δ Target Δ B Δ T Δ K Δ Ref GM Δ All-ref GM Δ KL
SAFE-DRIFT +0.078 +0.038 -0.098 +0.020 -0.048 -0.048 +5.13
Random +0.063 -0.049 -0.107 +0.061 -0.065 -0.065 +5.47
DSIR +0.064 -0.054 -0.125 +0.078 -0.078 -0.078 +5.49
LESS +0.022 +0.028 -0.100 +0.033 -0.049 -0.049 +5.54
Prismatic +0.078 -0.042 -0.107 +0.055 -0.065 -0.065 +5.46

Overall, we note that in each of these tasks, SAFE-DRIFT allows the better trade-off between accuracy and control of the reference: across compositions, it exhibits the lowest general drift (Δ Ref GM) and reference KL drift compared to other methods. Interestingly, this also correlates to less drift across all reference distributions (Δ All-ref GM ).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…