# One Algorithm, Two Goals: Dual Scoring for Parameter and Data Selection in LLM Fine-Tuning

*Xinrui Chen, Liu Yang, Ou Wu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149252) · [Open on the map](../papers.html#p149252)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Mixture-of-Experts Optimization](../pgroup/599.md) · Type: new method · Keywords: parameter selection, data selection, LLM fine-tuning, gradient interaction, bilevel optimization

## Summary
DualSFT is a one-shot algorithm that jointly selects parameters and data for LLM fine-tuning using a shared gradient-based scoring rule, improving joint performance and stability-plasticity trade-offs.

## Explained to a 5-year-old
When we teach a big computer program how to talk, we usually change many of its parts and use lots of examples. Sometimes we only change a few parts and use only some examples to save time and money. The new idea is to pick which parts to change and which examples to use together, using one clever rule instead of two separate rules. This rule looks at how the program reacts to changes and picks the best parts and examples at the same time. It helps the program learn faster and work better while using less work and fewer examples.

## Explained to a 5-year-old, longer
Teaching a big computer program, like a language model, means adjusting many of its internal settings and showing it many examples. To save time and computer power, people sometimes only change a few settings and use only a few examples. Usually, the choices of which settings to change and which examples to use are made separately, like two different games. This new idea says we should choose both at the same time using one simple rule. The rule looks at how the program would improve if we made a small change and uses that to pick the best settings and examples together. It works like a puzzle where the best settings and examples match up in a special way. By doing this, we can train the program more efficiently without losing its ability to learn new things. The method also helps keep a good balance between learning quickly and remembering what it already knows. It works on large models that have billions of settings, making training cheaper. The approach beats older ways that chose settings and examples one after another. Overall, it lets us teach big computer programs with less work and fewer examples while still getting good results. This can make it easier for small teams to improve language models without needing huge computer resources.

## For a technical reader
DualSFT introduces a unified scoring mechanism that simultaneously selects which model parameters to update and which training examples to use, eliminating separate selection pipelines. By formulating both selections as bilevel optimization problems under a shared validation objective, it derives a gradient-interaction matrix whose row-wise and column-wise aggregations give parameter importance and data utility in closed form. This one-shot algorithm extracts a parameter mask and a data subset from the same gradient statistics, enabling coordinated trade-offs between performance, stability, and plasticity. Experiments on 3B-9B parameter models show that DualSFT variants improve target-task performance and achieve better joint trade-offs than sequential baselines under matched budgets.

## Problem
Fine-tuning large language models often uses separate scoring mechanisms for selecting which parameters to update and which training data to use, leading to redundant overhead and difficulty in coordinated selection. This makes it challenging to efficiently reduce fine-tuning cost while maintaining performance.

## Method
The approach formulates parameter and data selection as two bilevel optimization problems sharing a validation objective, derives a common gradient-interaction scoring rule, and aggregates column-wise and row-wise statistics to obtain a closed-form correspondence for simultaneous mask and subset extraction.

## Results
The approach improves target-task performance and stability-plasticity trade-offs for single-axis variants and achieves a better joint trade-off than sequential baselines under comparable budgets.

## Contributions
It introduces a unified bilevel formulation for joint parameter and data selection, derives a shared gradient-based scoring rule with closed-form row-column correspondence, and proposes a one-shot algorithm that simultaneously extracts both signals, outperforming sequential methods under budget constraints.

## Research questions this paper is counted under

- [How can we adapt large language models efficiently while balancing plasticity, data efficiency, and preservation of existing capabilities?](../q/35.md)

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](../feedback/?on=p/149252)
