Papers › DUET: Optimizing Training Data Mixtures via Feedback from Unseen Evaluation Tasks

DUET: Optimizing Training Data Mixtures via Feedback from Unseen Evaluation Tasks

1 Feb 2025arXiv:2502.00270archive 2025-07-28

Zhiliang Chen, Gregory Kang Ruey Lau, Chuan-Sheng Foo, Bryan Kian Hsiang Low

The performance of an LLM depends heavily on the relevance of its training data to the downstream evaluation task. However, in practice, the data involved in an unseen evaluation task is often unknown (e.g., conversations between an LLM and a user are end-to-end encrypted). Hence, it is unclear what data are relevant for fine-tuning the LLM to maximize its performance on the specific unseen evaluation task. Instead, one can only deploy the LLM on the unseen task to gather multiple rounds of feedback on how well the model performs (e.g., user ratings). This novel setting offers a refreshing perspective towards optimizing training data mixtures via feedback from an unseen evaluation task, which prior data mixing and selection works do not consider. Our paper presents DUET, a novel global-to-local algorithm that interleaves influence function as a data selection method with Bayesian optimization to optimize data mixture via feedback from a specific unseen evaluation task. By analyzing DUET's cumulative regret, we theoretically show that DUET converges to the optimal training data mixture for an unseen task even without any data knowledge of the task. Finally, our experiments across a variety of language tasks demonstrate that DUET outperforms existing data selection and mixing methods in the unseen-task setting.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2502.00270")

Code

Syntology Ran 8 of 14 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · honoured contract; 7 ran · our draft was wrong.

By repository: official repository: 14 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pmsdapfmbf/duet officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 8 ran; 1 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
7ran · our draft was wrong
6unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pmsdapfmbf/duet. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_accuracy pmsdapfmbf/duet/BO.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 4970ddf6ddc8fd27 · report
evaluate_model pmsdapfmbf/duet/BO.py official repository ran · honoured contract Apache-2.0 (permissive) · 2642938bca13a388 · report
remove_lowest_influence_then_sample_based_on_IF pmsdapfmbf/duet/BO.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 1f936e2e8a935b8f · report
remove_lowest_influence_then_sample_uniformly pmsdapfmbf/duet/BO.py official repository ran · our draft was wrong Apache-2.0 (permissive) · f0b4db4a5d861b88 · report
sample_from_dataloader pmsdapfmbf/duet/BO.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 0ae03fc766877a9c · report
sample_from_influence pmsdapfmbf/duet/BO.py official repository ran · our draft was wrong Apache-2.0 (permissive) · ce824445c33ab2e4 · report
take_highest_influence pmsdapfmbf/duet/BO.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 1b4323888c739ff2 · report
train_model pmsdapfmbf/duet/BO.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 868ca549016fe2b9 · report
get_data_from_mixing_ratio pmsdapfmbf/duet/BO.py official repository unverified Apache-2.0 (permissive) · d758a97f264ee7d7 · report
get_vgg_model pmsdapfmbf/duet/BO.py official repository unverified Apache-2.0 (permissive) · d8095a305d1d358e · report
iterative_loop pmsdapfmbf/duet/BO.py official repository unverified Apache-2.0 (permissive) · 71b085d95680b369 · report
remove_tail_ends_then_uniform pmsdapfmbf/duet/BO.py official repository unverified Apache-2.0 (permissive) · 3669cc3711a78acf · report
sample_from pmsdapfmbf/duet/BO.py official repository unverified Apache-2.0 (permissive) · 6b669daa78ab827e · report
train pmsdapfmbf/duet/BO.py official repository unverified Apache-2.0 (permissive) · cc175e23e0a2d108 · report

Tasks

Bayesian Optimization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections