SAFE-DRIFT: Data Selection for Supervised Fine-tuning with Controllable Off-Target Drifts
Yeo Jin Jung, Yating Liu, Lalchand Pandia, Claire Donnat
NeurIPS page · Open on the map
Category: Interpretability & Model Adaptation › Parameter-Efficient Model Adaptation · Type: new method · Keywords: data selection, supervised fine-tuning, off-target drift, Fisher information, natural gradient
Areas: Continual Learning & Adaptation › Non-Stationarity Adaptation › Generalization and Adaptation
Summary
SAFE-DRIFT is a data-selection framework for supervised fine-tuning that balances target performance against off-target drifts via a constrained optimization formulation.
Explained to a 5-year-old
When we teach a computer new things, we give it lots of examples. Sometimes the computer starts doing things it wasn't supposed to do after learning. This method helps pick the best examples so the computer gets better at what we want. It also makes sure the computer stays good at other things we care about. It uses a special math rule that works even for very big computers.
Explained to a 5-year-old, longer
When we teach a computer new things, we show it many examples. The computer learns patterns from those examples to do a specific job. But sometimes, after learning, the computer also starts doing things it wasn't meant to do. This can be a problem, especially when the computer is used in important places like doctors' offices. So researchers wanted a way to pick the best examples so the computer gets better at the main job. At the same time, they wanted to make sure the computer doesn't change its behavior in unwanted ways. The new idea works like a careful balance, choosing examples that help the main task while keeping other skills intact. It uses a special math rule that measures how much the computer might change in unwanted directions. This rule helps decide which examples are safe to use. The method also makes the math easier to handle for very big computers by focusing on the most important parts. As a result, the computer learns faster, does better on its main job, and stays reliable for other tasks. This helps people build smarter tools that are both powerful and safe.
For a technical reader
The paper addresses the problem of selecting training data when fine-tuning large models, where we want the model to improve on the target task without harming its performance on other tasks. It formulates this as an optimization that maximizes the desired improvement while limiting unwanted changes, using Fisher information to quantify those changes. The solution is a damped natural gradient that can be computed efficiently by projecting both the Fisher matrix and the target gradient into a lower-dimensional subspace. Experiments on coding and medical question-answering benchmarks show that the method matches state-of-the-art target performance while noticeably reducing off-target drift. This approach gives engineers a principled way to make fine-tuning safer and more predictable for production systems.
Problem
When fine-tuning models, selecting data can improve target tasks but may cause undesirable changes in other behaviors. Existing methods often ignore or poorly control these off-target drifts, leading to unintended side effects.
Method
The approach formulates data selection as a constrained optimization that maximizes target gradient gain while limiting off-target drift measured by Fisher information on a reference distribution. It yields a damped natural gradient solution and approximates the Fisher matrix and target gradient in a shared low-dimensional subspace for scalability.
Results
The approach achieved competitive performance on target tasks while significantly reducing off-target drift compared to existing methods.
Contributions
It introduces a principled constrained optimization formulation for data selection, provides a closed-form damped natural gradient solution, and offers a scalable low-dimensional approximation for high-dimensional settings.
Limitations and assumptions
Relies on estimating Fisher information and target gradients, which may be challenging for very large models, and the approximation assumes a shared low-dimensional subspace.
Practical relevance
Enables safer fine-tuning of large models in critical applications by controlling unintended behavior changes.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction