potentialpaper

ASTOR: Multi-Task Code Reinforcement Learning via Utility-Driven Coordination

Yujia Chen, Yang Ye, Xiao Chu, Yuchi Ma, Cuiyun Gao

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Reinforcement learning (RL) with verifiable rewards has proven effective at post-training LLMs for coding, yet deploying separate task-specific specialists incurs costs that scale with the number of tasks, motivating a unified multi-task RL (MTRL) approach. However, existing MTRL methods treat all coding tasks uniformly, relying on fixed data curricula under a shared optimization strategy, ultimately limiting the effectiveness of multi-task training. To address these limitations, we propose ASTOR, a multi-tASk code reinforcement learning framework via uTility-driven coORdination. Centered on task utility, a signal capturing each task’s learning potential and cross-task synergy, ASTOR comprises two coupled modules: 1) Hierarchical Utility-Routed Data Scheduling module hierarchically allocates training budget and prioritizes informative prompts, steering training toward the most valuable data; and 2) Adaptive Utility-Calibrated Policy Optimization module dynamically scales per-task KL regularization, matching update constraints to each task’s current training state. Experiments on two widely-used LLMs across four representative coding tasks demonstrate that ASTOR consistently improves a single model across all tasks, outperforming the best task-specific specialist in average performance across all tasks by 9.0%–9.5% and surpassing the strongest MTRL baseline by 7.5%–12.8%.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This work received borderline ratings (one Accept, and two Borderline rejects). All reviewers agreed that the proposed approach can lead to better RL for code LLMs. However, they also found several important concerns regarding lack of motivations of key selections in algorithms and limited empirical analysis on coding tasks. ACs believe that this paper has still nontrivial chance of acceptance only if most of the reviewers' concerns are thoroughly addressed in the rebuttal and the reviewers are convinced to raise their final scores.

Final justification

This work ultimately received mixed borderline ratings (one weak accept, one Borderline accept, and one Borderline reject). The reviewer dp9m and hRJn maintained their positive assessments, whereas the reviewer xY9x maintained a Borderline Reject rating even after the authors’ rebuttal. In the Final Justification, reviewer xY9x raised two remaining concerns. The AC considers these concerns legitimate, but not sufficiently critical to warrant rejection. Both concerns are related to the experimental settings, which may not fully reflect the complexity and diversity of real-world coding tasks. Nevertheless, the AC considers the experimental evaluation in this work sufficiently comprehensive, as also highlighted as a strength by the other reviewers.

Area Chair zaw3 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This work received borderline ratings (one Accept, and two Borderline rejects). All reviewers agreed that the proposed approach can lead to better RL for code LLMs. However, they also found several important concerns regarding lack of motivations of key selections in algorithms and limited empirical analysis on coding tasks. ACs believe that this paper has still nontrivial chance of acceptance only if most of the reviewers' concerns are thoroughly addressed in the rebuttal and the reviewers are convinced to raise their final scores.

Final justification

This work ultimately received mixed borderline ratings (one weak accept, one Borderline accept, and one Borderline reject). The reviewer dp9m and hRJn maintained their positive assessments, whereas the reviewer xY9x maintained a Borderline Reject rating even after the authors’ rebuttal. In the Final Justification, reviewer xY9x raised two remaining concerns. The AC considers these concerns legitimate, but not sufficiently critical to warrant rejection. Both concerns are related to the experimental settings, which may not fully reflect the complexity and diversity of real-world coding tasks. Nevertheless, the AC considers the experimental evaluation in this work sufficiently comprehensive, as also highlighted as a strength by the other reviewers.

1 comment
Authors · CommentOpenReview ↗

Dear Area Chair,

We sincerely thank the Area Chair for the detailed and constructive summary. We are encouraged that all reviewers recognize that ASTOR can lead to better RL for code LLMs. We have carefully addressed the two central concerns highlighted in the meta-review, as summarized below.

1. Motivations of key selections in algorithms.

  • Reward Reliability (dp9m, Q2). We explain that EMA smoothing and cross-task synergy help ASTOR withstand occasional reward noise and that each task-specific reward is defined according to the corresponding success criterion.

  • Gradient Compression (hRJn, Q1). We directly compare compressed cosine with full-gradient cosine. Their strong consistency (92.3% sign agreement; 0.91 Spearman correlation) shows that compressed gradients capture nearly the same task-relationship signal as full gradients.

  • Quota–KL Coupling (hRJn, Q2). We clarify the complementary roles of sampling quotas and adaptive KL regularization. This coupling makes greater use of high-utility tasks without excessively specializing toward them, while preserving learning opportunities for low-utility tasks.

2. Empirical analysis on coding tasks.

  • CMG Evaluation (xY9x, Q2.1). We add an LLM-as-a-judge semantic evaluation to complement lexical-overlap metrics. ASTOR remains best on both base models, showing that its improvement holds beyond lexical overlap.

  • Task Interactions (xY9x, Q4). We add three pairwise joint-training experiments among CG, UTG, and CMG to examine cross-task interactions. Their varying outcomes and consistent underperformance relative to ASTOR motivate the design of adaptive task composition.

  • Closest Coordination Strategies (hRJn, Q3). We provide detailed analyses with the closest coordination strategies and add a BWT-guided curriculum baseline. The new baseline remains substantially below ASTOR, showing that a fixed task order cannot adapt to task relationships as they change during training.

Other Concerns. We also address coding-task scope (xY9x, Q1.1), task-specific priors (xY9x, Q1.2), task ordering (xY9x, Q2.2), the inclusion of CMG (xY9x, Q3), prompt-selection coverage (xY9x, Q5), hyperparameter sensitivity (dp9m, Q1), ablation trends (dp9m, Q3), and computational overhead (dp9m, Q4), with the corresponding analyses and results provided in the individual responses.

We will incorporate all the suggested experiments, additional discussions, and relevant updates to further strengthen our work. We respectfully hope that these additions address the concerns identified in the meta-review and support a favorable reconsideration of our work.

Reviewer hRJnOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes ASTOR, a framework for multi-task reinforcement learning for code models. Its central idea is to use a unified notion of task utility to coordinate two decisions: what data to train on and how strongly to regularize each task. Task utility combines reward variance, intended to represent remaining learning potential, with cross-task gradient similarity, intended to represent task synergy. ASTOR then allocates task-level training quotas, prioritizes prompts within each task, and dynamically adjusts task-specific KL coefficients. Experiments cover four coding tasks and two Qwen-based models, with reported improvements over single-task specialists and multi-task baselines.

Strengths and weaknesses

Strengths:

  • Training one model for code understanding, generation, testing, and documentation has clear practical value compared with deploying multiple task-specific specialists.
  • The high-level motivation, system diagram, and distinction between “what to learn” and “how to learn” are easy to follow.

Weaknesses:

  • The paper compresses each task gradient by summing over all dimensions except the last before computing cosine similarity. This operation discards substantial directional information, yet no theoretical or empirical evidence is provided that the resulting similarity still reflects the true relationships between tasks. Since this signal directly affects task allocation, its validity is important to establish.
  • Equation (13) gives high-utility tasks both larger sampling quotas and stronger KL regularization. These effects work in opposite directions, yet the paper does not explain why this coupling is preferable. Moreover, low utility may indicate saturation, persistent failure, or task conflict, which do not all justify weaker regularization.
  • The related-work discussion remains too high-level. Although Appendix F briefly contrasts ASTOR with several methods, it does not clearly position the utility-based scheduler and adaptive KL mechanism against the closest prior coordination strategies, nor are such methods included as baselines. Therefore, the paper does not sufficiently establish the novelty and advantage of ASTOR over existing approaches.
Questions

Please see Weaknesses.

Limitations

Yes

Final justification

Thank you for the detailed response. The response substantially addresses my concerns, and I will raise my score.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the detailed and constructive feedback. We are pleased that you find the distinction between what to learn and how to learn easy to follow. Below, we provide detailed responses to all the comments.


Q1: The paper compresses each task gradient by summing over all dimensions except the last before computing cosine similarity. This operation discards substantial directional information, yet no theoretical or empirical evidence is provided that the resulting similarity still reflects the true relationships between tasks. Since this signal directly affects task allocation, its validity is important to establish.

A1: Thanks for raising this important concern. To validate the approximation, we compare cosine similarities computed from compressed and full gradients on Qwen2.5-Coder-7B. Since full-gradient computation is very time-consuming, we evaluate the first 80 training iterations, yielding 480 paired measurements across six task pairs per iteration. The two measures are highly consistent: they agree in sign for 443 of 480 comparisons (92.3%), with a Spearman correlation of 0.91. Thus, the compressed gradients produce nearly the same task-relationship signal as the full gradients while requiring substantially less computation. We will clarify that gradient compression is used as an efficient proxy for task similarity, rather than as an exact preservation of gradient direction, and will include this comparison in the paper.


Q2: Equation (13) gives high-utility tasks both larger sampling quotas and stronger KL regularization. These effects work in opposite directions, yet the paper does not explain why this coupling is preferable. Moreover, low utility may indicate saturation, persistent failure, or task conflict, which do not all justify weaker regularization.

A2: Thanks for raising this question. High utility indicates that a task is currently more valuable for training, so ASTOR assigns it a larger sampling quota. However, this does not mean that the shared policy should become more specialized for that task. ASTOR therefore applies stronger KL regularization to avoid shifting the shared policy too far toward a single task. Together, these two effects make greater use of high-utility tasks while limiting excessive task-specific updates.

When low utility results from saturation, persistent failure, or task conflict, the smaller sampling quota already reduces the task's contribution to the shared policy update. Yet the remaining data may still contain useful learning signals, so ASTOR applies weaker KL regularization to avoid further restricting this remaining learning opportunity. In this way, ASTOR reduces the contribution of low-utility tasks without completely preventing further learning. We will clarify these complementary roles of the sampling quota and KL coefficient in the paper.


Q3: The related-work discussion remains too high-level. Although Appendix F briefly contrasts ASTOR with several methods, it does not clearly position the utility-based scheduler and adaptive KL mechanism against the closest prior coordination strategies, nor are such methods included as baselines. Therefore, the paper does not sufficiently establish the novelty and advantage of ASTOR over existing approaches.

A3: Thanks for pointing out this gap in our related work discussion.

Positioning against the closest methods.

  • For utility-based scheduling, the closest prior work is Wu et al. and OMNI-THINKER. Wu et al. study gradient-proportional sampling against uniform sampling for multi-task RL post-training and find no consistent advantage, since large gradients do not reliably indicate larger learning gains. OMNI-THINKER estimates a backward-transfer matrix from single-task results and uses it to fix a task order before multi-task training begins. ASTOR instead operates at two levels: it uses reward variance and cross-task synergy to set task quotas, then prioritizes which prompts to train on, so both the task mix and the prompt mix keep adapting together as task relationships change during training.

  • For adaptive regularization, Distral is the closest related method, but it addresses a different coordination problem. Distral maintains a separate trainable policy for each task and a shared policy, using KL divergence to distill the task-specific policies into the shared one. ASTOR instead trains only one shared policy for all tasks, using task-specific adaptive KL coefficients to regulate each task's influence, so it adapts to task heterogeneity without the per-task policies and deployment cost Distral still requires.

Empirical comparison.

We address each of the three closest strategies above in turn.

(1) For Wu et al., Joint Learning follows their uniform task-sampling setting, which outperforms gradient-proportional scheduling in their experiments. We therefore use it as the corresponding baseline.

(2) For OMNI-THINKER, we add a BWT-guided curriculum on Qwen2.5-Coder-7B. We estimate a backward-transfer matrix from our single-task checkpoints and their cross-task evaluation results, then order tasks by greedy BWT-based linear ordering, giving the order Unit Test Generation, Code I/O, Code Generation, Commit Message Generation. All other training settings match our original Curriculum Learning baseline.

Method Input Acc. Output Acc. Pass@1 Pass@2 Line Cov. Branch Cov. Compile Rate BLEU ROUGE METEOR Avg.
Fixed-order Curriculum 51.1 52.5 28.1 35.6 27.8 23.1 48.4 30.5 17.3 16.6 33.10
BWT-guided Curriculum 52.4 53.1 31.9 37.0 27.2 22.5 47.8 32.4 18.0 17.2 33.95
ASTOR 52.2 56.4 41.5 45.2 32.3 25.7 55.7 35.2 22.1 20.2 38.65

BWT-guided Curriculum performs similarly to the fixed order overall, 33.95 versus 33.10, differing on some tasks, for example, improving Code Generation but slightly lowering Unit Test Generation. This shows that a better task order shifts the cross-task trade-off rather than improving every task uniformly. It still remains far below ASTOR's 38.65, showing that a fixed order, however well chosen, cannot adapt to task relationships as they change during training.

(3) For Distral, a direct baseline is not applicable in our setting because it requires maintaining separate task-specific policies rather than a single shared policy. We therefore treat Distral as related work rather than a directly comparable baseline. Our ablation study on task-adaptive KL regularization in Section 3.3 demonstrates its effectiveness, since removing either the dynamic adjustment or the task-specific base coefficients degrades performance.

Methodological novelty and advantage.

ASTOR's contribution is not a single sampling rule or KL adjustment considered in isolation. It couples what to learn, which tasks and prompts to select for the next policy update, with how to learn, how to update the shared policy on the scheduled data. One online utility signal drives both decisions. The BWT-guided curriculum shows that a better fixed order is not enough on its own, and the KL ablations show that adapting regularization to task state adds further gains beyond that. Together they support that coordinating both decisions, rather than addressing either alone, is what drives ASTOR's improvement over the closest prior strategies.

Reviewer dp9mOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper addresses the challenge of training a unified multi-task reinforcement learning model for coding tasks by designing a task coordination framework with hierarchical data scheduling and adaptive policy optimization. By leveraging the group roll out policy rewards, it keeps tracking the variance and cross task synergy to determine if a task and a prompt have further learning potential. The experiments show that the proposed approach outperforms single-task and multi-task RL baselines on four representative coding tasks.

Strengths and weaknesses

Strengths

  1. The paper is clear and straightforward to introduce a task coordination mechanism that intelligently assigns task budgets based on the reward dynamics.
  2. The proposed hierarchical utility-routed data scheduling and utility-calibrated policy optimization modules demonstrate a sophisticated design that dynamically allocates resources and adjusts learning strategies based on real-time task utility estimates.
  3. The framework is thoroughly evaluated across multiple base models and diverse coding tasks, showing significant improvements—outperforming task-specific specialists and existing multi-task baselines.

Weaknesses

  1. As noted in Limitation, the effectiveness of ASTOR hinges on hyperparameters such as the temperature parameter tau for task scheduling and the KL regularization coefficient lambda. It still requires manual tuning for optimal performance.
  2. The approach heavily relies on the reward signals provided by some heuristic based coding rules. How robust is the approach to withstand the reward noises and catch the helpful task during training? And how does the current reward signal reflect the true quality or helpfulness of the generated outputs.
Questions
  1. In Ablation results, it seems that the trend with data schedule or policy optimization ablation is reverse in different datasets. Could you share more insights on how regularization is more effective that budget allocation for example in Code I/O Prediction task?
  2. Can you elaborate on the computational overhead introduced by utility estimation and hierarchical scheduling, and how this impacts training efficiency compared to baseline methods?
Limitations

Yes

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the positive and constructive feedback. We are pleased that you find the paper clear and straightforward, and recognize the proposed coordination framework as a sophisticated design. Below, we provide detailed responses to all the comments.


Q1: As noted in Limitation, the effectiveness of ASTOR hinges on hyperparameters such as the temperature parameter tau for task scheduling and the KL regularization coefficient lambda. It still requires manual tuning for optimal performance.

A1: Thanks for this observation. We agree that τ and λ require manual tuning to reach ASTOR's best performance. We would like to share two things that make this less of a burden in practice. τ and λ are tuned once and reused directly on Qwen3-8B, where ASTOR still achieves the best results among all methods. Table 3 also shows that performance is not very sensitive to these values within a moderate range, and even the weakest configuration in Table 3 still clearly outperforms the strongest multi-task baseline. We will clarify this point in the paper and leave automatic tuning of these hyperparameters for future work.


Q2: The approach heavily relies on the reward signals provided by some heuristic-based coding rules. How robust is the approach to withstand the reward noises and catch the helpful task during training? And how does the current reward signal reflect the true quality or helpfulness of the generated outputs?

A2: Thanks for the insightful question.

  • On robustness to reward noise. ASTOR withstands reward noise while still catching helpful tasks in two ways. Reward variance is smoothed with an EMA across training steps before it sets task quotas, so occasional noisy rewards do not immediately shift which tasks are favored. Task utility also combines this smoothed learning-potential signal with cross-task synergy, so a task only receives a larger share of training when both signals point to it being useful, not from noise in either signal alone.

  • On whether rewards reflect true output quality. For code I/O prediction, code generation, and unit test generation, the reward is not just correlated with quality, it is the definition of quality for that task: a correct assertion, a passing test, or covered code is what a good output means. For commit message generation, the reward approximates quality instead of defining it, since it measures textual similarity to a human reference rather than checking the message directly. Because commit messages are short and focused on one specific change, a high similarity score usually still means the model identified the same action and target as the reference.


Q3: In Ablation results, it seems that the trend with data schedule or policy optimization ablation is reverse in different datasets. Could you share more insights on how regularization is more effective that budget allocation for example in Code I/O Prediction task?

A3: Thanks for pointing out this pattern in the ablation results. Code I/O Prediction is the only task where regularization causes a clearly larger drop than scheduling. We find this comes mainly from Output Accuracy. On Qwen2.5-Coder-7B, removing task allocation drops Output Accuracy from 56.4 to 55.2, while removing dynamic or task-specific KL regularization drops it further, to 51.9 and 50.7. The same ordering holds on Qwen3-8B, though the differences are smaller. One possible reason is that Code I/O Prediction uses a binary execution reward, so an incorrect prediction receives no partial credit. This makes the task more sensitive to how much a success or failure signal is allowed to change the shared policy. KL regularization directly constrains how far the policy can move from the reference policy, while budget allocation only changes the proportion of Code I/O samples in the training batch, so regularization has a larger effect on this task than budget allocation does. The other three tasks use continuous rewards, a pass ratio, a coverage score, and a text-similarity score, each producing a value between 0 and 1 rather than a strict pass or fail. We will add this analysis to the ablation discussion in the paper.


Q4: Can you elaborate on the computational overhead introduced by utility estimation and hierarchical scheduling, and how this impacts training efficiency compared to baseline methods?

A4: Thank you for raising this question. Both utility estimation and hierarchical scheduling add only lightweight computation. Specifically,

Utility estimation. Utility estimation combines three signals, learning potential, prompt-level progress, and cross-task synergy.

  • Learning potential: the variance of rollout rewards already produced during standard GRPO training, so computing it adds no new rollouts, inference, or reward evaluations, only a variance calculation over rewards we already have.

  • Prompt-level progress: the change in a prompt's mean reward from one training step to the next. This only requires keeping a small record of each prompt's past mean reward, not new rollouts or inference.

  • Cross-task synergy: measured from gradient cosine similarity between tasks. During the existing policy-optimization backward passes, we collect and compress the per-task gradients through dimension-wise summation, reducing each gradient representation from about 10910^9 to 10610^6 dimensions. We then compute the pairwise cosine similarities among the four tasks. As detailed in Appendix A.2, this adds no additional backward passes, and gradient compression together with similarity computation accounts for less than 0.0010.001% of the forward-backward FLOPs under our configuration.

Hierarchical scheduling.

  • At the task level, it processes only four utility values through EMA smoothing, normalization, and softmax to obtain the task quotas.

  • At the prompt level, it computes a sampling weight for each candidate prompt and draws a weighted sample. Both steps only involve arithmetic over a small number of values, which is negligible compared to a forward or backward pass.

Method Avg. Iteration Time Avg. Total Time
Joint Learning 160.9 s 17.88 h
Curriculum Learning 153.2 s 17.02 h
ASTOR 164.6 s 18.29 h

Impacts on training efficiency. The above table summarizes the training cost of different multi-task methods. ASTOR incurs only a small overhead over Joint Learning, adding only 2.3% overhead mainly from utility estimation, gradient compression, and hierarchical scheduling, without requiring extra rollouts, reward evaluations, or backward passes. We exclude Model Merging because it trains four task-specific models before merging and is therefore not directly comparable. Overall, ASTOR achieves stronger multi-task performance with only a small additional training cost.

Reviewer xY9xOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

ASTOR can be summarized as follows: moving from a fixed task ratio to dynamic task quotas, from randomly sampling prompts within each task to sampling according to prompt utility, and from a one-time sampling strategy to an EMA-based strategy that is continuously updated during training.

The authors select four task scenarios: code I/O prediction, code generation, unit test generation, and CMG. They conduct experiments on Qwen2.5-Coder-7B and Qwen3-8B, and the experimental results are relatively positive.

Strengths and weaknesses

Strength

  1. The authors change the sampling strategy from “static uniform sampling” to a two-level adaptive utility sampling at both the task level and the prompt level, so that more training budget is allocated to data that currently has higher learning value and can promote cross-task transfer.
  2. This method also gives training rewards a use beyond directly providing rewards, which is somewhat inspiring for task scenarios with sparse rewards.

Weakness

  1. Why is the proposed method effective on these four types of code tasks, while its effectiveness on other task scenarios, such as mathematics or RLHF, is not verified? Do the authors believe that these four tasks are sufficient to represent more complex scenarios in code tasks, such as GUI agents? The authors introduce many priors during the construction process, such as Section 2.3.2 and the “-0.1 otherwise” setting. This may make readers feel that the ASTOR method is limited to the four code tasks selected by the authors.

  2. Do the authors think that the overlap-oriented automatic metrics in Commit Message Generation, such as B/R/M, match the model’s actual performance on CMG? These metrics are usually considered to have low semantic alignment with human judgment. Is there any case study report on the model performance after training? In addition, in the baseline setting, is the order Code I/O → Code Gen → Unit Test → Commit Message determined according to task difficulty? I thought Commit Message is more of an understanding task, while Code Gen → Unit Test are more generation-oriented tasks.

  3. Continuing the above point about CMG: STL CMG partially weakens the performance on other code tasks, such as code generation on Qwen2.5. Then should this task be included as a coding task in the experimental design, and should it be included in the joint learning tasks?

  4. Beyond the STL CMG task, training on one task can affect the results on other tasks, so tasks are not independent from each other. In this setting, the influencing factors include the diversity of training prompts and rewards. In fact, baselines such as joint learning with a combination of A and B tasks should be added to further ablate and show the meaning of flexibly selecting the prompt composition in each training batch.

Questions
  1. See weakness 1-4

  2. I noticed that the global batch size is 128, with 8 rollouts per sample, trained for 400 steps on 32 Ascend 910B-B3 NPUs. According to my understanding, around global batch size × 400 steps, i.e., about 50k samples, should have been trained, while the training dataset only contains about 8k examples. This means that many samples may have been trained repeatedly. I would like to ask the authors: 1. Is it possible that some samples are never trained during the whole process? 2. Can the authors provide the number of times each sample × task is selected, so that we can see which samples are most frequently trained under this framework?

Limitations

yes

Final justification

Thank you for the reminder and I appreciate the authors rebuttal. My concerns (weaknesses) mainly originated from the settings and the contributions. In the rebuttal, the authors made very clear answers to my concerns, however, I still find my concerns on:

  1. whether the training scene is generalizable: (W1) change of setting would ensure ASTOR's effectiveness (W3) ASTOR is influenced by tasks such as CMG. (W2) There are heuristics for the task combination. In more real coding tasks, the task would more complex, diverse. I am concerned the current claims do not hold.
  2. minor, about settings: ASTOR actually ensured the EXP would have to be run many 'epochs' over the training set (rather than regarding the 'steps' in RL setting. This make me feel the method more like a SFT-stage technique rather than a RL-stage contribution.

Regarding my above concerns, I will maintain my ratings with current confidence.

Formatting concerns

none

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the detailed and constructive feedback. We are pleased that you find the task- and prompt-level utility sampling valuable. Below, we provide detailed responses to all the comments.


Q1.1: Why is the proposed method effective on these four types of code tasks, while its effectiveness on other task scenarios, such as mathematics or RLHF, is not verified? Do the authors believe that these four tasks are sufficient to represent more complex scenarios in code tasks, such as GUI agents?

A1.1: Thanks for raising this point on evaluation scope. ASTOR is a code-domain method, so mathematics and general RLHF fall outside its scope and are not verified here. The current tasks cover four stages of the software development workflow in Figure 1, i.e., understanding, implementation, testing, and documentation, but we agree they do not represent every coding scenario. GUI agents introduce additional challenges such as multi-turn interaction and tool use, which our current setup does not cover. We will state this scope explicitly in the Introduction and list GUI agents and other software engineering tasks as future work in the Limitations section.


Q1.2: The authors introduce many priors during the construction process, such as Section 2.3.2 and the '-0.1 otherwise' setting. This may make readers feel that the ASTOR method is limited to the four code tasks selected by the authors.

A1.2: Thanks for raising this concern. We agree that placing these task-specific choices in Section 2.3 may make the general method appear tied to the four tasks considered in this paper. The unit test generation and commit message generation examples in Section 2.3.2 illustrate how different task types motivate different KL constraints. The -0.1 value is a format penalty used in our current reward implementation (Appendix A.4), following prior work [1,2]. Extending ASTOR to a new task requires specifying its reward function and base KL coefficient accordingly, while the general coordination procedure remains unchanged. We will move the concrete settings and task examples to the Experimental Setup and retain only the general formulation in Section 2.3.


Q2.1: Do the authors think that the overlap-oriented automatic metrics in Commit Message Generation, such as B/R/M, match the model's actual performance on CMG? Is there any case study report on the model performance after training?

A2.1: Thanks for the question on CMG evaluation. B/R/M can partly reflect real CMG quality. Commit messages are typically short and center on the key change, so overlap with the reference usually captures the key action and object. Appendix C includes such a case, where ASTOR's message ("Add support for NEW funding record status") captures the code change more precisely than Joint Learning's ("Add NEW status to CoinmateAdapters").

To go beyond lexical overlap, we add an LLM-as-a-judge evaluation following [3]. We use GPT-4 under the CoT+Few-shot setting, which [3] reports as achieving the strongest agreement with human judgment. The judge receives the code diff and the generated message and scores it from 0 to 4 using the same two criteria as [3]. One criterion is whether the message correctly describes what changed, and the other is whether it correctly conveys why the change was made. A score of 4 requires both criteria to be accurate and complete. A score of 0 means the message is unrelated to the diff.

Model Base STL-IO STL-CG STL-UT STL-CM Joint Learning Curriculum Learning Model Merging ASTOR
Qwen2.5-Coder-7B 1.62 2.06 2.10 1.86 2.88 2.18 2.22 2.26 3.08
Qwen3-8B 2.05 2.25 2.29 2.10 2.93 2.50 2.42 2.47 3.20

ASTOR remains best under this semantic evaluation, so the improvement holds beyond B/R/M as well.


Q2.2: In addition, in the baseline setting, is the order Code I/O → Code Gen → Unit Test → Commit Message determined according to task difficulty?

A2.2: Thanks for the question on task ordering. The order is not based on difficulty. Instead, it follows the real-world software development workflow in Figure 1: understanding, implementation, testing, and documentation. This ordering mirrors the sequential nature of practical software development, as stated in Section 3.1. We will make this workflow-based rationale explicit in the baseline description.


Q3: STL CMG partially weakens the performance on other code tasks, such as code generation on Qwen2.5. Then should this task be included as a coding task in the experimental design, and should it be included in the joint learning tasks?

A3: Thanks for your question. CMG should still be included because it is a key step in the software development workflow (Figure 1). STL-CMG and joint training answer different questions. STL-CMG, trained only on CMG, shows that a CMG-only signal does not transfer positively to every target task. In joint training, CMG's contribution is controlled by the quota assigned by ASTOR. Rather than fixing each task's share manually, ASTOR dynamically allocates training quotas according to the current utility of each task. This allows useful CMG signals to be leveraged when they help the overall training process, while limiting their impact when they are less beneficial.


Q4: Beyond the STL CMG task, training on one task can affect the results on other tasks, so tasks are not independent from each other. In this setting, the influencing factors include the diversity of training prompts and rewards. In fact, baselines such as joint learning with a combination of A and B tasks should be added to further ablate and show the meaning of flexibly selecting the prompt composition in each training batch.

A4: Thanks for this suggestion. Given limited time and resources during the rebuttal period, we run all three pairwise combinations among Code Generation, Unit Test Generation, and Commit Message Generation (Code Gen+Unit Test, Code Gen+Commit Msg, Unit Test+Commit Msg), under the same setup as the main experiments.

A+B Training Composition CG Pass@1 CG Pass@2 UTG Line Cov. UTG Branch Cov. UTG Compile Rate CMG BLEU CMG ROUGE CMG METEOR
Code Gen + Unit Test 38.5 43.7 30.2 24.4 52.9 24.2 13.7 11.9
Code Gen + Commit Msg 35.6 42.2 23.8 19.5 47.8 34.6 20.6 17.3
Unit Test + Commit Msg 25.9 33.3 29.6 24.0 52.5 32.8 19.2 16.7

These results confirm that different task combinations lead to different outcomes, consistent with the idea that tasks interact with and influence each other during co-training. However, manually predefining task relationships is not a satisfactory solution. In practice, we cannot know in advance which combinations will work best, and exhaustively searching over all possible groupings is infeasible. Moreover, the manually selected combinations remain less effective than ASTOR. This further motivates our approach. Rather than relying on fixed, hand-designed task groupings, task composition should be determined adaptively based on training-time utility.


Q5: I would like to ask the authors: 1. Is it possible that some samples are never trained during the whole process? 2. Can the authors provide the number of times each sample × task is selected, so that we can see which samples are most frequently trained under this framework?

A5: Thanks for this question.

On the first question, we initialize every prompt's sampling weight to 1. Once a prompt is selected, its weight updates to σ(U_q), which is strictly below 1. Unseen prompts keep their initial weight, so they are preferred for sampling. This encourages coverage but does not guarantee it. We therefore check the selection records directly. Every prompt in both the Qwen2.5-Coder-7B and Qwen3-8B runs is selected at least once.

On the second question, the table below reports how many times each task's prompts are selected, grouped into frequency buckets.

Prompts per selection-frequency bucket, by task (Qwen2.5-Coder-7B / Qwen3-8B)

Task 1-3x 4-6x 7-9x 10-12x 13-15x ≥16x
Code I/O 148/257 816/1055 818/644 263/125 41/7 2/0
Code Gen 221/122 907/747 750/831 181/321 22/55 1/6
Unit Test 19/20 186/237 404/470 381/318 131/87 27/16
Commit Msg 513/389 1328/1267 536/672 69/108 0/10 0/0

Most prompts are revisited a moderate number of times, while a smaller subset is selected substantially more often. Unit Test Generation skews toward higher counts because its dataset (1,148 prompts) is the smallest of the four, so individual prompts get revisited more even though the task receives a limited share of the training budget.

We examine the prompts with the highest selection counts across each task. Code I/O Prediction prompts commonly involve collection mutation, string transformation, and short multi-step control flow. Code Generation prompts mainly involve implementing specified interfaces, handling exceptions, and satisfying precise input-output requirements. Unit Test Generation prompts concern methods with mocked collaborators, multiple execution paths, and project-specific object setup. Commit Message Generation prompts commonly concern status-handling updates, conditional-logic changes, and small API or configuration modifications.

Refs

[1] Wang Z, Wang K, Wang Q, et al. Ragen: Understanding self-evolution in llm agents via multi-turn reinforcement learning, arXiv 2025.

[2] Djuhera A, Kadhe S R, Ahmed F, et al. Tsr: Trajectory-search rollouts for multi-turn rl of llm agents, arXiv 2026.

[3] Zeng Q, Zhang Y, Ma Z, et al. Evaluating Generated Commit Messages with Large Language Models, ICSE 2026.

Authors · CommentOpenReview ↗

Dear Reviewer xY9x,

Thank you once again for your valuable comments on our submission.

As the discussion phase is approaching its end, we would like to kindly confirm whether we have sufficiently addressed all of your concerns. If there are any remaining areas requiring questions or further clarification, please do not hesitate to let us know. If you are satisfied with our responses, we would greatly appreciate it if you could reconsider the rating score accordingly.

We sincerely look forward to your feedback.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…