Paper deep dive
LLM Agents for Automated Post-Training via Structured Recipe Optimization
Ruohong Liu, Bohan Tang, Lekang Jiang, Jack Umenberger, Yiwen Guo
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Automated post-training transforms pre-trained large language models (LLMs) into models capable of handling diverse domains by automatically constructing and optimizing a recipe of coupled decisions over data sources, data processing, cross-domain composition, and training configuration under a limited experimental budget. Existing automation either searches predefined recipe spaces that enable systematic optimization but remain fixed rather than adapting their available choices to the target tasks, or uses open-ended agents that discover task-specific choices but leave them implicit in trial-level edits, limiting their systematic reuse and recombination across trials. To fill this gap, we introduce optimization over a task-adapted recipe space, a novel paradigm that can adapt the recipe space itself to the target tasks while representing its choices explicitly for systematic reuse, recombination, and joint optimization. We instantiate this paradigm with Structured Recipe Optimization (SRO), comprising an LLM-based Recipe-Space Designer that constructs the task-adapted recipe space and a Multi-Domain Recipe Optimizer that uses structured trial evidence to guide LLM candidate construction and multi-objective Bayesian trial selection. Extensive experiments show that SRO achieves the highest average score in all evaluated target-model and agent-LLM combinations. In joint post-training across three capability domains and six benchmarks, SRO reaches 41.1 versus 15.4 for the strongest baseline on Qwen3-1.7B with GPT-5.4, and 53.8 versus 40.8 on Qwen3-4B with DeepSeek-V4-Flash. Our code is available at this https URL.
Tags
Links
- Source: https://arxiv.org/abs/2610.18572v1
- Canonical: https://arxiv.org/abs/2610.18572v1
Trouble viewing inline? Open PDF directly â
Full Text
86,155 characters extracted from source content.
Expand or collapse full text
Preprint LLM AGENTS FOR AUTOMATED POST-TRAINING VIA STRUCTURED RECIPE OPTIMIZATION Ruohong Liu â University of Oxford ruohong.liu@eng.ox.ac.uk Bohan Tang â LIGHTSPEED bohantang@global.tencent.com Lekang Jiang University of Cambridge lj408@cam.ac.uk Jack Umenberger â University of Oxford jack.umenberger@eng.ox.ac.uk Yiwen Guo â Independent Researcher guoyiwen89@gmail.com ABSTRACT Automated post-training transforms pre-trained large language models (LLMs) into models capable of handling diverse domains by automatically constructing and optimizing a recipe of coupled decisions over data sources, data processing, cross-domain composition, and training configuration under a limited experimen- tal budget. Existing automation either searches predefined recipe spaces that en- able systematic optimization but remain fixed rather than adapting their available choices to the target tasks, or uses open-ended agents that discover task-specific choices but leave them implicit in trial-level edits, limiting their systematic reuse and recombination across trials. To fill this gap, we introduce optimization over a task-adapted recipe space, a novel paradigm that can adapt the recipe space itself to the target tasks while representing its choices explicitly for systematic reuse, recombination, and joint optimization. We instantiate this paradigm with Struc- tured Recipe Optimization (SRO), comprising an LLM-based Recipe-Space De- signer that constructs the task-adapted recipe space and a Multi-Domain Recipe Optimizer that uses structured trial evidence to guide LLM candidate construc- tion and multi-objective Bayesian trial selection. Extensive experiments show that SRO achieves the highest average score in all evaluated target-model and agent- LLM combinations. In joint post-training across three capability domains and six benchmarks, SRO reaches 41.1 versus 15.4 for the strongest baseline on Qwen3- 1.7B with GPT-5.4, and 53.8 versus 40.8 on Qwen3-4B with DeepSeek-V4-Flash. Our code is available at https://github.com/RuohLiuq/SRO. 1INTRODUCTION Post-training transforms pre-trained large language models (LLMs) into instruction-following mod- els capable of handling user requests across diverse domains, such as mathematical reasoning, cod- ing, and knowledge-intensive question answering (Ouyang et al., 2022; Tie et al., 2025). This pro- cess involves a sequence of coupled decisions over data processing, cross-domain composition, and training configuration, whose interactions can largely affect the resulting model (Tie et al., 2025; Kumar et al., 2026). Coordinating these decisions to form a post-training recipe requires substantial expert engineering (Grattafiori et al., 2024; Guo et al., 2025), while evaluating each candidate recipe requires actual training and multi-domain evaluation, making experimentation expensive. These considerations motivate automated post-training methods that automatically optimize for effective recipes under a limited experimental budget. â Equal contribution. â Corresponding author. 1 arXiv:2610.18572v1 [cs.AI] 13 Oct 2026 Preprint (a) Optimization over a predefined recipe space Predefined recipe space Researcher-defined choices Data mixture weights Training configuration Recipe optimization Search predefined choices Recipe execution & evaluation Execute the next recipe Evaluation feedback Scores and training observations (b) Optimization over an open-ended recipe space Agent Propose or revise recipes Recipe execution & evaluation Execute the next recipe Trial history (c) SRO: Optimization over a task-adapted recipe space Task-adapted recipe space LLM agentâconstructed choices Data sources + Data processing Cross-domain composition Training configuration Recipe optimization LLM candidate construction Trial selection Recipe execution & evaluation Execute the next recipe New data choices Domain-Structured Trial Memory Domain 1Domain 2Domain 3 Scores & regressions Figure 1: Three paradigms for automated post-training. Existing methods automate the overall post-training pipeline with two broad paradigms. First, op- timization over a predefined recipe space specifies a recipe space in advance and systematically searches over the resulting alternatives for any given task. For example, AutoPipe applies Bayesian optimization to post-training pipeline configurations (Chwa et al., 2026). While a predefined recipe space enables systematic comparison and optimization, it may exclude useful task-specific choices, such as data sources and processing methods, and thereby limit achiev- able post-training performance. Second, optimization over open-ended recipe space instead dele- gates more of the design process to LLM agents, allowing them to discover data, construct training interventions, and revise recipes using evaluation feedback for each specific task (Rank et al., 2026; Yu et al., 2026; Chen et al., 2026). This enables greater task-specific adaptation, but newly dis- covered interventions are typically introduced within trial-level edits without being consolidated into explicit, reusable choices. Consequently, evidence from previous trials cannot be systemati- cally reused to compare and recombine individual recipe decisions, making subsequent search less sample-efficient and reducing the likelihood of identifying high-performing recipe combinations un- der a limited training budget. Thereon, existing paradigms trade off task adaptability against opti- mization effectiveness. Predefined recipe spaces support effective optimization but can omit choices needed for the target task, while open-ended agents can use such choices but do not organize them into a space that can be efficiently optimized across trials. Both leave substantial post-training per- formance unrealized. To fill this gap, we explore a novel paradigm termed optimization over a task-adapted recipe space: constructing searchable choices for the target tasks and jointly optimizing their combinations. This paradigm introduces two key requirements. First, the recipe space must be task-adapted and structured: it should incorporate task-relevant alternatives for data sources, data processing, cross- domain composition, and training configuration, while representing them as explicit, reusable, and composable choices whose combinations remain executable and comparable across trials. Second, optimization over this space must be joint and sample-efficient. Since recipe components interact and each end-to-end evaluation is costly, search should reason over their combinations and use accumulated experimental evidence to prioritize promising recipes under a limited training budget. To realize this paradigm, we propose Structured Recipe Optimization (SRO) with two key com- ponents. A Recipe-Space Designer decomposes post-training into components for data sources, data processing, cross-domain composition, and training configuration, and asks the LLM agent to populate each component with choices based on the given task. We provide skills to guide this construction together with a fixed workflow for data preparation, training, evaluation, and valid- ity checks, allowing newly designed choices to be incorporated without sacrificing executability or comparability. A Multi-Domain Recipe Optimizer records executed recipes and their benchmark scores, organizing the results by domain. Selective retrieval provides relevant trial records and ex- ploration statistics to guide LLM construction of multiple candidate recipes by recombining choices across components. Multi-objective Bayesian optimization fits domain-wise surrogate models to 2 Preprint the trial history and uses Pareto-aware acquisition to select one candidate for the next training trial. Figure 1 contrasts our proposed SRO with previous automated post-training paradigms. Our main contributions are: âą We introduce optimization over a task-adapted recipe space as a novel paradigm for automated post-training, representing task-specific designs as explicit, reusable, and composable choices to support joint search over data and training decisions. âą We propose SRO to instantiate this paradigm. The Recipe-Space Designer constructs the search space, while the Multi-Domain Recipe Optimizer organizes trial history to support LLM candidate construction and multi-objective Bayesian trial selection. âą Extensive experiments show that SRO achieves the highest average score in all evaluated base- model and agent-LLM combinations. For joint post-training across three capability domains and six benchmarks, SRO reaches 41.1 versus 15.4 for the strongest baseline on Qwen3-1.7B with GPT-5.4, and 53.8 versus 40.8 on Qwen3-4B with DeepSeek-V4-Flash. 2RELATED WORKS Post-Training. Post-training adapts a pre-trained language model to follow instructions and acquire desired capabilities across diverse downstream domains (Tie et al., 2025; Kumar et al., 2026). Mod- ern post-training can be organized into three coupled stages: data preparation, supervised fine-tuning (SFT), and reinforcement learning (RL) (Tie et al., 2025; Ouyang et al., 2022; Guo et al., 2025). Data preparation constructs the supervision used by subsequent training stages by collecting, synthesiz- ing, filtering, and mixing instructionâresponse pairs, reasoning trajectories, preference annotations, and task-specific feedback (Longpre et al., 2023; Wang et al., 2023; Cui et al., 2024). SFT trains the pre-trained model on curated samples to acquire instruction-following behavior and specific task capabilities (Wei et al., 2022; Sanh et al., 2022; Longpre et al., 2023). RL further optimizes the SFT model toward desired behaviors and capabilities through reward signals (Zhang et al., 2025). For example, RL with human feedback (RLHF) improves alignment with human preferences, while RL with verifiable rewards (RLVR) strengthens reasoning ability by rewarding correct solutions and intermediate steps (Ouyang et al., 2022; Guo et al., 2025). LLM post-training involves designing a recipe over coupled decisions in data processing and training configurations, which demand sub- stantial human expert engineering (Grattafiori et al., 2024; Guo et al., 2025; Tie et al., 2025; Kumar et al., 2026). Since each candidate recipe requires costly training and evaluation, automated methods are proposed to construct effective recipes automatically under limited experimental budgets. Automated Post-Training. Existing work on automated post-training spans from component-level to pipeline-level automation. Component-level methods automate decisions within a fixed training procedure, such as data generation, selection, and mixture optimization for data preparation (Wang et al., 2023; Xia et al., 2024; Zhang, 2026), sampling and resource allocation during SFT (Shin et al., 2026; Gualdoni et al., 2026), and domain balancing during RL (Li et al., 2025; Yang et al., 2026; Ramesh et al., 2026). More recent work moves toward pipeline-level automation, which is the focus of our work and broadly follows two paradigms. Optimization over a predefined recipe space systematically searches over pipeline choices specified in advance. For instance, AutoPipe applies Bayesian optimization to a predefined configuration space with base-model choice and SFT/RL hy- perparameters (Chwa et al., 2026). Optimization over an open-ended recipe space instead delegates broader pipeline design to LLM agents. For instance, PostTrainBench gives agents full autonomy to discover training data and design and execute post-training strategies for target benchmarks (Rank et al., 2026). However, existing approaches trade off task adaptability against optimization effective- ness: predefined recipe spaces enable systematic search but may omit task-specific choices, whereas open-ended agents can discover such choices but struggle to organize and optimize them across trials. We improve automated post-training performance by addressing this gap. 3 Preprint Recipe-Space DesignerMulti-Domain Recipe Optimizer LLM-Augmented Multi-Objective Bayesian Optimization Task inputs Base model Target domains & benchmarks CLI agent Execution workflow Design skills Define components and validate choices Recipe space â Agent-constructed choices Data sources+ Data processing Cross-domain composition Training config. Includes SFT / GRPO choices Memory-conditioned candidate proposal Current recipe space + retrieved evidence Candidate recipes íŹ íĄ í 1 í 2 í 3 Valid, non-repeated recipes Pareto-aware trial selection Fit surrogates; predict objective values í 1 í 2 í 3 Domain A D o m a i n B Expected HV improvement í 1 í 2 í 3 Pareto frontCandidateSelected í íĄ = í 1 Largest expected hypervolume improvement Training & evaluation Materialize recipe data Train the base model Evaluate all benchmarks Benchmark scores Domain-Structured Trial Memory Selective memory retrieval Pareto-optimal trials Poor or regressive trials Choice coverage Trial history â íĄ Recipe + benchmark scores Domain 1 Benchmark scores Domain 2 Benchmark scores Domain 3 Benchmark scores Repeat until the time limit; return the evaluated model with the highest aggregate score. Retrieved evidence Next trial Recipe-outcome observations New data-source choices Figure 2: Overview of SRO. The Recipe-Space Designer constructs a task-adapted recipe space, which the Multi-Domain Recipe Optimizer searches by Domain-Structured Trial Memory and LLM- Augmented Multi-Objective Bayesian Optimization. 3METHODOLOGY 3.1TASK DEFINITION We study automated post-training over target domainsD =d 1 ,...,d K , each evaluated by one or more benchmarks. The agent is given a pretrained base model M 0 , the target domains and bench- marks, a compute environment, and a time limit. No training data are provided; the agent must identify or construct suitable training data and specify the training configuration. LetU denote the set of executable post-training recipes permitted by these task constraints. Executing a recipe r âU produces a model M (r) = Train(M 0 ;r). Lets(M ) denote the vector of benchmark scores obtained by model M , grouped by domain, and let s k (M ) denote the mean score across the benchmarks in domain d k . The optimization objective is max râU Ìs M (r) , Ìs(M ) = 1 K K X k=1 s k (M ).(1) At the end of the time limit, we select the checkpoint with the highest aggregate score during recipe optimization for final external evaluation. We solve this optimization through two coupled tasks. First, Recipe-Space Design turns post-training decisions such as data sources, data process- ing methods, cross-domain composition, and training hyperparameters into searchable components C = c 1 ,...,c J . Each component c j admits a set of choices V j = v j,1 ,...,v j,n j . A recipe r = (v 1 ,...,v J ) selects one choice v j â V j for every component, and all valid, executable combi- nations form the search spaceR â U . Second, Multi-Domain Recipe Optimization searches this space under the time limit. At iteration t, the next recipe is determined from the current search space R tâ1 and experimental history H tâ1 : r t = Optimizer R tâ1 ,H tâ1 where Optimizer abstracts the feedback-driven search procedure. The selected recipe is executed and evaluated on all target benchmarks, and the resulting scores and diagnostic evidence are added to the history. Predefined methods instantiate this process as r t = Optimizer(R fixed ,H tâ1 ), using experimental feedback to guide search within a predefined space R fixed â U . Open-ended agentic methods in- stead operate over the permitted recipe space, abstracted as r t = Optimizer(U,H tâ1 ). They use experimental results, and potentially structured memory to propose and revise recipes, without nec- essarily consolidating the resulting choices into an explicit, reusable search space. We combine an agent-constructed recipe space with domain-structured experimental evidence, enabling subsequent decisions to draw on reusable choices and their observed effects across domains. 4 Preprint 3.2STRUCTURED RECIPE OPTIMIZATION (SRO) Structured Recipe Optimization (SRO) tackles the two coupled tasks in Section 3.1 with a Recipe- Space Designer and a Multi-Domain Recipe Optimizer. The Designer first constructs the initial task-adapted recipe spaceR 0 . The Optimizer then iteratively uses trial history to propose and select a recipe, executes and evaluates it, and updates the trial history and recipe space for the next iteration. Figure 2 summarizes this workflow. 3.2.1RECIPE-SPACE DESIGNER The Recipe-Space Designer constructs the initial recipe space R 0 in three stages. It first defines the searchable recipe components, then provides an executable workflow and design skills for con- structing valid choices, and finally instantiates and validates these choices to formR 0 . Searchable components. We factorize each recipe along four decision dimensions: data sources, data processing, cross-domain composition, and training configuration. The corresponding com- ponents formC = S K k=1 C data k âȘC mix âȘC train , whereC data k contains the data-source and data- processing components for domain d k , C mix contains the cross-domain composition, and C train contains the shared training configuration. This factorization defines the recipe-space schema, and the LLM agent subsequently instantiates task-adapted admissible choices for each component. Execution workflow and design skills. Reimplementing data loading, formatting, training, and evaluation across trials wastes compute and introduces implementation variance. We therefore pro- vide a fixed executable workflow that performs these operations, validates recipes, enforces com- pute constraints, and excludes evaluation data from training. To guide choice construction, we also provide reusable skills covering dataset discovery, generation-prompt design, cross-domain compo- sition, and training configuration. The workflow handles execution and validation, the skills provide design guidance, and the agent can thus focus on instantiating concrete recipe choices. Choice construction and expansion. Using the component schema and design skills above, the LLM agent instantiates discrete choices for each searchable component. For data sources, the agent identifies datasets relevant to each target domain, inspects examples, and specifies the field mappings required by the executable workflow. Each validated dataset becomes a data-source choice. For data processing, we provide two data-generation templates for expanding capability coverage and addressing model deficiencies. For each instantiated template, the agent specifies a source dataset and generation prompt; generation runs only when selected by a recipe, strictly excludes evaluation data. Validated generated datasets are subsequently registered as new data-source choices. For cross-domain composition, the agent specifies mixture ratios and assembly modes under a fixed training-sample budget. For training configuration, the agent constructs configuration choices for post-training algorithms such as SFT and GRPO. The validated choices populate the component- wise setsV j J j=1 , whose valid combinations define the initial recipe spaceR 0 . 3.2.2MULTI-DOMAIN RECIPE OPTIMIZER The Multi-Domain Recipe Optimizer searches the current recipe space using feedback from previous trials. At iteration t, Domain-Structured Trial Memory retrieves a compact summaryS tâ1 from the trial historyH tâ1 and current recipe spaceR tâ1 . An LLM proposer uses this summary to construct candidate recipesQ t , and multi-objective Bayesian optimization selects the next recipe r t using the complete trial history. The selected recipe is then executed and evaluated, updating the trial history and, when new data-source choices are produced, the recipe space for the next iteration. Domain-Structured Trial Memory. This memory retains each completed trial as a structured record Ο i = (r i ,s(M i )), containing the executed recipe and its scores on all target domains. The scores are organized by domain to preserve differences in cross-domain performance, and the history before iteration t is denoted byH tâ1 . The history supports optimization in two paths. The Bayesian optimizer uses the history to fit its surrogate models, while the LLM proposer receives a compact summary obtained by selective retrieval: S tâ1 = Retrieve(H tâ1 ,R tâ1 ). The summary includes Pareto-optimal or otherwise strong trials, lower-performing trials, aggregate statistics over explored 5 Preprint choices, and coverage statistics identifying under-explored choices. Retaining recipe configurations alongside domain-wise results allows the proposer to compare historical recipes and their effects across domains rather than relying only on aggregate scores. LLM-Augmented Multi-Objective Bayesian Optimization. Recipe optimization separates can- didate construction from trial selection. Since proposing recipes with an LLM agent is inexpen- sive relative to data preparation, model training, and evaluation, we use the agent to construct multiple candidates and Bayesian optimization to select which candidate to execute. At itera- tion t, the LLM receives the current recipe space R tâ1 and retrieved summary S tâ1 , producing Q t = G LLM (R tâ1 ,S tâ1 ). It fills structured recipe fields with admissible choices rather than im- plementing a new training pipeline. The proposer compares recipe configurations and their domain- wise results across retrieved trials, together with choice-coverage statistics. These comparisons guide the reuse of promising configurations, the recombination of existing choices, and the explo- ration of under-explored options within the current recipe space. The Bayesian optimizer uses the complete history H tâ1 to predict each candidateâs domain-wise outcomes and uncertainty. The mean benchmark score within each domain defines an objective, modeled by a separate surrogate using executed recipes and their observed outcomes. A Pareto- aware acquisition function combines the predictive distributions to identify candidates expected to improve the current cross-domain trade-offs. We use expected hypervolume improvement (EHVI) and select r t = arg max râQ t α t (r), where α t (r) is the acquisition score. Intuitively, EHVI mea- sures the expected increase in dominated hypervolume relative to a reference point, accounting for predictive uncertainty. A warm-up strategy is used when too few completed trials are available to fit the surrogates. Appendix B.4 describes surrogate fitting and acquisition computation. Trial execution and update. The executable workflow executes the selected recipe r t , performing data preparation, training, and evaluation to obtain M t and its benchmark scores. Data generation uses the sources and prompts from the Recipe-Space Designer. Correction uses the latest trained model to identify failed examples in its separate source dataset and generate corrective training data. While these failed examples are used to prompt data generation, the examples themselves are not retained in trial memory. After evaluation, the completed trial is added to the history H t = H tâ1 âȘΟ t . Validated generated datasets are registered as new data-source choices, producing the updated recipe spaceR t . The updated states are the inputs to the next optimization iteration. 4EXPERIMENTS We evaluate SRO through three questions concerning overall performance, explicit recipe-space optimization, and the mechanisms used to search the constructed space. Research Questions 1. RQ1: How does SRO compare with existing automated post-training methods? 2. RQ2: How does our Recipe-Space Designer support recipe optimization? 3. RQ3: How does our Multi-Domain Recipe Optimizer support recipe optimization? 4.1EXPERIMENTAL SETUP Tasks and evaluation. We evaluate SRO in single-domain and multi-domain settings using the benchmarks and evaluation protocols provided by PostTrainBench (Rank et al., 2026). Each single- domain run targets one of GSM8K, GPQA Main, or HumanEval. Each multi-domain run jointly targets six benchmarks across three domains: mathematical reasoning (AIME 2025 and GSM8K), coding and tool use (BFCL v3 execsimple and HumanEval), and science and health (GPQA Main and HealthBench-Easy). The multi-domain aggregate score is the mean of the three domain scores, each computed by averaging its two benchmarks. All scores are reported as percentages. Models and agent LLMs. We post-train Qwen3-1.7B-Base and Qwen3-4B-Base using DeepSeek-V4-Flash and GPT-5.4 as agent LLMs through the OpenCode CLI. Within each base- 6 Preprint model and agent-LLM configuration, all methods use the same agent LLM and CLI scaffold. We additionally report the official instruction-tuned models as reference points rather than competing methods because their post-training budgets are not matched. Baselines. We compare against PostTrainBench (Rank et al., 2026) and AutoTrainess (Yu et al., 2026), two end-to-end agent-based methods that automate data acquisition, training, and evalua- tion. These methods align with our focus on the agentâs ability to automate the complete post- training pipeline without requiring any predefined training data. PostTrainBench allows the agent to autonomously design and revise its training approach, while AutoTrainess provides a structured workflow. Both baselines run through OpenCode with the same base model, task specification, eval- uation interface, agent LLM, and compute budget as SRO. We additionally evaluate optimization over a predefined recipe space on GSM8K, whose official training split provides a task-specific training source. Appendix D.1 describes this supplementary baseline and its results. We also evaluate four variants with DeepSeek-V4-Flash: w/o structured recipe search replaces explicit recipe-space construction and its associated executable workflow with direct open-ended agentic recipe design; w/o LLM proposer uniformly samples candidate recipes from the same recipe space without using LLM proposals; w/o EHVI selection omits surrogate fitting and EHVI, selecting LLM-proposed candidates by self-reported confidence; and w/o structured memory replaces selec- tive retrieval with the full history of recipes and raw benchmark scores, without domain-structured summaries or choice-coverage statistics. In the last variant, the history used for surrogate fitting is unchanged. Training and compute budget. All runs start from the provided base model. The training- configuration space includes LoRA-based SFT and, for single-domain runs, an optional GRPO phase. Each run uses one GPU with a wall-clock budget of 10 hours for single-domain experi- ments and 20 hours for multi-domain experiments. All methods follow the evaluation protocols and data-contamination constraints provided by PostTrainBench. We select the checkpoint with the highest aggregate score during recipe optimization and report its full-set evaluation outside the time budget (Appendix B.1). 4.2RQ1: OVERALL EFFECTIVENESS SRO achieves the highest average score in both settings. Tables 1 and 2 show that SRO achieves the highest average score in every evaluated base-model and agent-LLM configuration in both set- tings. In single-domain post-training, SRO improves individual benchmark scores by up to 41.7 points over the strongest baseline in the same configuration (GSM8K, Qwen3-4B with GPT-5.4: 87.4% vs. 45.7%). In multi-domain post-training, SRO improves the joint six-benchmark average by up to 25.7 points (Qwen3-1.7B with GPT-5.4: 41.1% vs. 15.4%). SRO shows lower average sensitivity to the agent LLM. SRO matches or exceeds the strongest baseline in 11 of the 12 single-domain modelâagentâbenchmark combinations. The exception is GSM8K on Qwen3-1.7B with DeepSeek-V4-Flash, where AutoTrainess reaches 79.1 versus 68.2. In multi-domain experiments on Qwen3-4B with DeepSeek-V4-Flash, SRO improves all three do- main averages over the strongest baseline by aggregate score: 45.5 versus 32.1 in mathematical reasoning, 87.0 versus 66.9 in coding and tool use, and 28.9 versus 23.4 in science and health. SRO also exhibits lower average sensitivity to the agent LLM in multi-domain experiments. Averaged across the two base models, switching agents changes its aggregate score by 5.3 points, compared with 25.6 for PostTrainBench and 14.9 for AutoTrainess. 4.3RQ2: RECIPE-SPACE DESIGNER EFFECTIVENESS A task-adapted and structured recipe space supports effective post-training. The w/o struc- tured recipe search variant retains structured trial memory but does not construct a task-adapted recipe space before search. Instead, the agent directly designs and executes recipes during experi- mentation. Under the same compute budget, its average score falls from 45.3 to 34.5 on Qwen3-1.7B and from 53.8 to 40.3 on Qwen3-4B (Table 3). These results support constructing a task-adapted, structured recipe space and using the associated workflow to search its combinations. 7 Preprint Table 1: Single-domain post-training with two base models and two agent LLMs. Each run targets one benchmark; Avg. denotes the mean score across the three separate runs. Benchmark Scores (â) ModelAgent LLMHarnessGSM8KGPQA MainHumanEvalAvg. (â) Qwen3-1.7B-Base âNone12.714.17.911.6 DeepSeek-V4-Flash PostTrainBench49.027.554.943.8 AutoTrainess79.128.153.753.6 SRO (Ours)68.234.264.655.6 GPT-5.4 PostTrainBench48.428.639.038.7 AutoTrainess61.414.316.530.7 SRO (Ours)69.532.453.751.9 Qwen3-1.7B-InstructâReference88.535.568.964.3 Qwen3-4B-Base âNone41.813.436.630.6 DeepSeek-V4-Flash PostTrainBench77.333.967.759.6 AutoTrainess71.224.375.657.0 SRO (Ours)87.635.577.466.8 GPT-5.4 PostTrainBench45.724.173.247.7 AutoTrainess42.819.039.633.8 SRO (Ours)87.435.077.466.6 Qwen3-4B-InstructâReference93.844.677.471.9 Table 2:Multi-domain post-training across six benchmarks in three domains. Each run jointly targets all six benchmarks. Avg. is the mean across domains. Benchmark Scores (â) Mathematical ReasoningCoding & Tool UseScience & Health ModelAgent LLMHarnessAIME 2025GSM8KBFCLHumanEvalGPQA MainHealthBenchAvg. (â) Qwen3-1.7B-Base âNone0.012.70.07.914.17.57.0 DeepSeek-V4-Flash PostTrainBench0.058.892.035.427.98.637.1 AutoTrainess0.073.892.058.530.815.645.1 SRO (Ours)6.776.791.058.516.122.745.3 GPT-5.4 PostTrainBench0.040.00.00.07.47.29.1 AutoTrainess0.013.20.042.723.912.415.4 SRO (Ours)3.357.193.045.732.615.241.1 Qwen3-1.7B-InstructâReference26.788.594.068.935.544.959.7 Qwen3-4B-Base âNone3.341.80.036.613.413.418.1 DeepSeek-V4-Flash PostTrainBench0.064.188.045.732.114.740.8 AutoTrainess0.055.688.043.926.815.838.4 SRO (Ours)3.387.694.079.930.826.953.8 GPT-5.4 PostTrainBench0.043.40.036.615.010.417.6 AutoTrainess0.049.790.048.228.813.438.4 SRO (Ours)0.085.788.059.829.022.647.5 Qwen3-4B-InstructâReference53.393.895.077.444.652.769.5 Expanding the recipe space with reusable choices improves subsequent recipes. Figure 3 shows the search on HumanEval with Qwen3-1.7B and DeepSeek-V4-Flash. The agent initially identifies MBPP and MBPP+ as data-source choices and specifies sources and generation prompts for Rewrite and Correction. These choices, together with training-configuration choices, form the initial recipe space. During search, selected data-processing methods generate training data, and validated datasets become additional data-source choices for subsequent recipes. The initial SFT recipe achieves 52.4, while subsequent recipes using Rewrite and Correction data reach 55.5 and 62.2, respectively. Correction uses model errors on a separate source dataset, not HumanEval eval- uation examples. GRPO initialized from the best SFT model then reaches 64.0; adjusting training configurations yields 64.6. This shows how search incorporates newly generated data as reusable choices and combines them with training choices to improve subsequent recipes. 4.4RQ3: MULTI-DOMAIN RECIPE OPTIMIZER EFFECTIVENESS We next examine candidate proposal, trial selection, and structured memory within the designed recipe space, using the remaining ablations in Table 3 and Figure 4. LLM candidate construction and EHVI trial selection both improve performance. Replacing the LLM proposer with uniform candidate sampling reduces the final score by 1.3 points on Qwen3- 1.7B and 3.6 points on Qwen3-4B. The resulting scores of 44.0 and 50.2 show that the constructed 8 Preprint Table 3: Comparison with ablations of the recipe space design and search mechanisms. All runs use DeepSeek-V4-Flash and the same compute budget on each base model. Benchmark Scores (â) Mathematical ReasoningCoding & Tool UseScience & Health ModelVariantAIME 2025GSM8KBFCLHumanEvalGPQA MainHealthBenchAvg. (â) Qwen3-1.7B Full SRO6.776.791.058.516.122.745.3 w/o structured recipe search0.057.385.034.123.27.634.5 w/o LLM proposer6.774.394.055.520.313.444.0 w/o EHVI selection0.056.094.051.229.715.441.1 w/o structured memory3.375.791.059.816.513.843.4 Qwen3-4B Full SRO3.387.694.079.930.826.953.8 w/o structured recipe search6.763.190.045.130.46.740.3 w/o LLM proposer3.386.695.072.622.321.650.2 w/o EHVI selection10.088.493.069.536.414.251.9 w/o structured memory0.081.393.065.933.915.348.2 50 52 54 56 58 60 62 64 66 68 1369121517192123 SFTGRPO Trial Best-so-far HumanEval pass@1 (%) 52.4 55.5 62.2 64.0 64.6 1 Seed SFT MBPP-extended + MBPP-full BigCodeBench + PyCodeInstr 3 Rewrite: evolve new programming tasks Vary complexity, data structures, and constraints of MBPP-sanitized tasks; generate solutions and tests. Mix 169 execution-verified examples with the four seed training sources (5,000 training examples total). 6 Correction: repair model failures Use execution feedback on independent MBPP-extended tasks. Keep the original problems and tests; repair the code. SFT only on 120 corrections that pass the original tests. 17 GRPO with execution rewards Start from the trial-6 SFT checkpoint. Reuse its 120 Correction tasks and tests; reward test-passing code; train for 2 epochs. 19 Selected: shorter GRPO training Same trial-6 SFT initialization and task pool; 1 epoch instead of 2, in an independent trial. Figure 3: Search trajectory on HumanEval for Qwen3-1.7B-Base with DeepSeek-V4-Flash. Each point denotes an evaluated recipe, and the solid step curve tracks the best HumanEval pass@1 ob- served so far. The vertical dashed line separates the SFT and GRPO phases. Numbered annotations mark the seed SFT recipe, the introduction of Rewrite-generated data, the addition of Correction data, the first GRPO improvement, and the final selected checkpoint. space and retained EHVI selection still support effective search, while LLM proposals provide fur- ther gains. Replacing EHVI with LLM-reported confidence reduces the scores by 4.2 and 1.9 points, respectively. On Qwen3-4B, confidence-based selection improves several individual benchmarks but lowers HealthBench-Easy from 26.9 to 14.2, yielding a lower aggregate score. These results support using surrogate-based selection rather than the proposerâs confidence to compare candidates with different cross-domain effects. Selective retrieval and structured summaries improve candidate construction. Giving the pro- poser the full history of recipes and raw benchmark scores, without selective retrieval, domain- structured summaries, or choice-coverage statistics, reduces the final score by 1.9 points on Qwen3- 1.7B and 5.6 points on Qwen3-4B. Both SRO and this variant retain the executed recipes and their benchmark scores, and the history used for surrogate fitting is unchanged. The comparison there- fore supports organizing and selectively retrieving historical results for the proposer, rather than supplying the complete raw history. 5CONCLUSION We introduce optimization over a task-adapted recipe space, a novel paradigm for automated post-training that adapt the recipe space to the target tasks while representing its choices explic- itly for systematic reuse, recombination, and joint optimization. Thereon, we propose Structured Recipe Optimization (SRO), which constructs a task-adapted recipe space and uses accumulated 9 Preprint 10 20 30 40 50 05101520 Qwen3-1.7B-Base Trial (search iteration) PostTrainBench (37.1) AutoTrainess (45.1) Base model (7.0) 15 20 25 30 35 40 45 50 55 024681012 Qwen3-4B-Base Trial (search iteration) PostTrainBench (40.8) AutoTrainess (38.4) Base model (18.1) 6-benchmark avg (%) SROw/o structured recipe search w/o LLM proposerw/o EHVI selectionw/o structured memory Figure 4: Optimization trajectories of SRO and its variants under the same compute budget. Each curve tracks the best multi-domain average obtained over completed trials. multi-domain trial evidence to guide sample-efficient recipe optimization. Experiments show that SRO consistently outperforms existing automated post-training methods, offering an approach that combines task adaptability with systematic optimization under limited experimental budgets. REFERENCES Wanyi Chen, Xiao Yang, Xu Yang, Tianming Sha, Qizheng Li, Zhuo Wang, Bowen Xian, Fang Kong, Weiqing Liu, and Jiang Bian. Agent 2 rl-bench: Can llm agents engineer agentic rl post- training?, 2026. URL https://arxiv.org/abs/2604.10547. Channe Chwa, Xinle Wu, and Yao Lu. Automatic configuration of LLM post-training pipelines. arXiv preprint arXiv:2603.18773, 2026. URL https://arxiv.org/abs/2603.18773. Ganqu Cui, Lifan Yuan, Ning Ding, Guanming Yao, Bingxiang He, Qiang Yue, Yuan Ni, Guotong Xie, Ruobing Xie, Yankai Lin, Zhiyuan Liu, and Maosong Sun. ULTRAFEEDBACK: Boosting language models with scaled AI feedback. In Forty-first International Conference on Machine Learning, 2024. URL https://openreview.net/forum?id=BOorDpKHiJ. Michael TM Emmerich, Kyriakos C Giannakoglou, and Boris Naujoks. Single-and multiobjective evolutionary optimization assisted by gaussian random field metamodels. IEEE Transactions on Evolutionary Computation, 10(4):421â439, 2006. Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Alex Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024. URL https://arxiv.org/abs/2407. 21783. Eleonora Gualdoni, Sonia Laguna, Louis Bethune, Joao Monteiro, Pierre Ablin, and Marco Cuturi. DynaMiCS: Fine-tuning LLMs with performance constraints using dynamic mixtures. arXiv preprint arXiv:2605.10770, 2026. URL https://arxiv.org/abs/2605.10770. Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025. Frank Hutter, Holger H Hoos, and Kevin Leyton-Brown. Sequential model-based optimization for general algorithm configuration. In International conference on learning and intelligent optimiza- tion, p. 507â523. Springer, 2011. Donald R Jones, Matthias Schonlau, and William J Welch. Efficient global optimization of expensive black-box functions. Journal of Global optimization, 13(4):455â492, 1998. 10 Preprint Komal Kumar, Tajamul Ashraf, Omkar Thawakar, Rao Muhammad Anwer, Hisham Cholakkal, Mubarak Shah, Ming-Hsuan Yang, Phillip HS Torr, Fahad Shahbaz Khan, and Salman Khan. Llm post-training: A deep dive into reasoning large language models. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2026. URL https://ieeexplore.ieee.org/ abstract/document/11640952. Derek Li, Jiaming Zhou, Leo Maxime Brunswic, Abbas Ghaddar, Qianyi Sun, Liheng Ma, Yu Luo, Dong Li, Mark Coates, Jianye Hao, et al. Omni-thinker: Scaling multi-task rl in llms with hybrid reward and task scheduling. arXiv preprint arXiv:2507.14783, 2025. URL https://arxiv. org/abs/2507.14783. Shayne Longpre, Le Hou, Tu Vu, Albert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, and Adam Roberts. The flan collection: Designing data and methods for effective instruction tuning. In Andreas Krause, Emma Brunskill, Kyunghyun Cho, Barbara Engelhardt, Sivan Sabato, and Jonathan Scarlett (eds.), Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, p. 22631â22648. PMLR, 23â29 Jul 2023. URL https://proceedings.mlr.press/ v202/longpre23a.html. Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, et al. Training language models to fol- low instructions with human feedback. Advances in neural information processing systems, 35: 27730â27744, 2022. Shyam Sundhar Ramesh, Xiaotong Ji, Matthieu Zimmer, Sangwoong Yoon, Zhiyong Wang, Haitham Bou Ammar, Aurelien Lucchi, and Ilija Bogunovic. Multi-task GRPO: Reliable LLM reasoning across tasks. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=zA3KhRZ9A5. Ben Rank, Hardik Bhatnagar, Ameya Prabhu, Shira Eisenberg, Karina Nguyen, Matthias Bethge, and Maksym Andriushchenko. Posttrainbench: Can llm agents automate llm post-training? arXiv preprint arXiv:2603.08640, 2026. Victor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach, Lintang Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, Manan Dey, M Saiful Bari, Canwen Xu, Urmish Thakker, Shanya Sirohi Sharma, Eliza Szczechla, Taewoon Kim, Gunjan Chhablani, Nihal Nayak, Debajyoti Datta, Jonathan Chang, Mike Tian-Jian Jiang, Han Wang, Matteo Manica, Sheng Shen, Zheng Xin Yong, Harshit Pandey, Rachel Bawden, Thomas Wang, Trishala Neeraj, Jos Rozen, Abheesht Sharma, Andrea Santilli, Thibault Fevry, Jason Alan Fries, Ryan Teehan, Stella Biderman, Leo Gao, Thomas Bers, Thomas Wolf, and Alexander M. Rush. Multitask prompted training enables zero-shot task generalization. In International Conference on Learning Representations, 2022. URL https://arxiv.org/abs/2110.08207. Haebin Shin, Lei Ji, Xiao Liu, Zhiwei Yu, Hyunwoo Yoo, Qi Chen, and Yeyun Gong. DynamixSFT: Dynamic mixture optimization of instruction tuning collections. In Findings of the Association for Computational Linguistics: ACL 2026, p. 39590â39603, July 2026. doi: 10.18653/v1/ 2026.findings-acl.1972. URL https://aclanthology.org/2026.findings-acl. 1972/. Guiyao Tie, Zeli Zhao, Dingjie Song, Fuyang Wei, Rong Zhou, Yurou Dai, Wen Yin, Zhejian Yang, Jiangyue Yan, Yao Su, et al. A survey on post-training of large language models. arXiv preprint arXiv:2503.06072, 2025. URL https://arxiv.org/abs/2503.06072. Yizhong Wang, Yeganeh Kordi, Swaroop Mishra, Alisa Liu, Noah A. Smith, Daniel Khashabi, and Hannaneh Hajishirzi. Self-instruct: Aligning language models with self-generated instructions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Vol- ume 1: Long Papers), p. 13484â13508, July 2023. doi: 10.18653/v1/2023.acl-long.754. URL https://aclanthology.org/2023.acl-long.754/. Jason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. Finetuned language models are zero-shot learners. In Inter- national Conference on Learning Representations, 2022. URL https://arxiv.org/abs/ 2109.01652. 11 Preprint Mengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora, and Danqi Chen. Less: Se- lecting influential data for targeted instruction tuning. arXiv preprint arXiv:2402.04333, 2024. Yongjin Yang, Jiarui Liu, Yinghui He, Lechen Zhang, Bernhard Sch Ì olkopf, and Zhijing Jin. Trans- ferability for general reasoning: An automated curriculum for multi-domain RLVR.arXiv preprint arXiv:2606.25178, 2026. URL https://arxiv.org/abs/2606.25178. Zhaojian Yu, Penghao Yin, Shuzheng Gao, Shilin He, Kai Cai, and Xiao-Ping Zhang. Autotrai- ness: Teaching language models to improve language models autonomously. arXiv preprint arXiv:2606.31551, 2026. He Zhang. DomainPilot: Domain-level loss-guided two-stage data mixture optimization for efficient language model fine-tuning. arXiv preprint arXiv:2607.22769, 2026. URL https://arxiv. org/abs/2607.22769. Kaiyan Zhang, Yuxin Zuo, Bingxiang He, Youbang Sun, Runze Liu, Che Jiang, Yuchen Fan, Kai Tian, Guoli Jia, Pengfei Li, et al. A survey of reinforcement learning for large reasoning models. arXiv preprint arXiv:2509.08827, 2025. URL https://arxiv.org/abs/2509.08827. 12 Preprint ALIMITATIONS Dynamic recipe-space evolution. SRO constructs a task-adapted recipe space before optimization and can expand it during search when newly generated datasets become reusable choices within existing components. However, the set of searchable components and their organization remain fixed within each run: optimization does not introduce new component types or modify the com- ponent hierarchy. Building on SROâs structured recipe representation, future work could extend this flexibility from choice-level expansion to schema-level evolution, allowing new components or hierarchical structures to be introduced as experimental evidence accumulates. Continual post-training across tasks and models. SRO uses accumulated trial evidence to guide recipe optimization for a fixed set of target tasks and a given base model. While this enables reuse across trials within a run, we do not study a continual setting in which new post-training tasks or base models are encountered sequentially and experience from earlier runs is carried forward. Future work could extend SRO to reuse recipe choices, trial evidence, or optimization priors across successive post-training problems, reducing repeated exploration and enabling increasingly efficient automated post-training over time. BEXPERIMENTAL SETUP DETAILS B.1BENCHMARKS, EVALUATION PROTOCOL, AND SCORING We consider single-domain and multi-domain post-training. Single-domain runs target GSM8K, GPQA Main, or HumanEval separately. Multi-domain runs jointly target six benchmarks spanning mathematical reasoning, coding and tool use, and science and health. Table 4 summarizes the evalu- ation sets, output formats, and scoring rules. Within each setting, all compared methods use the same evaluation scripts, prompts, and chat templates provided by PostTrainBench (Rank et al., 2026). The agent may not modify these evaluation components. HealthBench-Easy uses GPT-5.4-mini as the judge, with the same judge configuration across all compared methods. Table 4: Evaluation benchmarks, output formats, and scoring rules for the single-domain and multi- domain experiments. BenchmarkDomainTest sizeOutput contractScoring AIME 2025math30 ANSWER: <integer>exact match GSM8Kmath1,319 ANSWER: <number>exact match BFCL v3coding & tool use500structured tool_callsschema execution HumanEvalcoding & tool use164complete Python functionunit tests GPQA Mainscience & health448 ANSWER: <A--D>exact match HealthBench-Easyscience & health245free-form responsesLLM-judge rubrics During SRO recipe optimization, each trial is evaluated on 50% of the examples from each target benchmark, except HealthBench-Easy, for which 50 samples are used. These scores guide recipe optimization and checkpoint selection. For PostTrainBench and AutoTrainess, the agents choose their search-time evaluation sample sizes through the provided evaluation interface. At the end of each run, the checkpoint with the highest observed score during SRO recipe optimiza- tion is selected and evaluated on the complete target benchmark sets outside the time budget. For PostTrainBench and AutoTrainess, the agent select from the models derived from iterative optimiza- tion which it decides as final model based on evaluation on the target benchmark. For single-domain runs, we report the target benchmark score; for multi-domain runs, we report the mean across do- mains, each computed by averaging its benchmark scores. B.2COMPUTE BUDGET AND INFRASTRUCTURE Each multi-domain run (SRO and both baselines) receives a 20-hour wall-clock budget that covers discovery, data generation, training, and search-time evaluation. Each single-domain run (Table 1) receives a 10-hour budget. Final independent evaluation is conducted outside this budget. All meth- ods receive the same budget, task description, evaluation interface, and hardware. Each run has 13 Preprint exclusive access to one GPU with 16,896 CUDA cores, 132 streaming multiprocessors, and 141 GB of memory. Every methodâSRO, the PostTrainBench baseline, and the AutoTrainess baselineâdrives the same CLI agent scaffold (OpenCode) with one of two agent LLMs, DeepSeek-V4-Flash or GPT-5.4, served through a fixed gateway. In SRO the same agent LLM serves as (i) the discovery agent that constructs the recipe space, (i) the in-loop recipe proposer, and (i) the frameworkâs auxiliary data-generation calls (Rewrite / Correction workers). A SRO run consists of (i) a recipe space design phase in which the CLI agent explores sources and methods and submits the executable handoff, and (i) a recipe optimization phase in which it executes at most iterative rounds of proposal, acquisition, training, and evaluation, until reaching wall-clock budget. B.3TRAINING CONFIGURATION SRO runs start from the provided base model, which is never replaced or merged with external model weights. Warmup ratio is fixed at 0.05. Qwen3-1.7B-Base uses per-device batch size 8 with gradient accu- mulation 4; Qwen3-4B-Base uses batch size 2 with accumulation 16 (effective batch size 32 in both cases). The SFT loss is applied to the assistant target only. In single-domain runs, after three consecutive completed SFT trials with neither realized Pareto- hypervolume growth nor any improvement in domain-wise historical-best scores, the search enters a GRPO phase initialized from the best SFT checkpoint and continues LoRA training. Training prompts come from discovered sources with reference answers or executable tests. Rewards use the verification rules of the target benchmark to check answer correctness or unit-test success; evaluation examples never enter the training prompt pool. None of the reported multi-domain runs entered this phase within the time budget; all results in Table 2 therefore come from SFT trials. For GRPO, the proposer searches five components: learning rateâ 5Ă10 â7 , 10 â6 , 2Ă10 â6 , KL coefficient ÎČ â 0, 0.02, 0.04, group size G â 8, 16, training budget (short or long), and prompt selector (all or unstable). The short and long budgets correspond to one and two passes over the prompt pool, respectively. The unstable selector retains only prompts for which the current modelâs sampled answers disagree; all uses the complete pool. The remaining settings are fixed. Rollout temperature is 0.8 and top-p is 0.95. Maximum completion length is 512 tokens, and maximum prompt length is half the modelâs sequence-length limit. Per-device batch size is half the SFT value, with gradient accumulation adjusted so that the effective batch size is divisible by G. Training uses bf16 precision. B.4BAYESIAN OPTIMIZER IMPLEMENTATION For Bayesian optimization, benchmark scores are normalized using the base and instruction-tuned reference scores in Table 5, then averaged within each domain to define the optimization objectives. Table 5: Base and instruction-tuned reference scores used to normalize the BO objectives. Scores are reported on a percentage scale. ModelAIMEGSM8KBFCLHumanEvalGPQAHealthBenchMean Qwen3-1.7B-Base0.012.70.07.914.17.57.0 Qwen3-1.7B-Instruct26.788.594.068.935.544.959.7 Qwen3-4B-Base3.341.80.036.613.413.418.1 Qwen3-4B-Instruct53.393.895.077.444.652.769.5 Whenever Bayesian selection is used, its hyperparameters are fixed as listed in Table 6. Each recipe r is encoded as a feature vector Ï(r) consisting of the per-domain budget shares, a one-hot encoding of the assembly mode, one binary indicator per registered data source (including sources generated during the search), one binary indicator per data-generation method, and the training choices for the active phase. The SFT and GRPO choices are specified in Appendix B.3; the feature dimension depends on the recipe space and training phase. 14 Preprint For each parent domain, an independent random forest regresses Ï(r) onto the corresponding nor- malized domain objective. Each forest consists of 24 regression trees of maximum depth 4, each trained on a bootstrap replica of the trial history over a random 70% subset of the features. We use random forests to model the predominantly categorical recipe features (Hutter et al., 2011). The treesâ mean yields the prediction, and their disagreement provides an empirical uncertainty estimate. For each candidate recipe r, we generate S = 64 outcome vectors by independently sampling one treeâs prediction from each domainâs forest. We estimate expected hypervolume improvement (EHVI) (Emmerich et al., 2006) as α t (r) = 1 S S X m=1 h HV P tâ1 âȘy (m) (r) â HV(P tâ1 ) i ,(2) where P tâ1 is the Pareto front of observed normalized domain scores andy (m) (r) is the m-th sampled outcome vector. Here, HV measures dominated hypervolume relative to the normalized base-model reference point. Each round executes the candidate with the highest acquisition score. In single-domain runs, the objective is scalar and the acquisition estimates improvement over the best observed score (Jones et al., 1998). Until five feasible evaluated trials are available, we use a warm-up heuristic instead of fitting the forests. It is based on the proposing LLMâs self-declared priors, c effect + 0.4 conf + 0.2 noveltyâ 0.3 risk; this rule is active only during the earliest rounds. Cross-domain draws treat the per-domain predictions as independent, so cross-domain error correlations are not modeled. Selection is sequen- tial, with one candidate executed per round. Table 6: Bayesian optimizer hyperparameters, held fixed wherever the corresponding components are retained. HyperparameterValue Trees per domain24 Maximum tree depth4 Feature subsampling fraction0.7 Monte-Carlo draws S64 Warm-start threshold (feasible trials)5 Warm-start weights (conf / novelty / risk)0.4 / 0.2 / 0.3 Reference pointbase model Candidates executed per round1 CINSTRUCTIONS AND PROMPTS This section presents the task instructions, skills, and prompt templates for the reported experiments. The discovery-stage instruction is condensed for presentation, with machine-specific operational rules omitted. Placeholders indicate run-specific content inserted at call time. C.1DISCOVERY-STAGE TASK INSTRUCTION The following condensed task instruction specifies the objective, available support, deliverables, and rules for recipe-space design. Construct a task-adapted post-training recipe space for the provided base model and target benchmarks. ## Objective Through data research and design, provide relevant, complementary, and composable choices for subsequent search, including training data sources, data processing methods, source combinations, and cross-domain composition. Submit a recipe space validated by the workflow and a valid initial recipe selected from that space. The initial recipe demonstrates executability; it does not specify the best eventual recipe. This stage ends when the handoff is accepted. 15 Preprint ## Autonomy & Exploration - You may access the internet to research and compare multiple candidate datasets. Do not stop at the first loadable dataset. - First study the benchmark documentation, implementation, and non-evaluation examples to understand the target capability, input and output requirements, scoring rules, and difficulty. - Compare actual examples from candidate sources, considering task relevance, supervision quality, difficulty, and complementary coverage. Retain several meaningfully different training-source choices. - Perform the necessary data filtering and field mapping, and validate the adapted data through the workflow. - You may design Rewrite and/or Correction methods as needed. Specify a suitable source and generation prompts for each method. Use a separate source that excludes evaluation examples. - Within the given data budget, design source combinations and cross-domain composition choices that support multiple executable recipes. - You may iteratively revise sources, methods, and the recipe space based on workflow validation feedback. ## Information on the Setup We provide benchmark descriptions, an evaluation interface, a training-data budget, and a workflow for data adaptation, method validation, and recipe-space handoff. Training-configuration choices are supplied by the workflow; your design work focuses on data sources, data processing, and data composition. Use the skills in this order: benchmark, data, augmentation, search_space, and handoff. They guide task analysis, source selection, data-processing method design, recipe-space construction, and handoff validation, respectively. Create task.json, sources.json, search_space.json, runtime.json, and initial_recipe.json in the provided formats. Initialize and validate the run, then resolve issues identified by the workflow until the handoff status is "accepted". ## Rules 1. There will be no user interaction. Operate autonomously. 2. Complete the task within the assigned time budget. 3. Do not use target benchmark evaluation questions or answers for training or training-data construction. 4. Do not modify the evaluation scripts or templates. C.2DISCOVERY SKILLS The initialization context K contains five skills that guide benchmark analysis, data-source selec- tion, data-processing method design, recipe-space construction, and handoff validation. The ex- cerpts below retain their substantive instructions while omitting operational commands, file-format specifications, and benchmark-specific output-format details. === SKILL: benchmark === Begin by studying every assigned benchmark. Use its implementation, scorer, documentation, task format, and representative non-evaluation examples to understand what successful training data should teach. Create a concise working description of: - the capability and knowledge being measured; - the scorer-facing input and expected output; - how correctness is determined; - the approximate difficulty and content distribution; - the kinds of examples likely to transfer to the benchmark. Use this description when comparing data sources and designing data processing methods. Similarity includes capability, task form, and difficulty rather than storage schema alone. Target evaluation questions, answers, and transformations of them are reserved for evaluation. Keep them out of training, data-generation inputs, and generation prompts. === SKILL: data === Research several candidate datasets for every benchmark. Begin with established sources commonly used for the same or closely related capability, 16 Preprint then consider other sources when they add useful coverage. Compare actual examples from the exact configuration and split; dataset names and schemas alone are not evidence of suitability. Judge candidates by: - capability and content relevance; - similarity of task form and difficulty; - supervision quality and provenance; - reproducibility and license; - useful differences from the other source choices. Select several genuinely useful base-training alternatives for each domain. Quality and meaningful diversity matter more than filling the search space with near-duplicates. Prepare sources for three roles: - Base training may use a broader range of relevant examples and should preserve the source's natural instruction format. - Rewrite input should contain reliable existing supervision that the benchmark adapter can verify. - Correction sources should be separate from training data and close enough to the benchmark to reveal relevant model failures. Use deterministic preprocessing to select relevant examples and faithfully convert existing fields into the required training format. A generally useful dataset may be filtered when it contains examples outside the benchmark capability - for example, filtering legal questions from a scientific knowledge source. If the relevant subset cannot be selected reliably, choose another dataset. Inspect the normalized output after conversion. Verifier-backed roles need genuine source supervision such as an explicit answer, label, or executable tests; never manufacture missing supervision during adaptation. Record dataset identity, revision, split, license, field mapping, and intended role. Evaluation data and its derivatives are excluded from every role. === SKILL: augmentation === Study the benchmark capability, task format, scorer, difficulty, and representative non-evaluation examples. Infer which variations could create useful training coverage and which properties must remain valid. Consider both depth and breadth when designing data generation, rather than applying fixed transformations. Two methods are available: - Rewrite evolves suitable source tasks into new tasks within the benchmark's capability neighborhood. - Correction turns model failures on an independent, non-evaluation data source and the corresponding verifier feedback into corrected training examples. Design Rewrite and/or Correction methods as needed. For each method, select a suitable source and author generation prompts during recipe-space design. The workflow invokes the method if it is selected during subsequent search; small-scale validation during design checks whether it produces suitable examples. The methods should offer substantive coverage rather than surface paraphrases. Every Rewrite uses two stages. The first prompt creates a new task input by transforming the source task while preserving its relevance to the target capability. The second prompt independently creates the required supervision for the new input without seeing or copying the original answer. Correction uses the latest trained model's errors on its independent source: its prompt produces corrected supervision from the original task, wrong attempt, and verifier feedback. Validate each method through the workflow. Use example-level feedback to improve the prompts, then validate the revised method again. Include only accepted methods in the search space. Design and validate each benchmark method independently. Use a validation failure to repair the corresponding method and requirement. Serialization, parser, token-limit, or stochastic generation failures are not evidence that the task should be made easier. Do not propagate a workaround from one benchmark to another. Passing the adapter is necessary but not sufficient. Before registering a method, inspect accepted examples for semantic correctness, benchmark-aligned difficulty, reasoning depth, and diversity across the batch. Rewrite should remain conditioned on the source task rather than collapse into repeated free-form templates. === SKILL: search_space === Construct a finite recipe space that offers meaningful data choices for every benchmark. 17 Preprint For each domain, include: - several accurate and complementary base-source choices; - optionally, an accepted Rewrite method backed by a suitable source; - optionally, an accepted Correction method backed by an independent, non-evaluation source; - positive mixture-ratio choices. Include cross-domain mixture modes that can represent different reasonable allocations while keeping every objective covered. The resulting combinations should provide multiple structurally different recipes rather than cosmetic variations of one recipe. The initial recipe is a valid executable example drawn from the choices; it demonstrates that the space is runnable but does not define the eventual best configuration. === SKILL: handoff === Submit the data sources, data processing methods, recipe space, and a valid initial recipe using the assigned base model and workflow-provided runtime settings. Validate each included Rewrite or Correction method as described in the augmentation skill. The workflow checks source loading and format conversion, data-processing validation results, and whether the initial recipe uses valid choices and can be executed. Use the feedback to revise the corresponding sources, methods, or choices and validate again. The discovery task is complete when the workflow accepts the handoff. C.3RECIPE-PROPOSER PROMPT At every round of the optimization loop, the recipe proposer receives the current recipe space and selectively retrieved trial evidence, as described in Section 3.2.2. The evidence includes strong and lower-performing trials, domain-wise results, and choice-coverage statistics. The proposer con- structs multiple candidate recipes; trial selection is handled separately. The template below omits field-level implementation details. In the structured-memory ablation, the retrieved evidence is re- placed by the complete flat history of recipes and raw benchmark scores. You are proposing candidate SFT recipes for multi-domain post-training. Each recipe must be self-contained and use only current searchable choices. ## Searchable decision space <Decision components and rules for using data generation> ## Current searchable choices <Per-domain data sources, including previously generated datasets; available data processing methods; cross-domain mixture ratios and composition modes; SFT hyperparameters> ## Long-term search summary <Reference-model scores, per-domain best results, statistics over explored choices, choice coverage, normalized Pareto front, and recently proposed but unevaluated candidates> The best result in an individual domain does not necessarily identify the best recipe across domains. Use these results and the Pareto front to propose promising cross-domain combinations. Candidates listed as proposed-but-not-evaluated have no measured outcome and must not be treated as failures. Use the choice-coverage statistics to distinguish choices that have not been evaluated from those associated with weak observed results. ## Candidate-set requirements Treat all returned recipes as one candidate set and make them meaningfully diverse from one another. The set must include exploitation of observed evidence, recombination of promising choices, and exploration of under-explored choices. Do not return minor variants that repeatedly reuse the same per-domain data processing method. ## Historical trial feedback <Selected historical trials, including Pareto-optimal or otherwise strong trials and lower-performing trials; each with its recipe, benchmark scores, domain-wise results, and aggregate score> ## Hard rules - Select one available mixture ratio and one cross-domain composition mode. Specify data choices for every domain assigned a positive ratio. - Select data sources and data processing methods only from the current choices for the corresponding domain. 18 Preprint - When selecting data generation, explicitly choose whether to use the generated data alone or combine them with existing sources. The workflow uses exactly the selected sources and generated data; it does not automatically add base sources. - Infer source-mode preferences separately for each domain from historical empirical evidence; do not assume base-only, base+generated, or generated-only is universally superior. - When evidence is incomplete or confounded, include controlled source-mode ablations that change one domain at a time. ## Required JSON schema <Schema specifying each recipe's cross-domain composition, per-domain data sources and optional data generation, SFT hyperparameters, and expected effect, confidence, and risk> ## Example response format <Two example recipes: one using interleaved base sources and one using generated data> Return up to <N> candidate recipes in the required JSON format. Do not include prose or markdown fences. C.4BASELINE TASK PROMPT We use the original implementations of PostTrainBench and AutoTrainess (Rank et al., 2026; Yu et al., 2026), adapting only the task objective and evaluation interface for joint post-training across six benchmarks. Each baseline retains its original optimization procedure. The condensed objective below follows the wording of the PostTrainBench task prompt;model denotes the assigned base model. ## Objective You should perform automated research and development to post-train model to achieve the highest average score across the following six benchmarks: 1. Mathematical reasoning: AIME 2025 and GSM8K. 2. Coding and tool use: BFCL v3 and HumanEval. 3. Science and health: GPQA Main and HealthBench-Easy. You can evaluate the model via the evaluate.py script, which reports individual benchmark scores and their mean within each domain. The overall score is the mean of the three domain scores, equivalent to the mean of all six benchmark scores. Store the trained model with the highest overall score in final_model. DADDITIONAL EXPERIMENTAL RESULTS We present the recipe spaces and generated data, the optimization trajectories, and the remaining performance limitations of SRO. D.1OPTIMIZATION OVER A PREDEFINED RECIPE SPACE We instantiate a predefined-space baseline using SROâs execution framework to optimize training configurations with a fixed training dataset. The training pool consists of the first 5,000 examples from the openai/gsm8k main/train split. Source discovery, data mixture optimization, and data generation are disabled. The SFT search space contains eight LoRA configurations: learning rateâ 10 â4 , 2Ă 10 â4 , training epochsâ 2, 3, and LoRA rankâ 16, 64. Both model sizes use an effective batch size of 32, BF16 precision, cosine learning-rate decay, a warmup ratio of 0.05, and gradient checkpointing. Candidates are sampled without replacement from the remaining configurations using a fixed ran- dom seed, without an LLM proposer. After cold-start initialization, a random-forest surrogate and expected-improvement acquisition select the next trial using GSM8K accuracy as the objective. Af- ter five consecutive SFT trials without improvement in the best observed score, the procedure enters a GRPO phase initialized from the best SFT checkpoint. Both runs evaluate six of the eight SFT configurations before this transition. The final model is evaluated on all 1,319 GSM8K test exam- ples. 19 Preprint Table 7: GSM8K accuracy (%) under optimization over a predefined recipe space with a fixed training dataset. Single-domain SRO results with DeepSeek-V4-Flash from Table 1 are reproduced for reference. Base modelBefore trainingBest SFTGRPOFinalSRO (Ours) Qwen3-1.7B-Base10.355.055.755.768.2 Qwen3-4B-Base43.074.874.574.887.6 Table 7 summarizes the results. Both models obtain their best SFT result with a learning rate of 2Ă 10 â4 , three training epochs, and LoRA rank 64. GRPO further improves Qwen3-1.7B to 55.7, whereas Qwen3-4B retains its best SFT model at 74.8. This comparison measures performance when task-specific training data are supplied in advance and search is restricted to training configu- ration. D.2AGENT-CONSTRUCTED RECIPE SPACES Each base-model and agent-LLM configuration independently constructs its data-source choices, data processing methods, and recipe space. The constructed spaces contain complementary data sources and processing choices. Table 8 presents the data-source choices from the DeepSeek-V4-Flash discovery run for Qwen3-1.7B. For each benchmark, the agent selected base training sources, a Rewrite input source, and a separate Correction source; it also designed one Rewrite and one Correction method (Table 9). Table 8: Discovery-selected sources for DeepSeek-V4-Flash with Qwen3-1.7B. Correction uses separate source data that exclude evaluation examples. BenchmarkBase training sourcesRewrite sourceCorrection source AIME 2025AIME 1983â2024; Hendrycks MATH AIME 1983â2024 aime_diag GSM8KGSM8K train; MetaMathQA (GSM subset) GSM8K train gsm8k_diag HumanEvalMBPP; MBPP+ (EvalPlus)MBPP mbpp_diag BFCLHermesfunction-calling; Glaive v2 Hermes bfcl_hermes_diag GPQA Main MMLU (science subset); ARC MMLU (science subset) arc_diag HealthBench MedAlpacaflashcards; MedAlpaca WikiDoc MedAlpaca flashcardsmedical-o1-reasoning The selected sources vary across models and agent LLMs. For Qwen3-4B, DeepSeek-V4-Flash independently constructed a different recipe space. Its sources include AIME gneubig, OpenR1, and MATH for AIME; GSM8K, MetaMath, and OpenMathInstruct for GSM8K; MBPP full and sani- tized variants for HumanEval; Hermes and Glaive for BFCL; MMLU STEM and professional sub- sets and MMLU-Pro for GPQA; and MedQA, MedMCQA, and MMLU medical subsets for Health- Bench. Both DeepSeek configurations include Rewrite and Correction choices for each benchmark. For Qwen3-1.7B, GPT-5.4 performed independent source research under the same skills and con- straints and selected partially different sources: for mathematics, NuminaMath (general subset) and a competition-training pool replace the AIME/MATH archive; for GSM8K, Orca-Math word prob- lems are added; for GPQA, SciQ and PubMedQA replace MMLU/ARC; for HealthBench, Chat- Doctor replaces MedAlpaca, with MedMCQA and medical-o1 serving as Correction sources. This run includes one Rewrite and one Correction method per benchmark. Examples illustrate the resulting training data. We present lightly formatted excerpts from three accepted generated rows in the DeepSeek-V4-FlashâQwen3-1.7B SRO run: two Rewrite examples (GSM8K and BFCL) and one Correction example (GPQA). Formatting is condensed for readability, while the task content, generated supervision, and verification outcomes are preserved. The BFCL tool call is summarized, and the GPQA rationale is excerpted. 20 Preprint Table 9: Agent-designed data-processing methods in the DeepSeek-V4-Flash run for Qwen3-1.7B. Rewrite uses separate task-generation and answer-generation prompts; Correction generates super- vision from model errors on independent source data. BenchmarkMethodDescription AIME RewriteEvolve AIME-adjacent competition problems into new integer-answer (0â999) problems with independent full reasoning. Correction Turn wrong AIME-style answers on independent source data into corrected full- reasoning integer-answer solutions. GSM8K RewriteEvolve GSM8K-style word problems into new multi-step arithmetic problems with independent solutions. Correction Turn wrong GSM8K-style answers on independent source data into corrected full- reasoning numeric solutions. HumanEval RewriteEvolve MBPP-style tasks into new function-writing specs with independent solu- tions and executable tests. Correction Repair failing MBPP-style solutions on independent source data into correct, test- passing implementations. BFCL RewriteRewrite function-calling conversations into new grounded requests with a single schema-valid tool call. Correction Correct wrong BFCL-style tool calls into schema-valid single calls that fulfill the request. GPQA RewriteEvolve MMLU-style science questions into new four-choice questions with inde- pendent reasoned answers. Correction Repair wrong science multiple-choice answers on independent source data into rea- soned, correctly-labeled solutions. HealthBench RewriteEvolve medical Q&A conversations into new clinical scenarios with complete, safe, uncertainty-aware answers. Correction Repair wrong or unsafe health answers on independent source data into complete, safe, uncertainty-aware, actionable responses. The two Rewrite rows are recorded as teacher_labeled_and_verified: their new inputs and supervision were generated separately and accepted by the corresponding benchmark adapters. The GPQA Correction row is recorded as verifier_corrected: it was generated from an actual checkpoint failure on an independent diagnostic source and checked against that sourceâs reference answer. All three examples originate from training or independent diagnostic sources, not benchmark evaluation data. Rewrite example: arithmetic reasoning Training prompt: Solve the following math problem step by step. The last line of your response should be of the form âANSWER: $ANSWERâ (without quotes) where $ANSWER is the answer to the problem. âMaya is organizing a school fundraiser. She buys 5 boxes of cookies, each containing 12 packs. Each pack has 8 cookies. She sells 3/4 of the total cookies at a bake sale. Later, she donates half of the remaining cookies to a local shelter. How many cookies does Maya have left after donating?â Assistant (independently generated supervision): First, calculate the total number of packs: 5 boxesĂ 12 packs per box = 60 packs. Then calculate total cookies: 60 packsĂ 8 cookies per pack = 480 cookies. She sells 3/4 of the total cookies: 3/4Ă 480 = 360 cookies sold. Remaining after sale: 480â 360 = 120 cookies. She donates half of the remaining: 1/2Ă 120 = 60 cookies donated. Cookies left after donating: 120â 60 = 60. ANSWER: 60 Sourceandverification: math_gsm8k_rewrite_v1usesthetrainingsource math_gsm8k_train. Of 500 generated rows, 481 passed validation (96.2%). 21 Preprint Rewrite example: tool use User: âCan you please program my office thermostat (unit ID: office-thermo-7) so that on Monday through Friday it warms up to 70 degrees at 6:30 AM and cools down to 60 degrees at 10:00 PM, and on Saturday and Sunday it stays at 72 degrees starting at 9:00 AM and drops to 64 degrees at 11:30 PM?â Assistant(tool-callsummary):asinglecallto set_thermostat_schedulewith thermostat_id set to "office-thermo-7" and a schedule array of fourteen (day, temperature, time) entries, e.g. (Monday, 70, 06:30), (Monday, 60, 22:00), . . . , (Sunday, 72, 09:00), (Sunday, 64, 23:30). Tools supplied to the model: one function, set_thermostat_schedule, with a typed JSON schema over thermostat_id and the schedule array. The rewrite stage created a new request grounded in this tool set; the answer stage produced the single schema-valid call that fulfills it. Source and verification: code_bfcl_rewrite_v1 uses the external training source code_bfcl_hermes. Of 350 generated rows, 331 passed the schema verifier (94.57%). Correction example: science reasoning Training prompt: Answer the following multiple choice question. Reason step by step. The last line of your response should be of the form âANSWER: $LETTERâ where $LETTER is one of A, B, C, or D. âAn astronaut drops a 1.0 kg object and a 5.0 kg object on the Moon. Both objects fall a total distance of 2.0 m vertically. Which of the following best describes the objects after they have fallen a distance of 1.0 m?â A. They have each lost kinetic energy.B. They have each gained the same amount of potential energy. C. They have each lost the same amount of potential energy.D. They have each gained one-half of their maximum kinetic energy. Original checkpoint answer: ANSWER: C. Reference answer: D. Assistant (corrected supervision): The gravitational force on the Moon is the same for both objects in terms of acceleration, but the potential energy change is mgh, so the two objects do not lose the same amount of potential energy. The maximum kinetic energy is reached just before hitting the ground after falling 2.0 m; after falling 1.0 m they have gained half their maximum kinetic energy, regardless of mass. [...] ANSWER: D Source and verification: science_gpqa_correction_v1 uses the independent ARC source science_gpqa_arc_diag, not the GPQA evaluation set. The SFT checkpoint from trial 9 answered 97 of 500 diagnostic examples incorrectly. Correction produced verified responses for 96 of these 97 examples (98.97%); the displayed example was corrected from C to D. D.3RECIPE OPTIMIZATION TRAJECTORIES The ablation trajectories complement the final-score comparisons. Figure 5 plots the best-so- far search-time six-benchmark mean against completed trials for SRO and three optimizer ablations, all using DeepSeek-V4-Flash. For each target model, the full system and these ablations use the same validated initial recipe space and compute budget. The two target models have independently constructed spaces. The w/o structured recipe search variant is not included in this trial-indexed comparison because it does not use the same recipe-execution workflow. The trajectories show when gains are obtained and whether subsequent trials improve the incumbent. On both target models, full SRO achieves a higher final search-time score than the three ablations, providing additional evidence for the contributions of LLM candidate construction, EHVI selection, and structured memory. Trial-indexed curves describe progress per completed experiment; the num- ber of experiments completed within the time budget also depends on data generation, training, and evaluation costs. Search progress varies across runs. Table 10 summarizes the completed trial counts, selected trials, and corresponding search-time and final evaluation scores for the four multi-domain runs. In several runs, the best recipe is found before search terminates, and subsequent trials do not further improve the best search-time aggregate score. 22 Preprint 38 40 42 44 159131721 Qwen3-1.7B-Base Completed trial index Best-so-far six-benchmark mean (%) SRO 16 trials w/o LLM proposer 13 trials w/o EHVI selection 13 trials w/o structured memory 21 trials 44 46 48 50 52 54 1246810 Qwen3-4B-Base Completed trial index Best-so-far six-benchmark mean (%) SRO 9 trials w/o LLM proposer 9 trials w/o EHVI selection 10 trials w/o structured memory 7 trials Figure 5: Best-so-far search-time six-benchmark mean versus completed trial index for SRO and three optimizer ablations. Left: Qwen3-1.7B-Base. Right: Qwen3-4B-Base. All runs use DeepSeek-V4-Flash and the same compute budget. Trial counts differ because recipe execution costs vary. Table 10: Search summary of the four SRO multi-domain runs. The selected trial maximizes the search-time six-benchmark mean. Final scores are obtained by evaluating the selected checkpoint on the complete benchmark sets after the time budget. Evaluation settings are detailed in Appendix B.1. All scores are reported on a 0â100 scale. Agent LLMBase modelTrials Selected trial Search-time Final DeepSeek-V4-Flash Qwen3-1.7B161145.345.3 DeepSeek-V4-Flash Qwen3-4B9854.053.8 GPT-5.4Qwen3-1.7B17740.941.1 GPT-5.4Qwen3-4B8848.347.5 Higher aggregate scores can coexist with lower individual benchmark scores. During the DeepSeek-V4-Flash run on Qwen3-1.7B, some recipes achieve strong GSM8K scores while sub- stantially degrading GPQA performance; the selected recipe also scores below the runâs GPQA peak. On Qwen3-4B, an increase in the aggregate score similarly coincides with a decrease in AIME performance. These observations illustrate the cross-domain trade-offs in joint post-training: recipe quality must be assessed across the target domains rather than from any individual bench- mark alone. Because recipes can differ in several data and training choices, these observations do not isolate the effect of any single component. D.4LIMITATIONS AND FAILURE CASES Competition mathematics remains difficult. Across the four multi-domain runs, the final se- lected models achieve AIME scores of 0.0â6.7, substantially below the instruction-tuned reference scores of 26.7 for Qwen3-1.7B and 53.3 for Qwen3-4B. With only 30 evaluation problems, each additional correct answer changes the score by about 3.3 points. These results show that a high aggregate score does not imply strong performance on every capability. Recipe validity does not guarantee capability preservation. During the DeepSeek-V4-Flash run on Qwen3-1.7B, some candidate recipes produce severe regressions in BFCL performance. Such failures show that recipes assembled from admissible choices can still perform poorly on an individ- ual benchmark. Recipe validation checks executability but does not guarantee preservation of every capability. The observed scores alone do not determine whether these regressions arise from data composition, training settings, or output-format failures. 23 Preprint ECONTAMINATION SAFEGUARDS AND RUN HYGIENE Because automated post-training systems have been shown to engage in reward hacking when given the opportunity (Rank et al., 2026), all reported runs enforce the following safeguards. These apply identically to SRO and both baselines. Task-level rules. Every run receives the contamination rules reproduced in Appendix C.4: bench- mark questions, answers, solutions, tool-call targets, rubrics, and transformations of them are re- served for evaluation and must not appear in training sources, Rewrite inputs, diagnostic sources, generated-data prompts, or examples. Structural guards in SRO. Beyond the task-level rules, the SRO workflow enforces contami- nation safety structurally, since the search space is machine-checked rather than free-form code: (i) every declared source passes a benchmark adapter that canonicalizes rows and validates required supervision (explicit numeric targets for math, four choices plus an AâD gold label for GPQA, executable tests plus reference solutions for HumanEval, schema-valid tool calls for BFCL, com- plete multi-turn structure for HealthBench), and rejected sources cannot appear in recipe choices; (i) HealthBench rows containing official rubrics, ideal_completions_data, or canary fields are rejected outright; (i) Rewrite supervision is generated by an answer stage that never sees the source target, and Correction supervision is verified against the diagnostic sourceâs own oracle rather than against any benchmark artifact; (iv) diagnostic sources are held out from training-data roles and used only to surface model failures for Correction; (v) the handoff records a content digest of every source and method contract, so the exact training data of every reported run is reproducible and auditable after the fact. Model substitution. Only the assigned base model may be fine-tuned; checkpoints must derive from the base model. SRO satisfies this by construction (the workflow trains only from the assigned base checkpoint), and the baselines receive the same rule in their task prompt. Final evaluation loads each submitted final_model through the same benchmark entrypoints used during the run, with evaluation scripts and templates immutable from the agentâs perspective. 24