Papers › The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs

The Chicken and Egg Dilemma: Co-optimizing Data and Model Configurations for LLMs

9 Feb 2026arXiv:2602.08351added by Syntology

Zhiliang Chen, Alfred Wei Lun Leong, Shao Yong Ong, Apivich Hemachandra, Gregory Kang Ruey Lau, Chuan-Sheng Foo, Zhengyuan Liu, Nancy F. Chen, Bryan Kian Hsiang Low

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Co-optimizing data and model configurations for training LLMs presents a classic chicken-and-egg dilemma: The best training data configuration (e.g., data mixture) for a downstream task depends on the chosen model configuration (e.g., model architecture), and vice versa. However, jointly optimizing both data and model configurations is often deemed intractable, and existing methods focus on either data or model optimization without considering their interaction. We introduce JoBS, an approach that uses a scaling-law-inspired performance predictor to aid Bayesian optimization (BO) in jointly optimizing LLM training data and model configurations efficiently. JoBS allocates a portion of the optimization budget to learn an LLM performance predictor that predicts how promising a training configuration is from a small number of training steps. The remaining budget is used to perform BO entirely with the predictor, effectively amortizing the cost of running full-training runs. We study JoBS's average regret and devise the optimal budget allocation to minimize regret. JoBS outperforms existing multi-fidelity BO baselines, as well as data and model optimization approaches across diverse LLM tasks under the same optimization budget.

PaperPDFCode 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="2602.08351")

Code

Syntology Ran 1 of 11 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: found in paper text by Syntology: 11 samples from 2 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

alstonlo/torch-influence found in paper text by Syntology report
princeton-nlp/LESS found in paper text by SyntologyMIT report
sangmichaelxie/doremi found in paper text by Syntology report
ruz048/AutoLoRA found in paper text by Syntology report

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

11 samples harvested; 1 ran; 0 honoured the contract we drafted; 10 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
10unverified

Licence: 3 of the 11 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

lora_state_dict ruz048/AutoLoRA/loralib/utils.py found in paper text by Syntology ran no licence file found · pointer only · 660073ae6862ac6e · report
calculate_influence_score princeton-nlp/LESS/less/data_selection/matching.py found in paper text by Syntology unverified MIT (permissive) · 8553c4772e3764ad · report
count_lines princeton-nlp/LESS/less/data_selection/write_selected_data.py found in paper text by Syntology unverified MIT (permissive) · 44e3cec9ab30944c · report
encode_data princeton-nlp/LESS/less/data_selection/get_training_dataset.py found in paper text by Syntology unverified MIT (permissive) · 25035506ff07d0a3 · report
get_data_statistics princeton-nlp/LESS/less/train/data_arguments.py found in paper text by Syntology unverified MIT (permissive) · fc5b455108e53a6e · report
get_max_saved_index princeton-nlp/LESS/less/data_selection/collect_grad_reps.py found in paper text by Syntology unverified MIT (permissive) · ed43dd7816626e87 · report
get_output princeton-nlp/LESS/less/data_selection/collect_grad_reps.py found in paper text by Syntology unverified MIT (permissive) · 808c09bce5840bb9 · report
none_or_str princeton-nlp/LESS/less/train/data_arguments.py found in paper text by Syntology unverified MIT (permissive) · 12b6473bde25b1dd · report
postprocess_qa_predictions ruz048/AutoLoRA/finetune/utils_qa.py found in paper text by Syntology unverified no licence file found · pointer only · ac56d3e7b79dbc18 · report
postprocess_qa_predictions_with_beam_search ruz048/AutoLoRA/finetune/utils_qa.py found in paper text by Syntology unverified no licence file found · pointer only · 8c51f5aaf2f659e2 · report
tokenize princeton-nlp/LESS/less/data_selection/get_validation_dataset.py found in paper text by Syntology unverified MIT (permissive) · 5d4f58c63866080e · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2602.08351, was issued in February 2026, after that date, so the archive has no leaderboard rows for it.

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