potentialpaper

TrainTailor:A Coding Agent for Synthesizing Model-Specific Training Engines

Import ICLR 2027 submission nK3FCKjUy1: 13 notes

@openreview[bot] · 2026-11-22 21:40 UTC · 1348057695ef ·

Evidence

reviews/openreview/nk3fckjuy1/forms.json added

+++ b/reviews/openreview/nk3fckjuy1/forms.json
@@ -0,0 +1,183 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "additional_comments_on_reviewer_discussion",
+ "label": "Reviewer discussion",
+ "type": "text"
+ },
+ {
+ "key": "recommendation",
+ "label": "Recommendation",
+ "type": "choice"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "soundness",
+ "presentation",
+ "informativeness"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "soundness",
+ "label": "Soundness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "presentation",
+ "label": "Presentation",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "informativeness",
+ "label": "Informativeness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "paper_summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "critical_strengths",
+ "label": "Strengths",
+ "type": "text"
+ },
+ {
+ "key": "critical_weaknesses",
+ "label": "Weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions_for_authors",
+ "label": "Questions for the authors",
+ "type": "text"
+ },
+ {
+ "key": "flag_for_ethics_review",
+ "label": "Flag for ethics review",
+ "type": "choice",
+ "omitWhen": [
+ "No",
+ "No ethics review needed."
+ ]
+ },
+ {
+ "key": "details_of_ethics_concerns",
+ "label": "Ethics concerns",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/3fwqmp0vw1.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/3fwqmp0vw1.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "3FwqMP0VW1",
+ "replyTo": "Rvehv9rVbP",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer eUfc",
+ "content": {
+ "title": "Reviewer Reply",
+ "comment": "Thanks for the updates. The added experiments, illustration, and the 15B baseline are helpful. I’m raising Presentation and Soundness to 2 and changing my overall rating to Weak Reject."
+ },
+ "createdAt": "2026-11-19T05:20:54.260Z",
+ "modifiedAt": "2026-11-19T05:20:54.260Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=3FwqMP0VW1",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/acsepnzgev.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/acsepnzgev.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "AcsEPnZGeV",
+ "replyTo": "g97Fsb2yIs",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer d5Rr (1/2)",
+ "comment": "Thank you for recognizing the strengths of our work and for your constructive feedback. We have carefully considered each comment and respond point by point below. We acknowledge that the original manuscript lacked clarity and have extensively revised the writing throughout. Key revisions are highlighted in blue in the revised PDF. During the remaining discussion period, we would appreciate it if you could revisit our responses and share any remaining questions or concerns. We would be happy to provide further clarification before the discussion closes.\n\n**W1 / Q3: Joint optimization and conventional configuration tuning**\n\n> **W1:** The current experiments is not fully isolating the methods own contribution. For example, the ablation fixes the microbatch at 2, but the full pipeline is 4. So it only shows that a fixed configuration is hurt, not that joint search beats normal tuning.\n\n> **Q3:** For ablation, could you compare against the same agent using direct generation followed by normal configuration tuning?\n\n**Response:**\n\nWe have clarified the ablation setup in Section 4.1 and report the results in Section 4.4.\nThe ablated variant retains the full Build pipeline and allows both configuration and implementation changes, but removes TrainTailor's explicit coordination between them.\nFor Qwen3.5-0.8B, the agent initially explored the execution configuration and selected a microbatch size of 2, but did not revisit this choice as the implementation evolved.\nThe resulting engine achieves 13.21% MFU, compared with 26.94% at a microbatch size of 4 for TrainTailor.\nAs discussed in Section 2.3, implementation optimizations can make new configurations feasible, while exploiting them can require further implementation changes.\n\nTrainTailor revisited a microbatch size of 8 near the end of the optimization budget, but it offered little benefit at that stage.\nSubsequent refinements to gradient staging and communication reduced execution overhead.\nA supplementary experiment on the final engine achieved 29.42% MFU with a microbatch size of 8, compared with the 26.94% reported in the paper with a microbatch size of 4.\n\nOur results demonstrate the benefits of joint configuration and implementation optimization, and the supplementary experiment indicates further performance headroom.\nWe will rerun the pipeline with more optimization rounds to pursue additional gains through continued joint refinement.\n\nWe will also add a comparison with the same agent using direct generation followed by conventional configuration tuning under a matched budget.\n\n**W2 / Q1: Coding agent and optimization budget**\n\n> **W2:** The paper also does not provide the explicit name of the agent being used.\n\n> **Q1:** could you please report the agent used and the approximated budget?\n\n**Response:**\n\nTrainTailor uses Cursor with Grok 4.6.\nWe budgeted 20 optimization rounds for Qwen3.5-0.8B and 40 for Qwen3.8-Flash-Next-15B.\nWe have added the agent, model, and optimization budgets to Section 4.1."
+ },
+ "createdAt": "2026-11-18T14:27:16.973Z",
+ "modifiedAt": "2026-11-18T14:27:16.973Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=AcsEPnZGeV",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/g97fsb2yis.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/g97fsb2yis.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "g97Fsb2yIs",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer d5Rr",
+ "content": {
+ "paper_summary": "The author introduced TrainTailor, a coding agent that implement a training engine from scratch for one model on a specific hw, testing its correctness and loss, and then improve performance by profling and tune code and configs together.\n\nExperiments on Qwen3.5-0.8B shows 26.94% MFU, which is 30% higher than LlamaFactory 20.65%, and Megatron-Bridge 20.16%. It also runs a reduced 15B Qwen3.8-Flash-Next model that these frameworks do not support.",
+ "presentation": 3,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "- The setting is realistic and it is a painpoint in real world training setting. \"The process does not require an existing optimized training implementation of the target model\", and it works on a model where \"the evaluated frameworks lack native training support\".\n\n- The paper demonstrated the optimization story well. Table 2 lists the changes for every round, and the MFU difference, so readers can see where the speedup comes from clearly.",
+ "critical_weaknesses": "- The current experiments is not fully isolating the methods own contribution. For example, the ablation fixes the microbatch at 2, but the full pipeline is 4. So it only shows that a fixed configuration is hurt, not that joint search beats normal tuning. \n- The paper also does not provide the explicit name of the agent being used.\n- The correctness check is not shown to catch bugs. The way it compares losses against references is only over a fixed window for 30 steps training, but the tests are written from the same agent. It might have risk to have a buggy system without other agent's validation.",
+ "questions_for_authors": "- could you please report the agent used and the approximated budget? \n- Could you report the MFU variance across multiple runs if possible?\n- For ablation, could you compare against the same agent using direct generation followed by normal configuration tuning?\n- If you inject known bugs into a correct engine, what is the percentage of bugs that the verification is able to catch? and which check catches which one?",
+ "flag_for_ethics_review": "No",
+ "rating": 3,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-22T08:25:09.035Z",
+ "modifiedAt": "2026-11-06T12:32:03.764Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=g97Fsb2yIs",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/jcugdms2ry.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/jcugdms2ry.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "JcugDMs2Ry",
+ "replyTo": "KAiizaHeJY",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer KWqr (3/3)",
+ "comment": "**W6: Parallelism and larger-scale evaluation**\n\n> **W6:** Experiments use only two and four GPUs, and the detailed Qwen3.5 case requires neither tensor nor pipeline parallelism. The evaluation does not establish effectiveness for multi-node training or more complex parallelism.\n\n**Response:**\n\nDuring the four-GPU Qwen3.8-Flash-Next-15B run, TrainTailor explored FSDP, expert parallelism combined with FSDP, and two-stage and four-stage pipeline parallelism.\nThe two-stage pipeline also combined expert parallelism and FSDP within each stage.\n\nWe will extend the evaluation to eight GPUs to assess how TrainTailor jointly adapts parallel configurations and engine implementations to training at a larger scale.\n\n**W7 / Q7: Agent, prompts, budget, and optimization history**\n\n> **W7:** The coding agent model, optimization budget, token and GPU costs, and extent of human intervention are unspecified. The total search effort behind the 18 selected optimization rounds is also unclear.\n\n> **Q7:** Which coding agent model, prompts, and optimization budget were used? How do the 18 selected rounds relate to the complete optimization history?\n\n**Response:**\n\nWe have added the coding-agent setup and optimization budgets to Section 4.1, development costs to Section 4.3, and the optimization history to Section 4.5 and Appendix B.5.\nTrainTailor uses Cursor with Grok 4.6.\nWe budgeted 20 optimization rounds for Qwen3.5-0.8B and 40 for Qwen3.8-Flash-Next-15B.\nWe now describe the prompts in Sections 3.2 and 3.3.\nThe Generate prompt directs the agent to the generation skill, model source, training task, hardware specification, blueprint, and knowledge cards.\nEach optimization prompt identifies the optimization skill, the current candidate, and the best verified engine, and includes verification and MFU results from earlier rounds when available.\nHuman involvement primarily consists of preparing the model source, training task, and hardware configuration.\n\nFor the Qwen3.5-0.8B case study, the complete pipeline took approximately 22.5 hours of wall-clock time, with an estimated resource usage of 11 GPU-hours and approximately 300 million LLM tokens.\n\nThe original figure showed 18 of the 20 optimization points in the case study.\nWe omitted the other two because the final engine did not retain their changes, and we have now included both points in Figure 5 (Section 4.5) and Table 4 (Appendix B.5).\n\n**W8 / Q8: Extended training and final model quality**\n\n> **W8:** Numerical validation covers only 30 training steps. No convergence runs, held-out evaluations, or final model quality comparisons are reported. Short term loss agreement does not establish that the generated engines preserve longer term training outcomes.\n\n> **Q8:** Can you report longer training runs against a trusted reference? Do the generated engines preserve these outcomes beyond the validation window of 30 steps?\n\n**Response:**\n\nTo further evaluate the training quality of the generated engine, we compared TrainTailor with LlamaFactory and Megatron-Bridge by fine-tuning Qwen3.5-0.8B on CORD-v2 for five epochs (250 optimizer updates).\n\n| Implementation | Validation loss ↓ | Field micro-F1 (%) ↑ | TED accuracy (%) ↑ |\n|---|---:|---:|---:|\n| TrainTailor | 0.03092 | 89.39 | 94.90 |\n| LlamaFactory | 0.02935 | 89.76 | 95.43 |\n| Megatron-Bridge | 0.03050 | 89.14 | 94.17 |\n\nThe results show comparable convergence and final task quality across the three frameworks.\nIn Section 4.2, Figure 4 shows the training and validation loss curves, and Table 1 reports final validation loss, field micro-F1, and TED accuracy.\nAppendix B.4 describes the training and evaluation protocol."
+ },
+ "createdAt": "2026-11-18T14:26:37.786Z",
+ "modifiedAt": "2026-11-18T14:26:37.786Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=JcugDMs2Ry",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/kaiizahejy.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/kaiizahejy.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "KAiizaHeJY",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer KWqr",
+ "content": {
+ "paper_summary": "The paper uses a coding agent to generate a training engine for a given model, training task, and hardware target. Build extracts model structure and behavioral knowledge, generates an engine, and verifies its behavior. Optimize iteratively refines the implementation and configuration using profiling feedback.",
+ "presentation": 1,
+ "informativeness": 2,
+ "soundness": 1,
+ "critical_strengths": "The paper integrates verification with three parts for correctness during Optimize, which is a rigorous design.",
+ "critical_weaknesses": "1. Appendix A checks that seven framework configurations satisfy the numerical gate, but does not test whether faulty engines are rejected. The gate’s sensitivity to silent training errors remains untested.\n2. The paper reports no seeds, repeated syntheses, success rates, or uncertainty estimates. It is unclear whether 26.94% MFU is representative or selected from multiple attempts, and how reliably Build produces a verifiable engine.\n3. The approximately 30% average improvement rests on two baselines for one 0.8B workload. The 15B model has no external performance baseline. The extent to which configuration differences explain the gains remains unclear.\n4. No comparison against another external coding agent workflow is provided. The direct generation ablation removes Decompose/Extract within TrainTailor’s own pipeline.\n5. The coupling ablation fixes microbatch size at 2, whereas the full pipeline uses 4. The 13.21% versus 26.94% MFU gap therefore conflates joint refinement with access to configuration tuning.\n6. Experiments use only two and four GPUs, and the detailed Qwen3.5 case requires neither tensor nor pipeline parallelism. The evaluation does not establish effectiveness for multi-node training or more complex parallelism.\n7. The coding agent model, optimization budget, token and GPU costs, and extent of human intervention are unspecified. The total search effort behind the 18 selected optimization rounds is also unclear.\n8. Numerical validation covers only 30 training steps. No convergence runs, held-out evaluations, or final model quality comparisons are reported. Short term loss agreement does not establish that the generated engines preserve longer term training outcomes.",
+ "questions_for_authors": "1. What fraction of injected training faults does the numerical gate reject within 30 steps? \n2. How many independent synthesis runs were performed per model? Please report successful and failed Build attempts, the distribution of final MFU, and uncertainty estimates.\n3. Were baseline text packing, input prefetching, and communication precision comparable to TrainTailor? Do the gains persist under matched settings?\n4. How does TrainTailor compare with a comparable coding agent under matched budgets? Does Decompose/Extract improve verification success and total development cost when its own overhead is included?\n5. Does joint refinement outperform implementation optimization with an independently tuned static configuration, or simple alternating code tuning? Please compare these alternatives under equal budgets and across repeated runs.\n6. Can you provide an external performance baseline for the 15B model?\n7. Which coding agent model, prompts, and optimization budget were used? How do the 18 selected rounds relate to the complete optimization history?\n8. Can you report longer training runs against a trusted reference? Do the generated engines preserve these outcomes beyond the validation window of 30 steps?",
+ "flag_for_ethics_review": "No",
+ "rating": 1,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-22T15:52:59.911Z",
+ "modifiedAt": "2026-11-19T08:10:19.031Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=KAiizaHeJY",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/ltng28ijb1.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/ltng28ijb1.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "LTnG28ijB1",
+ "replyTo": "VkOceX9cVg",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for your valuable feedback and for clarifying your remaining concerns. We will address them as follows.\n\n**Fault detection and training-path correctness.** Appendix A evaluates our numerical tolerances across seven configurations of established training frameworks, and multiple complementary verification mechanisms help ensure generated-engine correctness. Across three 30-step fault-injection runs on our engine, the loss gate rejected two faults, both at step 1, while unit/system tests detected the remaining mRoPE fault; thus, the current results do not show additional loss-gate detections during steps 2–30. Training-path correctness is further checked through contract-derived unit/system tests covering gradient accumulation, distributed reduction, and parameter updates, together with independent review of the engine and its tests. We will add real-bug injections on mature-framework implementations of our evaluated models to further assess late-onset and silent training-path faults.\n\n**Repeated optimization runs.** We will conduct repeated optimization runs and ablation experiments to report per-run MFU and assess run-to-run variance.\n\n**Alternatives to joint optimization.** The key benefit of TrainTailor is feedback-driven re-evaluation rather than alternation itself: implementation changes trigger configuration revisits, while configuration trials guide further implementation work, as illustrated by MBS8 progressing from infeasible to feasible but unhelpful and finally beneficial after later refinements. Simple alternating optimization may also achieve good final performance, but a fixed schedule may spend optimization rounds and LLM tokens revisiting configurations before the relevant bottlenecks have changed. We will add matched-budget comparisons with independently tuned static configurations and simple alternating optimization, evaluating final MFU, token usage, and optimization efficiency."
+ },
+ "createdAt": "2026-11-19T11:58:01.672Z",
+ "modifiedAt": "2026-11-19T11:58:01.672Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=LTnG28ijB1",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/r7qlmpyxza.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/r7qlmpyxza.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "r7QLMpyXZA",
+ "replyTo": "KAiizaHeJY",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer KWqr (1/3)",
+ "comment": "Thank you for recognizing the strengths of our work and for your constructive feedback. We have carefully considered each comment and respond point by point below. We acknowledge that the original manuscript lacked clarity and have extensively revised the writing throughout. Key revisions are highlighted in blue in the revised PDF. During the remaining discussion period, we would appreciate it if you could revisit our responses and share any remaining questions or concerns. We would be happy to provide further clarification before the discussion closes.\n\n**W1 / Q1: Sensitivity of the correctness checks**\n\n> **W1:** Appendix A checks that seven framework configurations satisfy the numerical gate, but does not test whether faulty engines are rejected. The gate’s sensitivity to silent training errors remains untested.\n\n> **Q1:** What fraction of injected training faults does the numerical gate reject within 30 steps?\n\n**Response:**\n\nOur per-step tolerance parameters (`atol=0.01`, `rtol=0.05`) match those used in [Liger-Kernel’s 32-step BF16 mini-Llama3 tests](https://github.com/linkedin/Liger-Kernel/blob/40a9d8a61bdc546f4e70220619d4db9760fa80b1/test/convergence/bf16/test_mini_models.py#L1976), and we additionally apply a stricter initial-loss check.\nAs reported in Appendix A, the tightest per-step comparison across the baseline configurations has a loss difference of 0.010689 against a tolerance bound of 0.013374.\n\nWe injected faults based on public reports from three widely used repositories—Transformers, ms-swift, and Megatron-LM—into our Qwen3.5-0.8B engine.\nThe loss gate rejected **2/3 of these faults within 30 steps**, both at step 1: one loss mismatch and one nonfinite loss.\n\n| Injected fault | Loss gate | Existing UT/ST |\n|---|---|---|\n| Missing packed GDN boundaries ([Transformers #45034](https://github.com/huggingface/transformers/pull/45034)) | Rejected at step 1 | Detected |\n| Missing GDN Q/K normalization ([ms-swift #10567](https://github.com/modelscope/ms-swift/pull/10567)) | Rejected at step 1 (NaN) | Not detected |\n| Incorrect mRoPE layout ([Megatron-LM #4755](https://github.com/NVIDIA/Megatron-LM/pull/4755)) | Not rejected | Detected |\n\nAs described in Section 3.2, TrainTailor checks input and supervision consistency, tests both component behavior and the integrated training path, and compares loss trajectories against a reference.\nA separate agent reviews the engine and its tests, while verification failures trigger diagnosis, repair, and re-verification before the engine is accepted.\nDuring an actual Qwen3.5 Build run, the loss gate also detected a visual-position interpolation error, which the agent subsequently corrected.\n\n**W2 / Q2: Independent runs and reproducibility**\n\n> **W2:** The paper reports no seeds, repeated syntheses, success rates, or uncertainty estimates. It is unclear whether 26.94% MFU is representative or selected from multiple attempts, and how reliably Build produces a verifiable engine.\n\n> **Q2:** How many independent synthesis runs were performed per model? Please report successful and failed Build attempts, the distribution of final MFU, and uncertainty estimates.\n\n**Response:**\n\nWe conducted three independent Build runs for Qwen3.5-0.8B, all of which produced engines that passed verification.\nWe have clarified in Section 4.1 that we ran the complete pipeline once for each model and training task.\nThe reported final MFU comes from that run.\n\nGiven the substantial time and computational costs, completing repeated end-to-end experiments within the rebuttal period is challenging.\nWe will conduct repeated complete pipeline runs on one model afterward and report their outcomes, including the distribution and uncertainty of final MFU.\n\n**W3 / Q6: External baseline for the 15B model**\n\n> **W3:** The approximately 30% average improvement rests on two baselines for one 0.8B workload. The 15B model has no external performance baseline. The extent to which configuration differences explain the gains remains unclear.\n\n> **Q6:** Can you provide an external performance baseline for the 15B model?\n\n**Response:**\n\nWe now report the PyTorch FSDP2 reference, based on the original model implementation, as a performance baseline for Qwen3.8-Flash-Next-15B.\nIt achieves 2.29% MFU, compared with 10.15% for TrainTailor.\nThe results are included in Section 4.3 (Table 2), with baseline configurations detailed in Appendix B.3."
+ },
+ "createdAt": "2026-11-18T14:21:42.891Z",
+ "modifiedAt": "2026-11-18T14:25:25.340Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=r7QLMpyXZA",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/rvehv9rvbp.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/rvehv9rvbp.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "Rvehv9rVbP",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer eUfc",
+ "content": {
+ "paper_summary": "TrainTailor uses a coding agent to build a model-specific training engine from the model’s source code, a fixed training task, and target hardware. It first generates and verifies an engine, then uses profiling to optimize its implementation and execution configuration together. Experiments cover Qwen3.5-0.8B and a reduced Qwen3.8-Flash-Next-15B model, measuring MFU and checking numerical consistency against reference loss trajectories over 30 steps.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "The paper reports an efficiency gain on Qwen3.5-0.8B: 26.94% MFU, versus 20.65% for LlamaFactory and 20.16% for Megatron-Bridge (Table 1).\nThe workflow checks input consistency, runs unit/system tests, and compares loss trajectories against a reference during optimization (§3.2). These provide useful safeguards when an agent modifies training code.",
+ "critical_weaknesses": "1. The motivation is not convincing. Why write a training engine from scratch instead of building on a mature framework? Would adapting an existing framework be more efficient and reliable? The paper does not clearly justify this choice.\n2. Many important technical details are missing, making it hard to trust the results. The paper reads like an unfinished draft actually:\nTraining data: Which datasets were used, how were they prepared, and what sequence lengths and image inputs were used?\nCoding agent: Which agent and model/version were used? What prompts and implementation skills guided generation and optimization?\nExperimental setup: The full training hyperparameters, baseline configurations, and timing protocol for measuring MFU are not clearly reported.\n3. There is no external performance baseline for Qwen3.8-Flash-Next-15B. The paper attributes this to the existing frameworks lacking native support, but its method describes building a PyTorch reference in such cases. Why not report that reference’s performance? Comparing only with its own initial engine does not show how competitive the final engine is.\n4. There is no direct comparison with closely related work, especially ForgeTrain, which also uses agents to build and optimize training engines from scratch. \n5. The paper does not analyze the cost of the method. How many agent calls, tokens, GPU hours, and failed attempts are needed to obtain the final engine? How much human intervention is involved? The final MFU alone does not show whether the method saves time or money overall. These costs should be compared with adapting an existing framework and with related methods.",
+ "questions_for_authors": "See the above section content.",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 2
+ },
+ "createdAt": "2026-10-19T18:00:46.294Z",
+ "modifiedAt": "2026-11-19T05:21:05.710Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=Rvehv9rVbP",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/vbtyjimunh.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/vbtyjimunh.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "vBtYjIMunH",
+ "replyTo": "g97Fsb2yIs",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer d5Rr (2/2)",
+ "comment": "**W3 / Q4: Independent review and fault detection**\n\n> **W3:** The correctness check is not shown to catch bugs. The way it compares losses against references is only over a fixed window for 30 steps training, but the tests are written from the same agent. It might have risk to have a buggy system without other agent's validation.\n\n> **Q4:** If you inject known bugs into a correct engine, what is the percentage of bugs that the verification is able to catch? and which check catches which one?\n\n**Response:**\n\nWe injected faults based on public reports from three widely used repositories—Transformers, ms-swift, and Megatron-LM—into our Qwen3.5-0.8B engine.\nThe loss gate rejected **2/3 of these faults within 30 steps**, and existing unit tests detected the remaining mRoPE fault.\nTogether, these checks detected all three cases.\n\n| Injected fault | Loss gate | Existing UT/ST |\n|---|---|---|\n| Missing packed GDN boundaries ([Transformers #45034](https://github.com/huggingface/transformers/pull/45034)) | Rejected at step 1 | Detected |\n| Missing GDN Q/K normalization ([ms-swift #10567](https://github.com/modelscope/ms-swift/pull/10567)) | Rejected at step 1 (NaN) | Not detected |\n| Incorrect mRoPE layout ([Megatron-LM #4755](https://github.com/NVIDIA/Megatron-LM/pull/4755)) | Not rejected | Detected |\n\nAs described in Section 3.2, TrainTailor checks input and supervision consistency, tests both component behavior and the integrated training path, and compares loss trajectories against a reference.\nA separate agent reviews the engine and its tests, while verification failures trigger diagnosis, repair, and re-verification before the engine is accepted.\n\nDuring optimization of Qwen3.5-0.8B, a unit test caught an error in packed-window attention by comparing its output with a reference that processes each window separately.\nThe agent corrected the implementation and reran the test, which then passed.\n\n**Q2: Variance across independent runs**\n\n> **Q2:** Could you report the MFU variance across multiple runs if possible?\n\n**Response:**\n\nWe have clarified in Section 4.1 that we ran the complete pipeline once per model, so the current results do not provide an estimate of run-to-run variance in final MFU.\nGiven the time and compute required for each end-to-end run, completing several independent runs within the rebuttal period is difficult.\nWe will repeat the complete pipeline on one model after the rebuttal period and report the final MFU of each run and the sample variance across runs."
+ },
+ "createdAt": "2026-11-18T14:27:56.909Z",
+ "modifiedAt": "2026-11-18T14:27:56.909Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=vBtYjIMunH",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/vckverxdx8.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/vckverxdx8.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "VCkVErXdx8",
+ "replyTo": "KAiizaHeJY",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer KWqr (2/3)",
+ "comment": "**Q3: Baseline configuration comparability**\n\n> **Q3:** Were baseline text packing, input prefetching, and communication precision comparable to TrainTailor? Do the gains persist under matched settings?\n\n**Response:**\n\nUsing the baseline frameworks’ native options, we aligned FP32 gradient communication and enabled input prefetching.\nWe also set the final TrainTailor engine to the same microbatch size of 8 as the baselines, achieving 29.42% MFU, compared with 21.67% for LlamaFactory and 20.77% for Megatron-Bridge.\nAs discussed in our response to W5/Q5, the final implementation refinements enabled further gains from the larger microbatch size.\nThese results confirm that the performance gains persist after configuration alignment.\n\n**W4 / Q4: Coding-agent comparison and Decompose/Extract**\n\n> **W4:** No comparison against another external coding agent workflow is provided. The direct generation ablation removes Decompose/Extract within TrainTailor’s own pipeline.\n\n> **Q4:** How does TrainTailor compare with a comparable coding agent under matched budgets? Does Decompose/Extract improve verification success and total development cost when its own overhead is included?\n\n**Response:**\n\nSection 4.4 compares runs with and without the TrainTailor harness using the same agent, model, Qwen3.5-0.8B task, hardware, and evaluation protocol.\nThe task explicitly requested engine generation and optimization, with configuration tuning allowed.\nWithout the harness, the agent set the microbatch size to 2, then became stuck in operator-level optimization without further configuration tuning.\nAfter making no further gains, it reported convergence and stopped after approximately 10 hours at 8.37% MFU.\nTrainTailor achieved 26.94% MFU through the complete pipeline in approximately 22.5 hours.\n\nIn the Decompose/Extract ablation, both variants retained Verify and diagnostic repair.\nThe full Build pipeline required one repair round to pass Verify, with the Qwen3.5-0.8B Build taking 106.0 minutes, including 13.5 minutes for Decompose and Extract.\nIn comparison, direct generation required four repair rounds and recorded 225.3 minutes of cumulative preparation and execution time.\nWe now report these results in Section 4.4.\n\n**W5 / Q5: Joint configuration and implementation optimization**\n\n> **W5:** The coupling ablation fixes microbatch size at 2, whereas the full pipeline uses 4. The 13.21% versus 26.94% MFU gap therefore conflates joint refinement with access to configuration tuning.\n\n> **Q5:** Does joint refinement outperform implementation optimization with an independently tuned static configuration, or simple alternating code tuning? Please compare these alternatives under equal budgets and across repeated runs.\n\n**Response:**\n\nWe have clarified the ablation setup in Section 4.1 and report the results in Section 4.4.\nThe ablated variant allows both configuration and implementation changes but removes TrainTailor's explicit coordination between them.\nFor Qwen3.5-0.8B, the agent initially explored the execution configuration and selected a microbatch size of 2, but did not revisit this choice as the implementation evolved.\nThe resulting engine achieves 13.21% MFU, compared with 26.94% at a microbatch size of 4 for TrainTailor.\nAs discussed in Section 2.3, implementation optimizations can make new configurations feasible, while exploiting them can require further implementation changes.\n\nTrainTailor revisited a microbatch size of 8 near the end of the optimization budget, but it offered little benefit at that stage.\nSubsequent refinements to gradient staging and communication reduced execution overhead.\nA supplementary experiment on the final engine achieved 29.42% MFU with a microbatch size of 8, compared with the 26.94% reported in the paper with a microbatch size of 4.\n\nOur results demonstrate the benefits of joint configuration and implementation optimization, and the supplementary experiment indicates further performance headroom.\nWe will rerun the pipeline with more optimization rounds to pursue additional gains through continued joint refinement."
+ },
+ "createdAt": "2026-11-18T14:25:59.079Z",
+ "modifiedAt": "2026-11-18T14:25:59.079Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=VCkVErXdx8",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/vkocex9cvg.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/vkocex9cvg.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "VkOceX9cVg",
+ "replyTo": "JcugDMs2Ry",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer KWqr",
+ "content": {
+ "comment": "Thank you for your detailed responses. My concerns still largely remain. The authors did not provide detection rates for three faults, which is my main concern. The data they have shows that steps 2 to 30 did not catch anything in their test. The authors also did not respond to the part about the training path and silent training errors. Additionally, the authors did not provide repeated runs for MFU and other ablations. The authors also did not provide any experiments for the alternatives on joint optimization. Therefore, I will keep my score."
+ },
+ "createdAt": "2026-11-19T08:09:50.253Z",
+ "modifiedAt": "2026-11-19T08:09:50.253Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=VkOceX9cVg",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/x6qjyvc3e9.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/x6qjyvc3e9.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "X6qjYvC3e9",
+ "replyTo": "Rvehv9rVbP",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer eUfc (1/2)",
+ "comment": "Thank you for recognizing the strengths of our work and for your constructive feedback. We have carefully considered each comment and respond point by point below. We acknowledge that the original manuscript lacked clarity and have extensively revised the writing throughout. Key revisions are highlighted in blue in the revised PDF. During the remaining discussion period, we would appreciate it if you could revisit our responses and share any remaining questions or concerns. We would be happy to provide further clarification before the discussion closes.\n\n**W1: Motivation for generating a specialized training engine**\n\n> **W1:** The motivation is not convincing. Why write a training engine from scratch instead of building on a mature framework? Would adapting an existing framework be more efficient and reliable? The paper does not clearly justify this choice.\n\n**Response:**\n\nAs discussed in Sections 2.1–2.2, adapting a mature framework to a new model requires coordinated changes across interdependent components.\nFramework reuse also requires correctness validation: Qwen3.5-VL support in Megatron-LM involved fixes for checkpoint loading, shared-expert initialization, and token leakage across packed sequences (Section 2.1).\nPithTrain (Lai et al., 2026) shows that large codebases and indirect component specifications increase the effort coding agents spend locating implementations, tracing dependencies, and checking whether changes are complete.\nThese difficulties are especially relevant when a new architecture lacks native framework support.\n\nThis motivates generating an engine directly for the target model, task, and hardware, while reusing PyTorch operators and distributed primitives.\nSuch specialization allows the agent to coordinate implementation and execution choices around the target and offers opportunities for performance gains even when framework support exists (Section 2.2).\nOur Qwen3.5-0.8B results demonstrate this opportunity, achieving 26.94% MFU compared with 20.65% for LlamaFactory and 20.16% for Megatron-Bridge on the same task and hardware (Section 4.3, Table 2).\n\n**W2: Experimental and implementation details**\n\n> **W2:** Many important technical details are missing, making it hard to trust the results. The paper reads like an unfinished draft actually: Training data: Which datasets were used, how were they prepared, and what sequence lengths and image inputs were used? Coding agent: Which agent and model/version were used? What prompts and implementation skills guided generation and optimization? Experimental setup: The full training hyperparameters, baseline configurations, and timing protocol for measuring MFU are not clearly reported.\n\n**Response:**\n\nWe have added the datasets, sample selection, image preprocessing, and training hyperparameters to Appendix B.2, and the baseline configurations to Appendix B.3.\nThe workloads use CORD-v2 for Qwen3.5-0.8B and a mixture of LLaVA image-instruction and Tulu-3 long-text examples for Qwen3.8-Flash-Next-15B (Section 4.1).\n\nTrainTailor uses Cursor with Grok 4.6, as specified in Section 4.1.\nSections 3.2–3.3 now describe the generation and optimization prompts and their associated skills, including the training-engine contract, test requirements, and guidance for optimizing operators, data layouts, memory use, and communication.\n\nSection 4.1 also specifies the MFU timing protocol.\nWe measure 25 training steps after five warm-up steps, taking the maximum synchronized step time across ranks for each step and averaging over the measurement window."
+ },
+ "createdAt": "2026-11-18T14:28:22.587Z",
+ "modifiedAt": "2026-11-18T14:28:22.587Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=X6qjYvC3e9",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/notes/zx7tozkjdb.json added

+++ b/reviews/openreview/nk3fckjuy1/notes/zx7tozkjdb.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "Zx7tOzkJDB",
+ "replyTo": "Rvehv9rVbP",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Response to Reviewer eUfc (2/2)",
+ "comment": "**W3: External baseline for the 15B model**\n\n> **W3:** There is no external performance baseline for Qwen3.8-Flash-Next-15B. The paper attributes this to the existing frameworks lacking native support, but its method describes building a PyTorch reference in such cases. Why not report that reference’s performance? Comparing only with its own initial engine does not show how competitive the final engine is.\n\n**Response:**\n\nWe now report the PyTorch FSDP2 reference, based on the original model implementation, as a performance baseline for Qwen3.8-Flash-Next-15B.\nIt achieves 2.29% MFU, compared with 10.15% for TrainTailor.\nThe results are included in Section 4.3 (Table 2), with baseline configurations detailed in Appendix B.3.\n\n**W4: Comparison with ForgeTrain**\n\n> **W4:** There is no direct comparison with closely related work, especially ForgeTrain, which also uses agents to build and optimize training engines from scratch.\n\n**Response:**\n\nForgeTrain has released generated training engines, while its generation and optimization harness is not yet available.\nWe therefore cannot apply ForgeTrain directly to the models and tasks in our study.\nComparing against its released engines would require establishing a separate matched workload and validating training consistency, which we were unable to complete within the rebuttal period.\nWe will complete this comparison and include the results in a future revision.\n\n**W5: Development costs and comparison with framework adaptation**\n\n> **W5:** The paper does not analyze the cost of the method. How many agent calls, tokens, GPU hours, and failed attempts are needed to obtain the final engine? How much human intervention is involved? The final MFU alone does not show whether the method saves time or money overall. These costs should be compared with adapting an existing framework and with related methods.\n\n**Response:**\n\nWe now report development costs in Section 4.3.\nFor the Qwen3.5-0.8B case study, the complete pipeline took approximately 22.5 hours of wall-clock time, with an estimated resource usage of 11 GPU-hours and approximately 300 million LLM tokens.\nHuman involvement primarily consists of preparing the model source, training task, and hardware configuration.\nBuild required one repair round (Section 4.4), and Appendix B.5 reports the 20-round optimization trajectory, including rounds with no retained changes.\n\nFor new models without native framework support, which TrainTailor primarily targets, adapting existing frameworks still entails substantial development effort, as illustrated by PithTrain (Lai et al., 2026) and VibeServe (Kamahori et al., 2026).\nGiven the time required for adaptation, verification, and performance optimization, we could not complete a matched comparison within the rebuttal period.\nWe will add this comparison in a future revision, reporting wall-clock time, token usage, GPU-hours, and final MFU.\nWe will report the same metrics in the planned comparison with ForgeTrain."
+ },
+ "createdAt": "2026-11-18T14:28:47.904Z",
+ "modifiedAt": "2026-11-18T14:28:47.904Z",
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1&noteId=Zx7tOzkJDB",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/nk3fckjuy1/submission.json added

+++ b/reviews/openreview/nk3fckjuy1/submission.json
@@ -0,0 +1,18 @@
+{
+ "schema": "submission/1",
+ "id": "nK3FCKjUy1",
+ "venue": {
+ "id": "ICLR.cc/2027/Conference",
+ "name": "ICLR 2027",
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"
+ },
+ "number": 39970,
+ "keywords": [
+ "training engines",
+ "code agents",
+ "code generation",
+ "performance optimization"
+ ],
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1",
+ "license": "CC-BY-4.0"
+}

versions/v_uafznrfn.json modified

+++ b/versions/v_uafznrfn.json
@@ -1,7 +1,20 @@
{
+ "date": "2026-09-18",
"kind": "submitted",
"label": "ICLR 2027 (under review)",
+ "submissions": [
+ {
+ "venue": "ICLR 2027",
+ "status": "under_review",
+ "number": 39970,
+ "url": "https://openreview.net/forum?id=nK3FCKjUy1",
+ "reviews": "openreview/nk3fckjuy1",
+ "evidence": [
+ "https://openreview.net/forum?id=nK3FCKjUy1"
+ ]
+ }
+ ],
"url": "https://openreview.net/forum?id=nK3FCKjUy1",
"pdf": {
"source": "https://openreview.net/forum?id=nK3FCKjUy1",
"license": "CC-BY-4.0"