{"id":"256b66b3-308e-4c07-9a42-a27e5e16f266","arxiv_id":"2610.22791","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":8.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":4,"one_line_summary":"Self-HPO, a self-improving framework that alternates harness and policy optimization, boosts coding agent resolve rate by 7 points on average across three SWE-Bench benchmarks.","lead":"This paper introduces Self-HPO, a method where a coding agent alternates between improving its task approach (harness) and its underlying model (policy) using its own failures to guide improvements. It shows that this joint optimization consistently outpaces fixing one component, achieving a 64.8% average resolve rate on coding benchmarks, up from 57.8%.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Self-HPO's advantage over single-component baselines may stem from more total optimization steps rather than alternating co-evolution, since baselines receive only one round of updates while Self-HPO gets two.","rationale":"The reader's weakest assumption was the self-proposer meta-cognitive capability, which I find partially addressed by the external-proposer ablation. A more directly load-bearing concern is the missing control for total optimization steps, which threatens the core comparative claim. The paper already provides strong evidence that both components contribute and that their combination surpasses each individually, but the baselines are not given equal compute. Adding two simple controlled experiments (second-round RLVR and second-round Self-Harness) would cleanly separate the benefit of alternating from the benefit of more iterations. If those experiments confirm that single-component improvements saturate before reaching Self-HPO's level, the alternating design is validated. If not, the headline claim weakens. This test is concrete, feasible with the same infrastructure, and directly addresses the fairness of comparison. Therefore I recommend a conditional acceptance pending this control.","tokens_in":32014,"tokens_out":2438,"duration_ms":29479,"concrete_test":"Run a second round of RLVR: starting from the RLVR P1 checkpoint, perform another 50 RL updates (total 100) under the seed harness, and measure resolve rate on SWE-Bench Verified. Similarly, run a second round of Self-Harness: starting from its H1 checkpoint, perform another 6 harness candidates (total 12) with the base policy fixed, and evaluate. If either reaches within 1–2 points of Self-HPO's 69.5%, the alternating design's contribution is marginal. If both fall short, the synergy claim is strengthened.","verdict_should_be":"CONDITIONAL","load_bearing_attack":"The central claim is that alternating harness and policy optimization (Self-HPO) consistently outperforms optimizing only one component. However, Self-HPO receives two rounds of H-step (12 harness candidates total) and two P-steps (100 RL updates total), whereas RLVR (policy-only) receives only 50 RL updates (one P-step) and Self-Harness (harness-only) receives only 6 harness candidates (one H-step). The paper does not control for total optimization budget. It is possible that simply running more iterations of a single-component baseline — e.g., two rounds of RLVR (100 RL updates) or two rounds of Self-Harness (12 harness candidates) — would close or reduce the gap to Self-HPO. Without this control, the claimed synergy of alternating updates is not empirically isolated from the effect of more total compute. The cross-evaluation in Table 3 shows that each component retains gains and that combining them gives super-additive improvement, which is consistent with synergy, but does not rule out the simpler explanation that more iterative effort on either component alone could match the combined result.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper introduces Self-HPO, a recursive self-improving framework for coding agents that alternates harness optimization (H-step) and policy optimization (P-step). In each H-step, the current policy analyzes its failures on a search set and proposes new harness candidates; in each P-step, the policy is updated via reinforcement learning (GRPO) under the selected harness. The next H-step uses the updated policy as the proposer and draws hard tasks from the preceding P-step to form a new search set. Experiments on Qwen3.5-35B-A3B with a mini-SWE-agent seed harness across SWE-Bench Verified, Multilingual, and Pro show that Self-HPO (69.5%, 59.7%, 65.2%) outperforms policy-only (RLVR: 67.5%, 56.3%, 61.8%) and harness-only (Self-Harness: 65.2%, 54.3%, 60.7%) baselines, with an average gain from 57.8% to 64.8%. Ablations and cross-evaluation support the complementarity of harness and policy improvements.","tokens_in":32399,"tokens_out":1855,"duration_ms":21236,"significance":"If the claims hold, Self-HPO offers a practical method for self-improving coding agents without an external proposer, where the agent itself proposes harness changes and adapts its search to evolving failure modes. The consistent gains across three benchmarks and the out-of-distribution transfer are notable, especially the finding that joint harness-policy optimization yields more than the sum of individual improvements (Table 3). The method is clearly described with a complete algorithm and reproducible code, which strengthens the contribution.","major_comments":[{"comment":"The central claim of synergy between alternating H- and P-steps is not isolated from the effect of total optimization budget. Self-HPO performs two H-steps (12 harness candidates total) and two P-steps (100 RL updates total), while the RLVR baseline receives only one P-step (50 RL updates) and Self-Harness receives one H-step (6 harness candidates). The paper does not control for the number of rounds: running two rounds of RLVR (100 RL updates) or two rounds of Self-Harness (12 harness candidates) could close or reduce the gap. Without this control, the claimed advantage of alternating updates may be confounded by more total compute. The cross-evaluation in Table 3 is consistent with synergy but does not rule out the simpler explanation. The authors should either run the two-round single-component baselines or explicitly discuss the budget asymmetry and its implications.","section":"§3.2, Table 1 and Figure 3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Hyperparameter choices are given (K=6, 50 RL updates per P-step, initial search set size 300, 8 rollouts per task) but no sensitivity analysis is provided. The results may depend critically on these numbers, especially K and the number of RL updates. The paper would benefit from at least one ablation varying a key hyperparameter (e.g., K=3 or K=12, or 25 vs. 100 RL updates) to show robustness. Otherwise, the reader cannot assess how finely tuned the reported configuration is.","section":"§3.1, §2.3, Appendix A","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The case studies in Figures 10 and 11 are helpful but the PR-intent reminder in Figure 11 (step 3) appears to trigger on keywords from the task description that are unrelated to the actual fix. The authors should note that the harness's injected feedback can include false positives, which is acknowledged implicitly but not discussed as a potential limitation.","section":"§3.5, Appendix E","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The fraction of zero-success groups is plotted for the final P-step of Self-HPO versus the entire RLVR run. The comparison would be fairer if both curves covered the same number of steps (100 RL updates for RLVR if two rounds had been run, as suggested in the major comment). The current figure may exaggerate the advantage.","section":"Figure 4c","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The stopping criterion is described as 'when the hard-task set stabilizes between rounds' but this is never quantified or shown in the experiments. The paper simply states that two rounds were used. Clarify what 'stabilizes' means or why two rounds were chosen.","section":"Algorithm 1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The training set of 2,484 tasks is constructed from three sources (SWE-rebench, SWE-rebench V2, Scale-SWE). The paper does not report how many tasks come from each source or whether any decontamination was performed against the test benchmarks. A brief statement about decontamination would strengthen confidence in the results.","section":"§3.1","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"The paper introduces Self-HPO, alternating harness and policy optimization where the evolving policy proposes its own harness revisions. The experiments are well-structured: three SWE-Bench variants, appropriate baselines, consistent gains (average resolve rate 57.8% to 64.8%), and OOD transfer. The cross-evaluation in Table 3 is informative—each optimized component retains gains individually, and joint gain exceeds sum of individuals. The paper is clearly written and the method is reproducible (code and model released). Credit where due: this is a competent empirical contribution.\n\nThe main soft spot is the stress-test concern: Self-HPO receives two H-steps (12 harness candidates) and two P-steps (100 RL updates), while RLVR gets one P-step (50 updates) and Self-Harness gets one H-step (6 candidates). The paper does not control for total optimization budget. The claim that alternating gives synergy over single-component optimization is not fully isolated from the fact that Self-HPO simply runs more iterations. Running two rounds of RLVR (100 updates) or two rounds of Self-Harness (12 candidates) could close or reduce the gap. This is a load-bearing flaw for the paper's central interpretation, though the practical result—that running both steps in sequence works—remains useful. The authors should address this with a controlled experiment.\n\nOther soft spots: no sensitivity analysis on hyperparameters (K=6, 50 RL steps, search set size 300); the self-proposer mechanism is tested empirically but its robustness across models or training stages is uncharacterized; the ablation on evolving search set shows only a modest 1.5-point gain. None are fatal, but they limit depth.\n\nWho is this for? Researchers working on self-improving LLM agents for coding. It will be cited and discussed. The method is not a paradigm shift but a practical, well-tested combination of existing ideas.\n\nRecommendation: accept for peer review with major revision requiring a budget-controlled comparison to isolate the effect of alternation from total compute.","headline":"Solid empirical framework but the claimed synergy of alternating harness-policy optimization is not isolated from total optimization budget.","tokens_in":32871,"tokens_out":1090,"duration_ms":13282},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Self-HPO alternates harness and policy optimization, using the evolving policy as its own harness proposer, and improves coding agent resolve rate from 57.8% to 64.8%.","keywords":["coding agents","harness optimization","policy optimization","reinforcement learning","self-improvement","LLM agents","agentic frameworks","co-evolution"],"falsifier":"If a replication of Self-HPO on a held-out coding benchmark (e.g., a new SWE-Bench variant or a different agentic domain like web navigation) shows no improvement over a well-tuned harness-only or policy-only baseline, or if the self-proposer produces harnesses that degrade performance, then the central claim of synergistic co-evolution would be undermined.","tokens_in":33551,"feed_emoji":"🤖","tokens_out":2919,"duration_ms":26362,"temperature":0.7,"pith_summary":"Large language model coding agents consist of a policy (the model) and a harness (the scaffold controlling context, tools, and feedback). This paper argues that optimizing both components together, rather than either alone, yields substantially better performance. It introduces Self-HPO, a recursive framework that alternates harness optimization (H-step) and policy optimization (P-step), using the evolving policy as its own harness proposer. Across three coding benchmarks, the approach raises the average resolve rate from 57.8% to 64.8% and generalizes out of distribution. If correct, the framework provides a pathway for coding agents to self-improve without external supervision.","feed_headline":"Alternating harness-policy optimization lifts coding agents to 64.8%","feed_subtitle":"Self-HPO uses the evolving policy as its own harness proposer, outperforming solo optimization on three benchmarks.","key_machinery":"Alternating harness optimization (H-step) and policy optimization (P-step). In each H-step, the current policy analyzes its failed trajectories and proposes new harness candidates, which are evaluated on a search set of hard tasks. In each P-step, the policy is updated via group-relative policy optimization (GRPO) under the selected harness, and tasks that remain unresolved become the search set for the next H-step. The central object is this recursive loop that adapts the harness to the policy's evolving failure modes.","core_discovery":"The paper discovers that jointly optimizing the harness and policy through alternating rounds of harness search (H-step) and reinforcement learning on the policy (P-step) consistently outperforms optimizing only the harness or only the policy. The key innovation is that the evolving policy itself serves as the harness proposer, analyzing its own failures to propose targeted harness revisions, and the set of hard tasks for harness search is dynamically updated from unsolved tasks during policy training. This co-evolution leads to a joint gain that exceeds the sum of individual gains from optimizing each component alone.","pith_inferences":["The self-proposer mechanism might extend beyond coding to other multi-step agent tasks such as web navigation or scientific reasoning, where the agent can reflect on its own failures to redesign its interaction protocols.","As base models improve, the quality of self-proposed harness revisions is likely to improve autonomously, potentially creating a positive feedback loop that accelerates improvement without human intervention.","The reliance on a policy that can accurately diagnose its own failures is not formally characterized; future work could explore whether meta-cognitive training or ensemble proposers would make the loop more robust for weaker models.","The framework could be combined with automatic prompt optimization or skill libraries to further amplify gains, possibly leading to open-ended self-improvement systems."],"forward_implications":["Coding agents can achieve recursive self-improvement without external supervision, using only their own policy to drive both harness and policy updates.","The framework suggests that co-optimization of scaffold and model weights should become the default paradigm for agentic tasks, replacing single-component approaches.","Gains transfer to out-of-distribution benchmarks (different languages, longer-horizon tasks), indicating that joint optimization improves general capability rather than just memorizing training distributions.","Reliability (pass@1) improves across all difficulty levels, and the capability frontier (pass@k) expands, showing that both consistency and top performance benefit.","The method reduces reward sparsity during RL by lowering the fraction of zero-success rollout groups, which may generalize to other sparse-reward agent environments."],"supporting_citations":[{"why":"Supplies the seed harness (mini-SWE-agent) used as the starting point for harness optimization.","marker":"(Yang et al., 2024)"},{"why":"Provides the Group Relative Policy Optimization (GRPO) algorithm used in the P-step for policy updates.","marker":"(Shao et al., 2024)"},{"why":"Supplies the Balanced Adaptive Rollout (BAR) strategy and the RLVR baseline, forming the RL infrastructure and policy-only baseline.","marker":"(Peng et al., 2026)"},{"why":"Provides the Self-Harness baseline (harness-only optimization) that Self-HPO is compared against.","marker":"(Zhang et al., 2026a)"},{"why":"Provides the Meta-Harness baseline (external proposer) for the external-model setup.","marker":"(Lee et al., 2026)"},{"why":"Defines the SWE-Bench Verified benchmark used as the primary evaluation.","marker":"(Chowdhury et al., 2024)"},{"why":"Defines the broader SWE-Bench framework from which the verified set and evaluation methodology derive.","marker":"(Jimenez et al., 2024)"}],"fun_headline_variants":["Coding agents co-evolve policy and harness for 64.8% resolve rate","Self-HPO: let coding agents propose their own harness","Alternating harness-policy beats solo optimization in coding agents","Joint optimization of harness and policy lifts coding agents 7 points"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The paper assumes that the policy can reliably analyze its own failures and propose effective harness revisions, a meta-ognitive capability that is tested empirically but not formally guaranteed, especially for weaker or earlier-stage models.","fun_headline_variants_meta":{"raw":{"variants":["Coding agents co-evolve policy and harness for 64.8% resolve rate","Self-HPO: let coding agents propose their own harness","Alternating harness-policy beats solo optimization in coding agents","Joint optimization of harness and policy lifts coding agents 7 points"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":2.5e-05,"raw_usage":{"cost":2.46456e-05,"is_byok":false,"cost_details":{"upstream_inference_cost":2.46456e-05,"upstream_inference_prompt_cost":1.457568e-05,"upstream_inference_completions_cost":1.006992e-05},"total_tokens":1297,"prompt_tokens":964,"completion_tokens":333,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":257}},"tokens_in":964,"tokens_out":333,"cost_source":"openrouter_usage","duration_ms":4316,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":257,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-19T17:20:27.459173+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"If a replication of Self-HPO on a held-out coding benchmark (e.g., a new SWE-Bench variant or a different agentic domain like web navigation) shows no improvement over a well-tuned harness-only or policy-only baseline, or if the self-proposer produces harnesses that degrade performance, then the central claim of synergistic co-evolution would be undermined.","supporting_citations":[],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}